SubnetsOperationsExtensions.Get Method

Definition

Gets the specified subnet by virtual network and resource group.

public static Microsoft.Azure.Management.Network.Models.Subnet Get (this Microsoft.Azure.Management.Network.ISubnetsOperations operations, string resourceGroupName, string virtualNetworkName, string subnetName, string expand = default);
static member Get : Microsoft.Azure.Management.Network.ISubnetsOperations * string * string * string * string -> Microsoft.Azure.Management.Network.Models.Subnet
<Extension()>
Public Function Get (operations As ISubnetsOperations, resourceGroupName As String, virtualNetworkName As String, subnetName As String, Optional expand As String = Nothing) 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.

expand
String

Expands referenced resources.

Returns

Applies to