Documentation
¶
Overview ¶
nolint: lll Package storage exports types, functions, subpackages for provisioning storage resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).
Index ¶
- type Account
- func (r *Account) AccessTier() *pulumi.StringOutput
- func (r *Account) AccountEncryptionSource() *pulumi.StringOutput
- func (r *Account) AccountKind() *pulumi.StringOutput
- func (r *Account) AccountReplicationType() *pulumi.StringOutput
- func (r *Account) AccountTier() *pulumi.StringOutput
- func (r *Account) AccountType() *pulumi.StringOutput
- func (r *Account) CustomDomain() *pulumi.Output
- func (r *Account) EnableAdvancedThreatProtection() *pulumi.BoolOutput
- func (r *Account) EnableBlobEncryption() *pulumi.BoolOutput
- func (r *Account) EnableFileEncryption() *pulumi.BoolOutput
- func (r *Account) EnableHttpsTrafficOnly() *pulumi.BoolOutput
- func (r *Account) ID() *pulumi.IDOutput
- func (r *Account) Identity() *pulumi.Output
- func (r *Account) IsHnsEnabled() *pulumi.BoolOutput
- func (r *Account) Location() *pulumi.StringOutput
- func (r *Account) Name() *pulumi.StringOutput
- func (r *Account) NetworkRules() *pulumi.Output
- func (r *Account) PrimaryAccessKey() *pulumi.StringOutput
- func (r *Account) PrimaryBlobConnectionString() *pulumi.StringOutput
- func (r *Account) PrimaryBlobEndpoint() *pulumi.StringOutput
- func (r *Account) PrimaryBlobHost() *pulumi.StringOutput
- func (r *Account) PrimaryConnectionString() *pulumi.StringOutput
- func (r *Account) PrimaryDfsEndpoint() *pulumi.StringOutput
- func (r *Account) PrimaryDfsHost() *pulumi.StringOutput
- func (r *Account) PrimaryFileEndpoint() *pulumi.StringOutput
- func (r *Account) PrimaryFileHost() *pulumi.StringOutput
- func (r *Account) PrimaryLocation() *pulumi.StringOutput
- func (r *Account) PrimaryQueueEndpoint() *pulumi.StringOutput
- func (r *Account) PrimaryQueueHost() *pulumi.StringOutput
- func (r *Account) PrimaryTableEndpoint() *pulumi.StringOutput
- func (r *Account) PrimaryTableHost() *pulumi.StringOutput
- func (r *Account) PrimaryWebEndpoint() *pulumi.StringOutput
- func (r *Account) PrimaryWebHost() *pulumi.StringOutput
- func (r *Account) QueueProperties() *pulumi.Output
- func (r *Account) ResourceGroupName() *pulumi.StringOutput
- func (r *Account) SecondaryAccessKey() *pulumi.StringOutput
- func (r *Account) SecondaryBlobConnectionString() *pulumi.StringOutput
- func (r *Account) SecondaryBlobEndpoint() *pulumi.StringOutput
- func (r *Account) SecondaryBlobHost() *pulumi.StringOutput
- func (r *Account) SecondaryConnectionString() *pulumi.StringOutput
- func (r *Account) SecondaryDfsEndpoint() *pulumi.StringOutput
- func (r *Account) SecondaryDfsHost() *pulumi.StringOutput
- func (r *Account) SecondaryFileEndpoint() *pulumi.StringOutput
- func (r *Account) SecondaryFileHost() *pulumi.StringOutput
- func (r *Account) SecondaryLocation() *pulumi.StringOutput
- func (r *Account) SecondaryQueueEndpoint() *pulumi.StringOutput
- func (r *Account) SecondaryQueueHost() *pulumi.StringOutput
- func (r *Account) SecondaryTableEndpoint() *pulumi.StringOutput
- func (r *Account) SecondaryTableHost() *pulumi.StringOutput
- func (r *Account) SecondaryWebEndpoint() *pulumi.StringOutput
- func (r *Account) SecondaryWebHost() *pulumi.StringOutput
- func (r *Account) Tags() *pulumi.MapOutput
- func (r *Account) URN() *pulumi.URNOutput
- type AccountArgs
- type AccountState
- type Blob
- func (r *Blob) AccessTier() *pulumi.StringOutput
- func (r *Blob) Attempts() *pulumi.IntOutput
- func (r *Blob) ContentType() *pulumi.StringOutput
- func (r *Blob) ID() *pulumi.IDOutput
- func (r *Blob) Metadata() *pulumi.MapOutput
- func (r *Blob) Name() *pulumi.StringOutput
- func (r *Blob) Parallelism() *pulumi.IntOutput
- func (r *Blob) ResourceGroupName() *pulumi.StringOutput
- func (r *Blob) Size() *pulumi.IntOutput
- func (r *Blob) Source() *pulumi.StringOutput
- func (r *Blob) SourceContent() *pulumi.StringOutput
- func (r *Blob) SourceUri() *pulumi.StringOutput
- func (r *Blob) StorageAccountName() *pulumi.StringOutput
- func (r *Blob) StorageContainerName() *pulumi.StringOutput
- func (r *Blob) Type() *pulumi.StringOutput
- func (r *Blob) URN() *pulumi.URNOutput
- func (r *Blob) Url() *pulumi.StringOutput
- type BlobArgs
- type BlobState
- type Container
- func (r *Container) ContainerAccessType() *pulumi.StringOutput
- func (r *Container) HasImmutabilityPolicy() *pulumi.BoolOutput
- func (r *Container) HasLegalHold() *pulumi.BoolOutput
- func (r *Container) ID() *pulumi.IDOutput
- func (r *Container) Metadata() *pulumi.MapOutput
- func (r *Container) Name() *pulumi.StringOutput
- func (r *Container) Properties() *pulumi.MapOutput
- func (r *Container) ResourceGroupName() *pulumi.StringOutput
- func (r *Container) StorageAccountName() *pulumi.StringOutput
- func (r *Container) URN() *pulumi.URNOutput
- type ContainerArgs
- type ContainerState
- type DataLakeGen2Filesystem
- func (r *DataLakeGen2Filesystem) ID() *pulumi.IDOutput
- func (r *DataLakeGen2Filesystem) Name() *pulumi.StringOutput
- func (r *DataLakeGen2Filesystem) Properties() *pulumi.MapOutput
- func (r *DataLakeGen2Filesystem) StorageAccountId() *pulumi.StringOutput
- func (r *DataLakeGen2Filesystem) URN() *pulumi.URNOutput
- type DataLakeGen2FilesystemArgs
- type DataLakeGen2FilesystemState
- type GetAccountArgs
- type GetAccountBlobContainerSASArgs
- type GetAccountBlobContainerSASResult
- type GetAccountResult
- type GetAccountSASArgs
- type GetAccountSASResult
- type GetPolicyArgs
- type GetPolicyResult
- type ManagementPolicy
- type ManagementPolicyArgs
- type ManagementPolicyState
- type Queue
- type QueueArgs
- type QueueState
- type Share
- func (r *Share) Acls() *pulumi.ArrayOutput
- func (r *Share) ID() *pulumi.IDOutput
- func (r *Share) Metadata() *pulumi.MapOutput
- func (r *Share) Name() *pulumi.StringOutput
- func (r *Share) Quota() *pulumi.IntOutput
- func (r *Share) ResourceGroupName() *pulumi.StringOutput
- func (r *Share) StorageAccountName() *pulumi.StringOutput
- func (r *Share) URN() *pulumi.URNOutput
- func (r *Share) Url() *pulumi.StringOutput
- type ShareArgs
- type ShareDirectory
- func (r *ShareDirectory) ID() *pulumi.IDOutput
- func (r *ShareDirectory) Metadata() *pulumi.MapOutput
- func (r *ShareDirectory) Name() *pulumi.StringOutput
- func (r *ShareDirectory) ShareName() *pulumi.StringOutput
- func (r *ShareDirectory) StorageAccountName() *pulumi.StringOutput
- func (r *ShareDirectory) URN() *pulumi.URNOutput
- type ShareDirectoryArgs
- type ShareDirectoryState
- type ShareState
- type Table
- type TableArgs
- type TableEntity
- func (r *TableEntity) Entity() *pulumi.MapOutput
- func (r *TableEntity) ID() *pulumi.IDOutput
- func (r *TableEntity) PartitionKey() *pulumi.StringOutput
- func (r *TableEntity) RowKey() *pulumi.StringOutput
- func (r *TableEntity) StorageAccountName() *pulumi.StringOutput
- func (r *TableEntity) TableName() *pulumi.StringOutput
- func (r *TableEntity) URN() *pulumi.URNOutput
- type TableEntityArgs
- type TableEntityState
- type TableState
- type ZipBlob
- func (r *ZipBlob) AccessTier() *pulumi.StringOutput
- func (r *ZipBlob) Attempts() *pulumi.IntOutput
- func (r *ZipBlob) Content() *pulumi.StringOutput
- func (r *ZipBlob) ContentType() *pulumi.StringOutput
- func (r *ZipBlob) ID() *pulumi.IDOutput
- func (r *ZipBlob) Metadata() *pulumi.MapOutput
- func (r *ZipBlob) Name() *pulumi.StringOutput
- func (r *ZipBlob) Parallelism() *pulumi.IntOutput
- func (r *ZipBlob) ResourceGroupName() *pulumi.StringOutput
- func (r *ZipBlob) Size() *pulumi.IntOutput
- func (r *ZipBlob) SourceContent() *pulumi.StringOutput
- func (r *ZipBlob) SourceUri() *pulumi.StringOutput
- func (r *ZipBlob) StorageAccountName() *pulumi.StringOutput
- func (r *ZipBlob) StorageContainerName() *pulumi.StringOutput
- func (r *ZipBlob) Type() *pulumi.StringOutput
- func (r *ZipBlob) URN() *pulumi.URNOutput
- func (r *ZipBlob) Url() *pulumi.StringOutput
- type ZipBlobArgs
- type ZipBlobState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Manages an Azure Storage Account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_account.html.markdown.
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.ID, state *AccountState, opts ...pulumi.ResourceOpt) (*Account, error)
GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAccount ¶
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOpt) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) AccessTier ¶
func (r *Account) AccessTier() *pulumi.StringOutput
Defines the access tier for `BlobStorage`, `FileStorage` and `StorageV2` accounts. Valid options are `Hot` and `Cool`, defaults to `Hot`.
func (*Account) AccountEncryptionSource ¶
func (r *Account) AccountEncryptionSource() *pulumi.StringOutput
The Encryption Source for this Storage Account. Possible values are `Microsoft.Keyvault` and `Microsoft.Storage`. Defaults to `Microsoft.Storage`.
func (*Account) AccountKind ¶
func (r *Account) AccountKind() *pulumi.StringOutput
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`.
func (*Account) AccountReplicationType ¶
func (r *Account) AccountReplicationType() *pulumi.StringOutput
Defines the type of replication to use for this storage account. Valid options are `LRS`, `GRS`, `RAGRS` and `ZRS`.
func (*Account) AccountTier ¶
func (r *Account) AccountTier() *pulumi.StringOutput
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.
func (*Account) AccountType ¶
func (r *Account) AccountType() *pulumi.StringOutput
func (*Account) CustomDomain ¶
A `customDomain` block as documented below.
func (*Account) EnableAdvancedThreatProtection ¶ added in v1.0.0
func (r *Account) EnableAdvancedThreatProtection() *pulumi.BoolOutput
Boolean flag which controls if advanced threat protection is enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/common/storage-advanced-threat-protection) for more information. Defaults to `false`.
func (*Account) EnableBlobEncryption ¶
func (r *Account) EnableBlobEncryption() *pulumi.BoolOutput
Boolean flag which controls if Encryption Services are enabled for Blob storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`.
func (*Account) EnableFileEncryption ¶
func (r *Account) EnableFileEncryption() *pulumi.BoolOutput
Boolean flag which controls if Encryption Services are enabled for File storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`.
func (*Account) EnableHttpsTrafficOnly ¶
func (r *Account) EnableHttpsTrafficOnly() *pulumi.BoolOutput
Boolean flag which forces HTTPS if enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/) for more information.
func (*Account) IsHnsEnabled ¶ added in v0.18.0
func (r *Account) IsHnsEnabled() *pulumi.BoolOutput
Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 ([see here for more information](https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-quickstart-create-account/)). Changing this forces a new resource to be created.
func (*Account) Location ¶
func (r *Account) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*Account) Name ¶
func (r *Account) Name() *pulumi.StringOutput
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.
func (*Account) NetworkRules ¶ added in v0.15.0
A `networkRules` block as documented below.
func (*Account) PrimaryAccessKey ¶
func (r *Account) PrimaryAccessKey() *pulumi.StringOutput
The primary access key for the storage account.
func (*Account) PrimaryBlobConnectionString ¶
func (r *Account) PrimaryBlobConnectionString() *pulumi.StringOutput
The connection string associated with the primary blob location.
func (*Account) PrimaryBlobEndpoint ¶
func (r *Account) PrimaryBlobEndpoint() *pulumi.StringOutput
The endpoint URL for blob storage in the primary location.
func (*Account) PrimaryBlobHost ¶ added in v0.17.2
func (r *Account) PrimaryBlobHost() *pulumi.StringOutput
The hostname with port if applicable for blob storage in the primary location.
func (*Account) PrimaryConnectionString ¶
func (r *Account) PrimaryConnectionString() *pulumi.StringOutput
The connection string associated with the primary location.
func (*Account) PrimaryDfsEndpoint ¶ added in v0.18.0
func (r *Account) PrimaryDfsEndpoint() *pulumi.StringOutput
The endpoint URL for DFS storage in the primary location.
func (*Account) PrimaryDfsHost ¶ added in v0.18.0
func (r *Account) PrimaryDfsHost() *pulumi.StringOutput
The hostname with port if applicable for DFS storage in the primary location.
func (*Account) PrimaryFileEndpoint ¶
func (r *Account) PrimaryFileEndpoint() *pulumi.StringOutput
The endpoint URL for file storage in the primary location.
func (*Account) PrimaryFileHost ¶ added in v0.17.2
func (r *Account) PrimaryFileHost() *pulumi.StringOutput
The hostname with port if applicable for file storage in the primary location.
func (*Account) PrimaryLocation ¶
func (r *Account) PrimaryLocation() *pulumi.StringOutput
The primary location of the storage account.
func (*Account) PrimaryQueueEndpoint ¶
func (r *Account) PrimaryQueueEndpoint() *pulumi.StringOutput
The endpoint URL for queue storage in the primary location.
func (*Account) PrimaryQueueHost ¶ added in v0.17.2
func (r *Account) PrimaryQueueHost() *pulumi.StringOutput
The hostname with port if applicable for queue storage in the primary location.
func (*Account) PrimaryTableEndpoint ¶
func (r *Account) PrimaryTableEndpoint() *pulumi.StringOutput
The endpoint URL for table storage in the primary location.
func (*Account) PrimaryTableHost ¶ added in v0.17.2
func (r *Account) PrimaryTableHost() *pulumi.StringOutput
The hostname with port if applicable for table storage in the primary location.
func (*Account) PrimaryWebEndpoint ¶ added in v0.18.0
func (r *Account) PrimaryWebEndpoint() *pulumi.StringOutput
The endpoint URL for web storage in the primary location.
func (*Account) PrimaryWebHost ¶ added in v0.18.0
func (r *Account) PrimaryWebHost() *pulumi.StringOutput
The hostname with port if applicable for web storage in the primary location.
func (*Account) QueueProperties ¶ added in v1.0.0
A `queueProperties` block as defined below.
func (*Account) ResourceGroupName ¶
func (r *Account) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
func (*Account) SecondaryAccessKey ¶
func (r *Account) SecondaryAccessKey() *pulumi.StringOutput
The secondary access key for the storage account.
func (*Account) SecondaryBlobConnectionString ¶
func (r *Account) SecondaryBlobConnectionString() *pulumi.StringOutput
The connection string associated with the secondary blob location.
func (*Account) SecondaryBlobEndpoint ¶
func (r *Account) SecondaryBlobEndpoint() *pulumi.StringOutput
The endpoint URL for blob storage in the secondary location.
func (*Account) SecondaryBlobHost ¶ added in v0.17.2
func (r *Account) SecondaryBlobHost() *pulumi.StringOutput
The hostname with port if applicable for blob storage in the secondary location.
func (*Account) SecondaryConnectionString ¶
func (r *Account) SecondaryConnectionString() *pulumi.StringOutput
The connection string associated with the secondary location.
func (*Account) SecondaryDfsEndpoint ¶ added in v0.18.0
func (r *Account) SecondaryDfsEndpoint() *pulumi.StringOutput
The endpoint URL for DFS storage in the secondary location.
func (*Account) SecondaryDfsHost ¶ added in v0.18.0
func (r *Account) SecondaryDfsHost() *pulumi.StringOutput
The hostname with port if applicable for DFS storage in the secondary location.
func (*Account) SecondaryFileEndpoint ¶ added in v0.18.0
func (r *Account) SecondaryFileEndpoint() *pulumi.StringOutput
The endpoint URL for file storage in the secondary location.
func (*Account) SecondaryFileHost ¶ added in v0.18.0
func (r *Account) SecondaryFileHost() *pulumi.StringOutput
The hostname with port if applicable for file storage in the secondary location.
func (*Account) SecondaryLocation ¶
func (r *Account) SecondaryLocation() *pulumi.StringOutput
The secondary location of the storage account.
func (*Account) SecondaryQueueEndpoint ¶
func (r *Account) SecondaryQueueEndpoint() *pulumi.StringOutput
The endpoint URL for queue storage in the secondary location.
func (*Account) SecondaryQueueHost ¶ added in v0.17.2
func (r *Account) SecondaryQueueHost() *pulumi.StringOutput
The hostname with port if applicable for queue storage in the secondary location.
func (*Account) SecondaryTableEndpoint ¶
func (r *Account) SecondaryTableEndpoint() *pulumi.StringOutput
The endpoint URL for table storage in the secondary location.
func (*Account) SecondaryTableHost ¶ added in v0.17.2
func (r *Account) SecondaryTableHost() *pulumi.StringOutput
The hostname with port if applicable for table storage in the secondary location.
func (*Account) SecondaryWebEndpoint ¶ added in v0.18.0
func (r *Account) SecondaryWebEndpoint() *pulumi.StringOutput
The endpoint URL for web storage in the secondary location.
func (*Account) SecondaryWebHost ¶ added in v0.18.0
func (r *Account) SecondaryWebHost() *pulumi.StringOutput
The hostname with port if applicable for web storage in the secondary location.
type AccountArgs ¶
type AccountArgs struct { // Defines the access tier for `BlobStorage`, `FileStorage` and `StorageV2` accounts. Valid options are `Hot` and `Cool`, defaults to `Hot`. AccessTier interface{} // The Encryption Source for this Storage Account. Possible values are `Microsoft.Keyvault` and `Microsoft.Storage`. Defaults to `Microsoft.Storage`. AccountEncryptionSource interface{} // 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`. AccountKind interface{} // Defines the type of replication to use for this storage account. Valid options are `LRS`, `GRS`, `RAGRS` and `ZRS`. AccountReplicationType interface{} // 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. AccountTier interface{} AccountType interface{} // A `customDomain` block as documented below. CustomDomain interface{} // Boolean flag which controls if advanced threat protection is enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/common/storage-advanced-threat-protection) for more information. Defaults to `false`. EnableAdvancedThreatProtection interface{} // Boolean flag which controls if Encryption Services are enabled for Blob storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`. EnableBlobEncryption interface{} // Boolean flag which controls if Encryption Services are enabled for File storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`. EnableFileEncryption interface{} // Boolean flag which forces HTTPS if enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/) // for more information. EnableHttpsTrafficOnly interface{} // A `identity` block as defined below. Identity interface{} // Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 ([see here for more information](https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-quickstart-create-account/)). Changing this forces a new resource to be created. IsHnsEnabled interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // 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. Name interface{} // A `networkRules` block as documented below. NetworkRules interface{} // A `queueProperties` block as defined below. QueueProperties interface{} // The name of the resource group in which to create the storage account. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a Account resource.
type AccountState ¶
type AccountState struct { // Defines the access tier for `BlobStorage`, `FileStorage` and `StorageV2` accounts. Valid options are `Hot` and `Cool`, defaults to `Hot`. AccessTier interface{} // The Encryption Source for this Storage Account. Possible values are `Microsoft.Keyvault` and `Microsoft.Storage`. Defaults to `Microsoft.Storage`. AccountEncryptionSource interface{} // 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`. AccountKind interface{} // Defines the type of replication to use for this storage account. Valid options are `LRS`, `GRS`, `RAGRS` and `ZRS`. AccountReplicationType interface{} // 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. AccountTier interface{} AccountType interface{} // A `customDomain` block as documented below. CustomDomain interface{} // Boolean flag which controls if advanced threat protection is enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/common/storage-advanced-threat-protection) for more information. Defaults to `false`. EnableAdvancedThreatProtection interface{} // Boolean flag which controls if Encryption Services are enabled for Blob storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`. EnableBlobEncryption interface{} // Boolean flag which controls if Encryption Services are enabled for File storage, see [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) for more information. Defaults to `true`. EnableFileEncryption interface{} // Boolean flag which forces HTTPS if enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/) // for more information. EnableHttpsTrafficOnly interface{} // A `identity` block as defined below. Identity interface{} // Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 ([see here for more information](https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-quickstart-create-account/)). Changing this forces a new resource to be created. IsHnsEnabled interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // 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. Name interface{} // A `networkRules` block as documented below. NetworkRules interface{} // The primary access key for the storage account. PrimaryAccessKey interface{} // The connection string associated with the primary blob location. PrimaryBlobConnectionString interface{} // The endpoint URL for blob storage in the primary location. PrimaryBlobEndpoint interface{} // The hostname with port if applicable for blob storage in the primary location. PrimaryBlobHost interface{} // The connection string associated with the primary location. PrimaryConnectionString interface{} // The endpoint URL for DFS storage in the primary location. PrimaryDfsEndpoint interface{} // The hostname with port if applicable for DFS storage in the primary location. PrimaryDfsHost interface{} // The endpoint URL for file storage in the primary location. PrimaryFileEndpoint interface{} // The hostname with port if applicable for file storage in the primary location. PrimaryFileHost interface{} // The primary location of the storage account. PrimaryLocation interface{} // The endpoint URL for queue storage in the primary location. PrimaryQueueEndpoint interface{} // The hostname with port if applicable for queue storage in the primary location. PrimaryQueueHost interface{} // The endpoint URL for table storage in the primary location. PrimaryTableEndpoint interface{} // The hostname with port if applicable for table storage in the primary location. PrimaryTableHost interface{} // The endpoint URL for web storage in the primary location. PrimaryWebEndpoint interface{} // The hostname with port if applicable for web storage in the primary location. PrimaryWebHost interface{} // A `queueProperties` block as defined below. QueueProperties interface{} // The name of the resource group in which to create the storage account. Changing this forces a new resource to be created. ResourceGroupName interface{} // The secondary access key for the storage account. SecondaryAccessKey interface{} // The connection string associated with the secondary blob location. SecondaryBlobConnectionString interface{} // The endpoint URL for blob storage in the secondary location. SecondaryBlobEndpoint interface{} // The hostname with port if applicable for blob storage in the secondary location. SecondaryBlobHost interface{} // The connection string associated with the secondary location. SecondaryConnectionString interface{} // The endpoint URL for DFS storage in the secondary location. SecondaryDfsEndpoint interface{} // The hostname with port if applicable for DFS storage in the secondary location. SecondaryDfsHost interface{} // The endpoint URL for file storage in the secondary location. SecondaryFileEndpoint interface{} // The hostname with port if applicable for file storage in the secondary location. SecondaryFileHost interface{} // The secondary location of the storage account. SecondaryLocation interface{} // The endpoint URL for queue storage in the secondary location. SecondaryQueueEndpoint interface{} // The hostname with port if applicable for queue storage in the secondary location. SecondaryQueueHost interface{} // The endpoint URL for table storage in the secondary location. SecondaryTableEndpoint interface{} // The hostname with port if applicable for table storage in the secondary location. SecondaryTableHost interface{} // The endpoint URL for web storage in the secondary location. SecondaryWebEndpoint interface{} // The hostname with port if applicable for web storage in the secondary location. SecondaryWebHost interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Account resources.
type Blob ¶
type Blob struct {
// contains filtered or unexported fields
}
Manages a Blob within a Storage Container.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_blob.html.markdown.
func GetBlob ¶
func GetBlob(ctx *pulumi.Context, name string, id pulumi.ID, state *BlobState, opts ...pulumi.ResourceOpt) (*Blob, error)
GetBlob gets an existing Blob resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBlob ¶
func NewBlob(ctx *pulumi.Context, name string, args *BlobArgs, opts ...pulumi.ResourceOpt) (*Blob, error)
NewBlob registers a new resource with the given unique name, arguments, and options.
func (*Blob) AccessTier ¶ added in v1.1.0
func (r *Blob) AccessTier() *pulumi.StringOutput
The access tier of the storage blob. Possible values are `Archive`, `Cool` and `Hot`.
func (*Blob) Attempts ¶
The number of attempts to make per page or block when uploading. Defaults to `1`.
func (*Blob) ContentType ¶ added in v0.15.0
func (r *Blob) ContentType() *pulumi.StringOutput
The content type of the storage blob. Cannot be defined if `sourceUri` is defined. Defaults to `application/octet-stream`.
func (*Blob) Name ¶
func (r *Blob) Name() *pulumi.StringOutput
The name of the storage blob. Must be unique within the storage container the blob is located.
func (*Blob) Parallelism ¶
The number of workers per CPU core to run for concurrent uploads. Defaults to `8`.
func (*Blob) ResourceGroupName ¶
func (r *Blob) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the storage container.
func (*Blob) Size ¶
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.
func (*Blob) Source ¶
func (r *Blob) Source() *pulumi.StringOutput
An absolute path to a file on the local system. This field cannot be specified for Append blobs and cannot be specified if `sourceContent` or `sourceUri` is specified.
func (*Blob) SourceContent ¶ added in v1.1.0
func (r *Blob) SourceContent() *pulumi.StringOutput
The content for this blob which should be defined inline. This field can only be specified for Block blobs and cannot be specified if `source` or `sourceUri` is specified.
func (*Blob) SourceUri ¶
func (r *Blob) SourceUri() *pulumi.StringOutput
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. This field cannot be specified for Append blobs and cannot be specified if `source` or `sourceContent` is specified.
func (*Blob) StorageAccountName ¶
func (r *Blob) StorageAccountName() *pulumi.StringOutput
Specifies the storage account in which to create the storage container. Changing this forces a new resource to be created.
func (*Blob) StorageContainerName ¶
func (r *Blob) StorageContainerName() *pulumi.StringOutput
The name of the storage container in which this blob should be created.
func (*Blob) Type ¶
func (r *Blob) Type() *pulumi.StringOutput
The type of the storage blob to be created. Possible values are `Append`, `Block` or `Page`. Changing this forces a new resource to be created.
type BlobArgs ¶
type BlobArgs struct { // The access tier of the storage blob. Possible values are `Archive`, `Cool` and `Hot`. AccessTier interface{} // The number of attempts to make per page or block when uploading. Defaults to `1`. Attempts interface{} // The content type of the storage blob. Cannot be defined if `sourceUri` is defined. Defaults to `application/octet-stream`. ContentType interface{} // A map of custom blob metadata. Metadata interface{} // The name of the storage blob. Must be unique within the storage container the blob is located. Name interface{} // The number of workers per CPU core to run for concurrent uploads. Defaults to `8`. Parallelism interface{} // The name of the resource group in which to create the storage container. ResourceGroupName interface{} // 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. Size interface{} // An absolute path to a file on the local system. This field cannot be specified for Append blobs and cannot be specified if `sourceContent` or `sourceUri` is specified. Source interface{} // The content for this blob which should be defined inline. This field can only be specified for Block blobs and cannot be specified if `source` or `sourceUri` is specified. SourceContent interface{} // 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. This field cannot be specified for Append blobs and cannot be specified if `source` or `sourceContent` is specified. SourceUri interface{} // Specifies the storage account in which to create the storage container. // Changing this forces a new resource to be created. StorageAccountName interface{} // The name of the storage container in which this blob should be created. StorageContainerName interface{} // The type of the storage blob to be created. Possible values are `Append`, `Block` or `Page`. Changing this forces a new resource to be created. Type interface{} }
The set of arguments for constructing a Blob resource.
type BlobState ¶
type BlobState struct { // The access tier of the storage blob. Possible values are `Archive`, `Cool` and `Hot`. AccessTier interface{} // The number of attempts to make per page or block when uploading. Defaults to `1`. Attempts interface{} // The content type of the storage blob. Cannot be defined if `sourceUri` is defined. Defaults to `application/octet-stream`. ContentType interface{} // A map of custom blob metadata. Metadata interface{} // The name of the storage blob. Must be unique within the storage container the blob is located. Name interface{} // The number of workers per CPU core to run for concurrent uploads. Defaults to `8`. Parallelism interface{} // The name of the resource group in which to create the storage container. ResourceGroupName interface{} // 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. Size interface{} // An absolute path to a file on the local system. This field cannot be specified for Append blobs and cannot be specified if `sourceContent` or `sourceUri` is specified. Source interface{} // The content for this blob which should be defined inline. This field can only be specified for Block blobs and cannot be specified if `source` or `sourceUri` is specified. SourceContent interface{} // 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. This field cannot be specified for Append blobs and cannot be specified if `source` or `sourceContent` is specified. SourceUri interface{} // Specifies the storage account in which to create the storage container. // Changing this forces a new resource to be created. StorageAccountName interface{} // The name of the storage container in which this blob should be created. StorageContainerName interface{} // The type of the storage blob to be created. Possible values are `Append`, `Block` or `Page`. Changing this forces a new resource to be created. Type interface{} // The URL of the blob Url interface{} }
Input properties used for looking up and filtering Blob resources.
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Manages a Container within an Azure Storage Account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_container.html.markdown.
func GetContainer ¶
func GetContainer(ctx *pulumi.Context, name string, id pulumi.ID, state *ContainerState, opts ...pulumi.ResourceOpt) (*Container, error)
GetContainer gets an existing Container resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewContainer ¶
func NewContainer(ctx *pulumi.Context, name string, args *ContainerArgs, opts ...pulumi.ResourceOpt) (*Container, error)
NewContainer registers a new resource with the given unique name, arguments, and options.
func (*Container) ContainerAccessType ¶
func (r *Container) ContainerAccessType() *pulumi.StringOutput
The Access Level configured for this Container. Possible values are `blob`, `container` or `private`. Defaults to `private`.
func (*Container) HasImmutabilityPolicy ¶ added in v1.0.0
func (r *Container) HasImmutabilityPolicy() *pulumi.BoolOutput
Is there an Immutability Policy configured on this Storage Container?
func (*Container) HasLegalHold ¶ added in v1.0.0
func (r *Container) HasLegalHold() *pulumi.BoolOutput
Is there a Legal Hold configured on this Storage Container?
func (*Container) Name ¶
func (r *Container) Name() *pulumi.StringOutput
The name of the Container which should be created within the Storage Account.
func (*Container) Properties ¶
(**Deprecated**) Key-value definition of additional properties associated to the Storage Container
func (*Container) ResourceGroupName ¶
func (r *Container) ResourceGroupName() *pulumi.StringOutput
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.
func (*Container) StorageAccountName ¶
func (r *Container) StorageAccountName() *pulumi.StringOutput
The name of the Storage Account where the Container should be created.
type ContainerArgs ¶
type ContainerArgs struct { // The Access Level configured for this Container. Possible values are `blob`, `container` or `private`. Defaults to `private`. ContainerAccessType interface{} // A mapping of MetaData for this Container. Metadata interface{} // The name of the Container which should be created within the Storage Account. Name interface{} // 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. ResourceGroupName interface{} // The name of the Storage Account where the Container should be created. StorageAccountName interface{} }
The set of arguments for constructing a Container resource.
type ContainerState ¶
type ContainerState struct { // The Access Level configured for this Container. Possible values are `blob`, `container` or `private`. Defaults to `private`. ContainerAccessType interface{} // Is there an Immutability Policy configured on this Storage Container? HasImmutabilityPolicy interface{} // Is there a Legal Hold configured on this Storage Container? HasLegalHold interface{} // A mapping of MetaData for this Container. Metadata interface{} // The name of the Container which should be created within the Storage Account. Name interface{} // (**Deprecated**) Key-value definition of additional properties associated to the Storage Container Properties interface{} // 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. ResourceGroupName interface{} // The name of the Storage Account where the Container should be created. StorageAccountName interface{} }
Input properties used for looking up and filtering Container resources.
type DataLakeGen2Filesystem ¶ added in v1.2.0
type DataLakeGen2Filesystem struct {
// contains filtered or unexported fields
}
Manages a Data Lake Gen2 File System within an Azure Storage Account.
> **NOTE:** This Resource requires using Azure Active Directory to connect to Azure Storage, which in turn requires the `Storage` specific roles - which are not granted by default.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_data_lake_gen2_filesystem.html.markdown.
func GetDataLakeGen2Filesystem ¶ added in v1.2.0
func GetDataLakeGen2Filesystem(ctx *pulumi.Context, name string, id pulumi.ID, state *DataLakeGen2FilesystemState, opts ...pulumi.ResourceOpt) (*DataLakeGen2Filesystem, error)
GetDataLakeGen2Filesystem gets an existing DataLakeGen2Filesystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataLakeGen2Filesystem ¶ added in v1.2.0
func NewDataLakeGen2Filesystem(ctx *pulumi.Context, name string, args *DataLakeGen2FilesystemArgs, opts ...pulumi.ResourceOpt) (*DataLakeGen2Filesystem, error)
NewDataLakeGen2Filesystem registers a new resource with the given unique name, arguments, and options.
func (*DataLakeGen2Filesystem) ID ¶ added in v1.2.0
func (r *DataLakeGen2Filesystem) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*DataLakeGen2Filesystem) Name ¶ added in v1.2.0
func (r *DataLakeGen2Filesystem) Name() *pulumi.StringOutput
The name of the Data Lake Gen2 File System which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created.
func (*DataLakeGen2Filesystem) Properties ¶ added in v1.2.0
func (r *DataLakeGen2Filesystem) Properties() *pulumi.MapOutput
A mapping of Key to Base64-Encoded Values which should be assigned to this Data Lake Gen2 File System.
func (*DataLakeGen2Filesystem) StorageAccountId ¶ added in v1.2.0
func (r *DataLakeGen2Filesystem) StorageAccountId() *pulumi.StringOutput
Specifies the ID of the Storage Account in which the Data Lake Gen2 File System should exist. Changing this forces a new resource to be created.
func (*DataLakeGen2Filesystem) URN ¶ added in v1.2.0
func (r *DataLakeGen2Filesystem) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type DataLakeGen2FilesystemArgs ¶ added in v1.2.0
type DataLakeGen2FilesystemArgs struct { // The name of the Data Lake Gen2 File System which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created. Name interface{} // A mapping of Key to Base64-Encoded Values which should be assigned to this Data Lake Gen2 File System. Properties interface{} // Specifies the ID of the Storage Account in which the Data Lake Gen2 File System should exist. Changing this forces a new resource to be created. StorageAccountId interface{} }
The set of arguments for constructing a DataLakeGen2Filesystem resource.
type DataLakeGen2FilesystemState ¶ added in v1.2.0
type DataLakeGen2FilesystemState struct { // The name of the Data Lake Gen2 File System which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created. Name interface{} // A mapping of Key to Base64-Encoded Values which should be assigned to this Data Lake Gen2 File System. Properties interface{} // Specifies the ID of the Storage Account in which the Data Lake Gen2 File System should exist. Changing this forces a new resource to be created. StorageAccountId interface{} }
Input properties used for looking up and filtering DataLakeGen2Filesystem resources.
type GetAccountArgs ¶
type GetAccountArgs struct { // Specifies the name of the Storage Account Name interface{} // Specifies the name of the resource group the Storage Account is located in. ResourceGroupName interface{} }
A collection of arguments for invoking getAccount.
type GetAccountBlobContainerSASArgs ¶ added in v1.1.0
type GetAccountBlobContainerSASArgs struct { // The `Cache-Control` response header that is sent when this SAS token is used. CacheControl interface{} ConnectionString interface{} // Name of the container. ContainerName interface{} // The `Content-Disposition` response header that is sent when this SAS token is used. ContentDisposition interface{} // The `Content-Encoding` response header that is sent when this SAS token is used. ContentEncoding interface{} // The `Content-Language` response header that is sent when this SAS token is used. ContentLanguage interface{} // The `Content-Type` response header that is sent when this SAS token is used. ContentType interface{} // The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string. Expiry interface{} // Only permit `https` access. If `false`, both `http` and `https` are permitted. Defaults to `true`. HttpsOnly interface{} // Single ipv4 address or range (connected with a dash) of ipv4 addresses. IpAddress interface{} // A `permissions` block as defined below. Permissions interface{} // The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string. Start interface{} }
A collection of arguments for invoking getAccountBlobContainerSAS.
type GetAccountBlobContainerSASResult ¶ added in v1.1.0
type GetAccountBlobContainerSASResult struct { CacheControl interface{} ConnectionString interface{} ContainerName interface{} ContentDisposition interface{} ContentEncoding interface{} ContentLanguage interface{} ContentType interface{} Expiry interface{} HttpsOnly interface{} IpAddress interface{} Permissions interface{} // The computed Blob Container Shared Access Signature (SAS). Sas interface{} Start interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getAccountBlobContainerSAS.
func LookupAccountBlobContainerSAS ¶ added in v1.1.0
func LookupAccountBlobContainerSAS(ctx *pulumi.Context, args *GetAccountBlobContainerSASArgs) (*GetAccountBlobContainerSASResult, error)
Use this data source to obtain a Shared Access Signature (SAS Token) for an existing Storage Account Blob Container.
Shared access signatures allow fine-grained, ephemeral access control to various aspects of an Azure Storage Account Blob Container.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/storage_account_blob_container_sas.html.markdown.
type GetAccountResult ¶
type GetAccountResult struct { // The access tier for `BlobStorage` accounts. AccessTier interface{} // The Encryption Source for this Storage Account. AccountEncryptionSource interface{} // The Kind of account. AccountKind interface{} // The type of replication used for this storage account. AccountReplicationType interface{} // The Tier of this storage account. AccountTier interface{} // A `customDomain` block as documented below. CustomDomain interface{} // Are Encryption Services are enabled for Blob storage? See [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) // for more information. EnableBlobEncryption interface{} // Are Encryption Services are enabled for File storage? See [here](https://azure.microsoft.com/en-us/documentation/articles/storage-service-encryption/) // for more information. EnableFileEncryption interface{} // Is traffic only allowed via HTTPS? See [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/) // for more information. EnableHttpsTrafficOnly interface{} // Is Hierarchical Namespace enabled? IsHnsEnabled interface{} // The Azure location where the Storage Account exists Location interface{} // The Custom Domain Name used for the Storage Account. Name interface{} // The primary access key for the Storage Account. PrimaryAccessKey interface{} // The connection string associated with the primary blob location PrimaryBlobConnectionString interface{} // The endpoint URL for blob storage in the primary location. PrimaryBlobEndpoint interface{} // The hostname with port if applicable for blob storage in the primary location. PrimaryBlobHost interface{} // The connection string associated with the primary location PrimaryConnectionString interface{} // The endpoint URL for DFS storage in the primary location. PrimaryDfsEndpoint interface{} // The hostname with port if applicable for DFS storage in the primary location. PrimaryDfsHost interface{} // The endpoint URL for file storage in the primary location. PrimaryFileEndpoint interface{} // The hostname with port if applicable for file storage in the primary location. PrimaryFileHost interface{} // The primary location of the Storage Account. PrimaryLocation interface{} // The endpoint URL for queue storage in the primary location. PrimaryQueueEndpoint interface{} // The hostname with port if applicable for queue storage in the primary location. PrimaryQueueHost interface{} // The endpoint URL for table storage in the primary location. PrimaryTableEndpoint interface{} // The hostname with port if applicable for table storage in the primary location. PrimaryTableHost interface{} // The endpoint URL for web storage in the primary location. PrimaryWebEndpoint interface{} // The hostname with port if applicable for web storage in the primary location. PrimaryWebHost interface{} ResourceGroupName interface{} // The secondary access key for the Storage Account. SecondaryAccessKey interface{} // The connection string associated with the secondary blob location SecondaryBlobConnectionString interface{} // The endpoint URL for blob storage in the secondary location. SecondaryBlobEndpoint interface{} // The hostname with port if applicable for blob storage in the secondary location. SecondaryBlobHost interface{} // The connection string associated with the secondary location SecondaryConnectionString interface{} // The endpoint URL for DFS storage in the secondary location. SecondaryDfsEndpoint interface{} // The hostname with port if applicable for DFS storage in the secondary location. SecondaryDfsHost interface{} // The endpoint URL for file storage in the secondary location. SecondaryFileEndpoint interface{} // The hostname with port if applicable for file storage in the secondary location. SecondaryFileHost interface{} // The secondary location of the Storage Account. SecondaryLocation interface{} // The endpoint URL for queue storage in the secondary location. SecondaryQueueEndpoint interface{} // The hostname with port if applicable for queue storage in the secondary location. SecondaryQueueHost interface{} // The endpoint URL for table storage in the secondary location. SecondaryTableEndpoint interface{} // The hostname with port if applicable for table storage in the secondary location. SecondaryTableHost interface{} // The endpoint URL for web storage in the secondary location. SecondaryWebEndpoint interface{} // The hostname with port if applicable for web storage in the secondary location. SecondaryWebHost interface{} // A mapping of tags to assigned to the resource. Tags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getAccount.
func LookupAccount ¶
func LookupAccount(ctx *pulumi.Context, args *GetAccountArgs) (*GetAccountResult, error)
Use this data source to access information about an existing Storage Account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/storage_account.html.markdown.
type GetAccountSASArgs ¶
type GetAccountSASArgs struct { // The connection string for the storage account to which this SAS applies. Typically directly from the `primaryConnectionString` attribute of a `storage.Account` resource. ConnectionString interface{} // The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string. Expiry interface{} // Only permit `https` access. If `false`, both `http` and `https` are permitted. Defaults to `true`. HttpsOnly interface{} // A `permissions` block as defined below. Permissions interface{} // A `resourceTypes` block as defined below. ResourceTypes interface{} // A `services` block as defined below. Services interface{} // The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string. Start interface{} }
A collection of arguments for invoking getAccountSAS.
type GetAccountSASResult ¶
type GetAccountSASResult struct { ConnectionString interface{} Expiry interface{} HttpsOnly interface{} Permissions interface{} ResourceTypes interface{} // The computed Account Shared Access Signature (SAS). Sas interface{} Services interface{} Start interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getAccountSAS.
func LookupAccountSAS ¶
func LookupAccountSAS(ctx *pulumi.Context, args *GetAccountSASArgs) (*GetAccountSASResult, error)
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](https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-an-account-sas) and *not* a [Service SAS](https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas).
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/storage_account_sas.html.markdown.
type GetPolicyArgs ¶ added in v1.2.0
type GetPolicyArgs struct {
// Specifies the id of the storage account to retrieve the management policy for.
StorageAccountId interface{}
}
A collection of arguments for invoking getPolicy.
type GetPolicyResult ¶ added in v1.2.0
type GetPolicyResult struct { // A `rule` block as documented below. Rules interface{} StorageAccountId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getPolicy.
func LookupPolicy ¶ added in v1.2.0
func LookupPolicy(ctx *pulumi.Context, args *GetPolicyArgs) (*GetPolicyResult, error)
Use this data source to access information about an existing Storage Management Policy.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/storage_management_policy.html.markdown.
type ManagementPolicy ¶ added in v1.2.0
type ManagementPolicy struct {
// contains filtered or unexported fields
}
Manages an Azure Storage Account Management Policy.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_management_policy.html.markdown.
func GetManagementPolicy ¶ added in v1.2.0
func GetManagementPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *ManagementPolicyState, opts ...pulumi.ResourceOpt) (*ManagementPolicy, error)
GetManagementPolicy gets an existing ManagementPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewManagementPolicy ¶ added in v1.2.0
func NewManagementPolicy(ctx *pulumi.Context, name string, args *ManagementPolicyArgs, opts ...pulumi.ResourceOpt) (*ManagementPolicy, error)
NewManagementPolicy registers a new resource with the given unique name, arguments, and options.
func (*ManagementPolicy) ID ¶ added in v1.2.0
func (r *ManagementPolicy) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ManagementPolicy) Rules ¶ added in v1.2.0
func (r *ManagementPolicy) Rules() *pulumi.ArrayOutput
A `rule` block as documented below.
func (*ManagementPolicy) StorageAccountId ¶ added in v1.2.0
func (r *ManagementPolicy) StorageAccountId() *pulumi.StringOutput
Specifies the id of the storage account to apply the management policy to.
func (*ManagementPolicy) URN ¶ added in v1.2.0
func (r *ManagementPolicy) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ManagementPolicyArgs ¶ added in v1.2.0
type ManagementPolicyArgs struct { // A `rule` block as documented below. Rules interface{} // Specifies the id of the storage account to apply the management policy to. StorageAccountId interface{} }
The set of arguments for constructing a ManagementPolicy resource.
type ManagementPolicyState ¶ added in v1.2.0
type ManagementPolicyState struct { // A `rule` block as documented below. Rules interface{} // Specifies the id of the storage account to apply the management policy to. StorageAccountId interface{} }
Input properties used for looking up and filtering ManagementPolicy resources.
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Manages a Queue within an Azure Storage Account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_queue.html.markdown.
func GetQueue ¶
func GetQueue(ctx *pulumi.Context, name string, id pulumi.ID, state *QueueState, opts ...pulumi.ResourceOpt) (*Queue, error)
GetQueue gets an existing Queue resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewQueue ¶
func NewQueue(ctx *pulumi.Context, name string, args *QueueArgs, opts ...pulumi.ResourceOpt) (*Queue, error)
NewQueue registers a new resource with the given unique name, arguments, and options.
func (*Queue) Metadata ¶ added in v1.0.0
A mapping of MetaData which should be assigned to this Storage Queue.
func (*Queue) Name ¶
func (r *Queue) Name() *pulumi.StringOutput
The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located.
func (*Queue) ResourceGroupName ¶
func (r *Queue) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the storage queue.
func (*Queue) StorageAccountName ¶
func (r *Queue) StorageAccountName() *pulumi.StringOutput
Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.
type QueueArgs ¶
type QueueArgs struct { // A mapping of MetaData which should be assigned to this Storage Queue. Metadata interface{} // The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located. Name interface{} // The name of the resource group in which to create the storage queue. ResourceGroupName interface{} // Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created. StorageAccountName interface{} }
The set of arguments for constructing a Queue resource.
type QueueState ¶
type QueueState struct { // A mapping of MetaData which should be assigned to this Storage Queue. Metadata interface{} // The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located. Name interface{} // The name of the resource group in which to create the storage queue. ResourceGroupName interface{} // Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created. StorageAccountName interface{} }
Input properties used for looking up and filtering Queue resources.
type Share ¶
type Share struct {
// contains filtered or unexported fields
}
Manages a File Share within Azure Storage.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_share.html.markdown.
func GetShare ¶
func GetShare(ctx *pulumi.Context, name string, id pulumi.ID, state *ShareState, opts ...pulumi.ResourceOpt) (*Share, error)
GetShare gets an existing Share resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewShare ¶
func NewShare(ctx *pulumi.Context, name string, args *ShareArgs, opts ...pulumi.ResourceOpt) (*Share, error)
NewShare registers a new resource with the given unique name, arguments, and options.
func (*Share) Acls ¶ added in v1.0.0
func (r *Share) Acls() *pulumi.ArrayOutput
One or more `acl` blocks as defined below.
func (*Share) Name ¶
func (r *Share) Name() *pulumi.StringOutput
The name of the share. Must be unique within the storage account where the share is located.
func (*Share) Quota ¶
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.
func (*Share) ResourceGroupName ¶
func (r *Share) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the share. Changing this forces a new resource to be created.
func (*Share) StorageAccountName ¶
func (r *Share) StorageAccountName() *pulumi.StringOutput
Specifies the storage account in which to create the share. Changing this forces a new resource to be created.
type ShareArgs ¶
type ShareArgs struct { // create the share. Changing this forces a new resource to be created. ResourceGroupName interface{} // Changing this forces a new resource to be created. StorageAccountName interface{} }Acls interface{} Metadata interface{} Name interface{} Quota interface{}
The set of arguments for constructing a Share resource.
type ShareDirectory ¶ added in v1.0.0
type ShareDirectory struct {
// contains filtered or unexported fields
}
Manages a Directory within an Azure Storage File Share.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_share_directory.html.markdown.
func GetShareDirectory ¶ added in v1.0.0
func GetShareDirectory(ctx *pulumi.Context, name string, id pulumi.ID, state *ShareDirectoryState, opts ...pulumi.ResourceOpt) (*ShareDirectory, error)
GetShareDirectory gets an existing ShareDirectory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewShareDirectory ¶ added in v1.0.0
func NewShareDirectory(ctx *pulumi.Context, name string, args *ShareDirectoryArgs, opts ...pulumi.ResourceOpt) (*ShareDirectory, error)
NewShareDirectory registers a new resource with the given unique name, arguments, and options.
func (*ShareDirectory) ID ¶ added in v1.0.0
func (r *ShareDirectory) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ShareDirectory) Metadata ¶ added in v1.0.0
func (r *ShareDirectory) Metadata() *pulumi.MapOutput
A mapping of metadata to assign to this Directory.
func (*ShareDirectory) Name ¶ added in v1.0.0
func (r *ShareDirectory) Name() *pulumi.StringOutput
The name (or path) of the Directory that should be created within this File Share. Changing this forces a new resource to be created.
func (*ShareDirectory) ShareName ¶ added in v1.0.0
func (r *ShareDirectory) ShareName() *pulumi.StringOutput
The name of the File Share where this Directory should be created. Changing this forces a new resource to be created.
func (*ShareDirectory) StorageAccountName ¶ added in v1.0.0
func (r *ShareDirectory) StorageAccountName() *pulumi.StringOutput
The name of the Storage Account within which the File Share is located. Changing this forces a new resource to be created.
func (*ShareDirectory) URN ¶ added in v1.0.0
func (r *ShareDirectory) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ShareDirectoryArgs ¶ added in v1.0.0
type ShareDirectoryArgs struct {Metadata interface{} Name interface{} ShareName interface{} StorageAccountName interface{} }
The set of arguments for constructing a ShareDirectory resource.
type ShareDirectoryState ¶ added in v1.0.0
type ShareDirectoryState struct {Metadata interface{} Name interface{} ShareName interface{} StorageAccountName interface{} }
Input properties used for looking up and filtering ShareDirectory resources.
type ShareState ¶
type ShareState struct { // create the share. Changing this forces a new resource to be created. ResourceGroupName interface{} // Changing this forces a new resource to be created. StorageAccountName interface{} Url interface{} }Acls interface{} Metadata interface{} Name interface{} Quota interface{}
Input properties used for looking up and filtering Share resources.
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Manages a Table within an Azure Storage Account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_table.html.markdown.
func GetTable ¶
func GetTable(ctx *pulumi.Context, name string, id pulumi.ID, state *TableState, opts ...pulumi.ResourceOpt) (*Table, error)
GetTable gets an existing Table resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTable ¶
func NewTable(ctx *pulumi.Context, name string, args *TableArgs, opts ...pulumi.ResourceOpt) (*Table, error)
NewTable registers a new resource with the given unique name, arguments, and options.
func (*Table) Acls ¶ added in v1.0.0
func (r *Table) Acls() *pulumi.ArrayOutput
One or more `acl` blocks as defined below.
func (*Table) Name ¶
func (r *Table) Name() *pulumi.StringOutput
The name of the storage table. Must be unique within the storage account the table is located.
func (*Table) ResourceGroupName ¶
func (r *Table) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the storage table.
func (*Table) StorageAccountName ¶
func (r *Table) StorageAccountName() *pulumi.StringOutput
Specifies the storage account in which to create the storage table. Changing this forces a new resource to be created.
type TableArgs ¶
type TableArgs struct { // One or more `acl` blocks as defined below. Acls interface{} // The name of the storage table. Must be unique within the storage account the table is located. Name interface{} // The name of the resource group in which to create the storage table. ResourceGroupName interface{} // Specifies the storage account in which to create the storage table. // Changing this forces a new resource to be created. StorageAccountName interface{} }
The set of arguments for constructing a Table resource.
type TableEntity ¶ added in v1.0.0
type TableEntity struct {
// contains filtered or unexported fields
}
Manages an Entity within a Table in an Azure Storage Account.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/storage_table_entity.html.markdown.
func GetTableEntity ¶ added in v1.0.0
func GetTableEntity(ctx *pulumi.Context, name string, id pulumi.ID, state *TableEntityState, opts ...pulumi.ResourceOpt) (*TableEntity, error)
GetTableEntity gets an existing TableEntity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTableEntity ¶ added in v1.0.0
func NewTableEntity(ctx *pulumi.Context, name string, args *TableEntityArgs, opts ...pulumi.ResourceOpt) (*TableEntity, error)
NewTableEntity registers a new resource with the given unique name, arguments, and options.
func (*TableEntity) Entity ¶ added in v1.0.0
func (r *TableEntity) Entity() *pulumi.MapOutput
A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
func (*TableEntity) ID ¶ added in v1.0.0
func (r *TableEntity) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TableEntity) PartitionKey ¶ added in v1.0.0
func (r *TableEntity) PartitionKey() *pulumi.StringOutput
The key for the partition where the entity will be inserted/merged. Changing this forces a new resource.
func (*TableEntity) RowKey ¶ added in v1.0.0
func (r *TableEntity) RowKey() *pulumi.StringOutput
The key for the row where the entity will be inserted/merged. Changing this forces a new resource.
func (*TableEntity) StorageAccountName ¶ added in v1.0.0
func (r *TableEntity) StorageAccountName() *pulumi.StringOutput
Specifies the storage account in which to create the storage table entity. Changing this forces a new resource to be created.
func (*TableEntity) TableName ¶ added in v1.0.0
func (r *TableEntity) TableName() *pulumi.StringOutput
The name of the storage table in which to create the storage table entity. Changing this forces a new resource to be created.
func (*TableEntity) URN ¶ added in v1.0.0
func (r *TableEntity) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type TableEntityArgs ¶ added in v1.0.0
type TableEntityArgs struct { // A map of key/value pairs that describe the entity to be inserted/merged in to the storage table. Entity interface{} // The key for the partition where the entity will be inserted/merged. Changing this forces a new resource. PartitionKey interface{} // The key for the row where the entity will be inserted/merged. Changing this forces a new resource. RowKey interface{} // Specifies the storage account in which to create the storage table entity. // Changing this forces a new resource to be created. StorageAccountName interface{} // The name of the storage table in which to create the storage table entity. // Changing this forces a new resource to be created. TableName interface{} }
The set of arguments for constructing a TableEntity resource.
type TableEntityState ¶ added in v1.0.0
type TableEntityState struct { // A map of key/value pairs that describe the entity to be inserted/merged in to the storage table. Entity interface{} // The key for the partition where the entity will be inserted/merged. Changing this forces a new resource. PartitionKey interface{} // The key for the row where the entity will be inserted/merged. Changing this forces a new resource. RowKey interface{} // Specifies the storage account in which to create the storage table entity. // Changing this forces a new resource to be created. StorageAccountName interface{} // The name of the storage table in which to create the storage table entity. // Changing this forces a new resource to be created. TableName interface{} }
Input properties used for looking up and filtering TableEntity resources.
type TableState ¶
type TableState struct { // One or more `acl` blocks as defined below. Acls interface{} // The name of the storage table. Must be unique within the storage account the table is located. Name interface{} // The name of the resource group in which to create the storage table. ResourceGroupName interface{} // Specifies the storage account in which to create the storage table. // Changing this forces a new resource to be created. StorageAccountName interface{} }
Input properties used for looking up and filtering Table resources.
type ZipBlob ¶
type ZipBlob struct {
// contains filtered or unexported fields
}
func GetZipBlob ¶
func GetZipBlob(ctx *pulumi.Context, name string, id pulumi.ID, state *ZipBlobState, opts ...pulumi.ResourceOpt) (*ZipBlob, error)
GetZipBlob gets an existing ZipBlob resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZipBlob ¶
func NewZipBlob(ctx *pulumi.Context, name string, args *ZipBlobArgs, opts ...pulumi.ResourceOpt) (*ZipBlob, error)
NewZipBlob registers a new resource with the given unique name, arguments, and options.
func (*ZipBlob) AccessTier ¶ added in v1.1.0
func (r *ZipBlob) AccessTier() *pulumi.StringOutput
func (*ZipBlob) Content ¶
func (r *ZipBlob) Content() *pulumi.StringOutput
func (*ZipBlob) ContentType ¶ added in v0.15.0
func (r *ZipBlob) ContentType() *pulumi.StringOutput
func (*ZipBlob) Name ¶
func (r *ZipBlob) Name() *pulumi.StringOutput
func (*ZipBlob) Parallelism ¶
func (*ZipBlob) ResourceGroupName ¶
func (r *ZipBlob) ResourceGroupName() *pulumi.StringOutput
func (*ZipBlob) SourceContent ¶ added in v1.1.0
func (r *ZipBlob) SourceContent() *pulumi.StringOutput
func (*ZipBlob) SourceUri ¶
func (r *ZipBlob) SourceUri() *pulumi.StringOutput
func (*ZipBlob) StorageAccountName ¶
func (r *ZipBlob) StorageAccountName() *pulumi.StringOutput
func (*ZipBlob) StorageContainerName ¶
func (r *ZipBlob) StorageContainerName() *pulumi.StringOutput
func (*ZipBlob) Type ¶
func (r *ZipBlob) Type() *pulumi.StringOutput
func (*ZipBlob) Url ¶
func (r *ZipBlob) Url() *pulumi.StringOutput
type ZipBlobArgs ¶
type ZipBlobArgs struct { AccessTier interface{} Attempts interface{} ContentType interface{} Metadata interface{} Name interface{} Parallelism interface{} ResourceGroupName interface{} Size interface{} Content interface{} SourceContent interface{} SourceUri interface{} StorageAccountName interface{} StorageContainerName interface{} Type interface{} }
The set of arguments for constructing a ZipBlob resource.
type ZipBlobState ¶
type ZipBlobState struct { AccessTier interface{} Attempts interface{} ContentType interface{} Metadata interface{} Name interface{} Parallelism interface{} ResourceGroupName interface{} Size interface{} Content interface{} SourceContent interface{} SourceUri interface{} StorageAccountName interface{} StorageContainerName interface{} Type interface{} Url interface{} }
Input properties used for looking up and filtering ZipBlob resources.