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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentityInnercreateOrUpdate(String resourceGroupName, String resourceName, IdentityInner parameters)Create or update an identity in the specified subscription and resource group.Mono<IdentityInner>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.voiddelete(String resourceGroupName, String resourceName)Deletes the identity.Mono<Void>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.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String resourceName)Deletes the identity.IdentityInnergetByResourceGroup(String resourceGroupName, String resourceName)Gets the identity.Mono<IdentityInner>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>listAsync()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.IdentityInnerupdate(String resourceGroupName, String resourceName, IdentityUpdate parameters)Update an identity in the specified subscription and resource group.Mono<IdentityInner>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 Detail
-
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.
- 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.
- 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.
- 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.
- 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:
listByResourceGroupin interfaceInnerSupportsListing<IdentityInner>- Parameters:
resourceGroupName- The name of the Resource Group to which the identity belongs.- Returns:
- values returned by the List operation.
- 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.
- 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.
- 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.
- 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.
-
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.
- 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.
- 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.
- 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.
-
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.
- 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.
- 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:
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.
- 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:
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.
-
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.
- 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 completion.
- 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:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the Resource Group to which the identity belongs.resourceName- The name of the identity resource.- Returns:
- the completion.
- 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.
-
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.
-
-