Fork me on GitHub

Module storage

@pulumi/azure > storage

Index

storage/account.ts storage/blob.ts storage/container.ts storage/getAccount.ts storage/getAccountSAS.ts storage/queue.ts storage/share.ts storage/table.ts storage/zipBlob.ts

class Account

Manage an Azure Storage Account.

constructor

new Account(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions)

Create a Account resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountState): Account

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property accessTier

public accessTier: pulumi.Output<string>;

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

property accountEncryptionSource

public accountEncryptionSource: pulumi.Output<string | undefined>;

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

property accountKind

public accountKind: pulumi.Output<string | undefined>;

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

property accountReplicationType

public accountReplicationType: pulumi.Output<string>;

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

property accountTier

public accountTier: pulumi.Output<string>;

Defines the Tier to use for this storage account. Valid options are Standard and Premium. Changing this forces a new resource to be created

property accountType

public accountType: pulumi.Output<string>;

property customDomain

public customDomain: pulumi.Output<{ ... } | undefined>;

A custom_domain block as documented below.

property enableBlobEncryption

public enableBlobEncryption: pulumi.Output<boolean | undefined>;

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

property enableFileEncryption

public enableFileEncryption: pulumi.Output<boolean | undefined>;

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

property enableHttpsTrafficOnly

public enableHttpsTrafficOnly: pulumi.Output<boolean | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property identity

public identity: pulumi.Output<{ ... }>;

A Managed Service Identity block as defined below.

property location

public location: pulumi.Output<string>;

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

property name

public name: pulumi.Output<string>;

The Custom Domain Name to use for the Storage Account, which will be validated by Azure.

property networkRules

public networkRules: pulumi.Output<{ ... } | undefined>;

A network_rules block as documented below.

property primaryAccessKey

public primaryAccessKey: pulumi.Output<string>;

The primary access key for the storage account

property primaryBlobConnectionString

public primaryBlobConnectionString: pulumi.Output<string>;

The connection string associated with the primary blob location

property primaryBlobEndpoint

public primaryBlobEndpoint: pulumi.Output<string>;

The endpoint URL for blob storage in the primary location.

property primaryConnectionString

public primaryConnectionString: pulumi.Output<string>;

The connection string associated with the primary location

property primaryFileEndpoint

public primaryFileEndpoint: pulumi.Output<string>;

The endpoint URL for file storage in the primary location.

property primaryLocation

public primaryLocation: pulumi.Output<string>;

The primary location of the storage account.

property primaryQueueEndpoint

public primaryQueueEndpoint: pulumi.Output<string>;

The endpoint URL for queue storage in the primary location.

property primaryTableEndpoint

public primaryTableEndpoint: pulumi.Output<string>;

The endpoint URL for table storage in the primary location.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property secondaryAccessKey

public secondaryAccessKey: pulumi.Output<string>;

The secondary access key for the storage account

property secondaryBlobConnectionString

public secondaryBlobConnectionString: pulumi.Output<string>;

The connection string associated with the secondary blob location

property secondaryBlobEndpoint

public secondaryBlobEndpoint: pulumi.Output<string>;

The endpoint URL for blob storage in the secondary location.

property secondaryConnectionString

public secondaryConnectionString: pulumi.Output<string>;

The connection string associated with the secondary location

property secondaryLocation

public secondaryLocation: pulumi.Output<string>;

The secondary location of the storage account.

property secondaryQueueEndpoint

public secondaryQueueEndpoint: pulumi.Output<string>;

The endpoint URL for queue storage in the secondary location.

property secondaryTableEndpoint

public secondaryTableEndpoint: pulumi.Output<string>;

The endpoint URL for table storage in the secondary location.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Blob

Manage an Azure Storage Blob.

constructor

new Blob(name: string, args: BlobArgs, opts?: pulumi.CustomResourceOptions)

Create a Blob resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BlobState): Blob

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property attempts

