public final class ServiceURL extends StorageURL
Constructor and Description |
---|
ServiceURL(java.net.URL url,
com.microsoft.rest.v2.http.HttpPipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
ContainerURL |
createContainerURL(java.lang.String containerName) |
io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceGetPropertiesHeaders,StorageServiceProperties>> |
getProperties()
Gets the properties of a storage account’s Blob service.
|
io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceGetStatsHeaders,StorageServiceStats>> |
getStats()
Retrieves statistics related to replication for the Blob service.
|
io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceListContainersHeaders,ListContainersResponse>> |
listContainers(java.lang.String marker,
ListContainersOptions options)
Returns a single segment of containers starting from the specified Marker.
|
io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceSetPropertiesHeaders,java.lang.Void>> |
setProperties(StorageServiceProperties properties)
Sets properties for a storage account's Blob service endpoint.
|
ServiceURL |
withPipeline(com.microsoft.rest.v2.http.HttpPipeline pipeline)
Creates a new
ServiceURL with the given pipeline. |
createPipeline, toString, toURL
public ServiceURL(java.net.URL url, com.microsoft.rest.v2.http.HttpPipeline pipeline)
public ContainerURL createContainerURL(java.lang.String containerName)
public ServiceURL withPipeline(com.microsoft.rest.v2.http.HttpPipeline pipeline)
ServiceURL
with the given pipeline.pipeline
- An HttpPipeline
object to set.ServiceURL
object with the given pipeline.public io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceListContainersHeaders,ListContainersResponse>> listContainers(java.lang.String marker, ListContainersOptions options)
marker
- A String
that identifies the portion of the list of containers to be returned with the next listing
operation.options
- A ListContainersOptions
which specifies what data should be returned by the service.Single
which emits a RestResponse
containing the ServiceListContainersHeaders
and a
ListContainersResponse
body if successful.public io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceGetPropertiesHeaders,StorageServiceProperties>> getProperties()
Single
which emits a RestResponse
containing the ServiceGetPropertiesHeaders
and a
StorageServiceProperties
body if successful.public io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceSetPropertiesHeaders,java.lang.Void>> setProperties(StorageServiceProperties properties)
properties
- A StorageServiceProperties
object containing the configurations for the service.Single
which emits a RestResponse
containing the ServiceSetPropertiesHeaders
and a
Void
body if successful.public io.reactivex.Single<com.microsoft.rest.v2.RestResponse<ServiceGetStatsHeaders,StorageServiceStats>> getStats()
Single
which emits a RestResponse
containing the ServiceGetStatsHeaders
and a
StorageServiceStats
body if xssuccessful.