storage

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.

class pulumi_azure.storage.Account(resource_name, opts=None, access_tier=None, account_encryption_source=None, account_kind=None, account_replication_type=None, account_tier=None, account_type=None, custom_domain=None, enable_advanced_threat_protection=None, enable_blob_encryption=None, enable_file_encryption=None, enable_https_traffic_only=None, identity=None, is_hns_enabled=None, location=None, name=None, network_rules=None, queue_properties=None, resource_group_name=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manage an Azure Storage Account.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • access_tier (pulumi.Input[str]) – Defines the access tier for BlobStorage, FileStorage and StorageV2 accounts. Valid options are Hot and Cool, defaults to Hot.

  • account_encryption_source (pulumi.Input[str]) – The Encryption Source for this Storage Account. Possible values are Microsoft.Keyvault and Microsoft.Storage. Defaults to Microsoft.Storage.

  • account_kind (pulumi.Input[str]) – Defines the Kind of account. Valid options are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2. Changing this forces a new resource to be created. Defaults to Storage.

  • account_replication_type (pulumi.Input[str]) – Defines the type of replication to use for this storage account. Valid options are LRS, GRS, RAGRS and ZRS.

  • account_tier (pulumi.Input[str]) – Defines the Tier to use for this storage account. Valid options are Standard and Premium. For FileStorage accounts only Premium is valid. Changing this forces a new resource to be created.

  • custom_domain (pulumi.Input[dict]) – A custom_domain block as documented below.

  • enable_advanced_threat_protection (pulumi.Input[bool]) – Boolean flag which controls if advanced threat protection is enabled, see here for more information. Defaults to false.

  • enable_blob_encryption (pulumi.Input[bool]) –

    Boolean flag which controls if Encryption Services are enabled for Blob storage, see here for more information. Defaults to true.

  • enable_file_encryption (pulumi.Input[bool]) –

    Boolean flag which controls if Encryption Services are enabled for File storage, see here for more information. Defaults to true.

  • enable_https_traffic_only (pulumi.Input[bool]) –

    Boolean flag which forces HTTPS if enabled, see here for more information.

  • identity (pulumi.Input[dict]) – A identity block as defined below.

  • is_hns_enabled (pulumi.Input[bool]) – Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.

  • network_rules (pulumi.Input[dict]) – A network_rules block as documented below.

  • queue_properties (pulumi.Input[dict]) – A queue_properties block as defined below.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

The custom_domain object supports the following:

  • name (pulumi.Input[str]) - Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.

  • useSubdomain (pulumi.Input[bool])

The identity object supports the following:

  • principal_id (pulumi.Input[str]) - The Principal ID for the Service Principal associated with the Identity of this Storage Account.

  • tenant_id (pulumi.Input[str]) - The Tenant ID for the Service Principal associated with the Identity of this Storage Account.

  • type (pulumi.Input[str])

The network_rules object supports the following:

  • bypasses (pulumi.Input[list])

  • defaultAction (pulumi.Input[str])

  • ipRules (pulumi.Input[list])

  • virtualNetworkSubnetIds (pulumi.Input[list])

The queue_properties object supports the following:

  • corsRules (pulumi.Input[list])

    • allowedHeaders (pulumi.Input[list])

    • allowedMethods (pulumi.Input[list])

    • allowedOrigins (pulumi.Input[list])

    • exposedHeaders (pulumi.Input[list])

    • maxAgeInSeconds (pulumi.Input[float])

  • hourMetrics (pulumi.Input[dict])

    • enabled (pulumi.Input[bool])

    • includeApis (pulumi.Input[bool])

    • retentionPolicyDays (pulumi.Input[float])

    • version (pulumi.Input[str])

  • logging (pulumi.Input[dict])

    • delete (pulumi.Input[bool])

    • read (pulumi.Input[bool])

    • retentionPolicyDays (pulumi.Input[float])

    • version (pulumi.Input[str])

    • write (pulumi.Input[bool])

  • minuteMetrics (pulumi.Input[dict])

    • enabled (pulumi.Input[bool])

    • includeApis (pulumi.Input[bool])

    • retentionPolicyDays (pulumi.Input[float])

    • version (pulumi.Input[str])

access_tier = None

Defines the access tier for BlobStorage, FileStorage and StorageV2 accounts. Valid options are Hot and Cool, defaults to Hot.

account_encryption_source = None

The Encryption Source for this Storage Account. Possible values are Microsoft.Keyvault and Microsoft.Storage. Defaults to Microsoft.Storage.

account_kind = None

Defines the Kind of account. Valid options are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2. Changing this forces a new resource to be created. Defaults to Storage.

account_replication_type = None

Defines the type of replication to use for this storage account. Valid options are LRS, GRS, RAGRS and ZRS.

account_tier = None

Defines the Tier to use for this storage account. Valid options are Standard and Premium. For FileStorage accounts only Premium is valid. Changing this forces a new resource to be created.

custom_domain = None

A custom_domain block as documented below.

  • name (str) - Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.

  • useSubdomain (bool)

enable_advanced_threat_protection = None

Boolean flag which controls if advanced threat protection is enabled, see here for more information. Defaults to false.

enable_blob_encryption = None

Boolean flag which controls if Encryption Services are enabled for Blob storage, see here for more information. Defaults to true.

enable_file_encryption = None

Boolean flag which controls if Encryption Services are enabled for File storage, see here for more information. Defaults to true.

enable_https_traffic_only = None

Boolean flag which forces HTTPS if enabled, see here for more information.

identity = None

A identity block as defined below.

  • principal_id (str) - The Principal ID for the Service Principal associated with the Identity of this Storage Account.

  • tenant_id (str) - The Tenant ID for the Service Principal associated with the Identity of this Storage Account.

  • type (str)

is_hns_enabled = None

Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.

location = None

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name = None

Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.

network_rules = None

A network_rules block as documented below.

  • bypasses (list)

  • defaultAction (str)

  • ipRules (list)

  • virtualNetworkSubnetIds (list)

primary_access_key = None

The primary access key for the storage account.

primary_blob_connection_string = None

The connection string associated with the primary blob location.

primary_blob_endpoint = None

The endpoint URL for blob storage in the primary location.

primary_blob_host = None

The hostname with port if applicable for blob storage in the primary location.

primary_connection_string = None

The connection string associated with the primary location.

primary_dfs_endpoint = None

The endpoint URL for DFS storage in the primary location.

primary_dfs_host = None

The hostname with port if applicable for DFS storage in the primary location.

primary_file_endpoint = None

The endpoint URL for file storage in the primary location.

primary_file_host = None

The hostname with port if applicable for file storage in the primary location.

primary_location = None

The primary location of the storage account.

primary_queue_endpoint = None

The endpoint URL for queue storage in the primary location.

primary_queue_host = None

The hostname with port if applicable for queue storage in the primary location.

primary_table_endpoint = None

The endpoint URL for table storage in the primary location.

primary_table_host = None

The hostname with port if applicable for table storage in the primary location.

primary_web_endpoint = None

The endpoint URL for web storage in the primary location.

primary_web_host = None

The hostname with port if applicable for web storage in the primary location.

queue_properties = None

A queue_properties block as defined below.

  • corsRules (list)

    • allowedHeaders (list)

    • allowedMethods (list)

    • allowedOrigins (list)

    • exposedHeaders (list)

    • maxAgeInSeconds (float)

  • hourMetrics (dict)

    • enabled (bool)

    • includeApis (bool)

    • retentionPolicyDays (float)

    • version (str)

  • logging (dict)

    • delete (bool)

    • read (bool)

    • retentionPolicyDays (float)

    • version (str)

    • write (bool)

  • minuteMetrics (dict)

    • enabled (bool)

    • includeApis (bool)

    • retentionPolicyDays (float)

    • version (str)

resource_group_name = None

The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.

secondary_access_key = None

The secondary access key for the storage account.

secondary_blob_connection_string = None

The connection string associated with the secondary blob location.

secondary_blob_endpoint = None

The endpoint URL for blob storage in the secondary location.

secondary_blob_host = None

The hostname with port if applicable for blob storage in the secondary location.

secondary_connection_string = None

The connection string associated with the secondary location.

secondary_dfs_endpoint = None

The endpoint URL for DFS storage in the secondary location.

secondary_dfs_host = None

The hostname with port if applicable for DFS storage in the secondary location.

secondary_file_endpoint = None

The endpoint URL for file storage in the secondary location.

secondary_file_host = None

The hostname with port if applicable for file storage in the secondary location.

secondary_location = None

The secondary location of the storage account.

secondary_queue_endpoint = None

The endpoint URL for queue storage in the secondary location.

secondary_queue_host = None

The hostname with port if applicable for queue storage in the secondary location.

secondary_table_endpoint = None

The endpoint URL for table storage in the secondary location.

secondary_table_host = None

The hostname with port if applicable for table storage in the secondary location.

secondary_web_endpoint = None

The endpoint URL for web storage in the secondary location.

secondary_web_host = None

The hostname with port if applicable for web storage in the secondary location.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, access_tier=None, account_encryption_source=None, account_kind=None, account_replication_type=None, account_tier=None, account_type=None, custom_domain=None, enable_advanced_threat_protection=None, enable_blob_encryption=None, enable_file_encryption=None, enable_https_traffic_only=None, identity=None, is_hns_enabled=None, location=None, name=None, network_rules=None, primary_access_key=None, primary_blob_connection_string=None, primary_blob_endpoint=None, primary_blob_host=None, primary_connection_string=None, primary_dfs_endpoint=None, primary_dfs_host=None, primary_file_endpoint=None, primary_file_host=None, primary_location=None, primary_queue_endpoint=None, primary_queue_host=None, primary_table_endpoint=None, primary_table_host=None, primary_web_endpoint=None, primary_web_host=None, queue_properties=None, resource_group_name=None, secondary_access_key=None, secondary_blob_connection_string=None, secondary_blob_endpoint=None, secondary_blob_host=None, secondary_connection_string=None, secondary_dfs_endpoint=None, secondary_dfs_host=None, secondary_file_endpoint=None, secondary_file_host=None, secondary_location=None, secondary_queue_endpoint=None, secondary_queue_host=None, secondary_table_endpoint=None, secondary_table_host=None, secondary_web_endpoint=None, secondary_web_host=None, tags=None)