public attempts: pulumi.Output<number | undefined>;

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

property contentType

public contentType: pulumi.Output<string | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

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

property parallelism

public parallelism: pulumi.Output<number | undefined>;

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

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property size

public size: pulumi.Output<number | undefined>;

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.

property source

public source: pulumi.Output<string | undefined>;

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

property sourceUri

public sourceUri: pulumi.Output<string | undefined>;

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.

property storageAccountName

public storageAccountName: pulumi.Output<string>;

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

property storageContainerName

public storageContainerName: pulumi.Output<string>;

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

property type

public type: pulumi.Output<string | undefined>;

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.

property url

public url: pulumi.Output<string>;

The URL of the blob

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Container

Manage an Azure Storage Container.

constructor

new Container(name: string, args: ContainerArgs, opts?: pulumi.CustomResourceOptions)

Create a Container resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContainerState): Container

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property containerAccessType

public containerAccessType: pulumi.Output<string | undefined>;

The ‘interface’ for access the container provides. Can be either blob, container or private. Defaults to private. Changing this forces a new resource to be created.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

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

property properties

public properties: pulumi.Output<{ ... }>;

Key-value definition of additional properties associated to the storage container

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property storageAccountName

public storageAccountName: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Queue

Manage an Azure Storage Queue.

constructor

new Queue(name: string, args: QueueArgs, opts?: pulumi.CustomResourceOptions)

Create a Queue resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QueueState): Queue

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

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

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property storageAccountName

public storageAccountName: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Share

Manage an Azure Storage File Share.

constructor

new Share(name: string, args: ShareArgs, opts?: pulumi.CustomResourceOptions)

Create a Share resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ShareState): Share

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

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

property quota

public quota: pulumi.Output<number | undefined>;

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

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property storageAccountName

public storageAccountName: pulumi.Output<string>;

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

property url

public url: pulumi.Output<string>;

The URL of the share

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Table

Manage an Azure Storage Table.

constructor

new Table(name: string, args: TableArgs, opts?: pulumi.CustomResourceOptions)

Create a Table resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TableState): Table

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

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

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property storageAccountName

public storageAccountName: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ZipBlob

constructor

new ZipBlob(name: string, args: ZipBlobArgs, opts?: pulumi.CustomResourceOptions)

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

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ZipBlobState): ZipBlob

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property attempts

public attempts: pulumi.Output<number | undefined>;

property content

public content: pulumi.Output<pulumi.asset.Archive | undefined>;

property contentType

public contentType: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property parallelism

public parallelism: pulumi.Output<number | undefined>;

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

property size

public size: pulumi.Output<number | undefined>;

property sourceUri

public sourceUri: pulumi.Output<string | undefined>;

property storageAccountName

public storageAccountName: pulumi.Output<string>;

property storageContainerName

public storageContainerName: pulumi.Output<string>;

property type

public type: pulumi.Output<string | undefined>;

property url

public url: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getAccount

getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountResult>

Gets information about the specified Storage Account.

function getAccountSAS

