Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.trafficmanager; import com.microsoft.azure.management.apigeneration.Fluent; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasName; import com.microsoft.azure.management.resources.fluentcore.model.HasInner; import java.util.List;
Type representing Geographic Hierarchy region (location).
/** * Type representing Geographic Hierarchy region (location). */
@Fluent public interface GeographicLocation extends HasName, HasInner<com.microsoft.azure.management.trafficmanager.Region> {
Returns:the location code.
/** * @return the location code. */
String code();
Returns:list of immediate child locations grouped under this location in the Geographic Hierarchy.
/** * @return list of immediate child locations grouped under this location in the Geographic Hierarchy. */
List<GeographicLocation> childLocations();
Returns:list of all descendant locations grouped under this location in the Geographic Hierarchy.
/** * @return list of all descendant locations grouped under this location in the Geographic Hierarchy. */
List<GeographicLocation> descendantLocations(); }