ManagedServiceIdentitiesExtensions.GetSystemAssignedIdentity Method

Definition

Overloads

Name Description
GetSystemAssignedIdentity(ArmResource)

Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource scope.

GetSystemAssignedIdentity(ArmClient, ResourceIdentifier)

Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmClient <item> Mocking. To mock this method, please mock GetSystemAssignedIdentity(ResourceIdentifier) instead. </item>

GetSystemAssignedIdentity(ArmResource)

Source:
ManagedServiceIdentitiesExtensions.cs
Source:
ManagedServiceIdentitiesExtensions.cs

Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource scope.

public static Azure.ResourceManager.ManagedServiceIdentities.SystemAssignedIdentityResource GetSystemAssignedIdentity(this Azure.ResourceManager.ArmResource armResource);
static member GetSystemAssignedIdentity : Azure.ResourceManager.ArmResource -> Azure.ResourceManager.ManagedServiceIdentities.SystemAssignedIdentityResource
<Extension()>
Public Function GetSystemAssignedIdentity (armResource As ArmResource) As SystemAssignedIdentityResource

Parameters

armResource
ArmResource

The ArmResource instance the method will execute against.

Returns

Returns a SystemAssignedIdentityResource object.

Exceptions

armResource is null.

Applies to

GetSystemAssignedIdentity(ArmClient, ResourceIdentifier)

Source:
ManagedServiceIdentitiesExtensions.cs
Source:
ManagedServiceIdentitiesExtensions.cs

Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmClient <item> Mocking. To mock this method, please mock GetSystemAssignedIdentity(ResourceIdentifier) instead. </item>

public static Azure.ResourceManager.ManagedServiceIdentities.SystemAssignedIdentityResource GetSystemAssignedIdentity(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetSystemAssignedIdentity : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ManagedServiceIdentities.SystemAssignedIdentityResource
<Extension()>
Public Function GetSystemAssignedIdentity (client As ArmClient, scope As ResourceIdentifier) As SystemAssignedIdentityResource

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a SystemAssignedIdentityResource object.

Exceptions

client is null.

Applies to