SubnetsOperationsExtensions.CreateOrUpdate(ISubnetsOperations, String, String, String, Subnet) 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
System.String

The name of the resource group.

virtualNetworkName
System.String

The name of the virtual network.

subnetName
System.String

The name of the subnet.

subnetParameters
Subnet

Parameters supplied to the create or update subnet operation.

Returns

Subnet

Applies to