Class: Ansible::Ruby::Modules::Azure_rm_storageblob

Inherits:
Base show all
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

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

#blobString?

Returns Name of a blob object within the container.

Returns:

  • (String, nil)

    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.

Returns:

  • (:block, :page, nil)

    Type of Blob Object.



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

attribute :blob_type

#cache_controlObject?

Returns Set the blob cache-control header.

Returns:

  • (Object, nil)

    Set the blob cache-control header.



32
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_storageblob.rb', line 32

attribute :cache_control

#containerString

Returns Name of a blob container within the storage account.

Returns:

  • (String)

    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_dispositionObject?

Returns Set the blob content-disposition header.

Returns:

  • (Object, nil)

    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_encodingObject?

Returns Set the blob encoding header.

Returns:

  • (Object, nil)

    Set the blob encoding header.



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

attribute :content_encoding

#content_languageObject?

Returns Set the blob content-language header.

Returns:

  • (Object, nil)

    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_md5Object?

Returns Set the blob md5 hash value.

Returns:

  • (Object, nil)

    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_typeString?

Returns Set the blob content-type header. For example, ‘image/png’.

Returns:

  • (String, nil)

    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

#destString?

Returns Destination file path. Use with state ‘present’ to download a blob.

Returns:

  • (String, nil)

    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

#forceSymbol?

Returns Overwrite existing blob or file when uploading or downloading. Force deletion of a container that contains blobs.

Returns:

  • (Symbol, nil)

    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.

Returns:

  • (:container, :blob, nil)

    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_groupString

Returns Name of the resource group to use.

Returns:

  • (String)

    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

#srcString?

Returns Source file path. Use with state ‘present’ to upload a blob.

Returns:

  • (String, nil)

    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.

Returns:

  • (:absent, :present, nil)

    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_nameString

Returns Name of the storage account to use.

Returns:

  • (String)

    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