Udostępnij za pośrednictwem


SystemAssignedIdentitiesOperationsExtensions.GetByScopeAsync Method

Definition

Gets the systemAssignedIdentity available under the specified RP scope.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServiceIdentity.Models.SystemAssignedIdentity> GetByScopeAsync (this Microsoft.Azure.Management.ManagedServiceIdentity.ISystemAssignedIdentitiesOperations operations, string scope, System.Threading.CancellationToken cancellationToken = default);
static member GetByScopeAsync : Microsoft.Azure.Management.ManagedServiceIdentity.ISystemAssignedIdentitiesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServiceIdentity.Models.SystemAssignedIdentity>
<Extension()>
Public Function GetByScopeAsync (operations As ISystemAssignedIdentitiesOperations, scope As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SystemAssignedIdentity)

Parameters

operations
ISystemAssignedIdentitiesOperations

The operations group for this extension method.

scope
String

The resource provider scope of the resource. Parent resource being extended by Managed Identities.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to