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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java