共用方式為


DevTestLabServiceFabricScheduleCollection Class

Definition

A class representing a collection of DevTestLabServiceFabricScheduleResource and their operations. Each DevTestLabServiceFabricScheduleResource in the collection will belong to the same instance of DevTestLabServiceFabricResource. To get a DevTestLabServiceFabricScheduleCollection instance call the GetDevTestLabServiceFabricSchedules method from an instance of DevTestLabServiceFabricResource.

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

Constructors

DevTestLabServiceFabricScheduleCollection()

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

Create or replace an existing schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_CreateOrUpdate
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
CreateOrUpdateAsync(WaitUntil, String, DevTestLabScheduleData, CancellationToken)

Create or replace an existing schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_CreateOrUpdate
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_Get
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_Get
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
Get(String, String, CancellationToken)

Get schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_Get
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
GetAll(String, String, Nullable<Int32>, String, CancellationToken)

List schedules in a given service fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules
  • Operation Id: ServiceFabricSchedules_List
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken)

List schedules in a given service fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules
  • Operation Id: ServiceFabricSchedules_List
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
GetAsync(String, String, CancellationToken)

Get schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_Get
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_Get
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  • Operation Id: ServiceFabricSchedules_Get
  • Default Api Version: 2018-09-15
  • Resource: DevTestLabServiceFabricScheduleResource
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<DevTestLabServiceFabricScheduleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DevTestLabServiceFabricScheduleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to