你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LabServicesExtensions 类

定义

用于将扩展方法添加到 Azure.ResourceManager.LabServices 的类。

public static class LabServicesExtensions
type LabServicesExtensions = class
Public Module LabServicesExtensions
继承
LabServicesExtensions

方法

GetLab(ResourceGroupResource, String, CancellationToken)

返回实验室资源的属性。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
  • 操作IdLabs_Get
GetLabAsync(ResourceGroupResource, String, CancellationToken)

返回实验室资源的属性。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
  • 操作IdLabs_Get
GetLabPlan(ResourceGroupResource, String, CancellationToken)

检索实验室计划的属性。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
  • 操作IdLabPlans_Get
GetLabPlanAsync(ResourceGroupResource, String, CancellationToken)

检索实验室计划的属性。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
  • 操作IdLabPlans_Get
GetLabPlanResource(ArmClient, ResourceIdentifier)

获取一个 对象,该 LabPlanResource 对象表示 ,以及可对它执行但没有数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String) 从其组件创建 LabPlanResourceResourceIdentifier

GetLabPlans(ResourceGroupResource)

获取 ResourceGroupResource 中 LabPlanResources 的集合。

GetLabPlans(SubscriptionResource, String, CancellationToken)

返回订阅中所有实验室计划的列表

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labPlans
  • 操作IdLabPlans_ListBySubscription
GetLabPlansAsync(SubscriptionResource, String, CancellationToken)

返回订阅中所有实验室计划的列表

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labPlans
  • 操作IdLabPlans_ListBySubscription
GetLabResource(ArmClient, ResourceIdentifier)

获取一个 对象,该 LabResource 对象表示 ,以及可对它执行但没有数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String) 从其组件创建 LabResourceResourceIdentifier

GetLabs(ResourceGroupResource)

获取 ResourceGroupResource 中 LabResources 的集合。

GetLabs(SubscriptionResource, String, CancellationToken)

返回订阅的所有实验室的列表。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labs
  • 操作IdLabs_ListBySubscription
GetLabsAsync(SubscriptionResource, String, CancellationToken)

返回订阅的所有实验室的列表。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labs
  • 操作IdLabs_ListBySubscription
GetLabServicesScheduleResource(ArmClient, ResourceIdentifier)

获取一个 对象,该 LabServicesScheduleResource 对象表示 ,以及可对它执行但没有数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String, String) 从其组件创建 LabServicesScheduleResourceResourceIdentifier

GetLabUserResource(ArmClient, ResourceIdentifier)

获取一个 对象,该 LabUserResource 对象表示 ,以及可对它执行但没有数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String, String) 从其组件创建 LabUserResourceResourceIdentifier

GetLabVirtualMachineImageResource(ArmClient, ResourceIdentifier)

获取一个 对象,该 LabVirtualMachineImageResource 对象表示 ,以及可对它执行但没有数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String, String) 从其组件创建 LabVirtualMachineImageResourceResourceIdentifier

GetLabVirtualMachineResource(ArmClient, ResourceIdentifier)

获取一个 对象,该 LabVirtualMachineResource 对象表示 ,以及可对它执行但没有数据的实例操作。 可以使用 CreateResourceIdentifier(String, String, String, String) 从其组件创建 LabVirtualMachineResourceResourceIdentifier

GetSkus(SubscriptionResource, String, CancellationToken)

返回 Azure 实验室服务资源 SKU 的列表。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus
  • 操作IdSkus_List
GetSkusAsync(SubscriptionResource, String, CancellationToken)

返回 Azure 实验室服务资源 SKU 的列表。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus
  • 操作IdSkus_List
GetUsages(SubscriptionResource, AzureLocation, String, CancellationToken)

返回指定区域中指定订阅的每个 SKU 系列的使用情况列表。

  • 请求路径/订阅/{subscriptionId}/providers/Microsoft.LabServices/locations/{location}/usages
  • 操作IdUsages_ListByLocation
GetUsagesAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

返回指定区域中指定订阅的每个 SKU 系列的使用情况列表。

  • 请求路径/订阅/{subscriptionId}/providers/Microsoft.LabServices/locations/{location}/usages
  • 操作IdUsages_ListByLocation

适用于