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.resources.fluentcore.arm;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import java.util.Collection;
Availability zone identifiers.
/**
* Availability zone identifiers.
*/
@LangDefinition
@Beta(Beta.SinceVersion.V1_3_0)
public class AvailabilityZoneId extends ExpandableStringEnum<AvailabilityZoneId> {
Static value 1 for AvailabilityZoneId. /** Static value 1 for AvailabilityZoneId. */
public static final AvailabilityZoneId ZONE_1 = fromString("1");
Static value 2 for AvailabilityZoneId. /** Static value 2 for AvailabilityZoneId. */
public static final AvailabilityZoneId ZONE_2 = fromString("2");
Static value 3 for AvailabilityZoneId. /** Static value 3 for AvailabilityZoneId. */
public static final AvailabilityZoneId ZONE_3 = fromString("3");
Finds or creates an availability zone identifier based on the specified identifier in string format.
Params: - id – the zone identifier in string format
Returns: an instance of AvailabilityZone
/**
* Finds or creates an availability zone identifier based on the specified identifier in string format.
* @param id the zone identifier in string format
* @return an instance of AvailabilityZone
*/
public static AvailabilityZoneId fromString(String id) {
return fromString(id, AvailabilityZoneId.class);
}
Returns: known availability zone identifiers
/**
* @return known availability zone identifiers
*/
public static Collection<AvailabilityZoneId> values() {
return values(AvailabilityZoneId.class);
}
}