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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#access_tier:Hot, ...

Returns The access tier for this storage account. Required for a storage account of kind ‘BlobStorage’.

Returns:

  • (:Hot, :Cool, nil)

    The access tier for this storage account. Required for a storage account of kind ‘BlobStorage’.



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

attribute :access_tier

#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, :StandardSSD_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/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/cloud/azure/azure_rm_storageaccount.rb', line 31

attribute :custom_domain

#forceSymbol?

Returns Attempt deletion if resource already exists and cannot be updated.

Returns:

  • (Symbol, nil)

    Attempt deletion if resource already exists and cannot be updated



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

attribute :force

#kind:Storage, ...

Returns The ‘kind’ of storage.

Returns:

  • (:Storage, :StorageV2, :BlobStorage, nil)

    The ‘kind’ of storage.



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

attribute :kind

#locationObject?

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

Returns:

  • (Object, nil)

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



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

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.



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

attribute :name

#resource_groupString

Returns Name of the resource group to use.

Returns:

  • (String)

    Name of the resource group to use.



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

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.



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

attribute :state