@Path(value="/")
@Consumes(value="application/json")
public interface StorageAccountApi
| Modifier and Type | Method and Description |
|---|---|
URI |
create(String storageAccountName,
String location,
Map<String,String> tags,
Map<String,String> properties)
The Create Storage Account asynchronous operation creates a new storage account in Microsoft Azure.
|
boolean |
delete(String storageAccountName)
https://msdn.microsoft.com/en-us/library/mt163652.aspx
DELETE
|
StorageService |
get(String storageAccountName)
The Get Storage Account Properties operation returns system properties for the specified storage account.
|
StorageServiceKeys |
getKeys(String storageAccountName)
The Get Storage Keys operation returns the primary and secondary access keys for the specified storage account.
|
Availability |
isAvailable(String storageAccountName)
The Check Storage Account Name Availability operation checks to see if the specified storage account name is
available, or if it has already been taken.
|
List<StorageService> |
list()
The List Storage Accounts operation lists the storage accounts that are available in the specified subscription
and resource group.
|
StorageServiceKeys |
regenerateKeys(String storageAccount,
String keyName)
https://msdn.microsoft.com/en-us/library/mt163567.aspx
POST
|
StorageServiceUpdateParams |
update(String storageAccountName,
Map<String,String> tags,
StorageServiceUpdateParams.StorageServiceUpdateProperties properties)
The Update Storage Account asynchronous operation updates the label, the description, and enables or disables the
geo-replication status for the specified storage account.
|
@Named(value="storageaccount:list")
@Path(value="/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts")
@GET
List<StorageService> list()
@Named(value="storageaccount:create")
@Path(value="/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
@PUT
URI create(@PathParam(value="storageAccountName")
String storageAccountName,
String location,
@Nullable
Map<String,String> tags,
Map<String,String> properties)
@Named(value="CheckStorageAccountNameAvailability") @POST @Path(value="/providers/Microsoft.Storage/checkNameAvailability") @Produces(value="application/json") Availability isAvailable(String storageAccountName)
@Named(value="storageaccountproperty:get")
@GET
@Path(value="/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
StorageService get(@PathParam(value="storageAccountName")
String storageAccountName)
@Named(value="storageaccountkey:get")
@POST
@Path(value="/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}/listKeys")
StorageServiceKeys getKeys(@PathParam(value="storageAccountName")
String storageAccountName)
@Named(value="RegenerateStorageAccountKeys")
@POST
@Path(value="/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccount}/regenerateKey")
@Produces(value="application/json")
StorageServiceKeys regenerateKeys(@PathParam(value="storageAccount")
String storageAccount,
String keyName)
@Named(value="storageaccount:update")
@Path(value="/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
StorageServiceUpdateParams update(@PathParam(value="storageAccountName")
String storageAccountName,
@Nullable
Map<String,String> tags,
StorageServiceUpdateParams.StorageServiceUpdateProperties properties)
@Named(value="storageaccount:delete")
@DELETE
@Path(value="/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
boolean delete(@PathParam(value="storageAccountName")
String storageAccountName)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.