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
 

Set-AzureVirtualNetworkSubnetConfig

Set-AzureVirtualNetworkSubnetConfig

microsoft.azure.commands.network.dll

Synopsis

Sets the goal state for a Subnet within an Azure Virtual Network

Syntax

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

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

Detailed Description

Sets the goal state for a Subnet within an Azure 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 containing the Subnet.

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 a 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