LocationsClient Interface

public interface LocationsClient

An instance of this class provides access to all the operations defined in LocationsClient.

Method Summary

Modifier and Type Method and Description
abstract LocationGetResultInner get(String location)

Get the properties of an existing Cosmos DB location.

abstract Mono<LocationGetResultInner> getAsync(String location)

Get the properties of an existing Cosmos DB location.

abstract Response<LocationGetResultInner> getWithResponse(String location, Context context)

Get the properties of an existing Cosmos DB location.

abstract Mono<Response<LocationGetResultInner>> getWithResponseAsync(String location)

Get the properties of an existing Cosmos DB location.

abstract PagedIterable<LocationGetResultInner> list()

List Cosmos DB locations and their properties.

abstract PagedIterable<LocationGetResultInner> list(Context context)

List Cosmos DB locations and their properties.

abstract PagedFlux<LocationGetResultInner> listAsync()

List Cosmos DB locations and their properties.

Method Details

get

public abstract 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.

getAsync

public abstract Mono 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 on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String location, 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 along with Response<T>.

getWithResponseAsync

public abstract Mono> 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 along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

List Cosmos DB locations and their properties.

Returns:

the List operation response, that contains Cosmos DB locations and their properties as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(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 as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

List Cosmos DB locations and their properties.

Returns:

the List operation response, that contains Cosmos DB locations and their properties as paginated response with PagedFlux<T>.

Applies to