New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject
为 SystemAssignedIdentityAuthInfo 创建内存中对象。
语法
New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject
[-Role <String[]>]
[-UserName <String>]
[<CommonParameters>]
说明
为 SystemAssignedIdentityAuthInfo 创建内存中对象。
示例
示例 1:使用系统分配的标识创建链接器身份验证信息
New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject
AuthType
--------
systemAssignedIdentity
使用系统分配的标识创建链接器身份验证信息
参数
-Role
可选,此值指定要分配的 Azure 角色。
类型: | String[] |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-UserName
在映射到 AAD 用户的数据库中创建的用户名。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |