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