Interface AvailabilityStatuses
-
public interface AvailabilityStatuses
Resource collection API of AvailabilityStatuses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AvailabilityStatus
getByResource(String resourceUri)
Gets current availability status for a single resource.com.azure.core.http.rest.Response<AvailabilityStatus>
getByResourceWithResponse(String resourceUri, String filter, String expand, com.azure.core.util.Context context)
Gets current availability status for a single resource.com.azure.core.http.rest.PagedIterable<AvailabilityStatus>
list(String resourceUri)
Lists all historical availability transitions and impacting events for a single resource.com.azure.core.http.rest.PagedIterable<AvailabilityStatus>
list(String resourceUri, String filter, String expand, com.azure.core.util.Context context)
Lists all historical availability transitions and impacting events for a single resource.com.azure.core.http.rest.PagedIterable<AvailabilityStatus>
listByResourceGroup(String resourceGroupName)
Lists the current availability status for all the resources in the resource group.com.azure.core.http.rest.PagedIterable<AvailabilityStatus>
listByResourceGroup(String resourceGroupName, String filter, String expand, com.azure.core.util.Context context)
Lists the current availability status for all the resources in the resource group.com.azure.core.http.rest.PagedIterable<AvailabilityStatus>
listBySubscriptionId()
Lists the current availability status for all the resources in the subscription.com.azure.core.http.rest.PagedIterable<AvailabilityStatus>
listBySubscriptionId(String filter, String expand, com.azure.core.util.Context context)
Lists the current availability status for all the resources in the subscription.
-
-
-
Method Detail
-
listBySubscriptionId
com.azure.core.http.rest.PagedIterable<AvailabilityStatus> listBySubscriptionId()
Lists the current availability status for all the resources in the subscription.- Returns:
- the List availabilityStatus operation response 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.
-
listBySubscriptionId
com.azure.core.http.rest.PagedIterable<AvailabilityStatus> listBySubscriptionId(String filter, String expand, com.azure.core.util.Context context)
Lists the current availability status for all the resources in the subscription.- Parameters:
filter
- The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN.expand
- Setting $expand=recommendedactions in url query expands the recommendedactions in the response.context
- The context to associate with this operation.- Returns:
- the List availabilityStatus operation response 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<AvailabilityStatus> listByResourceGroup(String resourceGroupName)
Lists the current availability status for all the resources in the resource group.- Parameters:
resourceGroupName
- The name of the resource group.- Returns:
- the List availabilityStatus operation response 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<AvailabilityStatus> listByResourceGroup(String resourceGroupName, String filter, String expand, com.azure.core.util.Context context)
Lists the current availability status for all the resources in the resource group.- Parameters:
resourceGroupName
- The name of the resource group.filter
- The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN.expand
- Setting $expand=recommendedactions in url query expands the recommendedactions in the response.context
- The context to associate with this operation.- Returns:
- the List availabilityStatus operation response 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.
-
getByResource
AvailabilityStatus getByResource(String resourceUri)
Gets current availability status for a single resource.- Parameters:
resourceUri
- The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}.- Returns:
- current availability status for a single 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.
-
getByResourceWithResponse
com.azure.core.http.rest.Response<AvailabilityStatus> getByResourceWithResponse(String resourceUri, String filter, String expand, com.azure.core.util.Context context)
Gets current availability status for a single resource.- Parameters:
resourceUri
- The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}.filter
- The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN.expand
- Setting $expand=recommendedactions in url query expands the recommendedactions in the response.context
- The context to associate with this operation.- Returns:
- current availability status for a single 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.
-
list
com.azure.core.http.rest.PagedIterable<AvailabilityStatus> list(String resourceUri)
Lists all historical availability transitions and impacting events for a single resource.- Parameters:
resourceUri
- The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}.- Returns:
- the List availabilityStatus operation response 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.
-
list
com.azure.core.http.rest.PagedIterable<AvailabilityStatus> list(String resourceUri, String filter, String expand, com.azure.core.util.Context context)
Lists all historical availability transitions and impacting events for a single resource.- Parameters:
resourceUri
- The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}.filter
- The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN.expand
- Setting $expand=recommendedactions in url query expands the recommendedactions in the response.context
- The context to associate with this operation.- Returns:
- the List availabilityStatus operation response 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.
-
-