Sdílet prostřednictvím


DevCenterScheduleCollection Class

Definition

A class representing a collection of DevCenterScheduleResource and their operations. Each DevCenterScheduleResource in the collection will belong to the same instance of DevCenterPoolResource. To get a DevCenterScheduleCollection instance call the GetDevCenterSchedules method from an instance of DevCenterPoolResource.

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

Constructors

DevCenterScheduleCollection()

Initializes a new instance of the DevCenterScheduleCollection 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, DevCenterScheduleData, Nullable<Int32>, CancellationToken)

Creates or updates a Schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • Operation Id: Schedules_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DevCenterScheduleData, Nullable<Int32>, CancellationToken)

Creates or updates a Schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • Operation Id: Schedules_CreateOrUpdate
Exists(String, Nullable<Int32>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
ExistsAsync(String, Nullable<Int32>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
Get(String, Nullable<Int32>, CancellationToken)

Gets a schedule resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
GetAll(Nullable<Int32>, CancellationToken)

Lists schedules for a pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules
  • Operation Id: Schedules_ListByPool
GetAllAsync(Nullable<Int32>, CancellationToken)

Lists schedules for a pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules
  • Operation Id: Schedules_ListByPool
GetAsync(String, Nullable<Int32>, CancellationToken)

Gets a schedule resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
GetIfExists(String, Nullable<Int32>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}
  • Operation Id: Schedules_Get
GetIfExistsAsync(String, Nullable<Int32>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/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<DevCenterScheduleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DevCenterScheduleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to