編輯

共用方式為


New-AzServiceLinkerUserAssignedIdentityAuthInfoObject

Create an in-memory object for UserAssignedIdentityAuthInfo.

Syntax

New-AzServiceLinkerUserAssignedIdentityAuthInfoObject
   [-ClientId <String>]
   [-SubscriptionId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for UserAssignedIdentityAuthInfo.

Examples

Example 1: create linker's auth info with user assigned identity type

New-AzServiceLinkerUserAssignedIdentityAuthInfoObject -ClientId 00000000-0000-0000-0000-000000000000 -SubscriptionId 00000000-0000-0000-0000-000000000000

AuthType             ClientId                             SubscriptionId
--------             --------                             --------------
userAssignedIdentity 00000000-0000-0000-0000-000000000000 00000000-0000-0000-0000-0000…

create linker's auth info with user assigned identity type

Parameters

-ClientId

Client Id for userAssignedIdentity.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Subscription id for userAssignedIdentity.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

UserAssignedIdentityAuthInfo