lib/azure/armrest/storage_account_service.rb
# Creates a new storage account, or updates an existing account with the
# specified parameters.
#
# Note that the name of the storage account within the specified
# must be 3-24 alphanumeric lowercase characters. This name must be
# unique across all subscriptions.
#
# The options available are as follows:
#
# - :validating
#   Optional. Set to 'nameAvailability' to indicate that the account
#   name must be checked for global availability.
#
# - :properties
#   - :accountType
#     The type of storage account, e.g. "Standard_GRS".
#
# - :location
#   Required: One of the Azure geo regions, e.g. 'West US'.
#
# - :tags
#   A hash of tags to describe the resource. You may have a maximum of
#   10 tags, and each key has a max size of 128 characters, and each
#   value has a max size of 256 characters. These are optional.
#
# Example:
#
#   sas = Azure::Armrest::StorageAccountService(config)
#
#   options = {
#     :location => "Central US",
#     :tags     => {:redhat => true},
#     :sku      => {:name => "Standard_LRS"},
#     :kind     => "Storage"
#   }
#
#   sas.create("your_storage_account", "your_resource_group", options)
#
Creates a new storage account, or updates an existing account with the
specified parameters.

Note that the name of the storage account within the specified
must be 3-24 alphanumeric lowercase characters. This name must be
unique across all subscriptions.

The options available are as follows.

:validating
Optional. Set to 'nameAvailability' to indicate that the account
name must be checked for global availability.

:properties
:accountType
The type of storage account, e.g.

:location
Required: One of the Azure geo regions, e.g. 'West US'.

:tags
A hash of tags to describe the resource. You may have a maximum of
10 tags, and each key has a max size of 128 characters, and each
value has a max size of 256 characters. These are optional.








Creates a new storage account or updates an existing account with the specified parameters . Note that the name of the storage account within the specified must be 3 - 24 alphanumeric lowercase characters . This name must be unique across all subscriptions . The options available are as follows . : validating Optional . Set to ' nameAvailability ' to indicate that the account name must be checked for global availability . : properties : accountType The type of storage account e . g . : location Required : One of the Azure geo regions e . g . ' West US ' . : tags A hash of tags to describe the resource . You may have a maximum of 10 tags and each key has a max size of 128 characters and each value has a max size of 256 characters . These are optional .
def create(account_name, rgroup = configuration.resource_group, options)
        validating = options.delete(:validating)
        validate_account_name(account_name)
        acct = super(account_name, rgroup, options) do |url|
          url << "&validating=" << validating if validating
        end
        acct.configuration = configuration
        acct
      end
def create ( account_name , rgroup = configuration . resource_group , options ) validating = options . delete ( :validating ) validate_account_name ( account_name ) acct = super ( account_name , rgroup , options ) do | url | url << "&validating=" << validating if validating end acct . configuration = configuration acct end
Creates a new storage account, or updates an existing account with the
specified parameters.
Creates a new storage account or updates an existing account with the specified parameters .
account_name
<not_specific>
rgroup
<not_specific>
configuration
<not_specific>
resource_group
<not_specific>
options
<not_specific>