Interface GeographicHierarchiesClient
public interface GeographicHierarchiesClient
An instance of this class provides access to all the operations defined in GeographicHierarchiesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the default Geographic Hierarchy used by the Geographic traffic routing method.Gets the default Geographic Hierarchy used by the Geographic traffic routing method.com.azure.core.http.rest.Response<TrafficManagerGeographicHierarchyInner> getDefaultWithResponse(com.azure.core.util.Context context) Gets the default Geographic Hierarchy used by the Geographic traffic routing method.Mono<com.azure.core.http.rest.Response<TrafficManagerGeographicHierarchyInner>> Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
-
Method Details
-
getDefaultWithResponseAsync
Mono<com.azure.core.http.rest.Response<TrafficManagerGeographicHierarchyInner>> getDefaultWithResponseAsync()Gets the default Geographic Hierarchy used by the Geographic traffic routing method.- Returns:
- the default Geographic Hierarchy used by the Geographic traffic routing method along with
Responseon successful completion ofMono. - 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.
-
getDefaultAsync
Mono<TrafficManagerGeographicHierarchyInner> getDefaultAsync()Gets the default Geographic Hierarchy used by the Geographic traffic routing method.- Returns:
- the default Geographic Hierarchy used by the Geographic traffic routing method on successful completion
of
Mono. - 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.
-
getDefaultWithResponse
com.azure.core.http.rest.Response<TrafficManagerGeographicHierarchyInner> getDefaultWithResponse(com.azure.core.util.Context context) Gets the default Geographic Hierarchy used by the Geographic traffic routing method.- Parameters:
context- The context to associate with this operation.- Returns:
- the default Geographic Hierarchy used by the Geographic traffic routing method 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.
-
getDefault
TrafficManagerGeographicHierarchyInner getDefault()Gets the default Geographic Hierarchy used by the Geographic traffic routing method.- Returns:
- the default Geographic Hierarchy used by the Geographic traffic routing method.
- 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.
-