Aracılığıyla paylaş


SubnetsOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a subnet in the specified virtual network.

public static Microsoft.Azure.Management.Network.Models.Subnet CreateOrUpdate (this Microsoft.Azure.Management.Network.ISubnetsOperations operations, string resourceGroupName, string virtualNetworkName, string subnetName, Microsoft.Azure.Management.Network.Models.Subnet subnetParameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.ISubnetsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.Subnet -> Microsoft.Azure.Management.Network.Models.Subnet
<Extension()>
Public Function CreateOrUpdate (operations As ISubnetsOperations, resourceGroupName As String, virtualNetworkName As String, subnetName As String, subnetParameters As Subnet) As Subnet

Parameters

operations
ISubnetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkName
String

The name of the virtual network.

subnetName
String

The name of the subnet.

subnetParameters
Subnet

Parameters supplied to the create or update subnet operation.

Returns

Applies to