Class: Ansible::Ruby::Modules::Azure_rm_storageaccount

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb

Overview

Create, update or delete a storage account.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#account_type:Premium_LRS, ...

Returns Type of storage account. Required when creating a storage account. NOTE: Standard_ZRS and Premium_LRS accounts cannot be changed to other account types, and other account types cannot be changed to Standard_ZRS or Premium_LRS.

Returns:

  • (:Premium_LRS, :Standard_GRS, :Standard_LRS, :Standard_RAGRS, :Standard_ZRS, nil)

    Type of storage account. Required when creating a storage account. NOTE: Standard_ZRS and Premium_LRS accounts cannot be changed to other account types, and other account types cannot be changed to Standard_ZRS or Premium_LRS.



27
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb', line 27

attribute :account_type

#custom_domainObject?

Returns User domain assigned to the storage account. Must be a dictionary with ‘name’ and ‘use_sub_domain’ keys where ‘name’ is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.,Can be added to an existing storage account. Will be ignored during storage account creation.

Returns:

  • (Object, nil)

    User domain assigned to the storage account. Must be a dictionary with ‘name’ and ‘use_sub_domain’ keys where ‘name’ is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.,Can be added to an existing storage account. Will be ignored during storage account creation.



31
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb', line 31

attribute :custom_domain

#kind:Storage, ...

Returns The ‘kind’ of storage.

Returns:

  • (:Storage, :StorageBlob, nil)

    The ‘kind’ of storage.



34
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb', line 34

attribute :kind

#locationString?

Returns Valid azure location. Defaults to location of the resource group.

Returns:

  • (String, nil)

    Valid azure location. Defaults to location of the resource group.



23
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb', line 23

attribute :location

#nameString?

Returns Name of the storage account to update or create.

Returns:

  • (String, nil)

    Name of the storage account to update or create.



15
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb', line 15

attribute :name

#resource_groupString

Returns Name of the resource group to use.

Returns:

  • (String)

    Name of the resource group to use.



11
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb', line 11

attribute :resource_group

#state:absent, ...

Returns Assert the state of the storage account. Use ‘present’ to create or update a storage account and ‘absent’ to delete an account.

Returns:

  • (:absent, :present, nil)

    Assert the state of the storage account. Use ‘present’ to create or update a storage account and ‘absent’ to delete an account.



19
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_storageaccount.rb', line 19

attribute :state