Interface CapabilitiesClient
public interface CapabilitiesClient
An instance of this class provides access to all the operations defined in CapabilitiesClient.
-
Method Summary
Modifier and TypeMethodDescriptionlistByLocation(String locationName) Gets the subscription capabilities available for the specified location.listByLocationAsync(String locationName) Gets the subscription capabilities available for the specified location.com.azure.core.http.rest.Response<LocationCapabilitiesInner>listByLocationWithResponse(String locationName, CapabilityGroup include, com.azure.core.util.Context context) Gets the subscription capabilities available for the specified location.Mono<com.azure.core.http.rest.Response<LocationCapabilitiesInner>>listByLocationWithResponseAsync(String locationName, CapabilityGroup include) Gets the subscription capabilities available for the specified location.
-
Method Details
-
listByLocationWithResponseAsync
Mono<com.azure.core.http.rest.Response<LocationCapabilitiesInner>> listByLocationWithResponseAsync(String locationName, CapabilityGroup include) Gets the subscription capabilities available for the specified location.- Parameters:
locationName- The location name whose capabilities are retrieved.include- If specified, restricts the response to only include the selected item.- Returns:
- the subscription capabilities available for the specified location 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.
-
listByLocationAsync
Gets the subscription capabilities available for the specified location.- Parameters:
locationName- The location name whose capabilities are retrieved.- Returns:
- the subscription capabilities available for the specified location 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.
-
listByLocationWithResponse
com.azure.core.http.rest.Response<LocationCapabilitiesInner> listByLocationWithResponse(String locationName, CapabilityGroup include, com.azure.core.util.Context context) Gets the subscription capabilities available for the specified location.- Parameters:
locationName- The location name whose capabilities are retrieved.include- If specified, restricts the response to only include the selected item.context- The context to associate with this operation.- Returns:
- the subscription capabilities available for the specified location 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.
-
listByLocation
Gets the subscription capabilities available for the specified location.- Parameters:
locationName- The location name whose capabilities are retrieved.- Returns:
- the subscription capabilities available for the specified location.
- 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.
-