Interface RoleManagementPolicyAssignmentsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in RoleManagementPolicyAssignmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters) Create a role management policy assignment.createAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters) Create a role management policy assignment.com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner>createWithResponse(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters, com.azure.core.util.Context context) Create a role management policy assignment.Mono<com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner>>createWithResponseAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters) Create a role management policy assignment.voidDelete a role management policy assignment.deleteAsync(String scope, String roleManagementPolicyAssignmentName) Delete a role management policy assignment.com.azure.core.http.rest.Response<Void>deleteWithResponse(String scope, String roleManagementPolicyAssignmentName, com.azure.core.util.Context context) Delete a role management policy assignment.deleteWithResponseAsync(String scope, String roleManagementPolicyAssignmentName) Delete a role management policy assignment.Get the specified role management policy assignment for a resource scope.Get the specified role management policy assignment for a resource scope.com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner>getWithResponse(String scope, String roleManagementPolicyAssignmentName, com.azure.core.util.Context context) Get the specified role management policy assignment for a resource scope.Mono<com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner>>getWithResponseAsync(String scope, String roleManagementPolicyAssignmentName) Get the specified role management policy assignment for a resource scope.com.azure.core.http.rest.PagedIterable<RoleManagementPolicyAssignmentInner>listForScope(String scope) Gets role management assignment policies for a resource scope.com.azure.core.http.rest.PagedIterable<RoleManagementPolicyAssignmentInner>listForScope(String scope, com.azure.core.util.Context context) Gets role management assignment policies for a resource scope.com.azure.core.http.rest.PagedFlux<RoleManagementPolicyAssignmentInner>listForScopeAsync(String scope) Gets role management assignment policies for a resource scope.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner>> getWithResponseAsync(String scope, String roleManagementPolicyAssignmentName) Get the specified role management policy assignment for a resource scope.- Parameters:
scope- The scope of the role management policy.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to get.- Returns:
- the specified role management policy assignment for a resource scope 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.
-
getAsync
Mono<RoleManagementPolicyAssignmentInner> getAsync(String scope, String roleManagementPolicyAssignmentName) Get the specified role management policy assignment for a resource scope.- Parameters:
scope- The scope of the role management policy.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to get.- Returns:
- the specified role management policy assignment for a resource scope 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.
-
getWithResponse
com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner> getWithResponse(String scope, String roleManagementPolicyAssignmentName, com.azure.core.util.Context context) Get the specified role management policy assignment for a resource scope.- Parameters:
scope- The scope of the role management policy.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to get.context- The context to associate with this operation.- Returns:
- the specified role management policy assignment for a resource scope 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.
-
get
Get the specified role management policy assignment for a resource scope.- Parameters:
scope- The scope of the role management policy.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to get.- Returns:
- the specified role management policy assignment for a resource scope.
- 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.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner>> createWithResponseAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters) Create a role management policy assignment.- Parameters:
scope- The scope of the role management policy assignment to upsert.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to upsert.parameters- Parameters for the role management policy assignment.- Returns:
- role management policy 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.
-
createAsync
Mono<RoleManagementPolicyAssignmentInner> createAsync(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters) Create a role management policy assignment.- Parameters:
scope- The scope of the role management policy assignment to upsert.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to upsert.parameters- Parameters for the role management policy assignment.- Returns:
- role management policy 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.
-
createWithResponse
com.azure.core.http.rest.Response<RoleManagementPolicyAssignmentInner> createWithResponse(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters, com.azure.core.util.Context context) Create a role management policy assignment.- Parameters:
scope- The scope of the role management policy assignment to upsert.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to upsert.parameters- Parameters for the role management policy assignment.context- The context to associate with this operation.- Returns:
- role management policy 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.
-
create
RoleManagementPolicyAssignmentInner create(String scope, String roleManagementPolicyAssignmentName, RoleManagementPolicyAssignmentInner parameters) Create a role management policy assignment.- Parameters:
scope- The scope of the role management policy assignment to upsert.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to upsert.parameters- Parameters for the role management policy assignment.- Returns:
- role management policy.
- 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 scope, String roleManagementPolicyAssignmentName) Delete a role management policy assignment.- Parameters:
scope- The scope of the role management policy assignment to delete.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to delete.- 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
Delete a role management policy assignment.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
scope- The scope of the role management policy assignment to delete.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to delete.- 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 scope, String roleManagementPolicyAssignmentName, com.azure.core.util.Context context) Delete a role management policy assignment.- Parameters:
scope- The scope of the role management policy assignment to delete.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to delete.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
Delete a role management policy assignment.- Parameters:
scope- The scope of the role management policy assignment to delete.roleManagementPolicyAssignmentName- The name of format {guid_guid} the role management policy assignment to delete.- 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.
-
listForScopeAsync
com.azure.core.http.rest.PagedFlux<RoleManagementPolicyAssignmentInner> listForScopeAsync(String scope) Gets role management assignment policies for a resource scope.- Parameters:
scope- The scope of the role management policy.- Returns:
- role management assignment policies for a resource scope 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.
-
listForScope
com.azure.core.http.rest.PagedIterable<RoleManagementPolicyAssignmentInner> listForScope(String scope) Gets role management assignment policies for a resource scope.- Parameters:
scope- The scope of the role management policy.- Returns:
- role management assignment policies for a resource scope 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.
-
listForScope
com.azure.core.http.rest.PagedIterable<RoleManagementPolicyAssignmentInner> listForScope(String scope, com.azure.core.util.Context context) Gets role management assignment policies for a resource scope.- Parameters:
scope- The scope of the role management policy.context- The context to associate with this operation.- Returns:
- role management assignment policies for a resource scope 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.
-