共用方式為


DefaultAzureCredentialOptions.ManagedIdentityResourceId Property

Definition

Specifies the resource ID of a user-assigned managed identity. If this value is configured, then ManagedIdentityClientId should not be configured.

public Azure.Core.ResourceIdentifier ManagedIdentityResourceId { get; set; }
member this.ManagedIdentityResourceId : Azure.Core.ResourceIdentifier with get, set
Public Property ManagedIdentityResourceId As ResourceIdentifier

Property Value

Remarks

If neither the ManagedIdentityClientId nor the ManagedIdentityResourceId property is set, then a system-assigned managed identity is used.

Applies to