New-AzExpressRoutePortIdentity
Azure ExpressRoutePortIdentity を作成します。
構文
New-AzExpressRoutePortIdentity
-UserAssignedIdentityId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
New-AzExpressRoutePortIdentity コマンドレットは、ローカルの Azure ExpressRoutePort Identity オブジェクトを作成します。 New-AzExpressRoutePort または Set-AzExpressRoutePort を使用して、Azure ExpressRoutePort に割り当てます。
例
例 1
$parameters = @{
UserAssignedIdentityId='/subscriptions/<SubId>/resourceGroups/<ResourceGroupName>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<IdentityName>'
}
New-AzExpressRoutePortIdentity @parameters
パラメーター
-DefaultProfile
Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。
型: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
既定値: | None |
必須: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserAssignedIdentityId
ExpressRoutePort に割り当てられるユーザー割り当て ID の ResourceId。
型: | String |
Aliases: | UserAssignedIdentity |
Position: | Named |
既定値: | None |
必須: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |