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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java