Locations Interface

public interface Locations

Resource collection API of Locations.

Method Summary

Modifier and Type Method and Description
abstract AscLocation get(String ascLocation)

Details of a specific location.

abstract Response<AscLocation> getWithResponse(String ascLocation, Context context)

Details of a specific location.

abstract PagedIterable<AscLocation> list()

The location of the responsible ASC of the specific subscription (home region).

abstract PagedIterable<AscLocation> list(Context context)

The location of the responsible ASC of the specific subscription (home region).

Method Details

get

public abstract AscLocation get(String ascLocation)

Details of a specific location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns:

the ASC location of the subscription is in the "name" field.

getWithResponse

public abstract Response getWithResponse(String ascLocation, Context context)

Details of a specific location.

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
context - The context to associate with this operation.

Returns:

the ASC location of the subscription is in the "name" field along with Response<T>.

list

public abstract PagedIterable list()

The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.

Returns:

list of locations where ASC saves your data as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.

Parameters:

context - The context to associate with this operation.

Returns:

list of locations where ASC saves your data as paginated response with PagedIterable<T>.

Applies to