Get an existing Account resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • access_tier (pulumi.Input[str]) – Defines the access tier for BlobStorage, FileStorage and StorageV2 accounts. Valid options are Hot and Cool, defaults to Hot.

  • account_encryption_source (pulumi.Input[str]) – The Encryption Source for this Storage Account. Possible values are Microsoft.Keyvault and Microsoft.Storage. Defaults to Microsoft.Storage.

  • account_kind (pulumi.Input[str]) – Defines the Kind of account. Valid options are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2. Changing this forces a new resource to be created. Defaults to Storage.

  • account_replication_type (pulumi.Input[str]) – Defines the type of replication to use for this storage account. Valid options are LRS, GRS, RAGRS and ZRS.

  • account_tier (pulumi.Input[str]) – Defines the Tier to use for this storage account. Valid options are Standard and Premium. For FileStorage accounts only Premium is valid. Changing this forces a new resource to be created.

  • custom_domain (pulumi.Input[dict]) – A custom_domain block as documented below.

  • enable_advanced_threat_protection (pulumi.Input[bool]) –

    Boolean flag which controls if advanced threat protection is enabled, see here for more information. Defaults to false.

  • enable_blob_encryption (pulumi.Input[bool]) –

    Boolean flag which controls if Encryption Services are enabled for Blob storage, see here for more information. Defaults to true.

  • enable_file_encryption (pulumi.Input[bool]) –

    Boolean flag which controls if Encryption Services are enabled for File storage, see here for more information. Defaults to true.

  • enable_https_traffic_only (pulumi.Input[bool]) –

    Boolean flag which forces HTTPS if enabled, see here for more information.

  • identity (pulumi.Input[dict]) – A identity block as defined below.

  • is_hns_enabled (pulumi.Input[bool]) –

    Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.

  • network_rules (pulumi.Input[dict]) – A network_rules block as documented below.

  • primary_access_key (pulumi.Input[str]) – The primary access key for the storage account.

  • primary_blob_connection_string (pulumi.Input[str]) – The connection string associated with the primary blob location.

  • primary_blob_endpoint (pulumi.Input[str]) – The endpoint URL for blob storage in the primary location.

  • primary_blob_host (pulumi.Input[str]) – The hostname with port if applicable for blob storage in the primary location.

  • primary_connection_string (pulumi.Input[str]) – The connection string associated with the primary location.

  • primary_dfs_endpoint (pulumi.Input[str]) – The endpoint URL for DFS storage in the primary location.

  • primary_dfs_host (pulumi.Input[str]) – The hostname with port if applicable for DFS storage in the primary location.

  • primary_file_endpoint (pulumi.Input[str]) – The endpoint URL for file storage in the primary location.

  • primary_file_host (pulumi.Input[str]) – The hostname with port if applicable for file storage in the primary location.

  • primary_location (pulumi.Input[str]) – The primary location of the storage account.

  • primary_queue_endpoint (pulumi.Input[str]) – The endpoint URL for queue storage in the primary location.

  • primary_queue_host (pulumi.Input[str]) – The hostname with port if applicable for queue storage in the primary location.

  • primary_table_endpoint (pulumi.Input[str]) – The endpoint URL for table storage in the primary location.

  • primary_table_host (pulumi.Input[str]) – The hostname with port if applicable for table storage in the primary location.

  • primary_web_endpoint (pulumi.Input[str]) – The endpoint URL for web storage in the primary location.

  • primary_web_host (pulumi.Input[str]) – The hostname with port if applicable for web storage in the primary location.

  • queue_properties (pulumi.Input[dict]) – A queue_properties block as defined below.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.

  • secondary_access_key (pulumi.Input[str]) – The secondary access key for the storage account.

  • secondary_blob_connection_string (pulumi.Input[str]) – The connection string associated with the secondary blob location.

  • secondary_blob_endpoint (pulumi.Input[str]) – The endpoint URL for blob storage in the secondary location.

  • secondary_blob_host (pulumi.Input[str]) – The hostname with port if applicable for blob storage in the secondary location.

  • secondary_connection_string (pulumi.Input[str]) – The connection string associated with the secondary location.

  • secondary_dfs_endpoint (pulumi.Input[str]) – The endpoint URL for DFS storage in the secondary location.

  • secondary_dfs_host (pulumi.Input[str]) – The hostname with port if applicable for DFS storage in the secondary location.

  • secondary_file_endpoint (pulumi.Input[str]) – The endpoint URL for file storage in the secondary location.

  • secondary_file_host (pulumi.Input[str]) – The hostname with port if applicable for file storage in the secondary location.

  • secondary_location (pulumi.Input[str]) – The secondary location of the storage account.

  • secondary_queue_endpoint (pulumi.Input[str]) – The endpoint URL for queue storage in the secondary location.

  • secondary_queue_host (pulumi.Input[str]) – The hostname with port if applicable for queue storage in the secondary location.

  • secondary_table_endpoint (pulumi.Input[str]) – The endpoint URL for table storage in the secondary location.

  • secondary_table_host (pulumi.Input[str]) – The hostname with port if applicable for table storage in the secondary location.

  • secondary_web_endpoint (pulumi.Input[str]) – The endpoint URL for web storage in the secondary location.

  • secondary_web_host (pulumi.Input[str]) – The hostname with port if applicable for web storage in the secondary location.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

