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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure PowerShell