Class LocationProperties

java.lang.Object
com.azure.resourcemanager.cosmos.models.LocationProperties

public final class LocationProperties extends Object
Cosmos DB location metadata.
  • Constructor Details

    • LocationProperties

      public LocationProperties()
      Creates an instance of LocationProperties class.
  • Method Details

    • supportsAvailabilityZone

      public Boolean supportsAvailabilityZone()
      Get the supportsAvailabilityZone property: Flag indicating whether the location supports availability zones or not.
      Returns:
      the supportsAvailabilityZone value.
    • isResidencyRestricted

      public Boolean isResidencyRestricted()
      Get the isResidencyRestricted property: Flag indicating whether the location is residency sensitive.
      Returns:
      the isResidencyRestricted value.
    • backupStorageRedundancies

      public List<BackupStorageRedundancy> backupStorageRedundancies()
      Get the backupStorageRedundancies property: The properties of available backup storage redundancies.
      Returns:
      the backupStorageRedundancies value.
    • isSubscriptionRegionAccessAllowedForRegular

      public Boolean isSubscriptionRegionAccessAllowedForRegular()
      Get the isSubscriptionRegionAccessAllowedForRegular property: Flag indicating whether the subscription have access in region for Non-Availability Zones.
      Returns:
      the isSubscriptionRegionAccessAllowedForRegular value.
    • isSubscriptionRegionAccessAllowedForAz

      public Boolean isSubscriptionRegionAccessAllowedForAz()
      Get the isSubscriptionRegionAccessAllowedForAz property: Flag indicating whether the subscription have access in region for Availability Zones(Az).
      Returns:
      the isSubscriptionRegionAccessAllowedForAz value.
    • status

      public Status status()
      Get the status property: Enum to indicate current buildout status of the region.
      Returns:
      the status value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.