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

ServiceNetworkingExtensions 类

定义

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

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

方法

GetAssociationResource(ArmClient, ResourceIdentifier)

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

GetFrontendResource(ArmClient, ResourceIdentifier)

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

GetTrafficController(ResourceGroupResource, String, CancellationToken)

获取 TrafficController

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
GetTrafficControllerAsync(ResourceGroupResource, String, CancellationToken)

获取 TrafficController

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
GetTrafficControllerResource(ArmClient, ResourceIdentifier)

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

GetTrafficControllers(ResourceGroupResource)

获取 ResourceGroupResource 中 TrafficControllerResources 的集合。

GetTrafficControllers(SubscriptionResource, CancellationToken)

按订阅 ID 列出 TrafficController 资源

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.ServiceNetworking/trafficControllers
  • 操作IdTrafficControllerInterface_ListBySubscription
GetTrafficControllersAsync(SubscriptionResource, CancellationToken)

按订阅 ID 列出 TrafficController 资源

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.ServiceNetworking/trafficControllers
  • 操作IdTrafficControllerInterface_ListBySubscription

适用于