The custom_domain object supports the following:

  • name (pulumi.Input[str]) - Specifies the name of the storage account. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.

  • useSubdomain (pulumi.Input[bool])

The identity object supports the following:

  • principal_id (pulumi.Input[str]) - The Principal ID for the Service Principal associated with the Identity of this Storage Account.

  • tenant_id (pulumi.Input[str]) - The Tenant ID for the Service Principal associated with the Identity of this Storage Account.

  • type (pulumi.Input[str])

The network_rules object supports the following:

  • bypasses (pulumi.Input[list])

  • defaultAction (pulumi.Input[str])

  • ipRules (pulumi.Input[list])

  • virtualNetworkSubnetIds (pulumi.Input[list])

The queue_properties object supports the following:

  • corsRules (pulumi.Input[list])

    • allowedHeaders (pulumi.Input[list])

    • allowedMethods (pulumi.Input[list])

    • allowedOrigins (pulumi.Input[list])

    • exposedHeaders (pulumi.Input[list])

    • maxAgeInSeconds (pulumi.Input[float])

  • hourMetrics (pulumi.Input[dict])

    • enabled (pulumi.Input[bool])

    • includeApis (pulumi.Input[bool])

    • retentionPolicyDays (pulumi.Input[float])

    • version (pulumi.Input[str])

  • logging (pulumi.Input[dict])

    • delete (pulumi.Input[bool])

    • read (pulumi.Input[bool])

    • retentionPolicyDays (pulumi.Input[float])

    • version (pulumi.Input[str])

    • write (pulumi.Input[bool])

  • minuteMetrics (pulumi.Input[dict])

    • enabled (pulumi.Input[bool])

    • includeApis (pulumi.Input[bool])

    • retentionPolicyDays (pulumi.Input[float])

    • version (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.AwaitableGetAccountResult(access_tier=None, account_encryption_source=None, account_kind=None, account_replication_type=None, account_tier=None, custom_domain=None, enable_blob_encryption=None, enable_file_encryption=None, enable_https_traffic_only=None, is_hns_enabled=None, location=None, name=None, primary_access_key=None, primary_blob_connection_string=None, primary_blob_endpoint=None, primary_blob_host=None, primary_connection_string=None, primary_dfs_endpoint=None, primary_dfs_host=None, primary_file_endpoint=None, primary_file_host=None, primary_location=None, primary_queue_endpoint=None, primary_queue_host=None, primary_table_endpoint=None, primary_table_host=None, primary_web_endpoint=None, primary_web_host=None, resource_group_name=None, secondary_access_key=None, secondary_blob_connection_string=None, secondary_blob_endpoint=None, secondary_blob_host=None, secondary_connection_string=None, secondary_dfs_endpoint=None, secondary_dfs_host=None, secondary_file_endpoint=None, secondary_file_host=None, secondary_location=None, secondary_queue_endpoint=None, secondary_queue_host=None, secondary_table_endpoint=None, secondary_table_host=None, secondary_web_endpoint=None, secondary_web_host=None, tags=None, id=None)
class pulumi_azure.storage.AwaitableGetAccountSASResult(connection_string=None, expiry=None, https_only=None, permissions=None, resource_types=None, sas=None, services=None, start=None, id=None)
class pulumi_azure.storage.Blob(resource_name, opts=None, attempts=None, content_type=None, metadata=None, name=None, parallelism=None, resource_group_name=None, size=None, source=None, source_uri=None, storage_account_name=None, storage_container_name=None, type=None, __props__=None, __name__=None, __opts__=None)

Manage an Azure Storage Blob.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • attempts (pulumi.Input[float]) – The number of attempts to make per page or block when uploading. Defaults to 1.

  • content_type (pulumi.Input[str]) – The content type of the storage blob. Cannot be defined if source_uri is defined. Defaults to application/octet-stream.

  • metadata (pulumi.Input[dict]) – A map of custom blob metadata.

  • name (pulumi.Input[str]) – The name of the storage blob. Must be unique within the storage container the blob is located.

  • parallelism (pulumi.Input[float]) – The number of workers per CPU core to run for concurrent uploads. Defaults to 8.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage container. Changing this forces a new resource to be created.

  • size (pulumi.Input[float]) – Used only for page blobs to specify the size in bytes of the blob to be created. Must be a multiple of 512. Defaults to 0.

  • source (pulumi.Input[str]) – An absolute path to a file on the local system. Cannot be defined if source_uri is defined.

  • source_uri (pulumi.Input[str]) – The URI of an existing blob, or a file in the Azure File service, to use as the source contents for the blob to be created. Changing this forces a new resource to be created. Cannot be defined if source is defined.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the storage container. Changing this forces a new resource to be created.

  • storage_container_name (pulumi.Input[str]) – The name of the storage container in which this blob should be created.

  • type (pulumi.Input[str]) – The type of the storage blob to be created. One of either block or page. When not copying from an existing blob, this becomes required.

attempts = None

The number of attempts to make per page or block when uploading. Defaults to 1.

content_type = None

The content type of the storage blob. Cannot be defined if source_uri is defined. Defaults to application/octet-stream.

metadata = None

A map of custom blob metadata.

name = None

The name of the storage blob. Must be unique within the storage container the blob is located.

parallelism = None

The number of workers per CPU core to run for concurrent uploads. Defaults to 8.

resource_group_name = None

The name of the resource group in which to create the storage container. Changing this forces a new resource to be created.

size = None

Used only for page blobs to specify the size in bytes of the blob to be created. Must be a multiple of 512. Defaults to 0.

source = None

An absolute path to a file on the local system. Cannot be defined if source_uri is defined.

source_uri = None

The URI of an existing blob, or a file in the Azure File service, to use as the source contents for the blob to be created. Changing this forces a new resource to be created. Cannot be defined if source is defined.

storage_account_name = None

Specifies the storage account in which to create the storage container. Changing this forces a new resource to be created.

storage_container_name = None

The name of the storage container in which this blob should be created.

type = None

The type of the storage blob to be created. One of either block or page. When not copying from an existing blob, this becomes required.

url = None

The URL of the blob

static get(resource_name, id, opts=None, attempts=None, content_type=None, metadata=None, name=None, parallelism=None, resource_group_name=None, size=None, source=None, source_uri=None, storage_account_name=None, storage_container_name=None, type=None, url=None)

Get an existing Blob resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • attempts (pulumi.Input[float]) – The number of attempts to make per page or block when uploading. Defaults to 1.

  • content_type (pulumi.Input[str]) – The content type of the storage blob. Cannot be defined if source_uri is defined. Defaults to application/octet-stream.

  • metadata (pulumi.Input[dict]) – A map of custom blob metadata.

  • name (pulumi.Input[str]) – The name of the storage blob. Must be unique within the storage container the blob is located.

  • parallelism (pulumi.Input[float]) – The number of workers per CPU core to run for concurrent uploads. Defaults to 8.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage container. Changing this forces a new resource to be created.

  • size (pulumi.Input[float]) – Used only for page blobs to specify the size in bytes of the blob to be created. Must be a multiple of 512. Defaults to 0.

  • source (pulumi.Input[str]) – An absolute path to a file on the local system. Cannot be defined if source_uri is defined.

  • source_uri (pulumi.Input[str]) – The URI of an existing blob, or a file in the Azure File service, to use as the source contents for the blob to be created. Changing this forces a new resource to be created. Cannot be defined if source is defined.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the storage container. Changing this forces a new resource to be created.

  • storage_container_name (pulumi.Input[str]) – The name of the storage container in which this blob should be created.

  • type (pulumi.Input[str]) – The type of the storage blob to be created. One of either block or page. When not copying from an existing blob, this becomes required.

  • url (pulumi.Input[str]) – The URL of the blob

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.Container(resource_name, opts=None, container_access_type=None, metadata=None, name=None, resource_group_name=None, storage_account_name=None, __props__=None, __name__=None, __opts__=None)

Manage a Container within an Azure Storage Account.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • container_access_type (pulumi.Input[str]) – The Access Level configured for this Container. Possible values are blob, container or private. Defaults to private.

  • metadata (pulumi.Input[dict]) – A mapping of MetaData for this Container.

  • name (pulumi.Input[str]) – The name of the Container which should be created within the Storage Account.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage container. This field is no longer used and will be removed in 2.0.

  • storage_account_name (pulumi.Input[str]) – The name of the Storage Account where the Container should be created.

container_access_type = None

The Access Level configured for this Container. Possible values are blob, container or private. Defaults to private.

has_immutability_policy = None

Is there an Immutability Policy configured on this Storage Container?

Is there a Legal Hold configured on this Storage Container?

metadata = None

A mapping of MetaData for this Container.

name = None

The name of the Container which should be created within the Storage Account.

properties = None

(Deprecated) Key-value definition of additional properties associated to the Storage Container

resource_group_name = None

The name of the resource group in which to create the storage container. This field is no longer used and will be removed in 2.0.

storage_account_name = None

The name of the Storage Account where the Container should be created.

static get(resource_name, id, opts=None, container_access_type=None, has_immutability_policy=None, has_legal_hold=None, metadata=None, name=None, properties=None, resource_group_name=None, storage_account_name=None)

Get an existing Container resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • container_access_type (pulumi.Input[str]) – The Access Level configured for this Container. Possible values are blob, container or private. Defaults to private.

  • has_immutability_policy (pulumi.Input[bool]) – Is there an Immutability Policy configured on this Storage Container?

  • has_legal_hold (pulumi.Input[bool]) – Is there a Legal Hold configured on this Storage Container?

  • metadata (pulumi.Input[dict]) – A mapping of MetaData for this Container.

  • name (pulumi.Input[str]) – The name of the Container which should be created within the Storage Account.

  • properties (pulumi.Input[dict]) – (Deprecated) Key-value definition of additional properties associated to the Storage Container

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage container. This field is no longer used and will be removed in 2.0.

  • storage_account_name (pulumi.Input[str]) – The name of the Storage Account where the Container should be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.GetAccountResult(access_tier=None, account_encryption_source=None, account_kind=None, account_replication_type=None, account_tier=None, custom_domain=None, enable_blob_encryption=None, enable_file_encryption=None, enable_https_traffic_only=None, is_hns_enabled=None, location=None, name=None, primary_access_key=None, primary_blob_connection_string=None, primary_blob_endpoint=None, primary_blob_host=None, primary_connection_string=None, primary_dfs_endpoint=None, primary_dfs_host=None, primary_file_endpoint=None, primary_file_host=None, primary_location=None, primary_queue_endpoint=None, primary_queue_host=None, primary_table_endpoint=None, primary_table_host=None, primary_web_endpoint=None, primary_web_host=None, resource_group_name=None, secondary_access_key=None, secondary_blob_connection_string=None, secondary_blob_endpoint=None, secondary_blob_host=None, secondary_connection_string=None, secondary_dfs_endpoint=None, secondary_dfs_host=None, secondary_file_endpoint=None, secondary_file_host=None, secondary_location=None, secondary_queue_endpoint=None, secondary_queue_host=None, secondary_table_endpoint=None, secondary_table_host=None, secondary_web_endpoint=None, secondary_web_host=None, tags=None, id=None)

A collection of values returned by getAccount.

access_tier = None

The access tier for BlobStorage accounts.

account_encryption_source = None

The Encryption Source for this Storage Account.

account_kind = None

The Kind of account.

account_replication_type = None

The type of replication used for this storage account.

account_tier = None

The Tier of this storage account.

custom_domain = None

A custom_domain block as documented below.

enable_blob_encryption = None

Are Encryption Services are enabled for Blob storage? See here for more information.

enable_file_encryption = None

Are Encryption Services are enabled for File storage? See here for more information.

enable_https_traffic_only = None

Is traffic only allowed via HTTPS? See here for more information.

is_hns_enabled = None

Is Hierarchical Namespace enabled?

location = None

The Azure location where the Storage Account exists

name = None

The Custom Domain Name used for the Storage Account.

primary_access_key = None

The primary access key for the Storage Account.

primary_blob_connection_string = None

The connection string associated with the primary blob location

primary_blob_endpoint = None

The endpoint URL for blob storage in the primary location.

primary_blob_host = None

The hostname with port if applicable for blob storage in the primary location.

primary_connection_string = None

The connection string associated with the primary location

primary_dfs_endpoint = None

The endpoint URL for DFS storage in the primary location.

primary_dfs_host = None

The hostname with port if applicable for DFS storage in the primary location.

primary_file_endpoint = None

The endpoint URL for file storage in the primary location.

primary_file_host = None

The hostname with port if applicable for file storage in the primary location.

primary_location = None

The primary location of the Storage Account.

primary_queue_endpoint = None

The endpoint URL for queue storage in the primary location.

primary_queue_host = None

The hostname with port if applicable for queue storage in the primary location.

primary_table_endpoint = None

The endpoint URL for table storage in the primary location.

primary_table_host = None

The hostname with port if applicable for table storage in the primary location.

primary_web_endpoint = None

The endpoint URL for web storage in the primary location.

primary_web_host = None

The hostname with port if applicable for web storage in the primary location.

secondary_access_key = None

The secondary access key for the Storage Account.

secondary_blob_connection_string = None

The connection string associated with the secondary blob location

secondary_blob_endpoint = None

The endpoint URL for blob storage in the secondary location.

secondary_blob_host = None

The hostname with port if applicable for blob storage in the secondary location.

secondary_connection_string = None

The connection string associated with the secondary location

secondary_dfs_endpoint = None

The endpoint URL for DFS storage in the secondary location.

secondary_dfs_host = None

The hostname with port if applicable for DFS storage in the secondary location.

secondary_file_endpoint = None

The endpoint URL for file storage in the secondary location.

secondary_file_host = None

The hostname with port if applicable for file storage in the secondary location.

secondary_location = None

The secondary location of the Storage Account.

secondary_queue_endpoint = None

The endpoint URL for queue storage in the secondary location.

secondary_queue_host = None

The hostname with port if applicable for queue storage in the secondary location.

secondary_table_endpoint = None

The endpoint URL for table storage in the secondary location.

secondary_table_host = None

The hostname with port if applicable for table storage in the secondary location.

secondary_web_endpoint = None

The endpoint URL for web storage in the secondary location.

secondary_web_host = None

The hostname with port if applicable for web storage in the secondary location.

tags = None

A mapping of tags to assigned to the resource.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.storage.GetAccountSASResult(connection_string=None, expiry=None, https_only=None, permissions=None, resource_types=None, sas=None, services=None, start=None, id=None)

A collection of values returned by getAccountSAS.

sas = None

The computed Account Shared Access Signature (SAS).

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.storage.Queue(resource_name, opts=None, metadata=None, name=None, resource_group_name=None, storage_account_name=None, __props__=None, __name__=None, __opts__=None)

Manages a Queue within an Azure Storage Account.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • metadata (pulumi.Input[dict]) – A mapping of MetaData which should be assigned to this Storage Queue.

  • name (pulumi.Input[str]) – The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage queue.

  • storage_account_name (pulumi.Input[str]) – Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.

metadata = None

A mapping of MetaData which should be assigned to this Storage Queue.

name = None

The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located.

resource_group_name = None

The name of the resource group in which to create the storage queue.

storage_account_name = None

Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, metadata=None, name=None, resource_group_name=None, storage_account_name=None)

