lib/azure/armrest/storage_account_service.rb
# Same as regenerate_account_keys, but returns an array of
# StorageAccountKey objects instead.
#
# This method requires an api-version string of 2016-01-01 or later
# or an ArgumentError is raised.
#
Same as regenerate_account_keys, but returns an array of
StorageAccountKey objects instead.

This method requires an api-version string of 2016-01-01 or later
or an ArgumentError is raised.
Same as regenerate_account_keys but returns an array of StorageAccountKey objects instead . This method requires an api - version string of 2016 - 01 - 01 or later or an ArgumentError is raised .
def regenerate_account_key_objects(account_name, group = configuration.resource_group, key_name = 'key1')
        validate_resource_group(group)
        unless recent_api_version?
          raise ArgumentError, "unsupported api-version string '#{api_version}'"
        end
        options = {'keyName' => key_name}
        url = build_url(group, account_name, 'regenerateKey')
        response = rest_post(url, options.to_json)
        JSON.parse(response.body)['keys'].map { |hash| StorageAccountKey.new(hash) }
      end
def regenerate_account_key_objects ( account_name , group = configuration . resource_group , key_name = 'key1' ) validate_resource_group ( group ) unless recent_api_version? raise ArgumentError , "unsupported api-version string '#{api_version}'" end options = { 'keyName' => key_name } url = build_url ( group , account_name , 'regenerateKey' ) response = rest_post ( url , options . to_json ) JSON . parse ( response . body ) [ 'keys' ] . map { | hash | StorageAccountKey . new ( hash ) } end
Same as regenerate_account_keys, but returns an array of
StorageAccountKey objects instead.
Same as regenerate_account_keys but returns an array of StorageAccountKey objects instead .
account_name
<not_specific>
group
<not_specific>
configuration
<not_specific>
resource_group
<not_specific>
key_name
<not_specific>