共用方式為


ScalingPlanPooledScheduleCollection Class

Definition

A class representing a collection of ScalingPlanPooledScheduleResource and their operations. Each ScalingPlanPooledScheduleResource in the collection will belong to the same instance of ScalingPlanResource. To get a ScalingPlanPooledScheduleCollection instance call the GetScalingPlanPooledSchedules method from an instance of ScalingPlanResource.

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

Constructors

ScalingPlanPooledScheduleCollection()

Initializes a new instance of the ScalingPlanPooledScheduleCollection 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, ScalingPlanPooledScheduleData, CancellationToken)

Create or update a ScalingPlanPooledSchedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Create
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
CreateOrUpdateAsync(WaitUntil, String, ScalingPlanPooledScheduleData, CancellationToken)

Create or update a ScalingPlanPooledSchedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Create
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Get
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Get
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
Get(String, CancellationToken)

Get a ScalingPlanPooledSchedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Get
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
GetAll(Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

List ScalingPlanPooledSchedules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules
  • Operation Id: ScalingPlanPooledSchedules_List
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
GetAllAsync(Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

List ScalingPlanPooledSchedules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules
  • Operation Id: ScalingPlanPooledSchedules_List
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
GetAsync(String, CancellationToken)

Get a ScalingPlanPooledSchedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Get
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Get
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Get
  • Default Api Version: 2024-04-03
  • Resource: ScalingPlanPooledScheduleResource
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<ScalingPlanPooledScheduleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ScalingPlanPooledScheduleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to