Get an existing Queue resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • metadata (pulumi.Input[dict]) – A mapping of MetaData which should be assigned to this Storage Queue.

  • name (pulumi.Input[str]) – The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage queue.

  • storage_account_name (pulumi.Input[str]) – Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.Share(resource_name, opts=None, acls=None, metadata=None, name=None, quota=None, resource_group_name=None, storage_account_name=None, __props__=None, __name__=None, __opts__=None)

Manages a File Share within Azure Storage.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • acls (pulumi.Input[list]) – One or more acl blocks as defined below.

  • metadata (pulumi.Input[dict]) – A mapping of MetaData for this File Share.

  • name (pulumi.Input[str]) – The name of the share. Must be unique within the storage account where the share is located.

  • quota (pulumi.Input[float]) – The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5 TB (5120 GB) for Standard storage accounts or 100 TB (102400 GB) for Premium storage accounts. Default is 5120.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the share. Changing this forces a new resource to be created.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the share. Changing this forces a new resource to be created.

The acls object supports the following:

  • access_policies (pulumi.Input[list])

    • expiry (pulumi.Input[str])

    • permissions (pulumi.Input[str])

    • start (pulumi.Input[str])

  • id (pulumi.Input[str]) - The ID of the File Share.

acls = None

One or more acl blocks as defined below.

  • access_policies (list)

    • expiry (str)

    • permissions (str)

    • start (str)

  • id (str) - The ID of the File Share.

