public final class ServiceURL extends StorageURL
storageClient
Constructor and Description |
---|
ServiceURL(URL url,
com.microsoft.rest.v2.http.HttpPipeline pipeline)
Creates a
ServiceURL object pointing to the account specified by the URL and using the provided pipeline
to make HTTP requests. |
Modifier and Type | Method and Description |
---|---|
ContainerURL |
createContainerURL(String containerName) |
io.reactivex.Single<ServiceGetPropertiesResponse> |
getProperties()
Gets the properties of a storage account’s Blob service.
|
io.reactivex.Single<ServiceGetStatisticsResponse> |
getStatistics()
Retrieves statistics related to replication for the Blob service.
|
io.reactivex.Single<ServiceListContainersSegmentResponse> |
listContainersSegment(String marker,
ListContainersOptions options)
Returns a single segment of containers starting from the specified Marker.
|
io.reactivex.Single<ServiceSetPropertiesResponse> |
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. |
appendToURLPath, createPipeline, toString, toURL
public ServiceURL(URL url, com.microsoft.rest.v2.http.HttpPipeline pipeline)
ServiceURL
object pointing to the account specified by the URL and using the provided pipeline
to make HTTP requests.url
- A url to an Azure Storage account.pipeline
- A pipeline which configures the behavior of HTTP exchanges. Please refer to the createPipeline method on
StorageURL
for more information.public ContainerURL createContainerURL(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<ServiceListContainersSegmentResponse> listContainersSegment(String marker, ListContainersOptions options)
marker
- Identifies the portion of the list to be returned with the next list operation.
This value is returned in the response of a previous list operation as the
ListContainersSegmentResponse.body().nextMarker(). Set to null to list the first segment.options
- A ListContainersOptions
which specifies what data should be returned by the service.public io.reactivex.Single<ServiceGetPropertiesResponse> getProperties()
public io.reactivex.Single<ServiceSetPropertiesResponse> setProperties(StorageServiceProperties properties)
properties
- Configures the service.public io.reactivex.Single<ServiceGetStatisticsResponse> getStatistics()
Copyright © 2018. All rights reserved.