Interface RoleAssignmentMetricsClient
-
public interface RoleAssignmentMetricsClient
An instance of this class provides access to all the operations defined in RoleAssignmentMetricsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleAssignmentMetricsResultInner
getMetricsForSubscription()
Get role assignment usage metrics for a subscription.Mono<RoleAssignmentMetricsResultInner>
getMetricsForSubscriptionAsync()
Get role assignment usage metrics for a subscription.com.azure.core.http.rest.Response<RoleAssignmentMetricsResultInner>
getMetricsForSubscriptionWithResponse(com.azure.core.util.Context context)
Get role assignment usage metrics for a subscription.Mono<com.azure.core.http.rest.Response<RoleAssignmentMetricsResultInner>>
getMetricsForSubscriptionWithResponseAsync()
Get role assignment usage metrics for a subscription.
-
-
-
Method Detail
-
getMetricsForSubscriptionWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleAssignmentMetricsResultInner>> getMetricsForSubscriptionWithResponseAsync()
Get role assignment usage metrics for a subscription.- Returns:
- role assignment usage metrics for a subscription.
- 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.
-
getMetricsForSubscriptionAsync
Mono<RoleAssignmentMetricsResultInner> getMetricsForSubscriptionAsync()
Get role assignment usage metrics for a subscription.- Returns:
- role assignment usage metrics for a subscription.
- 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.
-
getMetricsForSubscription
RoleAssignmentMetricsResultInner getMetricsForSubscription()
Get role assignment usage metrics for a subscription.- Returns:
- role assignment usage metrics for a subscription.
- 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.
-
getMetricsForSubscriptionWithResponse
com.azure.core.http.rest.Response<RoleAssignmentMetricsResultInner> getMetricsForSubscriptionWithResponse(com.azure.core.util.Context context)
Get role assignment usage metrics for a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- role assignment usage metrics for a subscription.
- 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.
-
-