metadata = None

A mapping of MetaData for this File Share.

name = None

The name of the share. Must be unique within the storage account where the share is located.

quota = None

The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5 TB (5120 GB) for Standard storage accounts or 100 TB (102400 GB) for Premium storage accounts. Default is 5120.

resource_group_name = None

The name of the resource group in which to create the share. Changing this forces a new resource to be created.

storage_account_name = None

Specifies the storage account in which to create the share. Changing this forces a new resource to be created.

url = None

The URL of the File Share

static get(resource_name, id, opts=None, acls=None, metadata=None, name=None, quota=None, resource_group_name=None, storage_account_name=None, url=None)

Get an existing Share resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • acls (pulumi.Input[list]) – One or more acl blocks as defined below.

  • metadata (pulumi.Input[dict]) – A mapping of MetaData for this File Share.

  • name (pulumi.Input[str]) – The name of the share. Must be unique within the storage account where the share is located.

  • quota (pulumi.Input[float]) – The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5 TB (5120 GB) for Standard storage accounts or 100 TB (102400 GB) for Premium storage accounts. Default is 5120.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the share. Changing this forces a new resource to be created.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the share. Changing this forces a new resource to be created.

  • url (pulumi.Input[str]) – The URL of the File Share

The acls object supports the following:

  • access_policies (pulumi.Input[list])

    • expiry (pulumi.Input[str])

    • permissions (pulumi.Input[str])

    • start (pulumi.Input[str])

  • id (pulumi.Input[str]) - The ID of the File Share.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.ShareDirectory(resource_name, opts=None, metadata=None, name=None, share_name=None, storage_account_name=None, __props__=None, __name__=None, __opts__=None)

