ManagedServiceIdentitiesExtensions.GetSystemAssignedIdentity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetSystemAssignedIdentity(ArmResource) |
Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource. MockingTo mock this method, please mock GetSystemAssignedIdentity() instead. |
GetSystemAssignedIdentity(ArmClient, ResourceIdentifier) |
Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetSystemAssignedIdentity(ResourceIdentifier) instead. |
GetSystemAssignedIdentity(ArmResource)
Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource. MockingTo mock this method, please mock GetSystemAssignedIdentity() instead.
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)
Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetSystemAssignedIdentity(ResourceIdentifier) instead.
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
- scope
- ResourceIdentifier
The scope that the resource will apply against.
Returns
Returns a SystemAssignedIdentityResource object.
Exceptions
client
is null.