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 Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String resourceName, IdentityInner parameters) Create or update an identity in the specified subscription and resource group.createOrUpdateAsync(String resourceGroupName, String resourceName, IdentityInner parameters) Create or update an identity in the specified subscription and resource group.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.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.voidDeletes the identity.deleteAsync(String resourceGroupName, String resourceName) Deletes the identity.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Deletes the identity.deleteWithResponseAsync(String resourceGroupName, String resourceName) Deletes the identity.getByResourceGroup(String resourceGroupName, String resourceName) Gets the identity.getByResourceGroupAsync(String resourceGroupName, String resourceName) Gets the identity.com.azure.core.http.rest.Response<IdentityInner>getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets the identity.Mono<com.azure.core.http.rest.Response<IdentityInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String resourceName) Gets the identity.com.azure.core.http.rest.PagedIterable<IdentityInner>list()Lists all the userAssignedIdentities available under the specified subscription.com.azure.core.http.rest.PagedIterable<IdentityInner>list(com.azure.core.util.Context context) Lists all the userAssignedIdentities available under the specified subscription.com.azure.core.http.rest.PagedFlux<IdentityInner>Lists all the userAssignedIdentities available under the specified subscription.com.azure.core.http.rest.PagedIterable<IdentityInner>listByResourceGroup(String resourceGroupName) Lists all the userAssignedIdentities available under the specified ResourceGroup.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.com.azure.core.http.rest.PagedFlux<IdentityInner>listByResourceGroupAsync(String resourceGroupName) Lists all the userAssignedIdentities available under the specified ResourceGroup.update(String resourceGroupName, String resourceName, IdentityUpdate parameters) Update an identity in the specified subscription and resource group.updateAsync(String resourceGroupName, String resourceName, IdentityUpdate parameters) Update an identity in the specified subscription and resource group.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.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.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<IdentityInner> listAsync()Lists all the userAssignedIdentities available under the specified subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<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:
listin interfaceInnerSupportsListing<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
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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<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
Lists all the userAssignedIdentities available under the specified ResourceGroup.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
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
Responseon successful completion ofMono. - 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
Gets the identity.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<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
Gets the identity.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<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
Responseon successful completion ofMono. - 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
Deletes the identity.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the Resource Group to which the identity belongs.resourceName- The name of the identity resource.- Returns:
- A
Monothat 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
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.
-