Share via


ScalingPlanPersonalScheduleCollection Class

Definition

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

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

Constructors

ScalingPlanPersonalScheduleCollection()

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

Create or update a ScalingPlanPersonalSchedule.

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

Create or update a ScalingPlanPersonalSchedule.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a ScalingPlanPersonalSchedule.

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

List ScalingPlanPersonalSchedules.

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

List ScalingPlanPersonalSchedules.

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

Get a ScalingPlanPersonalSchedule.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ScalingPlanPersonalScheduleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to