Interface LocationsClient
-
public interface LocationsClientAn instance of this class provides access to all the operations defined in LocationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocationGetResultInnerget(String location)Get the properties of an existing Cosmos DB location.Mono<LocationGetResultInner>getAsync(String location)Get the properties of an existing Cosmos DB location.com.azure.core.http.rest.Response<LocationGetResultInner>getWithResponse(String location, com.azure.core.util.Context context)Get the properties of an existing Cosmos DB location.Mono<com.azure.core.http.rest.Response<LocationGetResultInner>>getWithResponseAsync(String location)Get the properties of an existing Cosmos DB location.com.azure.core.http.rest.PagedIterable<LocationGetResultInner>list()List Cosmos DB locations and their properties.com.azure.core.http.rest.PagedIterable<LocationGetResultInner>list(com.azure.core.util.Context context)List Cosmos DB locations and their properties.com.azure.core.http.rest.PagedFlux<LocationGetResultInner>listAsync()List Cosmos DB locations and their properties.
-
-
-
Method Detail
-
listAsync
com.azure.core.http.rest.PagedFlux<LocationGetResultInner> listAsync()
List Cosmos DB locations and their properties.- Returns:
- the List operation response, that contains Cosmos DB locations and their properties.
- 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<LocationGetResultInner> list()
List Cosmos DB locations and their properties.- Returns:
- the List operation response, that contains Cosmos DB locations and their properties.
- 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<LocationGetResultInner> list(com.azure.core.util.Context context)
List Cosmos DB locations and their properties.- Parameters:
context- The context to associate with this operation.- Returns:
- the List operation response, that contains Cosmos DB locations and their properties.
- 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<LocationGetResultInner>> getWithResponseAsync(String location)
Get the properties of an existing Cosmos DB location.- Parameters:
location- Cosmos DB region, with spaces between words and each word capitalized.- Returns:
- the properties of an existing Cosmos DB 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.
-
getAsync
Mono<LocationGetResultInner> getAsync(String location)
Get the properties of an existing Cosmos DB location.- Parameters:
location- Cosmos DB region, with spaces between words and each word capitalized.- Returns:
- the properties of an existing Cosmos DB 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.
-
get
LocationGetResultInner get(String location)
Get the properties of an existing Cosmos DB location.- Parameters:
location- Cosmos DB region, with spaces between words and each word capitalized.- Returns:
- the properties of an existing Cosmos DB 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.
-
getWithResponse
com.azure.core.http.rest.Response<LocationGetResultInner> getWithResponse(String location, com.azure.core.util.Context context)
Get the properties of an existing Cosmos DB location.- Parameters:
location- Cosmos DB region, with spaces between words and each word capitalized.context- The context to associate with this operation.- Returns:
- the properties of an existing Cosmos DB 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.
-
-