getAccountSAS(args: GetAccountSASArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountSASResult>

Use this data source to create a Shared Access Signature (SAS) for an Azure 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.

interface AccountArgs

The set of arguments for constructing a Account resource.

property accessTier

accessTier?: pulumi.Input<string>;

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

property accountEncryptionSource

accountEncryptionSource?: pulumi.Input<string>;

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

property accountKind

accountKind?: pulumi.Input<string>;

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

property accountReplicationType

accountReplicationType: pulumi.Input<string>;

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

property accountTier

accountTier: pulumi.Input<string>;

Defines the Tier to use for this storage account. Valid options are Standard and Premium. Changing this forces a new resource to be created

property accountType

accountType?: pulumi.Input<string>;

property customDomain

customDomain?: pulumi.Input<{ ... }>;

A custom_domain block as documented below.

property enableBlobEncryption

enableBlobEncryption?: pulumi.Input<boolean>;

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

property enableFileEncryption

enableFileEncryption?: pulumi.Input<boolean>;

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

property enableHttpsTrafficOnly

enableHttpsTrafficOnly?: pulumi.Input<boolean>;

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

property identity

identity?: pulumi.Input<{ ... }>;

A Managed Service Identity block as defined below.

property location

location: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

The Custom Domain Name to use for the Storage Account, which will be validated by Azure.

property networkRules

networkRules?: pulumi.Input<{ ... }>;

A network_rules block as documented below.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

interface AccountState

Input properties used for looking up and filtering Account resources.

property accessTier

accessTier?: pulumi.Input<string>;

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

property accountEncryptionSource

accountEncryptionSource?: pulumi.Input<string>;

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

property accountKind

accountKind?: pulumi.Input<string>;

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

property accountReplicationType

accountReplicationType?: pulumi.Input<string>;

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

property accountTier

accountTier?: pulumi.Input<string>;

Defines the Tier to use for this storage account. Valid options are Standard and Premium. Changing this forces a new resource to be created

property accountType

accountType?: pulumi.Input<string>;

property customDomain

customDomain?: pulumi.Input<{ ... }>;

A custom_domain block as documented below.

property enableBlobEncryption

enableBlobEncryption?: pulumi.Input<boolean>;

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

property enableFileEncryption

enableFileEncryption?: pulumi.Input<boolean>;

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

property enableHttpsTrafficOnly

enableHttpsTrafficOnly?: pulumi.Input<boolean>;

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

property identity

identity?: pulumi.Input<{ ... }>;

A Managed Service Identity block as defined below.

property location

location?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

The Custom Domain Name to use for the Storage Account, which will be validated by Azure.

property networkRules

networkRules?: pulumi.Input<{ ... }>;

A network_rules block as documented below.

property primaryAccessKey

primaryAccessKey?: pulumi.Input<string>;

The primary access key for the storage account

property primaryBlobConnectionString

primaryBlobConnectionString?: pulumi.Input<string>;

The connection string associated with the primary blob location

property primaryBlobEndpoint

primaryBlobEndpoint?: pulumi.Input<string>;

The endpoint URL for blob storage in the primary location.

property primaryConnectionString

primaryConnectionString?: pulumi.Input<string>;

The connection string associated with the primary location

property primaryFileEndpoint

primaryFileEndpoint?: pulumi.Input<string>;

The endpoint URL for file storage in the primary location.

property primaryLocation

primaryLocation?: pulumi.Input<string>;

The primary location of the storage account.

property primaryQueueEndpoint

primaryQueueEndpoint?: pulumi.Input<string>;

The endpoint URL for queue storage in the primary location.

property primaryTableEndpoint

primaryTableEndpoint?: pulumi.Input<string>;

The endpoint URL for table storage in the primary location.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property secondaryAccessKey

secondaryAccessKey?: pulumi.Input<string>;

The secondary access key for the storage account

property secondaryBlobConnectionString

secondaryBlobConnectionString?: pulumi.Input<string>;

The connection string associated with the secondary blob location

property secondaryBlobEndpoint

secondaryBlobEndpoint?: pulumi.Input<string>;

The endpoint URL for blob storage in the secondary location.

property secondaryConnectionString

secondaryConnectionString?: pulumi.Input<string>;

The connection string associated with the secondary location

property secondaryLocation

secondaryLocation?: pulumi.Input<string>;

The secondary location of the storage account.

property secondaryQueueEndpoint

secondaryQueueEndpoint?: pulumi.Input<string>;

The endpoint URL for queue storage in the secondary location.

property secondaryTableEndpoint

secondaryTableEndpoint?: pulumi.Input<string>;

The endpoint URL for table storage in the secondary location.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

interface BlobArgs

The set of arguments for constructing a Blob resource.

property attempts

attempts?: pulumi.Input<number>;

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

property contentType

contentType?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property parallelism

parallelism?: pulumi.Input<number>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property size

size?: pulumi.Input<number>;

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.

property source

source?: pulumi.Input<string>;

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

property sourceUri

sourceUri?: pulumi.Input<string>;

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.

property storageAccountName

storageAccountName: pulumi.Input<string>;

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

property storageContainerName

storageContainerName: pulumi.Input<string>;

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

property type

type?: pulumi.Input<string>;

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.

interface BlobState

Input properties used for looking up and filtering Blob resources.

property attempts

attempts?: pulumi.Input<number>;

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

property contentType

contentType?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property parallelism

parallelism?: pulumi.Input<number>;

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

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property size

size?: pulumi.Input<number>;

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.

property source

source?: pulumi.Input<string>;

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

property sourceUri

sourceUri?: pulumi.Input<string>;

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.

property storageAccountName

storageAccountName?: pulumi.Input<string>;

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

property storageContainerName

storageContainerName?: pulumi.Input<string>;

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

property type

type?: pulumi.Input<string>;

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.

property url

url?: pulumi.Input<string>;

The URL of the blob

interface ContainerArgs

The set of arguments for constructing a Container resource.

property containerAccessType

containerAccessType?: pulumi.Input<string>;

The ‘interface’ for access the container provides. Can be either blob, container or private. Defaults to private. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property storageAccountName

storageAccountName: pulumi.Input<string>;

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

interface ContainerState

Input properties used for looking up and filtering Container resources.

property containerAccessType

containerAccessType?: pulumi.Input<string>;

The ‘interface’ for access the container provides. Can be either blob, container or private. Defaults to private. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

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

property properties

properties?: pulumi.Input<{ ... }>;

Key-value definition of additional properties associated to the storage container

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property storageAccountName

storageAccountName?: pulumi.Input<string>;

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

interface GetAccountArgs

A collection of arguments for invoking getAccount.

property name

name: string;

Specifies the name of the Storage Account

property resourceGroupName

resourceGroupName: string;

Specifies the name of the resource group the Storage Account is located in.

interface GetAccountResult

A collection of values returned by getAccount.

property accessTier

accessTier: string;

The access tier for BlobStorage accounts.

property accountEncryptionSource

accountEncryptionSource: string;

The Encryption Source for this Storage Account.

property accountKind

accountKind: string;

The Kind of account.

property accountReplicationType

accountReplicationType: string;

The type of replication used for this storage account.

property accountTier

accountTier: string;

The Tier of this storage account.

property customDomain

customDomain: { ... };

A custom_domain block as documented below.

property enableBlobEncryption

enableBlobEncryption: boolean;

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

property enableFileEncryption

enableFileEncryption: boolean;

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

property enableHttpsTrafficOnly

enableHttpsTrafficOnly: boolean;

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

property id

id: string;

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

property location

location: string;

The Azure location where the Storage Account exists

property primaryAccessKey

primaryAccessKey: string;

The primary access key for the Storage Account.

property primaryBlobConnectionString

primaryBlobConnectionString: string;

The connection string associated with the primary blob location

property primaryBlobEndpoint

primaryBlobEndpoint: string;

The endpoint URL for blob storage in the primary location.

property primaryConnectionString

primaryConnectionString: string;

The connection string associated with the primary location

property primaryFileEndpoint

primaryFileEndpoint: string;

The endpoint URL for file storage in the primary location.

property primaryLocation

primaryLocation: string;

The primary location of the Storage Account.

property primaryQueueEndpoint

primaryQueueEndpoint: string;

The endpoint URL for queue storage in the primary location.

property primaryTableEndpoint

primaryTableEndpoint: string;

The endpoint URL for table storage in the primary location.

property secondaryAccessKey

secondaryAccessKey: string;

The secondary access key for the Storage Account.

property secondaryBlobConnectionString

secondaryBlobConnectionString: string;

The connection string associated with the secondary blob location

property secondaryBlobEndpoint

secondaryBlobEndpoint: string;

The endpoint URL for blob storage in the secondary location.

property secondaryConnectionString

secondaryConnectionString: string;

The connection string associated with the secondary location

property secondaryLocation

secondaryLocation: string;

The secondary location of the Storage Account.

property secondaryQueueEndpoint

secondaryQueueEndpoint: string;

The endpoint URL for queue storage in the secondary location.

property secondaryTableEndpoint

secondaryTableEndpoint: string;

The endpoint URL for table storage in the secondary location.

property tags

tags: { ... };

A mapping of tags to assigned to the resource.

interface GetAccountSASArgs

A collection of arguments for invoking getAccountSAS.

property connectionString

connectionString: string;

The connection string for the storage account to which this SAS applies. Typically directly from the primary_connection_string attribute of a terraform created azurerm_storage_account resource.

property expiry

expiry: string;

The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string.

property httpsOnly

httpsOnly?: boolean;

Only permit https access. If false, both http and https are permitted. Defaults to true.

property permissions

permissions: { ... };

A permissions block as defined below.

property resourceTypes

resourceTypes: { ... };

A resource_types block as defined below.

property services

services: { ... };

A services block as defined below.

property start

start: string;

The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string.

interface GetAccountSASResult

A collection of values returned by getAccountSAS.

property id

id: string;

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

property sas

sas: string;

The computed Account Shared Access Signature (SAS).

interface QueueArgs

The set of arguments for constructing a Queue resource.

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property storageAccountName

storageAccountName: pulumi.Input<string>;

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

interface QueueState

Input properties used for looking up and filtering Queue resources.

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property storageAccountName

storageAccountName?: pulumi.Input<string>;

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

interface ShareArgs

The set of arguments for constructing a Share resource.

property name

name?: pulumi.Input<string>;

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

property quota

quota?: pulumi.Input<number>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property storageAccountName

storageAccountName: pulumi.Input<string>;

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

interface ShareState

Input properties used for looking up and filtering Share resources.

property name

name?: pulumi.Input<string>;

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

property quota

quota?: pulumi.Input<number>;

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

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property storageAccountName

storageAccountName?: pulumi.Input<string>;

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

property url

url?: pulumi.Input<string>;

The URL of the share

interface TableArgs

The set of arguments for constructing a Table resource.

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property storageAccountName

storageAccountName: pulumi.Input<string>;

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

interface TableState

Input properties used for looking up and filtering Table resources.

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property storageAccountName

storageAccountName?: pulumi.Input<string>;

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

interface ZipBlobArgs

The set of arguments for constructing a ZipBlob resource.

property attempts

attempts?: pulumi.Input<number>;

property content

content?: pulumi.Input<pulumi.asset.Archive>;

property contentType

contentType?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property parallelism

parallelism?: pulumi.Input<number>;

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

property size

size?: pulumi.Input<number>;

property sourceUri

sourceUri?: pulumi.Input<string>;

property storageAccountName

storageAccountName: pulumi.Input<string>;

property storageContainerName

storageContainerName: pulumi.Input<string>;

property type

type?: pulumi.Input<string>;

interface ZipBlobState

Input properties used for looking up and filtering ZipBlob resources.

property attempts

attempts?: pulumi.Input<number>;

property content

content?: pulumi.Input<pulumi.asset.Archive>;

property contentType

contentType?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property parallelism

parallelism?: pulumi.Input<number>;

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

property size

size?: pulumi.Input<number>;

property sourceUri

sourceUri?: pulumi.Input<string>;

property storageAccountName

storageAccountName?: pulumi.Input<string>;

property storageContainerName

storageContainerName?: pulumi.Input<string>;

property type

type?: pulumi.Input<string>;

property url

url?: pulumi.Input<string>;