public interface StorageAccountOperations
| Modifier and Type | Method and Description |
|---|---|
OperationResponse |
beginCreating(StorageAccountCreateParameters parameters)
The Begin Creating Storage Account operation creates a new storage
account in Azure.
|
Future<OperationResponse> |
beginCreatingAsync(StorageAccountCreateParameters parameters)
The Begin Creating Storage Account operation creates a new storage
account in Azure.
|
CheckNameAvailabilityResponse |
checkNameAvailability(String accountName)
The Check Name Availability operation checks if a storage account name is
available for use in Azure.
|
Future<CheckNameAvailabilityResponse> |
checkNameAvailabilityAsync(String accountName)
The Check Name Availability operation checks if a storage account name is
available for use in Azure.
|
OperationStatusResponse |
create(StorageAccountCreateParameters parameters)
The Create Storage Account operation creates a new storage account in
Azure.
|
Future<OperationStatusResponse> |
createAsync(StorageAccountCreateParameters parameters)
The Create Storage Account operation creates a new storage account in
Azure.
|
OperationResponse |
delete(String accountName)
The Delete Storage Account operation deletes the specified storage
account from Azure.
|
Future<OperationResponse> |
deleteAsync(String accountName)
The Delete Storage Account operation deletes the specified storage
account from Azure.
|
StorageAccountGetResponse |
get(String accountName)
The Get Storage Account Properties operation returns system properties
for the specified storage account.
|
Future<StorageAccountGetResponse> |
getAsync(String accountName)
The Get Storage Account Properties operation returns system properties
for the specified storage account.
|
StorageAccountGetKeysResponse |
getKeys(String accountName)
The Get Storage Keys operation returns the primary and secondary access
keys for the specified storage account.
|
Future<StorageAccountGetKeysResponse> |
getKeysAsync(String accountName)
The Get Storage Keys operation returns the primary and secondary access
keys for the specified storage account.
|
StorageAccountListResponse |
list()
The List Storage Accounts operation lists the storage accounts available
under the current subscription.
|
Future<StorageAccountListResponse> |
listAsync()
The List Storage Accounts operation lists the storage accounts available
under the current subscription.
|
StorageAccountRegenerateKeysResponse |
regenerateKeys(StorageAccountRegenerateKeysParameters parameters)
The Regenerate Keys operation regenerates the primary or secondary access
key for the specified storage account.
|
Future<StorageAccountRegenerateKeysResponse> |
regenerateKeysAsync(StorageAccountRegenerateKeysParameters parameters)
The Regenerate Keys operation regenerates the primary or secondary access
key for the specified storage account.
|
OperationResponse |
update(String accountName,
StorageAccountUpdateParameters parameters)
The Update Storage Account operation updates the label and the
description, and enables or disables the geo-replication status for a
storage account in Azure.
|
Future<OperationResponse> |
updateAsync(String accountName,
StorageAccountUpdateParameters parameters)
The Update Storage Account operation updates the label and the
description, and enables or disables the geo-replication status for a
storage account in Azure.
|
OperationResponse beginCreating(StorageAccountCreateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
parameters - Required. Parameters supplied to the Begin Creating
Storage Account operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> beginCreatingAsync(StorageAccountCreateParameters parameters)
parameters - Required. Parameters supplied to the Begin Creating
Storage Account operation.CheckNameAvailabilityResponse checkNameAvailability(String accountName) throws IOException, ServiceException, ParserConfigurationException, SAXException
accountName - Required. The desired storage account name to check
for availability.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.Future<CheckNameAvailabilityResponse> checkNameAvailabilityAsync(String accountName)
accountName - Required. The desired storage account name to check
for availability.OperationStatusResponse create(StorageAccountCreateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
parameters - Required. Parameters supplied to the Create Storage
Account operation.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationStatusResponse> createAsync(StorageAccountCreateParameters parameters)
parameters - Required. Parameters supplied to the Create Storage
Account operation.OperationResponse delete(String accountName) throws IOException, ServiceException
accountName - Required. The name of the storage account to be
deleted.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> deleteAsync(String accountName)
accountName - Required. The name of the storage account to be
deleted.StorageAccountGetResponse get(String accountName) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
accountName - Required. Name of the storage account to get
properties for.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<StorageAccountGetResponse> getAsync(String accountName)
accountName - Required. Name of the storage account to get
properties for.StorageAccountGetKeysResponse getKeys(String accountName) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
accountName - Required. The name of the desired storage account.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<StorageAccountGetKeysResponse> getKeysAsync(String accountName)
accountName - Required. The name of the desired storage account.StorageAccountListResponse list() throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<StorageAccountListResponse> listAsync()
StorageAccountRegenerateKeysResponse regenerateKeys(StorageAccountRegenerateKeysParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException, URISyntaxException
parameters - Required. Parameters supplied to the Regenerate Keys
operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<StorageAccountRegenerateKeysResponse> regenerateKeysAsync(StorageAccountRegenerateKeysParameters parameters)
parameters - Required. Parameters supplied to the Regenerate Keys
operation.OperationResponse update(String accountName, StorageAccountUpdateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
accountName - Required. Name of the storage account to update.parameters - Required. Parameters supplied to the Update Storage
Account operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> updateAsync(String accountName, StorageAccountUpdateParameters parameters)
accountName - Required. Name of the storage account to update.parameters - Required. Parameters supplied to the Update Storage
Account operation./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/