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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java