New-AzNetworkManagerAddressPrefixItem
Creates a network manager address prefix item.
Syntax
New-AzNetworkManagerAddressPrefixItem
-AddressPrefix <String>
-AddressPrefixType <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzNetworkManagerAddressPrefixItem cmdlet creates a network manager address prefix item.
Examples
Example 1
New-AzNetworkManagerAddressPrefixItem -AddressPrefix "Internet" -AddressPrefixType "ServiceTag"
AddressPrefix AddressPrefixType
------------- -----------------
Internet ServiceTag
Creates a network manager service tag address prefix item.
Example 2
New-AzNetworkManagerAddressPrefixItem -AddressPrefix "10.0.0.1" -AddressPrefixType "IPPrefix"
AddressPrefix AddressPrefixType
------------- -----------------
10.0.0.1 IPPrefix
Creates a network manager IP address prefix item.
Parameters
-AddressPrefix
AddressPrefix
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AddressPrefixType
AddressPrefix Type.
Type: | String |
Accepted values: | IPPrefix, ServiceTag |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell