Share via


UserAssignedIdentityCollection Class

Definition

A class representing a collection of UserAssignedIdentityResource and their operations. Each UserAssignedIdentityResource in the collection will belong to the same instance of ResourceGroupResource. To get an UserAssignedIdentityCollection instance call the GetUserAssignedIdentities method from an instance of ResourceGroupResource.

public class UserAssignedIdentityCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ManagedServiceIdentities.UserAssignedIdentityResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagedServiceIdentities.UserAssignedIdentityResource>
type UserAssignedIdentityCollection = class
    inherit ArmCollection
    interface seq<UserAssignedIdentityResource>
    interface IEnumerable
    interface IAsyncEnumerable<UserAssignedIdentityResource>
Public Class UserAssignedIdentityCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of UserAssignedIdentityResource), IEnumerable(Of UserAssignedIdentityResource)
Inheritance
UserAssignedIdentityCollection
Implements

Constructors

UserAssignedIdentityCollection()

Initializes a new instance of the UserAssignedIdentityCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, UserAssignedIdentityData, CancellationToken)

Create or update an identity in the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_CreateOrUpdate
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
CreateOrUpdateAsync(WaitUntil, String, UserAssignedIdentityData, CancellationToken)

Create or update an identity in the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_CreateOrUpdate
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_Get
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_Get
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
Get(String, CancellationToken)

Gets the identity.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_Get
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
GetAll(CancellationToken)

Lists all the userAssignedIdentities available under the specified ResourceGroup.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities
  • Operation Id: UserAssignedIdentities_ListByResourceGroup
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
GetAllAsync(CancellationToken)

Lists all the userAssignedIdentities available under the specified ResourceGroup.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities
  • Operation Id: UserAssignedIdentities_ListByResourceGroup
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
GetAsync(String, CancellationToken)

Gets the identity.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_Get
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_Get
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
  • Operation Id: UserAssignedIdentities_Get
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<UserAssignedIdentityResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<UserAssignedIdentityResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to