Manage a Directory within an Azure Storage File Share.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • metadata (pulumi.Input[dict]) – A mapping of metadata to assign to this Directory.

  • name (pulumi.Input[str]) – The name (or path) of the Directory that should be created within this File Share. Changing this forces a new resource to be created.

  • share_name (pulumi.Input[str]) – The name of the File Share where this Directory should be created. Changing this forces a new resource to be created.

  • storage_account_name (pulumi.Input[str]) – The name of the Storage Account within which the File Share is located. Changing this forces a new resource to be created.

metadata = None

A mapping of metadata to assign to this Directory.

name = None

The name (or path) of the Directory that should be created within this File Share. Changing this forces a new resource to be created.

share_name = None

The name of the File Share where this Directory should be created. Changing this forces a new resource to be created.

storage_account_name = None

The name of the Storage Account within which the File Share is located. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, metadata=None, name=None, share_name=None, storage_account_name=None)

Get an existing ShareDirectory resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • metadata (pulumi.Input[dict]) – A mapping of metadata to assign to this Directory.

  • name (pulumi.Input[str]) – The name (or path) of the Directory that should be created within this File Share. Changing this forces a new resource to be created.

  • share_name (pulumi.Input[str]) – The name of the File Share where this Directory should be created. Changing this forces a new resource to be created.

  • storage_account_name (pulumi.Input[str]) – The name of the Storage Account within which the File Share is located. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.Table(resource_name, opts=None, acls=None, name=None, resource_group_name=None, storage_account_name=None, __props__=None, __name__=None, __opts__=None)

