RouteOperationsExtensions.GetRouteTableForSubnetAsync 方法 (IRouteOperations, String, String)
获取在此订阅中提供的虚拟网络中提供的子网指定的路由表。
命名空间: Microsoft.WindowsAzure.Management.Network
程序集: Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)
语法
public static Task<GetRouteTableForSubnetResponse> GetRouteTableForSubnetAsync(
this IRouteOperations operations,
string vnetName,
string subnetName
)
public:
[ExtensionAttribute]
static Task<GetRouteTableForSubnetResponse^>^ GetRouteTableForSubnetAsync(
IRouteOperations^ operations,
String^ vnetName,
String^ subnetName
)
static member GetRouteTableForSubnetAsync :
operations:IRouteOperations *
vnetName:string *
subnetName:string -> Task<GetRouteTableForSubnetResponse>
<ExtensionAttribute>
Public Shared Function GetRouteTableForSubnetAsync (
operations As IRouteOperations,
vnetName As String,
subnetName As String
) As Task(Of GetRouteTableForSubnetResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.Network.IRouteOperations对 Microsoft.WindowsAzure.Management.Network.IRouteOperations 引用。
vnetName
Type: System.String必需。 包含提供子网的虚拟网络的名称。
subnetName
Type: System.String必需。 子网的名称。
返回值
Type: System.Threading.Tasks.Task<GetRouteTableForSubnetResponse>
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
RouteOperationsExtensions 类
Microsoft.WindowsAzure.Management.Network 命名空间
返回页首