Delen via


LabServicesScheduleCollection Class

Definition

A class representing a collection of LabServicesScheduleResource and their operations. Each LabServicesScheduleResource in the collection will belong to the same instance of LabResource. To get a LabServicesScheduleCollection instance call the GetLabServicesSchedules method from an instance of LabResource.

public class LabServicesScheduleCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.LabServices.LabServicesScheduleResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.LabServices.LabServicesScheduleResource>
type LabServicesScheduleCollection = class
    inherit ArmCollection
    interface seq<LabServicesScheduleResource>
    interface IEnumerable
    interface IAsyncEnumerable<LabServicesScheduleResource>
Public Class LabServicesScheduleCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of LabServicesScheduleResource), IEnumerable(Of LabServicesScheduleResource)
Inheritance
LabServicesScheduleCollection
Implements

Constructors

LabServicesScheduleCollection()

Initializes a new instance of the LabServicesScheduleCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, LabServicesScheduleData, CancellationToken)

Operation to create or update a lab schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_CreateOrUpdate
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
CreateOrUpdateAsync(WaitUntil, String, LabServicesScheduleData, CancellationToken)

Operation to create or update a lab schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_CreateOrUpdate
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
Get(String, CancellationToken)

Returns the properties of a lab Schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
GetAll(String, CancellationToken)

Returns a list of all schedules for a lab.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules
  • Operation Id: Schedules_ListByLab
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
GetAllAsync(String, CancellationToken)

Returns a list of all schedules for a lab.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules
  • Operation Id: Schedules_ListByLab
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
GetAsync(String, CancellationToken)

Returns the properties of a lab Schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
  • Default Api Version: 2022-08-01
  • Resource: LabServicesScheduleResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<LabServicesScheduleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<LabServicesScheduleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to