Manage a Table within an Azure Storage Account.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • acls (pulumi.Input[list]) – One or more acl blocks as defined below.

  • name (pulumi.Input[str]) – The name of the storage table. Must be unique within the storage account the table is located.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage table.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the storage table. Changing this forces a new resource to be created.

The acls object supports the following:

  • access_policies (pulumi.Input[list])

    • expiry (pulumi.Input[str])

    • permissions (pulumi.Input[str])

    • start (pulumi.Input[str])

  • id (pulumi.Input[str]) - The ID of the Table within the Storage Account.

acls = None

One or more acl blocks as defined below.

  • access_policies (list)

    • expiry (str)

    • permissions (str)

    • start (str)

  • id (str) - The ID of the Table within the Storage Account.

name = None

The name of the storage table. Must be unique within the storage account the table is located.

resource_group_name = None

The name of the resource group in which to create the storage table.

storage_account_name = None

Specifies the storage account in which to create the storage table. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, acls=None, name=None, resource_group_name=None, storage_account_name=None)

Get an existing Table resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • acls (pulumi.Input[list]) – One or more acl blocks as defined below.

  • name (pulumi.Input[str]) – The name of the storage table. Must be unique within the storage account the table is located.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the storage table.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the storage table. Changing this forces a new resource to be created.

