New-AzExpressRoutePortIdentity
Létrehoz egy Azure ExpressRoutePortIdentity-t.
Syntax
New-AzExpressRoutePortIdentity
-UserAssignedIdentityId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
A New-AzExpressRoutePortIdentity parancsmag létrehoz egy helyi Azure ExpressRoutePort Identity-objektumot. A New-AzExpressRoutePort vagy a Set-AzExpressRoutePort használatával rendelje hozzá az Azure ExpressRoutePorthoz.
Példák
1. példa
$parameters = @{
UserAssignedIdentityId='/subscriptions/<SubId>/resourceGroups/<ResourceGroupName>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<IdentityName>'
}
New-AzExpressRoutePortIdentity @parameters
Paraméterek
-DefaultProfile
Az Azure-ral való kommunikációhoz használt hitelesítő adatok, fiók, bérlő és előfizetés.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserAssignedIdentityId
Az ExpressRoutePorthoz hozzárendelendő felhasználó által hozzárendelt identitás ResourceId azonosítója.
Type: | String |
Aliases: | UserAssignedIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |