Class: Ansible::Ruby::Modules::Azure_rm_storageaccount
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_storageaccount
- 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
-
#access_tier ⇒ :Hot, ...
The access tier for this storage account.
-
#account_type ⇒ :Premium_LRS, ...
Type of storage account.
-
#custom_domain ⇒ Object?
User domain assigned to the storage account.
-
#force ⇒ Symbol?
Attempt deletion if resource already exists and cannot be updated.
-
#kind ⇒ :Storage, ...
The ‘kind’ of storage.
-
#location ⇒ Object?
Valid azure location.
-
#name ⇒ String?
Name of the storage account to update or create.
-
#resource_group ⇒ String
Name of the resource group to use.
-
#state ⇒ :absent, ...
Assert the state of the storage account.
Methods inherited from Base
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’.
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.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageaccount.rb', line 27 attribute :account_type |
#custom_domain ⇒ Object?
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.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageaccount.rb', line 31 attribute :custom_domain |
#force ⇒ Symbol?
Returns 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.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageaccount.rb', line 34 attribute :kind |
#location ⇒ Object?
Returns 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 |
#name ⇒ String?
Returns 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_group ⇒ String
Returns 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.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageaccount.rb', line 20 attribute :state |