Class PublicEndpoints

java.lang.Object
com.microsoft.azure.management.storage.PublicEndpoints

public class PublicEndpoints extends Object
An instance of this class stores the The URIs associated with a storage account that are used to perform a retrieval of a public blob, queue or table object.
  • Constructor Details

    • PublicEndpoints

      public PublicEndpoints(Endpoints primary, Endpoints secondary)
      Creates an instance of PublicEndpoints with two access endpoints.
      Parameters:
      primary - the primary endpoint
      secondary - the secondary endpoint
  • Method Details

    • primary

      public Endpoints primary()
      Returns:
      the URLs that are used to perform a retrieval of a public blob, queue or table object.Note that StandardZRS and PremiumLRS accounts only return the blob endpoint.
    • secondary

      public Endpoints secondary()
      Returns:
      the URLs that are used to perform a retrieval of a public blob, queue or table object from the secondary location of the storage account. Only available if the accountType is StandardRAGRS.