PublicEndpoints Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. PublicEndpoints
- com.
public class PublicEndpoints
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 Summary
Constructor | Description |
---|---|
PublicEndpoints(Endpoints primary, Endpoints secondary) |
Creates an instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
Endpoints | primary() |
Endpoints | secondary() |
Methods inherited from java.lang.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.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java