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<ServiceGetAccountInfoResponse> |
getAccountInfo()
Returns the sku name and account kind for the account.
|
io.reactivex.Single<ServiceGetAccountInfoResponse> |
getAccountInfo(com.microsoft.rest.v2.Context context)
Returns the sku name and account kind for the account.
|
io.reactivex.Single<ServiceGetPropertiesResponse> |
getProperties()
Gets the properties of a storage account’s Blob service.
|
io.reactivex.Single<ServiceGetPropertiesResponse> |
getProperties(com.microsoft.rest.v2.Context context)
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<ServiceGetStatisticsResponse> |
getStatistics(com.microsoft.rest.v2.Context context)
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<ServiceListContainersSegmentResponse> |
listContainersSegment(String marker,
ListContainersOptions options,
com.microsoft.rest.v2.Context context)
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.
|
io.reactivex.Single<ServiceSetPropertiesResponse> |
setProperties(StorageServiceProperties properties,
com.microsoft.rest.v2.Context context)
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, createPipeline, createPipeline, 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 HttpPipeline
which configures the behavior of HTTP exchanges. Please refer to
StorageURL.createPipeline(ICredentials, PipelineOptions)
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<ServiceListContainersSegmentResponse> listContainersSegment(String marker, ListContainersOptions options, com.microsoft.rest.v2.Context context)
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.context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to
its parent, forming a linked list.public io.reactivex.Single<ServiceGetPropertiesResponse> getProperties()
public io.reactivex.Single<ServiceGetPropertiesResponse> getProperties(com.microsoft.rest.v2.Context context)
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to
its parent, forming a linked list.public io.reactivex.Single<ServiceSetPropertiesResponse> setProperties(StorageServiceProperties properties)
properties
- Configures the service.public io.reactivex.Single<ServiceSetPropertiesResponse> setProperties(StorageServiceProperties properties, com.microsoft.rest.v2.Context context)
properties
- Configures the service.context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to
its parent, forming a linked list.public io.reactivex.Single<ServiceGetStatisticsResponse> getStatistics()
public io.reactivex.Single<ServiceGetStatisticsResponse> getStatistics(com.microsoft.rest.v2.Context context)
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to
its parent, forming a linked list.public io.reactivex.Single<ServiceGetAccountInfoResponse> getAccountInfo()
public io.reactivex.Single<ServiceGetAccountInfoResponse> getAccountInfo(com.microsoft.rest.v2.Context context)
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to
its parent, forming a linked list.This documentation was released into the public domain.