你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SystemAssignedIdentity 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SystemAssignedIdentity() |
初始化 SystemAssignedIdentity 类的新实例。 |
SystemAssignedIdentity(String, String, String, String, IDictionary<String,String>, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, String) |
初始化 SystemAssignedIdentity 类的新实例。 |
SystemAssignedIdentity()
初始化 SystemAssignedIdentity 类的新实例。
public SystemAssignedIdentity ();
Public Sub New ()
适用于
SystemAssignedIdentity(String, String, String, String, IDictionary<String,String>, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, String)
初始化 SystemAssignedIdentity 类的新实例。
public SystemAssignedIdentity (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Guid? tenantId = default, Guid? principalId = default, Guid? clientId = default, string clientSecretUrl = default);
new Microsoft.Azure.Management.ManagedServiceIdentity.Models.SystemAssignedIdentity : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<Guid> * Nullable<Guid> * Nullable<Guid> * string -> Microsoft.Azure.Management.ManagedServiceIdentity.Models.SystemAssignedIdentity
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional clientId As Nullable(Of Guid) = Nothing, Optional clientSecretUrl As String = Nothing)
参数
- location
- String
资源所在的地理位置
- id
- String
资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。
- tags
- IDictionary<String,String>
资源标记
- clientSecretUrl
- String
可以查询以获取标识凭据的 ManagedServiceIdentity DataPlane URL。