Udostępnij za pośrednictwem


DevTestLabsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DevTestLabs.

public static class DevTestLabsExtensions
type DevTestLabsExtensions = class
Public Module DevTestLabsExtensions
Inheritance
DevTestLabsExtensions

Methods

GetDevTestLab(ResourceGroupResource, String, String, CancellationToken)

Get lab.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
  • Operation Id: Labs_Get
GetDevTestLabArmTemplateResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabArmTemplateResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabArmTemplateResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabArmTemplateResource(ResourceIdentifier) instead.

GetDevTestLabArtifactResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabArtifactResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabArtifactResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabArtifactResource(ResourceIdentifier) instead.

GetDevTestLabArtifactSourceResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabArtifactSourceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabArtifactSourceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabArtifactSourceResource(ResourceIdentifier) instead.

GetDevTestLabAsync(ResourceGroupResource, String, String, CancellationToken)

Get lab.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
  • Operation Id: Labs_Get
GetDevTestLabCostResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabCostResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabCostResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabCostResource(ResourceIdentifier) instead.

GetDevTestLabCustomImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabCustomImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabCustomImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabCustomImageResource(ResourceIdentifier) instead.

GetDevTestLabDiskResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabDiskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabDiskResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabDiskResource(ResourceIdentifier) instead.

GetDevTestLabEnvironmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabEnvironmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabEnvironmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabEnvironmentResource(ResourceIdentifier) instead.

GetDevTestLabFormulaResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabFormulaResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabFormulaResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabFormulaResource(ResourceIdentifier) instead.

GetDevTestLabGlobalSchedule(ResourceGroupResource, String, String, CancellationToken)

Get schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
  • Operation Id: GlobalSchedules_Get
GetDevTestLabGlobalScheduleAsync(ResourceGroupResource, String, String, CancellationToken)

Get schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
  • Operation Id: GlobalSchedules_Get
GetDevTestLabGlobalScheduleResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabGlobalScheduleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DevTestLabGlobalScheduleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabGlobalScheduleResource(ResourceIdentifier) instead.

GetDevTestLabGlobalSchedules(ResourceGroupResource)

Gets a collection of DevTestLabGlobalScheduleResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDevTestLabGlobalSchedules() instead.

GetDevTestLabGlobalSchedules(SubscriptionResource, String, String, Nullable<Int32>, String, CancellationToken)

List schedules in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/schedules
  • Operation Id: GlobalSchedules_ListBySubscription
GetDevTestLabGlobalSchedulesAsync(SubscriptionResource, String, String, Nullable<Int32>, String, CancellationToken)

List schedules in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/schedules
  • Operation Id: GlobalSchedules_ListBySubscription
GetDevTestLabNotificationChannelResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabNotificationChannelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabNotificationChannelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabNotificationChannelResource(ResourceIdentifier) instead.

GetDevTestLabPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabPolicyResource(ResourceIdentifier) instead.

GetDevTestLabResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DevTestLabResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabResource(ResourceIdentifier) instead.

GetDevTestLabs(ResourceGroupResource)

Gets a collection of DevTestLabResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDevTestLabs() instead.

GetDevTestLabs(SubscriptionResource, String, String, Nullable<Int32>, String, CancellationToken)

List labs in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/labs
  • Operation Id: Labs_ListBySubscription
GetDevTestLabsAsync(SubscriptionResource, String, String, Nullable<Int32>, String, CancellationToken)

List labs in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/labs
  • Operation Id: Labs_ListBySubscription
GetDevTestLabScheduleResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabScheduleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabScheduleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabScheduleResource(ResourceIdentifier) instead.

GetDevTestLabSecretResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabSecretResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabSecretResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabSecretResource(ResourceIdentifier) instead.

GetDevTestLabServiceFabricResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabServiceFabricResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabServiceFabricResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabServiceFabricResource(ResourceIdentifier) instead.

GetDevTestLabServiceFabricScheduleResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabServiceFabricScheduleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a DevTestLabServiceFabricScheduleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabServiceFabricScheduleResource(ResourceIdentifier) instead.

GetDevTestLabServiceRunnerResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabServiceRunnerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabServiceRunnerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabServiceRunnerResource(ResourceIdentifier) instead.

GetDevTestLabUserResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabUserResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabUserResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabUserResource(ResourceIdentifier) instead.

GetDevTestLabVirtualNetworkResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabVirtualNetworkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabVirtualNetworkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabVirtualNetworkResource(ResourceIdentifier) instead.

GetDevTestLabVmResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabVmResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevTestLabVmResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabVmResource(ResourceIdentifier) instead.

GetDevTestLabVmScheduleResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevTestLabVmScheduleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevTestLabVmScheduleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabVmScheduleResource(ResourceIdentifier) instead.

Applies to