다음을 통해 공유


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
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
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
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
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
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
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
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
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
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
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