Class: Ansible::Ruby::Modules::Azure_rm_storageblob
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_storageblob
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb
Overview
Create, update and delete blob containers and blob objects. Use to upload a file and store it as a blob object, or download a blob object to a file.
Instance Method Summary collapse
-
#blob ⇒ String?
Name of a blob object within the container.
-
#blob_type ⇒ :block, ...
Type of Blob Object.
-
#cache_control ⇒ Object?
Set the blob cache-control header.
-
#container ⇒ String
Name of a blob container within the storage account.
-
#content_disposition ⇒ Object?
Set the blob content-disposition header.
-
#content_encoding ⇒ Object?
Set the blob encoding header.
-
#content_language ⇒ Object?
Set the blob content-language header.
-
#content_md5 ⇒ Object?
Set the blob md5 hash value.
-
#content_type ⇒ String?
Set the blob content-type header.
-
#dest ⇒ String?
Destination file path.
-
#force ⇒ Symbol?
Overwrite existing blob or file when uploading or downloading.
-
#public_access ⇒ :container, ...
Determine a container’s level of public access.
-
#resource_group ⇒ String
Name of the resource group to use.
-
#src ⇒ String?
Source file path.
-
#state ⇒ :absent, ...
Assert the state of a container or blob.,Use state ‘absent’ with a container value only to delete a container.
-
#storage_account_name ⇒ String
Name of the storage account to use.
Methods inherited from Base
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
#blob ⇒ String?
Returns Name of a blob object within the container.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 16 attribute :blob |
#blob_type ⇒ :block, ...
Returns Type of Blob Object.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 20 attribute :blob_type |
#cache_control ⇒ Object?
Returns Set the blob cache-control header.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 32 attribute :cache_control |
#container ⇒ String
Returns Name of a blob container within the storage account.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 24 attribute :container |
#content_disposition ⇒ Object?
Returns Set the blob content-disposition header.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 35 attribute :content_disposition |
#content_encoding ⇒ Object?
Returns Set the blob encoding header.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 38 attribute :content_encoding |
#content_language ⇒ Object?
Returns Set the blob content-language header.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 41 attribute :content_language |
#content_md5 ⇒ Object?
Returns Set the blob md5 hash value.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 44 attribute :content_md5 |
#content_type ⇒ String?
Returns Set the blob content-type header. For example, ‘image/png’.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 28 attribute :content_type |
#dest ⇒ String?
Returns Destination file path. Use with state ‘present’ to download a blob.
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 47 attribute :dest |
#force ⇒ Symbol?
Returns Overwrite existing blob or file when uploading or downloading. Force deletion of a container that contains blobs.
51 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 51 attribute :force |
#public_access ⇒ :container, ...
Returns Determine a container’s level of public access. By default containers are private. Can only be set at time of container creation.
67 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 67 attribute :public_access |
#resource_group ⇒ String
Returns Name of the resource group to use.
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 55 attribute :resource_group |
#src ⇒ String?
Returns Source file path. Use with state ‘present’ to upload a blob.
59 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 59 attribute :src |
#state ⇒ :absent, ...
Returns Assert the state of a container or blob.,Use state ‘absent’ with a container value only to delete a container. Include a blob value to remove a specific blob. A container will not be deleted, if it contains blobs. Use the force option to override, deleting the container and all associated blobs.,Use state ‘present’ to create or update a container and upload or download a blob. If the container does not exist, it will be created. If it exists, it will be updated with configuration options. Provide a blob name and either src or dest to upload or download. Provide a src path to upload and a dest path to download. If a blob (uploading) or a file (downloading) already exists, it will not be overwritten unless the force parameter is true.
63 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 63 attribute :state |
#storage_account_name ⇒ String
Returns Name of the storage account to use.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 12 attribute :storage_account_name |