Interface UserAssignedIdentitiesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<IdentityInner>, InnerSupportsListing<IdentityInner>

public interface UserAssignedIdentitiesClient extends InnerSupportsGet<IdentityInner>, InnerSupportsListing<IdentityInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in UserAssignedIdentitiesClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<IdentityInner> listAsync()
      Lists all the userAssignedIdentities available under the specified subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<IdentityInner>
      Returns:
      values returned by the List operation as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<IdentityInner> list()
      Lists all the userAssignedIdentities available under the specified subscription.
      Specified by:
      list in interface InnerSupportsListing<IdentityInner>
      Returns:
      values returned by the List operation as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<IdentityInner> list(com.azure.core.util.Context context)
      Lists all the userAssignedIdentities available under the specified subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      values returned by the List operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<IdentityInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all the userAssignedIdentities available under the specified ResourceGroup.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<IdentityInner>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      Returns:
      values returned by the List operation as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<IdentityInner> listByResourceGroup(String resourceGroupName)
      Lists all the userAssignedIdentities available under the specified ResourceGroup.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<IdentityInner>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      Returns:
      values returned by the List operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<IdentityInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all the userAssignedIdentities available under the specified ResourceGroup.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      context - The context to associate with this operation.
      Returns:
      values returned by the List operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<IdentityInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, IdentityInner parameters)
      Create or update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to create or update the identity.
      Returns:
      describes an identity resource along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<IdentityInner> createOrUpdateAsync(String resourceGroupName, String resourceName, IdentityInner parameters)
      Create or update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to create or update the identity.
      Returns:
      describes an identity resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<IdentityInner> createOrUpdateWithResponse(String resourceGroupName, String resourceName, IdentityInner parameters, com.azure.core.util.Context context)
      Create or update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to create or update the identity.
      context - The context to associate with this operation.
      Returns:
      describes an identity resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      IdentityInner createOrUpdate(String resourceGroupName, String resourceName, IdentityInner parameters)
      Create or update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to create or update the identity.
      Returns:
      describes an identity resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<IdentityInner>> updateWithResponseAsync(String resourceGroupName, String resourceName, IdentityUpdate parameters)
      Update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to update the identity.
      Returns:
      describes an identity resource along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<IdentityInner> updateAsync(String resourceGroupName, String resourceName, IdentityUpdate parameters)
      Update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to update the identity.
      Returns:
      describes an identity resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponse

      com.azure.core.http.rest.Response<IdentityInner> updateWithResponse(String resourceGroupName, String resourceName, IdentityUpdate parameters, com.azure.core.util.Context context)
      Update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to update the identity.
      context - The context to associate with this operation.
      Returns:
      describes an identity resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      IdentityInner update(String resourceGroupName, String resourceName, IdentityUpdate parameters)
      Update an identity in the specified subscription and resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      parameters - Parameters to update the identity.
      Returns:
      describes an identity resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<IdentityInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String resourceName)
      Gets the identity.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      Returns:
      the identity along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<IdentityInner> getByResourceGroupAsync(String resourceGroupName, String resourceName)
      Gets the identity.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<IdentityInner>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      Returns:
      the identity on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<IdentityInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Gets the identity.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      context - The context to associate with this operation.
      Returns:
      the identity along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      IdentityInner getByResourceGroup(String resourceGroupName, String resourceName)
      Gets the identity.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<IdentityInner>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      Returns:
      the identity.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String resourceName)
      Deletes the identity.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String resourceName)
      Deletes the identity.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Deletes the identity.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String resourceName)
      Deletes the identity.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the identity belongs.
      resourceName - The name of the identity resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.