Share via


LabServicesExtensions Class

Definition

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

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

Methods

GetLab(ResourceGroupResource, String, CancellationToken)

Returns the properties of a lab resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
  • Operation Id: Labs_Get
GetLabAsync(ResourceGroupResource, String, CancellationToken)

Returns the properties of a lab resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
  • Operation Id: Labs_Get
GetLabPlan(ResourceGroupResource, String, CancellationToken)

Retrieves the properties of a Lab Plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
  • Operation Id: LabPlans_Get
GetLabPlanAsync(ResourceGroupResource, String, CancellationToken)

Retrieves the properties of a Lab Plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
  • Operation Id: LabPlans_Get
GetLabPlanResource(ArmClient, ResourceIdentifier)

Gets an object representing a LabPlanResource 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 LabPlanResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLabPlanResource(ResourceIdentifier) instead.

GetLabPlans(ResourceGroupResource)

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

GetLabPlans(SubscriptionResource, String, CancellationToken)

Returns a list of all lab plans within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labPlans
  • Operation Id: LabPlans_ListBySubscription
GetLabPlansAsync(SubscriptionResource, String, CancellationToken)

Returns a list of all lab plans within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labPlans
  • Operation Id: LabPlans_ListBySubscription
GetLabResource(ArmClient, ResourceIdentifier)

Gets an object representing a LabResource 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 LabResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLabResource(ResourceIdentifier) instead.

GetLabs(ResourceGroupResource)

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

GetLabs(SubscriptionResource, String, CancellationToken)

Returns a list of all labs for a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labs
  • Operation Id: Labs_ListBySubscription
GetLabsAsync(SubscriptionResource, String, CancellationToken)

Returns a list of all labs for a subscription.

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

Gets an object representing a LabServicesScheduleResource 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 LabServicesScheduleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLabServicesScheduleResource(ResourceIdentifier) instead.

GetLabUserResource(ArmClient, ResourceIdentifier)

Gets an object representing a LabUserResource 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 LabUserResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLabUserResource(ResourceIdentifier) instead.

GetLabVirtualMachineImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a LabVirtualMachineImageResource 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 LabVirtualMachineImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLabVirtualMachineImageResource(ResourceIdentifier) instead.

GetLabVirtualMachineResource(ArmClient, ResourceIdentifier)

Gets an object representing a LabVirtualMachineResource 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 LabVirtualMachineResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetLabVirtualMachineResource(ResourceIdentifier) instead.

GetSkus(SubscriptionResource, String, CancellationToken)

Returns a list of Azure Lab Services resource SKUs.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus
  • Operation Id: Skus_List
GetSkusAsync(SubscriptionResource, String, CancellationToken)

Returns a list of Azure Lab Services resource SKUs.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus
  • Operation Id: Skus_List
GetUsages(SubscriptionResource, AzureLocation, String, CancellationToken)

Returns list of usage per SKU family for the specified subscription in the specified region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/locations/{location}/usages
  • Operation Id: Usages_ListByLocation
GetUsagesAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Returns list of usage per SKU family for the specified subscription in the specified region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/locations/{location}/usages
  • Operation Id: Usages_ListByLocation

Applies to