The acls object supports the following:

  • access_policies (pulumi.Input[list])

    • expiry (pulumi.Input[str])

    • permissions (pulumi.Input[str])

    • start (pulumi.Input[str])

  • id (pulumi.Input[str]) - The ID of the Table within the Storage Account.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.TableEntity(resource_name, opts=None, entity=None, partition_key=None, row_key=None, storage_account_name=None, table_name=None, __props__=None, __name__=None, __opts__=None)

Manages an Entity within a Table in an Azure Storage Account.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • entity (pulumi.Input[dict]) – A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.

  • partition_key (pulumi.Input[str]) – The key for the partition where the entity will be inserted/merged. Changing this forces a new resource.

  • row_key (pulumi.Input[str]) – The key for the row where the entity will be inserted/merged. Changing this forces a new resource.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the storage table entity. Changing this forces a new resource to be created.

  • table_name (pulumi.Input[str]) – The name of the storage table in which to create the storage table entity. Changing this forces a new resource to be created.

entity = None

A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.

partition_key = None

The key for the partition where the entity will be inserted/merged. Changing this forces a new resource.

row_key = None

The key for the row where the entity will be inserted/merged. Changing this forces a new resource.

storage_account_name = None

Specifies the storage account in which to create the storage table entity. Changing this forces a new resource to be created.

table_name = None

The name of the storage table in which to create the storage table entity. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, entity=None, partition_key=None, row_key=None, storage_account_name=None, table_name=None)

Get an existing TableEntity resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • entity (pulumi.Input[dict]) – A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.

  • partition_key (pulumi.Input[str]) – The key for the partition where the entity will be inserted/merged. Changing this forces a new resource.

  • row_key (pulumi.Input[str]) – The key for the row where the entity will be inserted/merged. Changing this forces a new resource.

  • storage_account_name (pulumi.Input[str]) – Specifies the storage account in which to create the storage table entity. Changing this forces a new resource to be created.

  • table_name (pulumi.Input[str]) – The name of the storage table in which to create the storage table entity. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.storage.ZipBlob(resource_name, opts=None, attempts=None, content_type=None, metadata=None, name=None, parallelism=None, resource_group_name=None, size=None, content=None, source_uri=None, storage_account_name=None, storage_container_name=None, type=None, __props__=None, __name__=None, __opts__=None)

Create a ZipBlob resource with the given unique name, props, and options.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

static get(resource_name, id, opts=None, attempts=None, content_type=None, metadata=None, name=None, parallelism=None, resource_group_name=None, size=None, content=None, source_uri=None, storage_account_name=None, storage_container_name=None, type=None, url=None)

Get an existing ZipBlob resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

pulumi_azure.storage.get_account(name=None, resource_group_name=None, opts=None)

Use this data source to access information about an existing Storage Account.

Parameters
  • name (str) – Specifies the name of the Storage Account

  • resource_group_name (str) – Specifies the name of the resource group the Storage Account is located in.

pulumi_azure.storage.get_account_sas(connection_string=None, expiry=None, https_only=None, permissions=None, resource_types=None, services=None, start=None, opts=None)

Use this data source to obtain a Shared Access Signature (SAS Token) for an existing Storage Account.

Shared access signatures allow fine-grained, ephemeral access control to various aspects of an Azure Storage Account.

Note that this is an Account SAS and not a Service SAS.

Parameters
  • connection_string (str) – The connection string for the storage account to which this SAS applies. Typically directly from the primary_connection_string attribute of a storage.Account resource.

  • expiry (str) – The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string.

  • https_only (bool) – Only permit https access. If false, both http and https are permitted. Defaults to true.

  • permissions (dict) – A permissions block as defined below.

  • resource_types (dict) – A resource_types block as defined below.

  • services (dict) – A services block as defined below.

  • start (str) – The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string.

The permissions object supports the following:

  • add (bool)

  • create (bool)

  • delete (bool)

  • list (bool)

  • process (bool)

  • read (bool)

  • update (bool)

  • write (bool)

The resource_types object supports the following:

  • container (bool)

  • object (bool)

  • service (bool)

The services object supports the following:

  • blob (bool)

  • file (bool)

  • queue (bool)

  • table (bool)