次の方法で共有


New-AzNetworkManagerAddressPrefixItem

ネットワーク マネージャーのアドレス プレフィックス項目を作成します。

構文

Default (既定)

New-AzNetworkManagerAddressPrefixItem
    -AddressPrefix <String>
    -AddressPrefixType <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

説明

New-AzNetworkManagerAddressPrefixItem コマンドレットは、ネットワーク マネージャー アドレス プレフィックス項目を作成します。

例 1

New-AzNetworkManagerAddressPrefixItem -AddressPrefix "Internet" -AddressPrefixType "ServiceTag"
AddressPrefix AddressPrefixType
------------- -----------------
Internet      ServiceTag

ネットワーク マネージャー サービス タグのアドレス プレフィックス項目を作成します。

例 2

New-AzNetworkManagerAddressPrefixItem -AddressPrefix "10.0.0.1" -AddressPrefixType "IPPrefix"
AddressPrefix AddressPrefixType
------------- -----------------
10.0.0.1      IPPrefix

ネットワーク マネージャーの IP アドレス プレフィックス項目を作成します。

パラメーター

-AddressPrefix

AddressPrefix

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-AddressPrefixType

AddressPrefix 型。

パラメーターのプロパティ

型:String
規定値:None
指定可能な値:IPPrefix, ServiceTag, NetworkGroup
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

String

出力

PSNetworkManagerAddressPrefixItem