Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Add-AzureVirtualNetworkSubnetConfig

Add-AzureVirtualNetworkSubnetConfig

microsoft.azure.commands.network.dll

Synopsis

Creates a new Subnet with an existing Virtual Network

Syntax

Add-AzureVirtualNetworkSubnetConfig [-Name] [-VirtualNetwork] [-AddressPrefix] [-NetworkSecurityGroup] [-Profile] [<CommonParameters>]

Add-AzureVirtualNetworkSubnetConfig [-Name] [-VirtualNetwork] [-AddressPrefix] [-NetworkSecurityGroupId] [-Profile] [<CommonParameters>]

Detailed Description

Creates a new Subnet with an existing Virtual Network

Parameters

-Name <String>

The name of the Subnet.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-VirtualNetwork <PSVirtualNetwork>

The Virtual Network object in which this subnet should be created.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-AddressPrefix <String>

The Ip range covered by this Subnet.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-NetworkSecurityGroup <PSNetworkSecurityGroup>

The Network Security Group object containing ACLs that will apply to this Subnet.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Profile <AzureProfile>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-NetworkSecurityGroupId <String>

A reference to the Network Security Group containing ACLs that will apply to this Subnet.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-DnsServer <list`1[string]>

The Dns servers to be used for performing Dns lookups from this Subnet.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples