storage

package
v3.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// Defines the access tier for `BlobStorage`, `FileStorage` and `StorageV2` accounts. Valid options are `Hot` and `Cool`, defaults to `Hot`.
	AccessTier pulumi.StringOutput `pulumi:"accessTier"`
	// 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 `StorageV2`.
	AccountKind pulumi.StringPtrOutput `pulumi:"accountKind"`
	// Defines the type of replication to use for this storage account. Valid options are `LRS`, `GRS`, `RAGRS`, `ZRS`, `GZRS` and `RAGZRS`.
	AccountReplicationType pulumi.StringOutput `pulumi:"accountReplicationType"`
	// Defines the Tier to use for this storage account. Valid options are `Standard` and `Premium`. For `BlockBlobStorage` and `FileStorage` accounts only `Premium` is valid. Changing this forces a new resource to be created.
	AccountTier pulumi.StringOutput `pulumi:"accountTier"`
	// Allow or disallow public access to all blobs or containers in the storage account. Defaults to `false`.
	AllowBlobPublicAccess pulumi.BoolPtrOutput `pulumi:"allowBlobPublicAccess"`
	// A `blobProperties` block as defined below.
	BlobProperties AccountBlobPropertiesOutput `pulumi:"blobProperties"`
	// A `customDomain` block as documented below.
	CustomDomain AccountCustomDomainPtrOutput `pulumi:"customDomain"`
	// Boolean flag which forces HTTPS if enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/)
	// for more information. Defaults to `true`.
	EnableHttpsTrafficOnly pulumi.BoolPtrOutput `pulumi:"enableHttpsTrafficOnly"`
	// A `identity` block as defined below.
	Identity AccountIdentityOutput `pulumi:"identity"`
	// 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 pulumi.BoolPtrOutput `pulumi:"isHnsEnabled"`
	// Is Large File Share Enabled?
	LargeFileShareEnabled pulumi.BoolOutput `pulumi:"largeFileShareEnabled"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The minimum supported TLS version for the storage account. Possible values are `TLS1_0`, `TLS1_1`, and `TLS1_2`. Defaults to `TLS1_0` for new storage accounts.
	MinTlsVersion pulumi.StringPtrOutput `pulumi:"minTlsVersion"`
	// 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 pulumi.StringOutput `pulumi:"name"`
	// A `networkRules` block as documented below.
	NetworkRules AccountNetworkRulesTypeOutput `pulumi:"networkRules"`
	// The primary access key for the storage account.
	PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"`
	// The connection string associated with the primary blob location.
	PrimaryBlobConnectionString pulumi.StringOutput `pulumi:"primaryBlobConnectionString"`
	// The endpoint URL for blob storage in the primary location.
	PrimaryBlobEndpoint pulumi.StringOutput `pulumi:"primaryBlobEndpoint"`
	// The hostname with port if applicable for blob storage in the primary location.
	PrimaryBlobHost pulumi.StringOutput `pulumi:"primaryBlobHost"`
	// The connection string associated with the primary location.
	PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"`
	// The endpoint URL for DFS storage in the primary location.
	PrimaryDfsEndpoint pulumi.StringOutput `pulumi:"primaryDfsEndpoint"`
	// The hostname with port if applicable for DFS storage in the primary location.
	PrimaryDfsHost pulumi.StringOutput `pulumi:"primaryDfsHost"`
	// The endpoint URL for file storage in the primary location.
	PrimaryFileEndpoint pulumi.StringOutput `pulumi:"primaryFileEndpoint"`
	// The hostname with port if applicable for file storage in the primary location.
	PrimaryFileHost pulumi.StringOutput `pulumi:"primaryFileHost"`
	// The primary location of the storage account.
	PrimaryLocation pulumi.StringOutput `pulumi:"primaryLocation"`
	// The endpoint URL for queue storage in the primary location.
	PrimaryQueueEndpoint pulumi.StringOutput `pulumi:"primaryQueueEndpoint"`
	// The hostname with port if applicable for queue storage in the primary location.
	PrimaryQueueHost pulumi.StringOutput `pulumi:"primaryQueueHost"`
	// The endpoint URL for table storage in the primary location.
	PrimaryTableEndpoint pulumi.StringOutput `pulumi:"primaryTableEndpoint"`
	// The hostname with port if applicable for table storage in the primary location.
	PrimaryTableHost pulumi.StringOutput `pulumi:"primaryTableHost"`
	// The endpoint URL for web storage in the primary location.
	PrimaryWebEndpoint pulumi.StringOutput `pulumi:"primaryWebEndpoint"`
	// The hostname with port if applicable for web storage in the primary location.
	PrimaryWebHost pulumi.StringOutput `pulumi:"primaryWebHost"`
	// A `queueProperties` block as defined below.
	QueueProperties AccountQueuePropertiesOutput `pulumi:"queueProperties"`
	// The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The secondary access key for the storage account.
	SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"`
	// The connection string associated with the secondary blob location.
	SecondaryBlobConnectionString pulumi.StringOutput `pulumi:"secondaryBlobConnectionString"`
	// The endpoint URL for blob storage in the secondary location.
	SecondaryBlobEndpoint pulumi.StringOutput `pulumi:"secondaryBlobEndpoint"`
	// The hostname with port if applicable for blob storage in the secondary location.
	SecondaryBlobHost pulumi.StringOutput `pulumi:"secondaryBlobHost"`
	// The connection string associated with the secondary location.
	SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"`
	// The endpoint URL for DFS storage in the secondary location.
	SecondaryDfsEndpoint pulumi.StringOutput `pulumi:"secondaryDfsEndpoint"`
	// The hostname with port if applicable for DFS storage in the secondary location.
	SecondaryDfsHost pulumi.StringOutput `pulumi:"secondaryDfsHost"`
	// The endpoint URL for file storage in the secondary location.
	SecondaryFileEndpoint pulumi.StringOutput `pulumi:"secondaryFileEndpoint"`
	// The hostname with port if applicable for file storage in the secondary location.
	SecondaryFileHost pulumi.StringOutput `pulumi:"secondaryFileHost"`
	// The secondary location of the storage account.
	SecondaryLocation pulumi.StringOutput `pulumi:"secondaryLocation"`
	// The endpoint URL for queue storage in the secondary location.
	SecondaryQueueEndpoint pulumi.StringOutput `pulumi:"secondaryQueueEndpoint"`
	// The hostname with port if applicable for queue storage in the secondary location.
	SecondaryQueueHost pulumi.StringOutput `pulumi:"secondaryQueueHost"`
	// The endpoint URL for table storage in the secondary location.
	SecondaryTableEndpoint pulumi.StringOutput `pulumi:"secondaryTableEndpoint"`
	// The hostname with port if applicable for table storage in the secondary location.
	SecondaryTableHost pulumi.StringOutput `pulumi:"secondaryTableHost"`
	// The endpoint URL for web storage in the secondary location.
	SecondaryWebEndpoint pulumi.StringOutput `pulumi:"secondaryWebEndpoint"`
	// The hostname with port if applicable for web storage in the secondary location.
	SecondaryWebHost pulumi.StringOutput `pulumi:"secondaryWebHost"`
	// A `staticWebsite` block as defined below.
	StaticWebsite AccountStaticWebsitePtrOutput `pulumi:"staticWebsite"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Azure Storage Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("staging"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Network Rules

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
			ServiceEndpoints: pulumi.StringArray{
				pulumi.String("Microsoft.Sql"),
				pulumi.String("Microsoft.Storage"),
			},
		})
		if err != nil {
			return err
		}
		_, err = storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			NetworkRules: &storage.AccountNetworkRulesArgs{
				DefaultAction: pulumi.String("Deny"),
				IpRules: pulumi.StringArray{
					pulumi.String("100.0.0.1"),
				},
				VirtualNetworkSubnetIds: pulumi.StringArray{
					exampleSubnet.ID(),
				},
			},
			Tags: pulumi.StringMap{
				"environment": pulumi.String("staging"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Accounts can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/account:Account storageAcc1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount

```

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Account, error)

NewAccount registers a new resource with the given unique name, arguments, and options.

func (Account) ElementType added in v3.31.1

func (Account) ElementType() reflect.Type

func (Account) ToAccountOutput added in v3.31.1

func (i Account) ToAccountOutput() AccountOutput

func (Account) ToAccountOutputWithContext added in v3.31.1

func (i Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

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 pulumi.StringPtrInput
	// 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 `StorageV2`.
	AccountKind pulumi.StringPtrInput
	// Defines the type of replication to use for this storage account. Valid options are `LRS`, `GRS`, `RAGRS`, `ZRS`, `GZRS` and `RAGZRS`.
	AccountReplicationType pulumi.StringInput
	// Defines the Tier to use for this storage account. Valid options are `Standard` and `Premium`. For `BlockBlobStorage` and `FileStorage` accounts only `Premium` is valid. Changing this forces a new resource to be created.
	AccountTier pulumi.StringInput
	// Allow or disallow public access to all blobs or containers in the storage account. Defaults to `false`.
	AllowBlobPublicAccess pulumi.BoolPtrInput
	// A `blobProperties` block as defined below.
	BlobProperties AccountBlobPropertiesPtrInput
	// A `customDomain` block as documented below.
	CustomDomain AccountCustomDomainPtrInput
	// Boolean flag which forces HTTPS if enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/)
	// for more information. Defaults to `true`.
	EnableHttpsTrafficOnly pulumi.BoolPtrInput
	// A `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// 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 pulumi.BoolPtrInput
	// Is Large File Share Enabled?
	LargeFileShareEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The minimum supported TLS version for the storage account. Possible values are `TLS1_0`, `TLS1_1`, and `TLS1_2`. Defaults to `TLS1_0` for new storage accounts.
	MinTlsVersion pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// A `networkRules` block as documented below.
	NetworkRules AccountNetworkRulesTypePtrInput
	// A `queueProperties` block as defined below.
	QueueProperties AccountQueuePropertiesPtrInput
	// The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `staticWebsite` block as defined below.
	StaticWebsite AccountStaticWebsitePtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountBlobProperties

type AccountBlobProperties struct {
	// A `corsRule` block as defined below.
	CorsRules []AccountBlobPropertiesCorsRule `pulumi:"corsRules"`
	// A `deleteRetentionPolicy` block as defined below.
	DeleteRetentionPolicy *AccountBlobPropertiesDeleteRetentionPolicy `pulumi:"deleteRetentionPolicy"`
}

type AccountBlobPropertiesArgs

type AccountBlobPropertiesArgs struct {
	// A `corsRule` block as defined below.
	CorsRules AccountBlobPropertiesCorsRuleArrayInput `pulumi:"corsRules"`
	// A `deleteRetentionPolicy` block as defined below.
	DeleteRetentionPolicy AccountBlobPropertiesDeleteRetentionPolicyPtrInput `pulumi:"deleteRetentionPolicy"`
}

func (AccountBlobPropertiesArgs) ElementType

func (AccountBlobPropertiesArgs) ElementType() reflect.Type

func (AccountBlobPropertiesArgs) ToAccountBlobPropertiesOutput

func (i AccountBlobPropertiesArgs) ToAccountBlobPropertiesOutput() AccountBlobPropertiesOutput

func (AccountBlobPropertiesArgs) ToAccountBlobPropertiesOutputWithContext

func (i AccountBlobPropertiesArgs) ToAccountBlobPropertiesOutputWithContext(ctx context.Context) AccountBlobPropertiesOutput

func (AccountBlobPropertiesArgs) ToAccountBlobPropertiesPtrOutput

func (i AccountBlobPropertiesArgs) ToAccountBlobPropertiesPtrOutput() AccountBlobPropertiesPtrOutput

func (AccountBlobPropertiesArgs) ToAccountBlobPropertiesPtrOutputWithContext

func (i AccountBlobPropertiesArgs) ToAccountBlobPropertiesPtrOutputWithContext(ctx context.Context) AccountBlobPropertiesPtrOutput

type AccountBlobPropertiesCorsRule

type AccountBlobPropertiesCorsRule struct {
	// A list of headers that are allowed to be a part of the cross-origin request.
	AllowedHeaders []string `pulumi:"allowedHeaders"`
	// A list of http headers that are allowed to be executed by the origin. Valid options are
	// `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// A list of origin domains that will be allowed by CORS.
	AllowedOrigins []string `pulumi:"allowedOrigins"`
	// A list of response headers that are exposed to CORS clients.
	ExposedHeaders []string `pulumi:"exposedHeaders"`
	// The number of seconds the client should cache a preflight response.
	MaxAgeInSeconds int `pulumi:"maxAgeInSeconds"`
}

type AccountBlobPropertiesCorsRuleArgs

type AccountBlobPropertiesCorsRuleArgs struct {
	// A list of headers that are allowed to be a part of the cross-origin request.
	AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"`
	// A list of http headers that are allowed to be executed by the origin. Valid options are
	// `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// A list of origin domains that will be allowed by CORS.
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
	// A list of response headers that are exposed to CORS clients.
	ExposedHeaders pulumi.StringArrayInput `pulumi:"exposedHeaders"`
	// The number of seconds the client should cache a preflight response.
	MaxAgeInSeconds pulumi.IntInput `pulumi:"maxAgeInSeconds"`
}

func (AccountBlobPropertiesCorsRuleArgs) ElementType

func (AccountBlobPropertiesCorsRuleArgs) ToAccountBlobPropertiesCorsRuleOutput

func (i AccountBlobPropertiesCorsRuleArgs) ToAccountBlobPropertiesCorsRuleOutput() AccountBlobPropertiesCorsRuleOutput

func (AccountBlobPropertiesCorsRuleArgs) ToAccountBlobPropertiesCorsRuleOutputWithContext

func (i AccountBlobPropertiesCorsRuleArgs) ToAccountBlobPropertiesCorsRuleOutputWithContext(ctx context.Context) AccountBlobPropertiesCorsRuleOutput

type AccountBlobPropertiesCorsRuleArray

type AccountBlobPropertiesCorsRuleArray []AccountBlobPropertiesCorsRuleInput

func (AccountBlobPropertiesCorsRuleArray) ElementType

func (AccountBlobPropertiesCorsRuleArray) ToAccountBlobPropertiesCorsRuleArrayOutput

func (i AccountBlobPropertiesCorsRuleArray) ToAccountBlobPropertiesCorsRuleArrayOutput() AccountBlobPropertiesCorsRuleArrayOutput

func (AccountBlobPropertiesCorsRuleArray) ToAccountBlobPropertiesCorsRuleArrayOutputWithContext

func (i AccountBlobPropertiesCorsRuleArray) ToAccountBlobPropertiesCorsRuleArrayOutputWithContext(ctx context.Context) AccountBlobPropertiesCorsRuleArrayOutput

type AccountBlobPropertiesCorsRuleArrayInput

type AccountBlobPropertiesCorsRuleArrayInput interface {
	pulumi.Input

	ToAccountBlobPropertiesCorsRuleArrayOutput() AccountBlobPropertiesCorsRuleArrayOutput
	ToAccountBlobPropertiesCorsRuleArrayOutputWithContext(context.Context) AccountBlobPropertiesCorsRuleArrayOutput
}

AccountBlobPropertiesCorsRuleArrayInput is an input type that accepts AccountBlobPropertiesCorsRuleArray and AccountBlobPropertiesCorsRuleArrayOutput values. You can construct a concrete instance of `AccountBlobPropertiesCorsRuleArrayInput` via:

AccountBlobPropertiesCorsRuleArray{ AccountBlobPropertiesCorsRuleArgs{...} }

type AccountBlobPropertiesCorsRuleArrayOutput

type AccountBlobPropertiesCorsRuleArrayOutput struct{ *pulumi.OutputState }

func (AccountBlobPropertiesCorsRuleArrayOutput) ElementType

func (AccountBlobPropertiesCorsRuleArrayOutput) Index

func (AccountBlobPropertiesCorsRuleArrayOutput) ToAccountBlobPropertiesCorsRuleArrayOutput

func (o AccountBlobPropertiesCorsRuleArrayOutput) ToAccountBlobPropertiesCorsRuleArrayOutput() AccountBlobPropertiesCorsRuleArrayOutput

func (AccountBlobPropertiesCorsRuleArrayOutput) ToAccountBlobPropertiesCorsRuleArrayOutputWithContext

func (o AccountBlobPropertiesCorsRuleArrayOutput) ToAccountBlobPropertiesCorsRuleArrayOutputWithContext(ctx context.Context) AccountBlobPropertiesCorsRuleArrayOutput

type AccountBlobPropertiesCorsRuleInput

type AccountBlobPropertiesCorsRuleInput interface {
	pulumi.Input

	ToAccountBlobPropertiesCorsRuleOutput() AccountBlobPropertiesCorsRuleOutput
	ToAccountBlobPropertiesCorsRuleOutputWithContext(context.Context) AccountBlobPropertiesCorsRuleOutput
}

AccountBlobPropertiesCorsRuleInput is an input type that accepts AccountBlobPropertiesCorsRuleArgs and AccountBlobPropertiesCorsRuleOutput values. You can construct a concrete instance of `AccountBlobPropertiesCorsRuleInput` via:

AccountBlobPropertiesCorsRuleArgs{...}

type AccountBlobPropertiesCorsRuleOutput

type AccountBlobPropertiesCorsRuleOutput struct{ *pulumi.OutputState }

func (AccountBlobPropertiesCorsRuleOutput) AllowedHeaders

A list of headers that are allowed to be a part of the cross-origin request.

func (AccountBlobPropertiesCorsRuleOutput) AllowedMethods

A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.

func (AccountBlobPropertiesCorsRuleOutput) AllowedOrigins

A list of origin domains that will be allowed by CORS.

func (AccountBlobPropertiesCorsRuleOutput) ElementType

func (AccountBlobPropertiesCorsRuleOutput) ExposedHeaders

A list of response headers that are exposed to CORS clients.

func (AccountBlobPropertiesCorsRuleOutput) MaxAgeInSeconds

The number of seconds the client should cache a preflight response.

func (AccountBlobPropertiesCorsRuleOutput) ToAccountBlobPropertiesCorsRuleOutput

func (o AccountBlobPropertiesCorsRuleOutput) ToAccountBlobPropertiesCorsRuleOutput() AccountBlobPropertiesCorsRuleOutput

func (AccountBlobPropertiesCorsRuleOutput) ToAccountBlobPropertiesCorsRuleOutputWithContext

func (o AccountBlobPropertiesCorsRuleOutput) ToAccountBlobPropertiesCorsRuleOutputWithContext(ctx context.Context) AccountBlobPropertiesCorsRuleOutput

type AccountBlobPropertiesDeleteRetentionPolicy

type AccountBlobPropertiesDeleteRetentionPolicy struct {
	// Specifies the number of days that the blob should be retained, between `1` and `365` days. Defaults to `7`.
	Days *int `pulumi:"days"`
}

type AccountBlobPropertiesDeleteRetentionPolicyArgs

type AccountBlobPropertiesDeleteRetentionPolicyArgs struct {
	// Specifies the number of days that the blob should be retained, between `1` and `365` days. Defaults to `7`.
	Days pulumi.IntPtrInput `pulumi:"days"`
}

func (AccountBlobPropertiesDeleteRetentionPolicyArgs) ElementType

func (AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyOutput

func (i AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyOutput() AccountBlobPropertiesDeleteRetentionPolicyOutput

func (AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyOutputWithContext

func (i AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyOutputWithContext(ctx context.Context) AccountBlobPropertiesDeleteRetentionPolicyOutput

func (AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutput

func (i AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutput() AccountBlobPropertiesDeleteRetentionPolicyPtrOutput

func (AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutputWithContext

func (i AccountBlobPropertiesDeleteRetentionPolicyArgs) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutputWithContext(ctx context.Context) AccountBlobPropertiesDeleteRetentionPolicyPtrOutput

type AccountBlobPropertiesDeleteRetentionPolicyInput

type AccountBlobPropertiesDeleteRetentionPolicyInput interface {
	pulumi.Input

	ToAccountBlobPropertiesDeleteRetentionPolicyOutput() AccountBlobPropertiesDeleteRetentionPolicyOutput
	ToAccountBlobPropertiesDeleteRetentionPolicyOutputWithContext(context.Context) AccountBlobPropertiesDeleteRetentionPolicyOutput
}

AccountBlobPropertiesDeleteRetentionPolicyInput is an input type that accepts AccountBlobPropertiesDeleteRetentionPolicyArgs and AccountBlobPropertiesDeleteRetentionPolicyOutput values. You can construct a concrete instance of `AccountBlobPropertiesDeleteRetentionPolicyInput` via:

AccountBlobPropertiesDeleteRetentionPolicyArgs{...}

type AccountBlobPropertiesDeleteRetentionPolicyOutput

type AccountBlobPropertiesDeleteRetentionPolicyOutput struct{ *pulumi.OutputState }

func (AccountBlobPropertiesDeleteRetentionPolicyOutput) Days

Specifies the number of days that the blob should be retained, between `1` and `365` days. Defaults to `7`.

func (AccountBlobPropertiesDeleteRetentionPolicyOutput) ElementType

func (AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyOutput

func (o AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyOutput() AccountBlobPropertiesDeleteRetentionPolicyOutput

func (AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyOutputWithContext

func (o AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyOutputWithContext(ctx context.Context) AccountBlobPropertiesDeleteRetentionPolicyOutput

func (AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutput

func (o AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutput() AccountBlobPropertiesDeleteRetentionPolicyPtrOutput

func (AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutputWithContext

func (o AccountBlobPropertiesDeleteRetentionPolicyOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutputWithContext(ctx context.Context) AccountBlobPropertiesDeleteRetentionPolicyPtrOutput

type AccountBlobPropertiesDeleteRetentionPolicyPtrInput

type AccountBlobPropertiesDeleteRetentionPolicyPtrInput interface {
	pulumi.Input

	ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutput() AccountBlobPropertiesDeleteRetentionPolicyPtrOutput
	ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutputWithContext(context.Context) AccountBlobPropertiesDeleteRetentionPolicyPtrOutput
}

AccountBlobPropertiesDeleteRetentionPolicyPtrInput is an input type that accepts AccountBlobPropertiesDeleteRetentionPolicyArgs, AccountBlobPropertiesDeleteRetentionPolicyPtr and AccountBlobPropertiesDeleteRetentionPolicyPtrOutput values. You can construct a concrete instance of `AccountBlobPropertiesDeleteRetentionPolicyPtrInput` via:

        AccountBlobPropertiesDeleteRetentionPolicyArgs{...}

or:

        nil

type AccountBlobPropertiesDeleteRetentionPolicyPtrOutput

type AccountBlobPropertiesDeleteRetentionPolicyPtrOutput struct{ *pulumi.OutputState }

func (AccountBlobPropertiesDeleteRetentionPolicyPtrOutput) Days

Specifies the number of days that the blob should be retained, between `1` and `365` days. Defaults to `7`.

func (AccountBlobPropertiesDeleteRetentionPolicyPtrOutput) Elem

func (AccountBlobPropertiesDeleteRetentionPolicyPtrOutput) ElementType

func (AccountBlobPropertiesDeleteRetentionPolicyPtrOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutput

func (o AccountBlobPropertiesDeleteRetentionPolicyPtrOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutput() AccountBlobPropertiesDeleteRetentionPolicyPtrOutput

func (AccountBlobPropertiesDeleteRetentionPolicyPtrOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutputWithContext

func (o AccountBlobPropertiesDeleteRetentionPolicyPtrOutput) ToAccountBlobPropertiesDeleteRetentionPolicyPtrOutputWithContext(ctx context.Context) AccountBlobPropertiesDeleteRetentionPolicyPtrOutput

type AccountBlobPropertiesInput

type AccountBlobPropertiesInput interface {
	pulumi.Input

	ToAccountBlobPropertiesOutput() AccountBlobPropertiesOutput
	ToAccountBlobPropertiesOutputWithContext(context.Context) AccountBlobPropertiesOutput
}

AccountBlobPropertiesInput is an input type that accepts AccountBlobPropertiesArgs and AccountBlobPropertiesOutput values. You can construct a concrete instance of `AccountBlobPropertiesInput` via:

AccountBlobPropertiesArgs{...}

type AccountBlobPropertiesOutput

type AccountBlobPropertiesOutput struct{ *pulumi.OutputState }

func (AccountBlobPropertiesOutput) CorsRules

A `corsRule` block as defined below.

func (AccountBlobPropertiesOutput) DeleteRetentionPolicy

A `deleteRetentionPolicy` block as defined below.

func (AccountBlobPropertiesOutput) ElementType

func (AccountBlobPropertiesOutput) ToAccountBlobPropertiesOutput

func (o AccountBlobPropertiesOutput) ToAccountBlobPropertiesOutput() AccountBlobPropertiesOutput

func (AccountBlobPropertiesOutput) ToAccountBlobPropertiesOutputWithContext

func (o AccountBlobPropertiesOutput) ToAccountBlobPropertiesOutputWithContext(ctx context.Context) AccountBlobPropertiesOutput

func (AccountBlobPropertiesOutput) ToAccountBlobPropertiesPtrOutput

func (o AccountBlobPropertiesOutput) ToAccountBlobPropertiesPtrOutput() AccountBlobPropertiesPtrOutput

func (AccountBlobPropertiesOutput) ToAccountBlobPropertiesPtrOutputWithContext

func (o AccountBlobPropertiesOutput) ToAccountBlobPropertiesPtrOutputWithContext(ctx context.Context) AccountBlobPropertiesPtrOutput

type AccountBlobPropertiesPtrInput

type AccountBlobPropertiesPtrInput interface {
	pulumi.Input

	ToAccountBlobPropertiesPtrOutput() AccountBlobPropertiesPtrOutput
	ToAccountBlobPropertiesPtrOutputWithContext(context.Context) AccountBlobPropertiesPtrOutput
}

AccountBlobPropertiesPtrInput is an input type that accepts AccountBlobPropertiesArgs, AccountBlobPropertiesPtr and AccountBlobPropertiesPtrOutput values. You can construct a concrete instance of `AccountBlobPropertiesPtrInput` via:

        AccountBlobPropertiesArgs{...}

or:

        nil

type AccountBlobPropertiesPtrOutput

type AccountBlobPropertiesPtrOutput struct{ *pulumi.OutputState }

func (AccountBlobPropertiesPtrOutput) CorsRules

A `corsRule` block as defined below.

func (AccountBlobPropertiesPtrOutput) DeleteRetentionPolicy

A `deleteRetentionPolicy` block as defined below.

func (AccountBlobPropertiesPtrOutput) Elem

func (AccountBlobPropertiesPtrOutput) ElementType

func (AccountBlobPropertiesPtrOutput) ToAccountBlobPropertiesPtrOutput

func (o AccountBlobPropertiesPtrOutput) ToAccountBlobPropertiesPtrOutput() AccountBlobPropertiesPtrOutput

func (AccountBlobPropertiesPtrOutput) ToAccountBlobPropertiesPtrOutputWithContext

func (o AccountBlobPropertiesPtrOutput) ToAccountBlobPropertiesPtrOutputWithContext(ctx context.Context) AccountBlobPropertiesPtrOutput

type AccountCustomDomain

type AccountCustomDomain struct {
	// The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
	Name string `pulumi:"name"`
	// Should the Custom Domain Name be validated by using indirect CNAME validation?
	UseSubdomain *bool `pulumi:"useSubdomain"`
}

type AccountCustomDomainArgs

type AccountCustomDomainArgs struct {
	// The Custom Domain Name to use for the Storage Account, which will be validated by Azure.
	Name pulumi.StringInput `pulumi:"name"`
	// Should the Custom Domain Name be validated by using indirect CNAME validation?
	UseSubdomain pulumi.BoolPtrInput `pulumi:"useSubdomain"`
}

func (AccountCustomDomainArgs) ElementType

func (AccountCustomDomainArgs) ElementType() reflect.Type

func (AccountCustomDomainArgs) ToAccountCustomDomainOutput

func (i AccountCustomDomainArgs) ToAccountCustomDomainOutput() AccountCustomDomainOutput

func (AccountCustomDomainArgs) ToAccountCustomDomainOutputWithContext

func (i AccountCustomDomainArgs) ToAccountCustomDomainOutputWithContext(ctx context.Context) AccountCustomDomainOutput

func (AccountCustomDomainArgs) ToAccountCustomDomainPtrOutput

func (i AccountCustomDomainArgs) ToAccountCustomDomainPtrOutput() AccountCustomDomainPtrOutput

func (AccountCustomDomainArgs) ToAccountCustomDomainPtrOutputWithContext

func (i AccountCustomDomainArgs) ToAccountCustomDomainPtrOutputWithContext(ctx context.Context) AccountCustomDomainPtrOutput

type AccountCustomDomainInput

type AccountCustomDomainInput interface {
	pulumi.Input

	ToAccountCustomDomainOutput() AccountCustomDomainOutput
	ToAccountCustomDomainOutputWithContext(context.Context) AccountCustomDomainOutput
}

AccountCustomDomainInput is an input type that accepts AccountCustomDomainArgs and AccountCustomDomainOutput values. You can construct a concrete instance of `AccountCustomDomainInput` via:

AccountCustomDomainArgs{...}

type AccountCustomDomainOutput

type AccountCustomDomainOutput struct{ *pulumi.OutputState }

func (AccountCustomDomainOutput) ElementType

func (AccountCustomDomainOutput) ElementType() reflect.Type

func (AccountCustomDomainOutput) Name

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

func (AccountCustomDomainOutput) ToAccountCustomDomainOutput

func (o AccountCustomDomainOutput) ToAccountCustomDomainOutput() AccountCustomDomainOutput

func (AccountCustomDomainOutput) ToAccountCustomDomainOutputWithContext

func (o AccountCustomDomainOutput) ToAccountCustomDomainOutputWithContext(ctx context.Context) AccountCustomDomainOutput

func (AccountCustomDomainOutput) ToAccountCustomDomainPtrOutput

func (o AccountCustomDomainOutput) ToAccountCustomDomainPtrOutput() AccountCustomDomainPtrOutput

func (AccountCustomDomainOutput) ToAccountCustomDomainPtrOutputWithContext

func (o AccountCustomDomainOutput) ToAccountCustomDomainPtrOutputWithContext(ctx context.Context) AccountCustomDomainPtrOutput

func (AccountCustomDomainOutput) UseSubdomain

Should the Custom Domain Name be validated by using indirect CNAME validation?

type AccountCustomDomainPtrInput

type AccountCustomDomainPtrInput interface {
	pulumi.Input

	ToAccountCustomDomainPtrOutput() AccountCustomDomainPtrOutput
	ToAccountCustomDomainPtrOutputWithContext(context.Context) AccountCustomDomainPtrOutput
}

AccountCustomDomainPtrInput is an input type that accepts AccountCustomDomainArgs, AccountCustomDomainPtr and AccountCustomDomainPtrOutput values. You can construct a concrete instance of `AccountCustomDomainPtrInput` via:

        AccountCustomDomainArgs{...}

or:

        nil

type AccountCustomDomainPtrOutput

type AccountCustomDomainPtrOutput struct{ *pulumi.OutputState }

func (AccountCustomDomainPtrOutput) Elem

func (AccountCustomDomainPtrOutput) ElementType

func (AccountCustomDomainPtrOutput) Name

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

func (AccountCustomDomainPtrOutput) ToAccountCustomDomainPtrOutput

func (o AccountCustomDomainPtrOutput) ToAccountCustomDomainPtrOutput() AccountCustomDomainPtrOutput

func (AccountCustomDomainPtrOutput) ToAccountCustomDomainPtrOutputWithContext

func (o AccountCustomDomainPtrOutput) ToAccountCustomDomainPtrOutputWithContext(ctx context.Context) AccountCustomDomainPtrOutput

func (AccountCustomDomainPtrOutput) UseSubdomain

Should the Custom Domain Name be validated by using indirect CNAME validation?

type AccountIdentity

type AccountIdentity struct {
	// The Principal ID for the Service Principal associated with the Identity of this Storage Account.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Storage Account.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the identity type of the Storage Account. At this time the only allowed value is `SystemAssigned`.
	Type string `pulumi:"type"`
}

type AccountIdentityArgs

type AccountIdentityArgs struct {
	// The Principal ID for the Service Principal associated with the Identity of this Storage Account.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Storage Account.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the identity type of the Storage Account. At this time the only allowed value is `SystemAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

	ToAccountIdentityOutput() AccountIdentityOutput
	ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput
}

AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) PrincipalId

The Principal ID for the Service Principal associated with the Identity of this Storage Account.

func (AccountIdentityOutput) TenantId

The Tenant ID for the Service Principal associated with the Identity of this Storage Account.

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityOutput) Type

Specifies the identity type of the Storage Account. At this time the only allowed value is `SystemAssigned`.

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

	ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
	ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput
}

AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) PrincipalId

The Principal ID for the Service Principal associated with the Identity of this Storage Account.

func (AccountIdentityPtrOutput) TenantId

The Tenant ID for the Service Principal associated with the Identity of this Storage Account.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) Type

Specifies the identity type of the Storage Account. At this time the only allowed value is `SystemAssigned`.

type AccountInput added in v3.31.1

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountNetworkRules

type AccountNetworkRules struct {
	pulumi.CustomResourceState

	// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of `Logging`, `Metrics`, `AzureServices`, or `None`.
	Bypasses pulumi.StringArrayOutput `pulumi:"bypasses"`
	// Specifies the default action of allow or deny when no other rules match. Valid options are `Deny` or `Allow`.
	DefaultAction pulumi.StringOutput `pulumi:"defaultAction"`
	// List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in [RFC 1918](https://tools.ietf.org/html/rfc1918#section-3)) are not allowed.
	IpRules pulumi.StringArrayOutput `pulumi:"ipRules"`
	// The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// 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.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// A list of virtual network subnet ids to to secure the storage account.
	VirtualNetworkSubnetIds pulumi.StringArrayOutput `pulumi:"virtualNetworkSubnetIds"`
}

Manages network rules inside of a Azure Storage Account.

> **NOTE:** Network Rules can be defined either directly on the `storage.Account` resource, or using the `storage.AccountNetworkRules` resource - but the two cannot be used together. Spurious changes will occur if both are used against the same Storage Account.

> **NOTE:** Only one `storage.AccountNetworkRules` can be tied to an `storage.Account`. Spurious changes will occur if more than `storage.AccountNetworkRules` is tied to the same `storage.Account`.

> **NOTE:** Deleting this resource updates the storage account back to the default values it had when the storage account was created.

## Import

Storage Account Network Rules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/accountNetworkRules:AccountNetworkRules storageAcc1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount

```

func GetAccountNetworkRules

func GetAccountNetworkRules(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountNetworkRulesState, opts ...pulumi.ResourceOption) (*AccountNetworkRules, error)

GetAccountNetworkRules gets an existing AccountNetworkRules 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 NewAccountNetworkRules

func NewAccountNetworkRules(ctx *pulumi.Context,
	name string, args *AccountNetworkRulesArgs, opts ...pulumi.ResourceOption) (*AccountNetworkRules, error)

NewAccountNetworkRules registers a new resource with the given unique name, arguments, and options.

func (AccountNetworkRules) ElementType added in v3.31.1

func (AccountNetworkRules) ElementType() reflect.Type

func (AccountNetworkRules) ToAccountNetworkRulesOutput added in v3.31.1

func (i AccountNetworkRules) ToAccountNetworkRulesOutput() AccountNetworkRulesOutput

func (AccountNetworkRules) ToAccountNetworkRulesOutputWithContext added in v3.31.1

func (i AccountNetworkRules) ToAccountNetworkRulesOutputWithContext(ctx context.Context) AccountNetworkRulesOutput

type AccountNetworkRulesArgs

type AccountNetworkRulesArgs struct {
	// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of `Logging`, `Metrics`, `AzureServices`, or `None`.
	Bypasses pulumi.StringArrayInput
	// Specifies the default action of allow or deny when no other rules match. Valid options are `Deny` or `Allow`.
	DefaultAction pulumi.StringInput
	// List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in [RFC 1918](https://tools.ietf.org/html/rfc1918#section-3)) are not allowed.
	IpRules pulumi.StringArrayInput
	// The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// 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.
	StorageAccountName pulumi.StringInput
	// A list of virtual network subnet ids to to secure the storage account.
	VirtualNetworkSubnetIds pulumi.StringArrayInput
}

The set of arguments for constructing a AccountNetworkRules resource.

func (AccountNetworkRulesArgs) ElementType

func (AccountNetworkRulesArgs) ElementType() reflect.Type

type AccountNetworkRulesInput added in v3.31.1

type AccountNetworkRulesInput interface {
	pulumi.Input

	ToAccountNetworkRulesOutput() AccountNetworkRulesOutput
	ToAccountNetworkRulesOutputWithContext(ctx context.Context) AccountNetworkRulesOutput
}

type AccountNetworkRulesOutput added in v3.31.1

type AccountNetworkRulesOutput struct {
	*pulumi.OutputState
}

func (AccountNetworkRulesOutput) ElementType added in v3.31.1

func (AccountNetworkRulesOutput) ElementType() reflect.Type

func (AccountNetworkRulesOutput) ToAccountNetworkRulesOutput added in v3.31.1

func (o AccountNetworkRulesOutput) ToAccountNetworkRulesOutput() AccountNetworkRulesOutput

func (AccountNetworkRulesOutput) ToAccountNetworkRulesOutputWithContext added in v3.31.1

func (o AccountNetworkRulesOutput) ToAccountNetworkRulesOutputWithContext(ctx context.Context) AccountNetworkRulesOutput

type AccountNetworkRulesState

type AccountNetworkRulesState struct {
	// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of `Logging`, `Metrics`, `AzureServices`, or `None`.
	Bypasses pulumi.StringArrayInput
	// Specifies the default action of allow or deny when no other rules match. Valid options are `Deny` or `Allow`.
	DefaultAction pulumi.StringPtrInput
	// List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in [RFC 1918](https://tools.ietf.org/html/rfc1918#section-3)) are not allowed.
	IpRules pulumi.StringArrayInput
	// The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// 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.
	StorageAccountName pulumi.StringPtrInput
	// A list of virtual network subnet ids to to secure the storage account.
	VirtualNetworkSubnetIds pulumi.StringArrayInput
}

func (AccountNetworkRulesState) ElementType

func (AccountNetworkRulesState) ElementType() reflect.Type

type AccountNetworkRulesType

type AccountNetworkRulesType struct {
	// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are
	// any combination of `Logging`, `Metrics`, `AzureServices`, or `None`.
	Bypasses []string `pulumi:"bypasses"`
	// Specifies the default action of allow or deny when no other rules match. Valid options are `Deny` or `Allow`.
	DefaultAction string `pulumi:"defaultAction"`
	// List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in [RFC 1918](https://tools.ietf.org/html/rfc1918#section-3)) are not allowed.
	IpRules []string `pulumi:"ipRules"`
	// A list of resource ids for subnets.
	VirtualNetworkSubnetIds []string `pulumi:"virtualNetworkSubnetIds"`
}

type AccountNetworkRulesTypeArgs

type AccountNetworkRulesTypeArgs struct {
	// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are
	// any combination of `Logging`, `Metrics`, `AzureServices`, or `None`.
	Bypasses pulumi.StringArrayInput `pulumi:"bypasses"`
	// Specifies the default action of allow or deny when no other rules match. Valid options are `Deny` or `Allow`.
	DefaultAction pulumi.StringInput `pulumi:"defaultAction"`
	// List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in [RFC 1918](https://tools.ietf.org/html/rfc1918#section-3)) are not allowed.
	IpRules pulumi.StringArrayInput `pulumi:"ipRules"`
	// A list of resource ids for subnets.
	VirtualNetworkSubnetIds pulumi.StringArrayInput `pulumi:"virtualNetworkSubnetIds"`
}

func (AccountNetworkRulesTypeArgs) ElementType

func (AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypeOutput

func (i AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypeOutput() AccountNetworkRulesTypeOutput

func (AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypeOutputWithContext

func (i AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypeOutputWithContext(ctx context.Context) AccountNetworkRulesTypeOutput

func (AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypePtrOutput

func (i AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypePtrOutput() AccountNetworkRulesTypePtrOutput

func (AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypePtrOutputWithContext

func (i AccountNetworkRulesTypeArgs) ToAccountNetworkRulesTypePtrOutputWithContext(ctx context.Context) AccountNetworkRulesTypePtrOutput

type AccountNetworkRulesTypeInput

type AccountNetworkRulesTypeInput interface {
	pulumi.Input

	ToAccountNetworkRulesTypeOutput() AccountNetworkRulesTypeOutput
	ToAccountNetworkRulesTypeOutputWithContext(context.Context) AccountNetworkRulesTypeOutput
}

AccountNetworkRulesTypeInput is an input type that accepts AccountNetworkRulesTypeArgs and AccountNetworkRulesTypeOutput values. You can construct a concrete instance of `AccountNetworkRulesTypeInput` via:

AccountNetworkRulesTypeArgs{...}

type AccountNetworkRulesTypeOutput

type AccountNetworkRulesTypeOutput struct{ *pulumi.OutputState }

func (AccountNetworkRulesTypeOutput) Bypasses

Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of `Logging`, `Metrics`, `AzureServices`, or `None`.

func (AccountNetworkRulesTypeOutput) DefaultAction

Specifies the default action of allow or deny when no other rules match. Valid options are `Deny` or `Allow`.

func (AccountNetworkRulesTypeOutput) ElementType

func (AccountNetworkRulesTypeOutput) IpRules

List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in [RFC 1918](https://tools.ietf.org/html/rfc1918#section-3)) are not allowed.

func (AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypeOutput

func (o AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypeOutput() AccountNetworkRulesTypeOutput

func (AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypeOutputWithContext

func (o AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypeOutputWithContext(ctx context.Context) AccountNetworkRulesTypeOutput

func (AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypePtrOutput

func (o AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypePtrOutput() AccountNetworkRulesTypePtrOutput

func (AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypePtrOutputWithContext

func (o AccountNetworkRulesTypeOutput) ToAccountNetworkRulesTypePtrOutputWithContext(ctx context.Context) AccountNetworkRulesTypePtrOutput

func (AccountNetworkRulesTypeOutput) VirtualNetworkSubnetIds

func (o AccountNetworkRulesTypeOutput) VirtualNetworkSubnetIds() pulumi.StringArrayOutput

A list of resource ids for subnets.

type AccountNetworkRulesTypePtrInput

type AccountNetworkRulesTypePtrInput interface {
	pulumi.Input

	ToAccountNetworkRulesTypePtrOutput() AccountNetworkRulesTypePtrOutput
	ToAccountNetworkRulesTypePtrOutputWithContext(context.Context) AccountNetworkRulesTypePtrOutput
}

AccountNetworkRulesTypePtrInput is an input type that accepts AccountNetworkRulesTypeArgs, AccountNetworkRulesTypePtr and AccountNetworkRulesTypePtrOutput values. You can construct a concrete instance of `AccountNetworkRulesTypePtrInput` via:

        AccountNetworkRulesTypeArgs{...}

or:

        nil

type AccountNetworkRulesTypePtrOutput

type AccountNetworkRulesTypePtrOutput struct{ *pulumi.OutputState }

func (AccountNetworkRulesTypePtrOutput) Bypasses

Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Valid options are any combination of `Logging`, `Metrics`, `AzureServices`, or `None`.

func (AccountNetworkRulesTypePtrOutput) DefaultAction

Specifies the default action of allow or deny when no other rules match. Valid options are `Deny` or `Allow`.

func (AccountNetworkRulesTypePtrOutput) Elem

func (AccountNetworkRulesTypePtrOutput) ElementType

func (AccountNetworkRulesTypePtrOutput) IpRules

List of public IP or IP ranges in CIDR Format. Only IPV4 addresses are allowed. Private IP address ranges (as defined in [RFC 1918](https://tools.ietf.org/html/rfc1918#section-3)) are not allowed.

func (AccountNetworkRulesTypePtrOutput) ToAccountNetworkRulesTypePtrOutput

func (o AccountNetworkRulesTypePtrOutput) ToAccountNetworkRulesTypePtrOutput() AccountNetworkRulesTypePtrOutput

func (AccountNetworkRulesTypePtrOutput) ToAccountNetworkRulesTypePtrOutputWithContext

func (o AccountNetworkRulesTypePtrOutput) ToAccountNetworkRulesTypePtrOutputWithContext(ctx context.Context) AccountNetworkRulesTypePtrOutput

func (AccountNetworkRulesTypePtrOutput) VirtualNetworkSubnetIds

func (o AccountNetworkRulesTypePtrOutput) VirtualNetworkSubnetIds() pulumi.StringArrayOutput

A list of resource ids for subnets.

type AccountOutput added in v3.31.1

type AccountOutput struct {
	*pulumi.OutputState
}

func (AccountOutput) ElementType added in v3.31.1

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) ToAccountOutput added in v3.31.1

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext added in v3.31.1

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountQueueProperties

type AccountQueueProperties struct {
	// A `corsRule` block as defined above.
	CorsRules []AccountQueuePropertiesCorsRule `pulumi:"corsRules"`
	// A `hourMetrics` block as defined below.
	HourMetrics *AccountQueuePropertiesHourMetrics `pulumi:"hourMetrics"`
	// A `logging` block as defined below.
	Logging *AccountQueuePropertiesLogging `pulumi:"logging"`
	// A `minuteMetrics` block as defined below.
	MinuteMetrics *AccountQueuePropertiesMinuteMetrics `pulumi:"minuteMetrics"`
}

type AccountQueuePropertiesArgs

type AccountQueuePropertiesArgs struct {
	// A `corsRule` block as defined above.
	CorsRules AccountQueuePropertiesCorsRuleArrayInput `pulumi:"corsRules"`
	// A `hourMetrics` block as defined below.
	HourMetrics AccountQueuePropertiesHourMetricsPtrInput `pulumi:"hourMetrics"`
	// A `logging` block as defined below.
	Logging AccountQueuePropertiesLoggingPtrInput `pulumi:"logging"`
	// A `minuteMetrics` block as defined below.
	MinuteMetrics AccountQueuePropertiesMinuteMetricsPtrInput `pulumi:"minuteMetrics"`
}

func (AccountQueuePropertiesArgs) ElementType

func (AccountQueuePropertiesArgs) ElementType() reflect.Type

func (AccountQueuePropertiesArgs) ToAccountQueuePropertiesOutput

func (i AccountQueuePropertiesArgs) ToAccountQueuePropertiesOutput() AccountQueuePropertiesOutput

func (AccountQueuePropertiesArgs) ToAccountQueuePropertiesOutputWithContext

func (i AccountQueuePropertiesArgs) ToAccountQueuePropertiesOutputWithContext(ctx context.Context) AccountQueuePropertiesOutput

func (AccountQueuePropertiesArgs) ToAccountQueuePropertiesPtrOutput

func (i AccountQueuePropertiesArgs) ToAccountQueuePropertiesPtrOutput() AccountQueuePropertiesPtrOutput

func (AccountQueuePropertiesArgs) ToAccountQueuePropertiesPtrOutputWithContext

func (i AccountQueuePropertiesArgs) ToAccountQueuePropertiesPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesPtrOutput

type AccountQueuePropertiesCorsRule

type AccountQueuePropertiesCorsRule struct {
	// A list of headers that are allowed to be a part of the cross-origin request.
	AllowedHeaders []string `pulumi:"allowedHeaders"`
	// A list of http headers that are allowed to be executed by the origin. Valid options are
	// `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// A list of origin domains that will be allowed by CORS.
	AllowedOrigins []string `pulumi:"allowedOrigins"`
	// A list of response headers that are exposed to CORS clients.
	ExposedHeaders []string `pulumi:"exposedHeaders"`
	// The number of seconds the client should cache a preflight response.
	MaxAgeInSeconds int `pulumi:"maxAgeInSeconds"`
}

type AccountQueuePropertiesCorsRuleArgs

type AccountQueuePropertiesCorsRuleArgs struct {
	// A list of headers that are allowed to be a part of the cross-origin request.
	AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"`
	// A list of http headers that are allowed to be executed by the origin. Valid options are
	// `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// A list of origin domains that will be allowed by CORS.
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
	// A list of response headers that are exposed to CORS clients.
	ExposedHeaders pulumi.StringArrayInput `pulumi:"exposedHeaders"`
	// The number of seconds the client should cache a preflight response.
	MaxAgeInSeconds pulumi.IntInput `pulumi:"maxAgeInSeconds"`
}

func (AccountQueuePropertiesCorsRuleArgs) ElementType

func (AccountQueuePropertiesCorsRuleArgs) ToAccountQueuePropertiesCorsRuleOutput

func (i AccountQueuePropertiesCorsRuleArgs) ToAccountQueuePropertiesCorsRuleOutput() AccountQueuePropertiesCorsRuleOutput

func (AccountQueuePropertiesCorsRuleArgs) ToAccountQueuePropertiesCorsRuleOutputWithContext

func (i AccountQueuePropertiesCorsRuleArgs) ToAccountQueuePropertiesCorsRuleOutputWithContext(ctx context.Context) AccountQueuePropertiesCorsRuleOutput

type AccountQueuePropertiesCorsRuleArray

type AccountQueuePropertiesCorsRuleArray []AccountQueuePropertiesCorsRuleInput

func (AccountQueuePropertiesCorsRuleArray) ElementType

func (AccountQueuePropertiesCorsRuleArray) ToAccountQueuePropertiesCorsRuleArrayOutput

func (i AccountQueuePropertiesCorsRuleArray) ToAccountQueuePropertiesCorsRuleArrayOutput() AccountQueuePropertiesCorsRuleArrayOutput

func (AccountQueuePropertiesCorsRuleArray) ToAccountQueuePropertiesCorsRuleArrayOutputWithContext

func (i AccountQueuePropertiesCorsRuleArray) ToAccountQueuePropertiesCorsRuleArrayOutputWithContext(ctx context.Context) AccountQueuePropertiesCorsRuleArrayOutput

type AccountQueuePropertiesCorsRuleArrayInput

type AccountQueuePropertiesCorsRuleArrayInput interface {
	pulumi.Input

	ToAccountQueuePropertiesCorsRuleArrayOutput() AccountQueuePropertiesCorsRuleArrayOutput
	ToAccountQueuePropertiesCorsRuleArrayOutputWithContext(context.Context) AccountQueuePropertiesCorsRuleArrayOutput
}

AccountQueuePropertiesCorsRuleArrayInput is an input type that accepts AccountQueuePropertiesCorsRuleArray and AccountQueuePropertiesCorsRuleArrayOutput values. You can construct a concrete instance of `AccountQueuePropertiesCorsRuleArrayInput` via:

AccountQueuePropertiesCorsRuleArray{ AccountQueuePropertiesCorsRuleArgs{...} }

type AccountQueuePropertiesCorsRuleArrayOutput

type AccountQueuePropertiesCorsRuleArrayOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesCorsRuleArrayOutput) ElementType

func (AccountQueuePropertiesCorsRuleArrayOutput) Index

func (AccountQueuePropertiesCorsRuleArrayOutput) ToAccountQueuePropertiesCorsRuleArrayOutput

func (o AccountQueuePropertiesCorsRuleArrayOutput) ToAccountQueuePropertiesCorsRuleArrayOutput() AccountQueuePropertiesCorsRuleArrayOutput

func (AccountQueuePropertiesCorsRuleArrayOutput) ToAccountQueuePropertiesCorsRuleArrayOutputWithContext

func (o AccountQueuePropertiesCorsRuleArrayOutput) ToAccountQueuePropertiesCorsRuleArrayOutputWithContext(ctx context.Context) AccountQueuePropertiesCorsRuleArrayOutput

type AccountQueuePropertiesCorsRuleInput

type AccountQueuePropertiesCorsRuleInput interface {
	pulumi.Input

	ToAccountQueuePropertiesCorsRuleOutput() AccountQueuePropertiesCorsRuleOutput
	ToAccountQueuePropertiesCorsRuleOutputWithContext(context.Context) AccountQueuePropertiesCorsRuleOutput
}

AccountQueuePropertiesCorsRuleInput is an input type that accepts AccountQueuePropertiesCorsRuleArgs and AccountQueuePropertiesCorsRuleOutput values. You can construct a concrete instance of `AccountQueuePropertiesCorsRuleInput` via:

AccountQueuePropertiesCorsRuleArgs{...}

type AccountQueuePropertiesCorsRuleOutput

type AccountQueuePropertiesCorsRuleOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesCorsRuleOutput) AllowedHeaders

A list of headers that are allowed to be a part of the cross-origin request.

func (AccountQueuePropertiesCorsRuleOutput) AllowedMethods

A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.

func (AccountQueuePropertiesCorsRuleOutput) AllowedOrigins

A list of origin domains that will be allowed by CORS.

func (AccountQueuePropertiesCorsRuleOutput) ElementType

func (AccountQueuePropertiesCorsRuleOutput) ExposedHeaders

A list of response headers that are exposed to CORS clients.

func (AccountQueuePropertiesCorsRuleOutput) MaxAgeInSeconds

The number of seconds the client should cache a preflight response.

func (AccountQueuePropertiesCorsRuleOutput) ToAccountQueuePropertiesCorsRuleOutput

func (o AccountQueuePropertiesCorsRuleOutput) ToAccountQueuePropertiesCorsRuleOutput() AccountQueuePropertiesCorsRuleOutput

func (AccountQueuePropertiesCorsRuleOutput) ToAccountQueuePropertiesCorsRuleOutputWithContext

func (o AccountQueuePropertiesCorsRuleOutput) ToAccountQueuePropertiesCorsRuleOutputWithContext(ctx context.Context) AccountQueuePropertiesCorsRuleOutput

type AccountQueuePropertiesHourMetrics

type AccountQueuePropertiesHourMetrics struct {
	// Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.
	Enabled bool `pulumi:"enabled"`
	// Indicates whether metrics should generate summary statistics for called API operations.
	IncludeApis *bool `pulumi:"includeApis"`
	// Specifies the number of days that logs will be retained. Changing this forces a new resource.
	RetentionPolicyDays *int `pulumi:"retentionPolicyDays"`
	// The version of storage analytics to configure. Changing this forces a new resource.
	Version string `pulumi:"version"`
}

type AccountQueuePropertiesHourMetricsArgs

type AccountQueuePropertiesHourMetricsArgs struct {
	// Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Indicates whether metrics should generate summary statistics for called API operations.
	IncludeApis pulumi.BoolPtrInput `pulumi:"includeApis"`
	// Specifies the number of days that logs will be retained. Changing this forces a new resource.
	RetentionPolicyDays pulumi.IntPtrInput `pulumi:"retentionPolicyDays"`
	// The version of storage analytics to configure. Changing this forces a new resource.
	Version pulumi.StringInput `pulumi:"version"`
}

func (AccountQueuePropertiesHourMetricsArgs) ElementType

func (AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsOutput

func (i AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsOutput() AccountQueuePropertiesHourMetricsOutput

func (AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsOutputWithContext

func (i AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsOutputWithContext(ctx context.Context) AccountQueuePropertiesHourMetricsOutput

func (AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsPtrOutput

func (i AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsPtrOutput() AccountQueuePropertiesHourMetricsPtrOutput

func (AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsPtrOutputWithContext

func (i AccountQueuePropertiesHourMetricsArgs) ToAccountQueuePropertiesHourMetricsPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesHourMetricsPtrOutput

type AccountQueuePropertiesHourMetricsInput

type AccountQueuePropertiesHourMetricsInput interface {
	pulumi.Input

	ToAccountQueuePropertiesHourMetricsOutput() AccountQueuePropertiesHourMetricsOutput
	ToAccountQueuePropertiesHourMetricsOutputWithContext(context.Context) AccountQueuePropertiesHourMetricsOutput
}

AccountQueuePropertiesHourMetricsInput is an input type that accepts AccountQueuePropertiesHourMetricsArgs and AccountQueuePropertiesHourMetricsOutput values. You can construct a concrete instance of `AccountQueuePropertiesHourMetricsInput` via:

AccountQueuePropertiesHourMetricsArgs{...}

type AccountQueuePropertiesHourMetricsOutput

type AccountQueuePropertiesHourMetricsOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesHourMetricsOutput) ElementType

func (AccountQueuePropertiesHourMetricsOutput) Enabled

Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.

func (AccountQueuePropertiesHourMetricsOutput) IncludeApis

Indicates whether metrics should generate summary statistics for called API operations.

func (AccountQueuePropertiesHourMetricsOutput) RetentionPolicyDays

Specifies the number of days that logs will be retained. Changing this forces a new resource.

func (AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsOutput

func (o AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsOutput() AccountQueuePropertiesHourMetricsOutput

func (AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsOutputWithContext

func (o AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsOutputWithContext(ctx context.Context) AccountQueuePropertiesHourMetricsOutput

func (AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsPtrOutput

func (o AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsPtrOutput() AccountQueuePropertiesHourMetricsPtrOutput

func (AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsPtrOutputWithContext

func (o AccountQueuePropertiesHourMetricsOutput) ToAccountQueuePropertiesHourMetricsPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesHourMetricsPtrOutput

func (AccountQueuePropertiesHourMetricsOutput) Version

The version of storage analytics to configure. Changing this forces a new resource.

type AccountQueuePropertiesHourMetricsPtrInput

type AccountQueuePropertiesHourMetricsPtrInput interface {
	pulumi.Input

	ToAccountQueuePropertiesHourMetricsPtrOutput() AccountQueuePropertiesHourMetricsPtrOutput
	ToAccountQueuePropertiesHourMetricsPtrOutputWithContext(context.Context) AccountQueuePropertiesHourMetricsPtrOutput
}

AccountQueuePropertiesHourMetricsPtrInput is an input type that accepts AccountQueuePropertiesHourMetricsArgs, AccountQueuePropertiesHourMetricsPtr and AccountQueuePropertiesHourMetricsPtrOutput values. You can construct a concrete instance of `AccountQueuePropertiesHourMetricsPtrInput` via:

        AccountQueuePropertiesHourMetricsArgs{...}

or:

        nil

type AccountQueuePropertiesHourMetricsPtrOutput

type AccountQueuePropertiesHourMetricsPtrOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesHourMetricsPtrOutput) Elem

func (AccountQueuePropertiesHourMetricsPtrOutput) ElementType

func (AccountQueuePropertiesHourMetricsPtrOutput) Enabled

Indicates whether hour metrics are enabled for the Queue service. Changing this forces a new resource.

func (AccountQueuePropertiesHourMetricsPtrOutput) IncludeApis

Indicates whether metrics should generate summary statistics for called API operations.

func (AccountQueuePropertiesHourMetricsPtrOutput) RetentionPolicyDays

Specifies the number of days that logs will be retained. Changing this forces a new resource.

func (AccountQueuePropertiesHourMetricsPtrOutput) ToAccountQueuePropertiesHourMetricsPtrOutput

func (o AccountQueuePropertiesHourMetricsPtrOutput) ToAccountQueuePropertiesHourMetricsPtrOutput() AccountQueuePropertiesHourMetricsPtrOutput

func (AccountQueuePropertiesHourMetricsPtrOutput) ToAccountQueuePropertiesHourMetricsPtrOutputWithContext

func (o AccountQueuePropertiesHourMetricsPtrOutput) ToAccountQueuePropertiesHourMetricsPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesHourMetricsPtrOutput

func (AccountQueuePropertiesHourMetricsPtrOutput) Version

The version of storage analytics to configure. Changing this forces a new resource.

type AccountQueuePropertiesInput

type AccountQueuePropertiesInput interface {
	pulumi.Input

	ToAccountQueuePropertiesOutput() AccountQueuePropertiesOutput
	ToAccountQueuePropertiesOutputWithContext(context.Context) AccountQueuePropertiesOutput
}

AccountQueuePropertiesInput is an input type that accepts AccountQueuePropertiesArgs and AccountQueuePropertiesOutput values. You can construct a concrete instance of `AccountQueuePropertiesInput` via:

AccountQueuePropertiesArgs{...}

type AccountQueuePropertiesLogging

type AccountQueuePropertiesLogging struct {
	// Indicates whether all delete requests should be logged. Changing this forces a new resource.
	Delete bool `pulumi:"delete"`
	// Indicates whether all read requests should be logged. Changing this forces a new resource.
	Read bool `pulumi:"read"`
	// Specifies the number of days that logs will be retained. Changing this forces a new resource.
	RetentionPolicyDays *int `pulumi:"retentionPolicyDays"`
	// The version of storage analytics to configure. Changing this forces a new resource.
	Version string `pulumi:"version"`
	// Indicates whether all write requests should be logged. Changing this forces a new resource.
	Write bool `pulumi:"write"`
}

type AccountQueuePropertiesLoggingArgs

type AccountQueuePropertiesLoggingArgs struct {
	// Indicates whether all delete requests should be logged. Changing this forces a new resource.
	Delete pulumi.BoolInput `pulumi:"delete"`
	// Indicates whether all read requests should be logged. Changing this forces a new resource.
	Read pulumi.BoolInput `pulumi:"read"`
	// Specifies the number of days that logs will be retained. Changing this forces a new resource.
	RetentionPolicyDays pulumi.IntPtrInput `pulumi:"retentionPolicyDays"`
	// The version of storage analytics to configure. Changing this forces a new resource.
	Version pulumi.StringInput `pulumi:"version"`
	// Indicates whether all write requests should be logged. Changing this forces a new resource.
	Write pulumi.BoolInput `pulumi:"write"`
}

func (AccountQueuePropertiesLoggingArgs) ElementType

func (AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingOutput

func (i AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingOutput() AccountQueuePropertiesLoggingOutput

func (AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingOutputWithContext

func (i AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingOutputWithContext(ctx context.Context) AccountQueuePropertiesLoggingOutput

func (AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingPtrOutput

func (i AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingPtrOutput() AccountQueuePropertiesLoggingPtrOutput

func (AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingPtrOutputWithContext

func (i AccountQueuePropertiesLoggingArgs) ToAccountQueuePropertiesLoggingPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesLoggingPtrOutput

type AccountQueuePropertiesLoggingInput

type AccountQueuePropertiesLoggingInput interface {
	pulumi.Input

	ToAccountQueuePropertiesLoggingOutput() AccountQueuePropertiesLoggingOutput
	ToAccountQueuePropertiesLoggingOutputWithContext(context.Context) AccountQueuePropertiesLoggingOutput
}

AccountQueuePropertiesLoggingInput is an input type that accepts AccountQueuePropertiesLoggingArgs and AccountQueuePropertiesLoggingOutput values. You can construct a concrete instance of `AccountQueuePropertiesLoggingInput` via:

AccountQueuePropertiesLoggingArgs{...}

type AccountQueuePropertiesLoggingOutput

type AccountQueuePropertiesLoggingOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesLoggingOutput) Delete

Indicates whether all delete requests should be logged. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingOutput) ElementType

func (AccountQueuePropertiesLoggingOutput) Read

Indicates whether all read requests should be logged. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingOutput) RetentionPolicyDays

Specifies the number of days that logs will be retained. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingOutput

func (o AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingOutput() AccountQueuePropertiesLoggingOutput

func (AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingOutputWithContext

func (o AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingOutputWithContext(ctx context.Context) AccountQueuePropertiesLoggingOutput

func (AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingPtrOutput

func (o AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingPtrOutput() AccountQueuePropertiesLoggingPtrOutput

func (AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingPtrOutputWithContext

func (o AccountQueuePropertiesLoggingOutput) ToAccountQueuePropertiesLoggingPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesLoggingPtrOutput

func (AccountQueuePropertiesLoggingOutput) Version

The version of storage analytics to configure. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingOutput) Write

Indicates whether all write requests should be logged. Changing this forces a new resource.

type AccountQueuePropertiesLoggingPtrInput

type AccountQueuePropertiesLoggingPtrInput interface {
	pulumi.Input

	ToAccountQueuePropertiesLoggingPtrOutput() AccountQueuePropertiesLoggingPtrOutput
	ToAccountQueuePropertiesLoggingPtrOutputWithContext(context.Context) AccountQueuePropertiesLoggingPtrOutput
}

AccountQueuePropertiesLoggingPtrInput is an input type that accepts AccountQueuePropertiesLoggingArgs, AccountQueuePropertiesLoggingPtr and AccountQueuePropertiesLoggingPtrOutput values. You can construct a concrete instance of `AccountQueuePropertiesLoggingPtrInput` via:

        AccountQueuePropertiesLoggingArgs{...}

or:

        nil

type AccountQueuePropertiesLoggingPtrOutput

type AccountQueuePropertiesLoggingPtrOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesLoggingPtrOutput) Delete

Indicates whether all delete requests should be logged. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingPtrOutput) Elem

func (AccountQueuePropertiesLoggingPtrOutput) ElementType

func (AccountQueuePropertiesLoggingPtrOutput) Read

Indicates whether all read requests should be logged. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingPtrOutput) RetentionPolicyDays

Specifies the number of days that logs will be retained. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingPtrOutput) ToAccountQueuePropertiesLoggingPtrOutput

func (o AccountQueuePropertiesLoggingPtrOutput) ToAccountQueuePropertiesLoggingPtrOutput() AccountQueuePropertiesLoggingPtrOutput

func (AccountQueuePropertiesLoggingPtrOutput) ToAccountQueuePropertiesLoggingPtrOutputWithContext

func (o AccountQueuePropertiesLoggingPtrOutput) ToAccountQueuePropertiesLoggingPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesLoggingPtrOutput

func (AccountQueuePropertiesLoggingPtrOutput) Version

The version of storage analytics to configure. Changing this forces a new resource.

func (AccountQueuePropertiesLoggingPtrOutput) Write

Indicates whether all write requests should be logged. Changing this forces a new resource.

type AccountQueuePropertiesMinuteMetrics

type AccountQueuePropertiesMinuteMetrics struct {
	// Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.
	Enabled bool `pulumi:"enabled"`
	// Indicates whether metrics should generate summary statistics for called API operations.
	IncludeApis *bool `pulumi:"includeApis"`
	// Specifies the number of days that logs will be retained. Changing this forces a new resource.
	RetentionPolicyDays *int `pulumi:"retentionPolicyDays"`
	// The version of storage analytics to configure. Changing this forces a new resource.
	Version string `pulumi:"version"`
}

type AccountQueuePropertiesMinuteMetricsArgs

type AccountQueuePropertiesMinuteMetricsArgs struct {
	// Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Indicates whether metrics should generate summary statistics for called API operations.
	IncludeApis pulumi.BoolPtrInput `pulumi:"includeApis"`
	// Specifies the number of days that logs will be retained. Changing this forces a new resource.
	RetentionPolicyDays pulumi.IntPtrInput `pulumi:"retentionPolicyDays"`
	// The version of storage analytics to configure. Changing this forces a new resource.
	Version pulumi.StringInput `pulumi:"version"`
}

func (AccountQueuePropertiesMinuteMetricsArgs) ElementType

func (AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsOutput

func (i AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsOutput() AccountQueuePropertiesMinuteMetricsOutput

func (AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsOutputWithContext

func (i AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsOutputWithContext(ctx context.Context) AccountQueuePropertiesMinuteMetricsOutput

func (AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsPtrOutput

func (i AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsPtrOutput() AccountQueuePropertiesMinuteMetricsPtrOutput

func (AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsPtrOutputWithContext

func (i AccountQueuePropertiesMinuteMetricsArgs) ToAccountQueuePropertiesMinuteMetricsPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesMinuteMetricsPtrOutput

type AccountQueuePropertiesMinuteMetricsInput

type AccountQueuePropertiesMinuteMetricsInput interface {
	pulumi.Input

	ToAccountQueuePropertiesMinuteMetricsOutput() AccountQueuePropertiesMinuteMetricsOutput
	ToAccountQueuePropertiesMinuteMetricsOutputWithContext(context.Context) AccountQueuePropertiesMinuteMetricsOutput
}

AccountQueuePropertiesMinuteMetricsInput is an input type that accepts AccountQueuePropertiesMinuteMetricsArgs and AccountQueuePropertiesMinuteMetricsOutput values. You can construct a concrete instance of `AccountQueuePropertiesMinuteMetricsInput` via:

AccountQueuePropertiesMinuteMetricsArgs{...}

type AccountQueuePropertiesMinuteMetricsOutput

type AccountQueuePropertiesMinuteMetricsOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesMinuteMetricsOutput) ElementType

func (AccountQueuePropertiesMinuteMetricsOutput) Enabled

Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.

func (AccountQueuePropertiesMinuteMetricsOutput) IncludeApis

Indicates whether metrics should generate summary statistics for called API operations.

func (AccountQueuePropertiesMinuteMetricsOutput) RetentionPolicyDays

Specifies the number of days that logs will be retained. Changing this forces a new resource.

func (AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsOutput

func (o AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsOutput() AccountQueuePropertiesMinuteMetricsOutput

func (AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsOutputWithContext

func (o AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsOutputWithContext(ctx context.Context) AccountQueuePropertiesMinuteMetricsOutput

func (AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutput

func (o AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutput() AccountQueuePropertiesMinuteMetricsPtrOutput

func (AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutputWithContext

func (o AccountQueuePropertiesMinuteMetricsOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesMinuteMetricsPtrOutput

func (AccountQueuePropertiesMinuteMetricsOutput) Version

The version of storage analytics to configure. Changing this forces a new resource.

type AccountQueuePropertiesMinuteMetricsPtrInput

type AccountQueuePropertiesMinuteMetricsPtrInput interface {
	pulumi.Input

	ToAccountQueuePropertiesMinuteMetricsPtrOutput() AccountQueuePropertiesMinuteMetricsPtrOutput
	ToAccountQueuePropertiesMinuteMetricsPtrOutputWithContext(context.Context) AccountQueuePropertiesMinuteMetricsPtrOutput
}

AccountQueuePropertiesMinuteMetricsPtrInput is an input type that accepts AccountQueuePropertiesMinuteMetricsArgs, AccountQueuePropertiesMinuteMetricsPtr and AccountQueuePropertiesMinuteMetricsPtrOutput values. You can construct a concrete instance of `AccountQueuePropertiesMinuteMetricsPtrInput` via:

        AccountQueuePropertiesMinuteMetricsArgs{...}

or:

        nil

type AccountQueuePropertiesMinuteMetricsPtrOutput

type AccountQueuePropertiesMinuteMetricsPtrOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesMinuteMetricsPtrOutput) Elem

func (AccountQueuePropertiesMinuteMetricsPtrOutput) ElementType

func (AccountQueuePropertiesMinuteMetricsPtrOutput) Enabled

Indicates whether minute metrics are enabled for the Queue service. Changing this forces a new resource.

func (AccountQueuePropertiesMinuteMetricsPtrOutput) IncludeApis

Indicates whether metrics should generate summary statistics for called API operations.

func (AccountQueuePropertiesMinuteMetricsPtrOutput) RetentionPolicyDays

Specifies the number of days that logs will be retained. Changing this forces a new resource.

func (AccountQueuePropertiesMinuteMetricsPtrOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutput

func (o AccountQueuePropertiesMinuteMetricsPtrOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutput() AccountQueuePropertiesMinuteMetricsPtrOutput

func (AccountQueuePropertiesMinuteMetricsPtrOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutputWithContext

func (o AccountQueuePropertiesMinuteMetricsPtrOutput) ToAccountQueuePropertiesMinuteMetricsPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesMinuteMetricsPtrOutput

func (AccountQueuePropertiesMinuteMetricsPtrOutput) Version

The version of storage analytics to configure. Changing this forces a new resource.

type AccountQueuePropertiesOutput

type AccountQueuePropertiesOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesOutput) CorsRules

A `corsRule` block as defined above.

func (AccountQueuePropertiesOutput) ElementType

func (AccountQueuePropertiesOutput) HourMetrics

A `hourMetrics` block as defined below.

func (AccountQueuePropertiesOutput) Logging

A `logging` block as defined below.

func (AccountQueuePropertiesOutput) MinuteMetrics

A `minuteMetrics` block as defined below.

func (AccountQueuePropertiesOutput) ToAccountQueuePropertiesOutput

func (o AccountQueuePropertiesOutput) ToAccountQueuePropertiesOutput() AccountQueuePropertiesOutput

func (AccountQueuePropertiesOutput) ToAccountQueuePropertiesOutputWithContext

func (o AccountQueuePropertiesOutput) ToAccountQueuePropertiesOutputWithContext(ctx context.Context) AccountQueuePropertiesOutput

func (AccountQueuePropertiesOutput) ToAccountQueuePropertiesPtrOutput

func (o AccountQueuePropertiesOutput) ToAccountQueuePropertiesPtrOutput() AccountQueuePropertiesPtrOutput

func (AccountQueuePropertiesOutput) ToAccountQueuePropertiesPtrOutputWithContext

func (o AccountQueuePropertiesOutput) ToAccountQueuePropertiesPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesPtrOutput

type AccountQueuePropertiesPtrInput

type AccountQueuePropertiesPtrInput interface {
	pulumi.Input

	ToAccountQueuePropertiesPtrOutput() AccountQueuePropertiesPtrOutput
	ToAccountQueuePropertiesPtrOutputWithContext(context.Context) AccountQueuePropertiesPtrOutput
}

AccountQueuePropertiesPtrInput is an input type that accepts AccountQueuePropertiesArgs, AccountQueuePropertiesPtr and AccountQueuePropertiesPtrOutput values. You can construct a concrete instance of `AccountQueuePropertiesPtrInput` via:

        AccountQueuePropertiesArgs{...}

or:

        nil

type AccountQueuePropertiesPtrOutput

type AccountQueuePropertiesPtrOutput struct{ *pulumi.OutputState }

func (AccountQueuePropertiesPtrOutput) CorsRules

A `corsRule` block as defined above.

func (AccountQueuePropertiesPtrOutput) Elem

func (AccountQueuePropertiesPtrOutput) ElementType

func (AccountQueuePropertiesPtrOutput) HourMetrics

A `hourMetrics` block as defined below.

func (AccountQueuePropertiesPtrOutput) Logging

A `logging` block as defined below.

func (AccountQueuePropertiesPtrOutput) MinuteMetrics

A `minuteMetrics` block as defined below.

func (AccountQueuePropertiesPtrOutput) ToAccountQueuePropertiesPtrOutput

func (o AccountQueuePropertiesPtrOutput) ToAccountQueuePropertiesPtrOutput() AccountQueuePropertiesPtrOutput

func (AccountQueuePropertiesPtrOutput) ToAccountQueuePropertiesPtrOutputWithContext

func (o AccountQueuePropertiesPtrOutput) ToAccountQueuePropertiesPtrOutputWithContext(ctx context.Context) AccountQueuePropertiesPtrOutput

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 pulumi.StringPtrInput
	// 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 `StorageV2`.
	AccountKind pulumi.StringPtrInput
	// Defines the type of replication to use for this storage account. Valid options are `LRS`, `GRS`, `RAGRS`, `ZRS`, `GZRS` and `RAGZRS`.
	AccountReplicationType pulumi.StringPtrInput
	// Defines the Tier to use for this storage account. Valid options are `Standard` and `Premium`. For `BlockBlobStorage` and `FileStorage` accounts only `Premium` is valid. Changing this forces a new resource to be created.
	AccountTier pulumi.StringPtrInput
	// Allow or disallow public access to all blobs or containers in the storage account. Defaults to `false`.
	AllowBlobPublicAccess pulumi.BoolPtrInput
	// A `blobProperties` block as defined below.
	BlobProperties AccountBlobPropertiesPtrInput
	// A `customDomain` block as documented below.
	CustomDomain AccountCustomDomainPtrInput
	// Boolean flag which forces HTTPS if enabled, see [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/)
	// for more information. Defaults to `true`.
	EnableHttpsTrafficOnly pulumi.BoolPtrInput
	// A `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// 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 pulumi.BoolPtrInput
	// Is Large File Share Enabled?
	LargeFileShareEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The minimum supported TLS version for the storage account. Possible values are `TLS1_0`, `TLS1_1`, and `TLS1_2`. Defaults to `TLS1_0` for new storage accounts.
	MinTlsVersion pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// A `networkRules` block as documented below.
	NetworkRules AccountNetworkRulesTypePtrInput
	// The primary access key for the storage account.
	PrimaryAccessKey pulumi.StringPtrInput
	// The connection string associated with the primary blob location.
	PrimaryBlobConnectionString pulumi.StringPtrInput
	// The endpoint URL for blob storage in the primary location.
	PrimaryBlobEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for blob storage in the primary location.
	PrimaryBlobHost pulumi.StringPtrInput
	// The connection string associated with the primary location.
	PrimaryConnectionString pulumi.StringPtrInput
	// The endpoint URL for DFS storage in the primary location.
	PrimaryDfsEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for DFS storage in the primary location.
	PrimaryDfsHost pulumi.StringPtrInput
	// The endpoint URL for file storage in the primary location.
	PrimaryFileEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for file storage in the primary location.
	PrimaryFileHost pulumi.StringPtrInput
	// The primary location of the storage account.
	PrimaryLocation pulumi.StringPtrInput
	// The endpoint URL for queue storage in the primary location.
	PrimaryQueueEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for queue storage in the primary location.
	PrimaryQueueHost pulumi.StringPtrInput
	// The endpoint URL for table storage in the primary location.
	PrimaryTableEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for table storage in the primary location.
	PrimaryTableHost pulumi.StringPtrInput
	// The endpoint URL for web storage in the primary location.
	PrimaryWebEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for web storage in the primary location.
	PrimaryWebHost pulumi.StringPtrInput
	// A `queueProperties` block as defined below.
	QueueProperties AccountQueuePropertiesPtrInput
	// The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The secondary access key for the storage account.
	SecondaryAccessKey pulumi.StringPtrInput
	// The connection string associated with the secondary blob location.
	SecondaryBlobConnectionString pulumi.StringPtrInput
	// The endpoint URL for blob storage in the secondary location.
	SecondaryBlobEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for blob storage in the secondary location.
	SecondaryBlobHost pulumi.StringPtrInput
	// The connection string associated with the secondary location.
	SecondaryConnectionString pulumi.StringPtrInput
	// The endpoint URL for DFS storage in the secondary location.
	SecondaryDfsEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for DFS storage in the secondary location.
	SecondaryDfsHost pulumi.StringPtrInput
	// The endpoint URL for file storage in the secondary location.
	SecondaryFileEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for file storage in the secondary location.
	SecondaryFileHost pulumi.StringPtrInput
	// The secondary location of the storage account.
	SecondaryLocation pulumi.StringPtrInput
	// The endpoint URL for queue storage in the secondary location.
	SecondaryQueueEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for queue storage in the secondary location.
	SecondaryQueueHost pulumi.StringPtrInput
	// The endpoint URL for table storage in the secondary location.
	SecondaryTableEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for table storage in the secondary location.
	SecondaryTableHost pulumi.StringPtrInput
	// The endpoint URL for web storage in the secondary location.
	SecondaryWebEndpoint pulumi.StringPtrInput
	// The hostname with port if applicable for web storage in the secondary location.
	SecondaryWebHost pulumi.StringPtrInput
	// A `staticWebsite` block as defined below.
	StaticWebsite AccountStaticWebsitePtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type AccountStaticWebsite

type AccountStaticWebsite struct {
	// The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
	Error404Document *string `pulumi:"error404Document"`
	// The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
	IndexDocument *string `pulumi:"indexDocument"`
}

type AccountStaticWebsiteArgs

type AccountStaticWebsiteArgs struct {
	// The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
	Error404Document pulumi.StringPtrInput `pulumi:"error404Document"`
	// The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
	IndexDocument pulumi.StringPtrInput `pulumi:"indexDocument"`
}

func (AccountStaticWebsiteArgs) ElementType

func (AccountStaticWebsiteArgs) ElementType() reflect.Type

func (AccountStaticWebsiteArgs) ToAccountStaticWebsiteOutput

func (i AccountStaticWebsiteArgs) ToAccountStaticWebsiteOutput() AccountStaticWebsiteOutput

func (AccountStaticWebsiteArgs) ToAccountStaticWebsiteOutputWithContext

func (i AccountStaticWebsiteArgs) ToAccountStaticWebsiteOutputWithContext(ctx context.Context) AccountStaticWebsiteOutput

func (AccountStaticWebsiteArgs) ToAccountStaticWebsitePtrOutput

func (i AccountStaticWebsiteArgs) ToAccountStaticWebsitePtrOutput() AccountStaticWebsitePtrOutput

func (AccountStaticWebsiteArgs) ToAccountStaticWebsitePtrOutputWithContext

func (i AccountStaticWebsiteArgs) ToAccountStaticWebsitePtrOutputWithContext(ctx context.Context) AccountStaticWebsitePtrOutput

type AccountStaticWebsiteInput

type AccountStaticWebsiteInput interface {
	pulumi.Input

	ToAccountStaticWebsiteOutput() AccountStaticWebsiteOutput
	ToAccountStaticWebsiteOutputWithContext(context.Context) AccountStaticWebsiteOutput
}

AccountStaticWebsiteInput is an input type that accepts AccountStaticWebsiteArgs and AccountStaticWebsiteOutput values. You can construct a concrete instance of `AccountStaticWebsiteInput` via:

AccountStaticWebsiteArgs{...}

type AccountStaticWebsiteOutput

type AccountStaticWebsiteOutput struct{ *pulumi.OutputState }

func (AccountStaticWebsiteOutput) ElementType

func (AccountStaticWebsiteOutput) ElementType() reflect.Type

func (AccountStaticWebsiteOutput) Error404Document

func (o AccountStaticWebsiteOutput) Error404Document() pulumi.StringPtrOutput

The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.

func (AccountStaticWebsiteOutput) IndexDocument

The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.

func (AccountStaticWebsiteOutput) ToAccountStaticWebsiteOutput

func (o AccountStaticWebsiteOutput) ToAccountStaticWebsiteOutput() AccountStaticWebsiteOutput

func (AccountStaticWebsiteOutput) ToAccountStaticWebsiteOutputWithContext

func (o AccountStaticWebsiteOutput) ToAccountStaticWebsiteOutputWithContext(ctx context.Context) AccountStaticWebsiteOutput

func (AccountStaticWebsiteOutput) ToAccountStaticWebsitePtrOutput

func (o AccountStaticWebsiteOutput) ToAccountStaticWebsitePtrOutput() AccountStaticWebsitePtrOutput

func (AccountStaticWebsiteOutput) ToAccountStaticWebsitePtrOutputWithContext

func (o AccountStaticWebsiteOutput) ToAccountStaticWebsitePtrOutputWithContext(ctx context.Context) AccountStaticWebsitePtrOutput

type AccountStaticWebsitePtrInput

type AccountStaticWebsitePtrInput interface {
	pulumi.Input

	ToAccountStaticWebsitePtrOutput() AccountStaticWebsitePtrOutput
	ToAccountStaticWebsitePtrOutputWithContext(context.Context) AccountStaticWebsitePtrOutput
}

AccountStaticWebsitePtrInput is an input type that accepts AccountStaticWebsiteArgs, AccountStaticWebsitePtr and AccountStaticWebsitePtrOutput values. You can construct a concrete instance of `AccountStaticWebsitePtrInput` via:

        AccountStaticWebsiteArgs{...}

or:

        nil

type AccountStaticWebsitePtrOutput

type AccountStaticWebsitePtrOutput struct{ *pulumi.OutputState }

func (AccountStaticWebsitePtrOutput) Elem

func (AccountStaticWebsitePtrOutput) ElementType

func (AccountStaticWebsitePtrOutput) Error404Document

The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.

func (AccountStaticWebsitePtrOutput) IndexDocument

The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.

func (AccountStaticWebsitePtrOutput) ToAccountStaticWebsitePtrOutput

func (o AccountStaticWebsitePtrOutput) ToAccountStaticWebsitePtrOutput() AccountStaticWebsitePtrOutput

func (AccountStaticWebsitePtrOutput) ToAccountStaticWebsitePtrOutputWithContext

func (o AccountStaticWebsitePtrOutput) ToAccountStaticWebsitePtrOutputWithContext(ctx context.Context) AccountStaticWebsitePtrOutput

type Blob

type Blob struct {
	pulumi.CustomResourceState

	// The access tier of the storage blob. Possible values are `Archive`, `Cool` and `Hot`.
	AccessTier pulumi.StringOutput `pulumi:"accessTier"`
	// The MD5 sum of the blob contents. Cannot be defined if `sourceUri` is defined, or if blob type is Append or Page. Changing this forces a new resource to be created.
	ContentMd5 pulumi.StringPtrOutput `pulumi:"contentMd5"`
	// The content type of the storage blob. Cannot be defined if `sourceUri` is defined. Defaults to `application/octet-stream`.
	ContentType pulumi.StringPtrOutput `pulumi:"contentType"`
	// A map of custom blob metadata.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// The name of the storage blob. Must be unique within the storage container the blob is located.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of workers per CPU core to run for concurrent uploads. Defaults to `8`.
	Parallelism pulumi.IntPtrOutput `pulumi:"parallelism"`
	// 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 pulumi.IntPtrOutput `pulumi:"size"`
	// 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 pulumi.AssetOrArchiveOutput `pulumi:"source"`
	// 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 pulumi.StringPtrOutput `pulumi:"sourceContent"`
	// 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 pulumi.StringPtrOutput `pulumi:"sourceUri"`
	// Specifies the storage account in which to create the storage container.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// The name of the storage container in which this blob should be created.
	StorageContainerName pulumi.StringOutput `pulumi:"storageContainerName"`
	// 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 pulumi.StringOutput `pulumi:"type"`
	// The URL of the blob
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a Blob within a Storage Container.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewBlob(ctx, "exampleBlob", &storage.BlobArgs{
			StorageAccountName:   exampleAccount.Name,
			StorageContainerName: exampleContainer.Name,
			Type:                 pulumi.String("Block"),
			Source:               pulumi.NewFileAsset("some-local-file.zip"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Blob's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/blob:Blob blob1 https://example.blob.core.windows.net/container/blob.vhd

```

func GetBlob

func GetBlob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BlobState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Blob, error)

NewBlob registers a new resource with the given unique name, arguments, and options.

func (Blob) ElementType added in v3.31.1

func (Blob) ElementType() reflect.Type

func (Blob) ToBlobOutput added in v3.31.1

func (i Blob) ToBlobOutput() BlobOutput

func (Blob) ToBlobOutputWithContext added in v3.31.1

func (i Blob) ToBlobOutputWithContext(ctx context.Context) BlobOutput

type BlobArgs

type BlobArgs struct {
	// The access tier of the storage blob. Possible values are `Archive`, `Cool` and `Hot`.
	AccessTier pulumi.StringPtrInput
	// The MD5 sum of the blob contents. Cannot be defined if `sourceUri` is defined, or if blob type is Append or Page. Changing this forces a new resource to be created.
	ContentMd5 pulumi.StringPtrInput
	// The content type of the storage blob. Cannot be defined if `sourceUri` is defined. Defaults to `application/octet-stream`.
	ContentType pulumi.StringPtrInput
	// A map of custom blob metadata.
	Metadata pulumi.StringMapInput
	// The name of the storage blob. Must be unique within the storage container the blob is located.
	Name pulumi.StringPtrInput
	// The number of workers per CPU core to run for concurrent uploads. Defaults to `8`.
	Parallelism pulumi.IntPtrInput
	// 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 pulumi.IntPtrInput
	// 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 pulumi.AssetOrArchiveInput
	// 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 pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// Specifies the storage account in which to create the storage container.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringInput
	// The name of the storage container in which this blob should be created.
	StorageContainerName pulumi.StringInput
	// 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 pulumi.StringInput
}

The set of arguments for constructing a Blob resource.

func (BlobArgs) ElementType

func (BlobArgs) ElementType() reflect.Type

type BlobInput added in v3.31.1

type BlobInput interface {
	pulumi.Input

	ToBlobOutput() BlobOutput
	ToBlobOutputWithContext(ctx context.Context) BlobOutput
}

type BlobOutput added in v3.31.1

type BlobOutput struct {
	*pulumi.OutputState
}

func (BlobOutput) ElementType added in v3.31.1

func (BlobOutput) ElementType() reflect.Type

func (BlobOutput) ToBlobOutput added in v3.31.1

func (o BlobOutput) ToBlobOutput() BlobOutput

func (BlobOutput) ToBlobOutputWithContext added in v3.31.1

func (o BlobOutput) ToBlobOutputWithContext(ctx context.Context) BlobOutput

type BlobState

type BlobState struct {
	// The access tier of the storage blob. Possible values are `Archive`, `Cool` and `Hot`.
	AccessTier pulumi.StringPtrInput
	// The MD5 sum of the blob contents. Cannot be defined if `sourceUri` is defined, or if blob type is Append or Page. Changing this forces a new resource to be created.
	ContentMd5 pulumi.StringPtrInput
	// The content type of the storage blob. Cannot be defined if `sourceUri` is defined. Defaults to `application/octet-stream`.
	ContentType pulumi.StringPtrInput
	// A map of custom blob metadata.
	Metadata pulumi.StringMapInput
	// The name of the storage blob. Must be unique within the storage container the blob is located.
	Name pulumi.StringPtrInput
	// The number of workers per CPU core to run for concurrent uploads. Defaults to `8`.
	Parallelism pulumi.IntPtrInput
	// 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 pulumi.IntPtrInput
	// 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 pulumi.AssetOrArchiveInput
	// 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 pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// Specifies the storage account in which to create the storage container.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringPtrInput
	// The name of the storage container in which this blob should be created.
	StorageContainerName pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// The URL of the blob
	Url pulumi.StringPtrInput
}

func (BlobState) ElementType

func (BlobState) ElementType() reflect.Type

type Container

type Container struct {
	pulumi.CustomResourceState

	// The Access Level configured for this Container. Possible values are `blob`, `container` or `private`. Defaults to `private`.
	ContainerAccessType pulumi.StringPtrOutput `pulumi:"containerAccessType"`
	// Is there an Immutability Policy configured on this Storage Container?
	HasImmutabilityPolicy pulumi.BoolOutput `pulumi:"hasImmutabilityPolicy"`
	// Is there a Legal Hold configured on this Storage Container?
	HasLegalHold pulumi.BoolOutput `pulumi:"hasLegalHold"`
	// A mapping of MetaData for this Container.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// The name of the Container which should be created within the Storage Account.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Resource Manager ID of this Storage Container.
	ResourceManagerId pulumi.StringOutput `pulumi:"resourceManagerId"`
	// The name of the Storage Account where the Container should be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
}

Manages a Container within an Azure Storage Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("staging"),
			},
		})
		if err != nil {
			return err
		}
		_, err = storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Containers can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/container:Container container1 https://example.blob.core.windows.net/container

```

func GetContainer

func GetContainer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContainerState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Container, error)

NewContainer registers a new resource with the given unique name, arguments, and options.

func (Container) ElementType added in v3.31.1

func (Container) ElementType() reflect.Type

func (Container) ToContainerOutput added in v3.31.1

func (i Container) ToContainerOutput() ContainerOutput

func (Container) ToContainerOutputWithContext added in v3.31.1

func (i Container) ToContainerOutputWithContext(ctx context.Context) ContainerOutput

type ContainerArgs

type ContainerArgs struct {
	// The Access Level configured for this Container. Possible values are `blob`, `container` or `private`. Defaults to `private`.
	ContainerAccessType pulumi.StringPtrInput
	// A mapping of MetaData for this Container.
	Metadata pulumi.StringMapInput
	// The name of the Container which should be created within the Storage Account.
	Name pulumi.StringPtrInput
	// The name of the Storage Account where the Container should be created.
	StorageAccountName pulumi.StringInput
}

The set of arguments for constructing a Container resource.

func (ContainerArgs) ElementType

func (ContainerArgs) ElementType() reflect.Type

type ContainerInput added in v3.31.1

type ContainerInput interface {
	pulumi.Input

	ToContainerOutput() ContainerOutput
	ToContainerOutputWithContext(ctx context.Context) ContainerOutput
}

type ContainerOutput added in v3.31.1

type ContainerOutput struct {
	*pulumi.OutputState
}

func (ContainerOutput) ElementType added in v3.31.1

func (ContainerOutput) ElementType() reflect.Type

func (ContainerOutput) ToContainerOutput added in v3.31.1

func (o ContainerOutput) ToContainerOutput() ContainerOutput

func (ContainerOutput) ToContainerOutputWithContext added in v3.31.1

func (o ContainerOutput) ToContainerOutputWithContext(ctx context.Context) ContainerOutput

type ContainerState

type ContainerState struct {
	// The Access Level configured for this Container. Possible values are `blob`, `container` or `private`. Defaults to `private`.
	ContainerAccessType pulumi.StringPtrInput
	// Is there an Immutability Policy configured on this Storage Container?
	HasImmutabilityPolicy pulumi.BoolPtrInput
	// Is there a Legal Hold configured on this Storage Container?
	HasLegalHold pulumi.BoolPtrInput
	// A mapping of MetaData for this Container.
	Metadata pulumi.StringMapInput
	// The name of the Container which should be created within the Storage Account.
	Name pulumi.StringPtrInput
	// The Resource Manager ID of this Storage Container.
	ResourceManagerId pulumi.StringPtrInput
	// The name of the Storage Account where the Container should be created.
	StorageAccountName pulumi.StringPtrInput
}

func (ContainerState) ElementType

func (ContainerState) ElementType() reflect.Type

type CustomerManagedKey

type CustomerManagedKey struct {
	pulumi.CustomResourceState

	// The name of Key Vault Key.
	KeyName pulumi.StringOutput `pulumi:"keyName"`
	// The ID of the Key Vault. Changing this forces a new resource to be created.
	KeyVaultId pulumi.StringOutput `pulumi:"keyVaultId"`
	// The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.
	KeyVersion pulumi.StringPtrOutput `pulumi:"keyVersion"`
	// The ID of the Storage Account. Changing this forces a new resource to be created.
	StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"`
}

Manages a Customer Managed Key for a Storage Account.

## Import

Customer Managed Keys for a Storage Account can be imported using the `resource id` of the Storage Account, e.g.

```sh

$ pulumi import azure:storage/customerManagedKey:CustomerManagedKey example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount

```

func GetCustomerManagedKey

func GetCustomerManagedKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomerManagedKeyState, opts ...pulumi.ResourceOption) (*CustomerManagedKey, error)

GetCustomerManagedKey gets an existing CustomerManagedKey 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 NewCustomerManagedKey

func NewCustomerManagedKey(ctx *pulumi.Context,
	name string, args *CustomerManagedKeyArgs, opts ...pulumi.ResourceOption) (*CustomerManagedKey, error)

NewCustomerManagedKey registers a new resource with the given unique name, arguments, and options.

func (CustomerManagedKey) ElementType added in v3.31.1

func (CustomerManagedKey) ElementType() reflect.Type

func (CustomerManagedKey) ToCustomerManagedKeyOutput added in v3.31.1

func (i CustomerManagedKey) ToCustomerManagedKeyOutput() CustomerManagedKeyOutput

func (CustomerManagedKey) ToCustomerManagedKeyOutputWithContext added in v3.31.1

func (i CustomerManagedKey) ToCustomerManagedKeyOutputWithContext(ctx context.Context) CustomerManagedKeyOutput

type CustomerManagedKeyArgs

type CustomerManagedKeyArgs struct {
	// The name of Key Vault Key.
	KeyName pulumi.StringInput
	// The ID of the Key Vault. Changing this forces a new resource to be created.
	KeyVaultId pulumi.StringInput
	// The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.
	KeyVersion pulumi.StringPtrInput
	// The ID of the Storage Account. Changing this forces a new resource to be created.
	StorageAccountId pulumi.StringInput
}

The set of arguments for constructing a CustomerManagedKey resource.

func (CustomerManagedKeyArgs) ElementType

func (CustomerManagedKeyArgs) ElementType() reflect.Type

type CustomerManagedKeyInput added in v3.31.1

type CustomerManagedKeyInput interface {
	pulumi.Input

	ToCustomerManagedKeyOutput() CustomerManagedKeyOutput
	ToCustomerManagedKeyOutputWithContext(ctx context.Context) CustomerManagedKeyOutput
}

type CustomerManagedKeyOutput added in v3.31.1

type CustomerManagedKeyOutput struct {
	*pulumi.OutputState
}

func (CustomerManagedKeyOutput) ElementType added in v3.31.1

func (CustomerManagedKeyOutput) ElementType() reflect.Type

func (CustomerManagedKeyOutput) ToCustomerManagedKeyOutput added in v3.31.1

func (o CustomerManagedKeyOutput) ToCustomerManagedKeyOutput() CustomerManagedKeyOutput

func (CustomerManagedKeyOutput) ToCustomerManagedKeyOutputWithContext added in v3.31.1

func (o CustomerManagedKeyOutput) ToCustomerManagedKeyOutputWithContext(ctx context.Context) CustomerManagedKeyOutput

type CustomerManagedKeyState

type CustomerManagedKeyState struct {
	// The name of Key Vault Key.
	KeyName pulumi.StringPtrInput
	// The ID of the Key Vault. Changing this forces a new resource to be created.
	KeyVaultId pulumi.StringPtrInput
	// The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.
	KeyVersion pulumi.StringPtrInput
	// The ID of the Storage Account. Changing this forces a new resource to be created.
	StorageAccountId pulumi.StringPtrInput
}

func (CustomerManagedKeyState) ElementType

func (CustomerManagedKeyState) ElementType() reflect.Type

type DataLakeGen2Filesystem

type DataLakeGen2Filesystem struct {
	pulumi.CustomResourceState

	// 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 pulumi.StringOutput `pulumi:"name"`
	// A mapping of Key to Base64-Encoded Values which should be assigned to this Data Lake Gen2 File System.
	Properties pulumi.StringMapOutput `pulumi:"properties"`
	// 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 pulumi.StringOutput `pulumi:"storageAccountId"`
}

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			AccountKind:            pulumi.String("StorageV2"),
			IsHnsEnabled:           pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
			StorageAccountId: exampleAccount.ID(),
			Properties: pulumi.StringMap{
				"hello": pulumi.String("aGVsbG8="),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Lake Gen2 File System's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/dataLakeGen2Filesystem:DataLakeGen2Filesystem queue1 https://account1.dfs.core.windows.net/fileSystem1

```

func GetDataLakeGen2Filesystem

func GetDataLakeGen2Filesystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataLakeGen2FilesystemState, opts ...pulumi.ResourceOption) (*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

func NewDataLakeGen2Filesystem(ctx *pulumi.Context,
	name string, args *DataLakeGen2FilesystemArgs, opts ...pulumi.ResourceOption) (*DataLakeGen2Filesystem, error)

NewDataLakeGen2Filesystem registers a new resource with the given unique name, arguments, and options.

func (DataLakeGen2Filesystem) ElementType added in v3.31.1

func (DataLakeGen2Filesystem) ElementType() reflect.Type

func (DataLakeGen2Filesystem) ToDataLakeGen2FilesystemOutput added in v3.31.1

func (i DataLakeGen2Filesystem) ToDataLakeGen2FilesystemOutput() DataLakeGen2FilesystemOutput

func (DataLakeGen2Filesystem) ToDataLakeGen2FilesystemOutputWithContext added in v3.31.1

func (i DataLakeGen2Filesystem) ToDataLakeGen2FilesystemOutputWithContext(ctx context.Context) DataLakeGen2FilesystemOutput

type DataLakeGen2FilesystemArgs

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 pulumi.StringPtrInput
	// A mapping of Key to Base64-Encoded Values which should be assigned to this Data Lake Gen2 File System.
	Properties pulumi.StringMapInput
	// 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 pulumi.StringInput
}

The set of arguments for constructing a DataLakeGen2Filesystem resource.

func (DataLakeGen2FilesystemArgs) ElementType

func (DataLakeGen2FilesystemArgs) ElementType() reflect.Type

type DataLakeGen2FilesystemInput added in v3.31.1

type DataLakeGen2FilesystemInput interface {
	pulumi.Input

	ToDataLakeGen2FilesystemOutput() DataLakeGen2FilesystemOutput
	ToDataLakeGen2FilesystemOutputWithContext(ctx context.Context) DataLakeGen2FilesystemOutput
}

type DataLakeGen2FilesystemOutput added in v3.31.1

type DataLakeGen2FilesystemOutput struct {
	*pulumi.OutputState
}

func (DataLakeGen2FilesystemOutput) ElementType added in v3.31.1

func (DataLakeGen2FilesystemOutput) ToDataLakeGen2FilesystemOutput added in v3.31.1

func (o DataLakeGen2FilesystemOutput) ToDataLakeGen2FilesystemOutput() DataLakeGen2FilesystemOutput

func (DataLakeGen2FilesystemOutput) ToDataLakeGen2FilesystemOutputWithContext added in v3.31.1

func (o DataLakeGen2FilesystemOutput) ToDataLakeGen2FilesystemOutputWithContext(ctx context.Context) DataLakeGen2FilesystemOutput

type DataLakeGen2FilesystemState

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 pulumi.StringPtrInput
	// A mapping of Key to Base64-Encoded Values which should be assigned to this Data Lake Gen2 File System.
	Properties pulumi.StringMapInput
	// 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 pulumi.StringPtrInput
}

func (DataLakeGen2FilesystemState) ElementType

type DataLakeGen2Path added in v3.32.0

type DataLakeGen2Path struct {
	pulumi.CustomResourceState

	// One or more `ace` blocks as defined below to specify the entries for the ACL for the path.
	Aces DataLakeGen2PathAceArrayOutput `pulumi:"aces"`
	// 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.
	FilesystemName pulumi.StringOutput `pulumi:"filesystemName"`
	// Specifies the Object ID of the Azure Active Directory Group to make the owning group.
	Group pulumi.StringOutput `pulumi:"group"`
	// Specifies the Object ID of the Azure Active Directory User to make the owning user.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// The path which should be created within the Data Lake Gen2 File System in the Storage Account. Changing this forces a new resource to be created.
	Path pulumi.StringOutput `pulumi:"path"`
	// Specifies the type for path to create. Currently only `directory` is supported.
	Resource pulumi.StringOutput `pulumi:"resource"`
	// 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 pulumi.StringOutput `pulumi:"storageAccountId"`
}

Manages a Data Lake Gen2 Path in a 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			AccountKind:            pulumi.String("StorageV2"),
			IsHnsEnabled:           pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
			StorageAccountId: exampleAccount.ID(),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewDataLakeGen2Path(ctx, "exampleDataLakeGen2Path", &storage.DataLakeGen2PathArgs{
			Path:             pulumi.String("example"),
			FilesystemName:   exampleDataLakeGen2Filesystem.Name,
			StorageAccountId: exampleAccount.ID(),
			Resource:         pulumi.String("directory"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Lake Gen2 Paths can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/dataLakeGen2Path:DataLakeGen2Path example https://account1.dfs.core.windows.net/fileSystem1/path

```

func GetDataLakeGen2Path added in v3.32.0

func GetDataLakeGen2Path(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataLakeGen2PathState, opts ...pulumi.ResourceOption) (*DataLakeGen2Path, error)

GetDataLakeGen2Path gets an existing DataLakeGen2Path 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 NewDataLakeGen2Path added in v3.32.0

func NewDataLakeGen2Path(ctx *pulumi.Context,
	name string, args *DataLakeGen2PathArgs, opts ...pulumi.ResourceOption) (*DataLakeGen2Path, error)

NewDataLakeGen2Path registers a new resource with the given unique name, arguments, and options.

func (DataLakeGen2Path) ElementType added in v3.32.0

func (DataLakeGen2Path) ElementType() reflect.Type

func (DataLakeGen2Path) ToDataLakeGen2PathOutput added in v3.32.0

func (i DataLakeGen2Path) ToDataLakeGen2PathOutput() DataLakeGen2PathOutput

func (DataLakeGen2Path) ToDataLakeGen2PathOutputWithContext added in v3.32.0

func (i DataLakeGen2Path) ToDataLakeGen2PathOutputWithContext(ctx context.Context) DataLakeGen2PathOutput

type DataLakeGen2PathAce added in v3.32.0

type DataLakeGen2PathAce struct {
	// Specifies the Object ID of the Azure Active Directory User or Group that the entry relates to. Only valid for `user` or `group` entries.
	Id *string `pulumi:"id"`
	// Specifies the permissions for the entry in `rwx` form. For example, `rwx` gives full permissions but `r--` only gives read permissions.
	Permissions string `pulumi:"permissions"`
	// Specifies whether the ACE represents an `access` entry or a `default` entry. Default value is `access`.
	Scope *string `pulumi:"scope"`
	// Specifies the type of entry. Can be `user`, `group`, `mask` or `other`.
	Type string `pulumi:"type"`
}

type DataLakeGen2PathAceArgs added in v3.32.0

type DataLakeGen2PathAceArgs struct {
	// Specifies the Object ID of the Azure Active Directory User or Group that the entry relates to. Only valid for `user` or `group` entries.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies the permissions for the entry in `rwx` form. For example, `rwx` gives full permissions but `r--` only gives read permissions.
	Permissions pulumi.StringInput `pulumi:"permissions"`
	// Specifies whether the ACE represents an `access` entry or a `default` entry. Default value is `access`.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// Specifies the type of entry. Can be `user`, `group`, `mask` or `other`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (DataLakeGen2PathAceArgs) ElementType added in v3.32.0

func (DataLakeGen2PathAceArgs) ElementType() reflect.Type

func (DataLakeGen2PathAceArgs) ToDataLakeGen2PathAceOutput added in v3.32.0

func (i DataLakeGen2PathAceArgs) ToDataLakeGen2PathAceOutput() DataLakeGen2PathAceOutput

func (DataLakeGen2PathAceArgs) ToDataLakeGen2PathAceOutputWithContext added in v3.32.0

func (i DataLakeGen2PathAceArgs) ToDataLakeGen2PathAceOutputWithContext(ctx context.Context) DataLakeGen2PathAceOutput

type DataLakeGen2PathAceArray added in v3.32.0

type DataLakeGen2PathAceArray []DataLakeGen2PathAceInput

func (DataLakeGen2PathAceArray) ElementType added in v3.32.0

func (DataLakeGen2PathAceArray) ElementType() reflect.Type

func (DataLakeGen2PathAceArray) ToDataLakeGen2PathAceArrayOutput added in v3.32.0

func (i DataLakeGen2PathAceArray) ToDataLakeGen2PathAceArrayOutput() DataLakeGen2PathAceArrayOutput

func (DataLakeGen2PathAceArray) ToDataLakeGen2PathAceArrayOutputWithContext added in v3.32.0

func (i DataLakeGen2PathAceArray) ToDataLakeGen2PathAceArrayOutputWithContext(ctx context.Context) DataLakeGen2PathAceArrayOutput

type DataLakeGen2PathAceArrayInput added in v3.32.0

type DataLakeGen2PathAceArrayInput interface {
	pulumi.Input

	ToDataLakeGen2PathAceArrayOutput() DataLakeGen2PathAceArrayOutput
	ToDataLakeGen2PathAceArrayOutputWithContext(context.Context) DataLakeGen2PathAceArrayOutput
}

DataLakeGen2PathAceArrayInput is an input type that accepts DataLakeGen2PathAceArray and DataLakeGen2PathAceArrayOutput values. You can construct a concrete instance of `DataLakeGen2PathAceArrayInput` via:

DataLakeGen2PathAceArray{ DataLakeGen2PathAceArgs{...} }

type DataLakeGen2PathAceArrayOutput added in v3.32.0

type DataLakeGen2PathAceArrayOutput struct{ *pulumi.OutputState }

func (DataLakeGen2PathAceArrayOutput) ElementType added in v3.32.0

func (DataLakeGen2PathAceArrayOutput) Index added in v3.32.0

func (DataLakeGen2PathAceArrayOutput) ToDataLakeGen2PathAceArrayOutput added in v3.32.0

func (o DataLakeGen2PathAceArrayOutput) ToDataLakeGen2PathAceArrayOutput() DataLakeGen2PathAceArrayOutput

func (DataLakeGen2PathAceArrayOutput) ToDataLakeGen2PathAceArrayOutputWithContext added in v3.32.0

func (o DataLakeGen2PathAceArrayOutput) ToDataLakeGen2PathAceArrayOutputWithContext(ctx context.Context) DataLakeGen2PathAceArrayOutput

type DataLakeGen2PathAceInput added in v3.32.0

type DataLakeGen2PathAceInput interface {
	pulumi.Input

	ToDataLakeGen2PathAceOutput() DataLakeGen2PathAceOutput
	ToDataLakeGen2PathAceOutputWithContext(context.Context) DataLakeGen2PathAceOutput
}

DataLakeGen2PathAceInput is an input type that accepts DataLakeGen2PathAceArgs and DataLakeGen2PathAceOutput values. You can construct a concrete instance of `DataLakeGen2PathAceInput` via:

DataLakeGen2PathAceArgs{...}

type DataLakeGen2PathAceOutput added in v3.32.0

type DataLakeGen2PathAceOutput struct{ *pulumi.OutputState }

func (DataLakeGen2PathAceOutput) ElementType added in v3.32.0

func (DataLakeGen2PathAceOutput) ElementType() reflect.Type

func (DataLakeGen2PathAceOutput) Id added in v3.32.0

Specifies the Object ID of the Azure Active Directory User or Group that the entry relates to. Only valid for `user` or `group` entries.

func (DataLakeGen2PathAceOutput) Permissions added in v3.32.0

Specifies the permissions for the entry in `rwx` form. For example, `rwx` gives full permissions but `r--` only gives read permissions.

func (DataLakeGen2PathAceOutput) Scope added in v3.32.0

Specifies whether the ACE represents an `access` entry or a `default` entry. Default value is `access`.

func (DataLakeGen2PathAceOutput) ToDataLakeGen2PathAceOutput added in v3.32.0

func (o DataLakeGen2PathAceOutput) ToDataLakeGen2PathAceOutput() DataLakeGen2PathAceOutput

func (DataLakeGen2PathAceOutput) ToDataLakeGen2PathAceOutputWithContext added in v3.32.0

func (o DataLakeGen2PathAceOutput) ToDataLakeGen2PathAceOutputWithContext(ctx context.Context) DataLakeGen2PathAceOutput

func (DataLakeGen2PathAceOutput) Type added in v3.32.0

Specifies the type of entry. Can be `user`, `group`, `mask` or `other`.

type DataLakeGen2PathArgs added in v3.32.0

type DataLakeGen2PathArgs struct {
	// One or more `ace` blocks as defined below to specify the entries for the ACL for the path.
	Aces DataLakeGen2PathAceArrayInput
	// 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.
	FilesystemName pulumi.StringInput
	// Specifies the Object ID of the Azure Active Directory Group to make the owning group.
	Group pulumi.StringPtrInput
	// Specifies the Object ID of the Azure Active Directory User to make the owning user.
	Owner pulumi.StringPtrInput
	// The path which should be created within the Data Lake Gen2 File System in the Storage Account. Changing this forces a new resource to be created.
	Path pulumi.StringInput
	// Specifies the type for path to create. Currently only `directory` is supported.
	Resource pulumi.StringInput
	// 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 pulumi.StringInput
}

The set of arguments for constructing a DataLakeGen2Path resource.

func (DataLakeGen2PathArgs) ElementType added in v3.32.0

func (DataLakeGen2PathArgs) ElementType() reflect.Type

type DataLakeGen2PathInput added in v3.32.0

type DataLakeGen2PathInput interface {
	pulumi.Input

	ToDataLakeGen2PathOutput() DataLakeGen2PathOutput
	ToDataLakeGen2PathOutputWithContext(ctx context.Context) DataLakeGen2PathOutput
}

type DataLakeGen2PathOutput added in v3.32.0

type DataLakeGen2PathOutput struct {
	*pulumi.OutputState
}

func (DataLakeGen2PathOutput) ElementType added in v3.32.0

func (DataLakeGen2PathOutput) ElementType() reflect.Type

func (DataLakeGen2PathOutput) ToDataLakeGen2PathOutput added in v3.32.0

func (o DataLakeGen2PathOutput) ToDataLakeGen2PathOutput() DataLakeGen2PathOutput

func (DataLakeGen2PathOutput) ToDataLakeGen2PathOutputWithContext added in v3.32.0

func (o DataLakeGen2PathOutput) ToDataLakeGen2PathOutputWithContext(ctx context.Context) DataLakeGen2PathOutput

type DataLakeGen2PathState added in v3.32.0

type DataLakeGen2PathState struct {
	// One or more `ace` blocks as defined below to specify the entries for the ACL for the path.
	Aces DataLakeGen2PathAceArrayInput
	// 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.
	FilesystemName pulumi.StringPtrInput
	// Specifies the Object ID of the Azure Active Directory Group to make the owning group.
	Group pulumi.StringPtrInput
	// Specifies the Object ID of the Azure Active Directory User to make the owning user.
	Owner pulumi.StringPtrInput
	// The path which should be created within the Data Lake Gen2 File System in the Storage Account. Changing this forces a new resource to be created.
	Path pulumi.StringPtrInput
	// Specifies the type for path to create. Currently only `directory` is supported.
	Resource pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
}

func (DataLakeGen2PathState) ElementType added in v3.32.0

func (DataLakeGen2PathState) ElementType() reflect.Type

type EncryptionScope added in v3.32.0

type EncryptionScope struct {
	pulumi.CustomResourceState

	// The ID of the Key Vault Key. Required when `source` is `Microsoft.KeyVault`.
	KeyVaultKeyId pulumi.StringPtrOutput `pulumi:"keyVaultKeyId"`
	// The name which should be used for this Storage Encryption Scope. Changing this forces a new Storage Encryption Scope to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The source of the Storage Encryption Scope. Possible values are `Microsoft.KeyVault` and `Microsoft.Storage`.
	Source pulumi.StringOutput `pulumi:"source"`
	// The ID of the Storage Account where this Storage Encryption Scope is created. Changing this forces a new Storage Encryption Scope to be created.
	StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"`
}

Manages a Storage Encryption Scope.

> **Note:** Storage Encryption Scopes are in Preview [more information can be found here](https://docs.microsoft.com/en-us/azure/storage/blobs/encryption-scope-manage).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			Identity: &storage.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = storage.NewEncryptionScope(ctx, "exampleEncryptionScope", &storage.EncryptionScopeArgs{
			StorageAccountId: exampleAccount.ID(),
			Source:           pulumi.String("Microsoft.Storage"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Encryption Scopes can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/encryptionScope:EncryptionScope example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Storage/storageAccounts/account1/encryptionScopes/scope1

```

func GetEncryptionScope added in v3.32.0

func GetEncryptionScope(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EncryptionScopeState, opts ...pulumi.ResourceOption) (*EncryptionScope, error)

GetEncryptionScope gets an existing EncryptionScope 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 NewEncryptionScope added in v3.32.0

func NewEncryptionScope(ctx *pulumi.Context,
	name string, args *EncryptionScopeArgs, opts ...pulumi.ResourceOption) (*EncryptionScope, error)

NewEncryptionScope registers a new resource with the given unique name, arguments, and options.

func (EncryptionScope) ElementType added in v3.32.0

func (EncryptionScope) ElementType() reflect.Type

func (EncryptionScope) ToEncryptionScopeOutput added in v3.32.0

func (i EncryptionScope) ToEncryptionScopeOutput() EncryptionScopeOutput

func (EncryptionScope) ToEncryptionScopeOutputWithContext added in v3.32.0

func (i EncryptionScope) ToEncryptionScopeOutputWithContext(ctx context.Context) EncryptionScopeOutput

type EncryptionScopeArgs added in v3.32.0

type EncryptionScopeArgs struct {
	// The ID of the Key Vault Key. Required when `source` is `Microsoft.KeyVault`.
	KeyVaultKeyId pulumi.StringPtrInput
	// The name which should be used for this Storage Encryption Scope. Changing this forces a new Storage Encryption Scope to be created.
	Name pulumi.StringPtrInput
	// The source of the Storage Encryption Scope. Possible values are `Microsoft.KeyVault` and `Microsoft.Storage`.
	Source pulumi.StringInput
	// The ID of the Storage Account where this Storage Encryption Scope is created. Changing this forces a new Storage Encryption Scope to be created.
	StorageAccountId pulumi.StringInput
}

The set of arguments for constructing a EncryptionScope resource.

func (EncryptionScopeArgs) ElementType added in v3.32.0

func (EncryptionScopeArgs) ElementType() reflect.Type

type EncryptionScopeInput added in v3.32.0

type EncryptionScopeInput interface {
	pulumi.Input

	ToEncryptionScopeOutput() EncryptionScopeOutput
	ToEncryptionScopeOutputWithContext(ctx context.Context) EncryptionScopeOutput
}

type EncryptionScopeOutput added in v3.32.0

type EncryptionScopeOutput struct {
	*pulumi.OutputState
}

func (EncryptionScopeOutput) ElementType added in v3.32.0

func (EncryptionScopeOutput) ElementType() reflect.Type

func (EncryptionScopeOutput) ToEncryptionScopeOutput added in v3.32.0

func (o EncryptionScopeOutput) ToEncryptionScopeOutput() EncryptionScopeOutput

func (EncryptionScopeOutput) ToEncryptionScopeOutputWithContext added in v3.32.0

func (o EncryptionScopeOutput) ToEncryptionScopeOutputWithContext(ctx context.Context) EncryptionScopeOutput

type EncryptionScopeState added in v3.32.0

type EncryptionScopeState struct {
	// The ID of the Key Vault Key. Required when `source` is `Microsoft.KeyVault`.
	KeyVaultKeyId pulumi.StringPtrInput
	// The name which should be used for this Storage Encryption Scope. Changing this forces a new Storage Encryption Scope to be created.
	Name pulumi.StringPtrInput
	// The source of the Storage Encryption Scope. Possible values are `Microsoft.KeyVault` and `Microsoft.Storage`.
	Source pulumi.StringPtrInput
	// The ID of the Storage Account where this Storage Encryption Scope is created. Changing this forces a new Storage Encryption Scope to be created.
	StorageAccountId pulumi.StringPtrInput
}

func (EncryptionScopeState) ElementType added in v3.32.0

func (EncryptionScopeState) ElementType() reflect.Type

type GetAccountBlobContainerSASArgs

type GetAccountBlobContainerSASArgs struct {
	// The `Cache-Control` response header that is sent when this SAS token is used.
	CacheControl *string `pulumi:"cacheControl"`
	// The connection string for the storage account to which this SAS applies. Typically directly from the `primaryConnectionString` attribute of an `storage.Account` resource.
	ConnectionString string `pulumi:"connectionString"`
	// Name of the container.
	ContainerName string `pulumi:"containerName"`
	// The `Content-Disposition` response header that is sent when this SAS token is used.
	ContentDisposition *string `pulumi:"contentDisposition"`
	// The `Content-Encoding` response header that is sent when this SAS token is used.
	ContentEncoding *string `pulumi:"contentEncoding"`
	// The `Content-Language` response header that is sent when this SAS token is used.
	ContentLanguage *string `pulumi:"contentLanguage"`
	// The `Content-Type` response header that is sent when this SAS token is used.
	ContentType *string `pulumi:"contentType"`
	// The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string.
	Expiry string `pulumi:"expiry"`
	// Only permit `https` access. If `false`, both `http` and `https` are permitted. Defaults to `true`.
	HttpsOnly *bool `pulumi:"httpsOnly"`
	// Single ipv4 address or range (connected with a dash) of ipv4 addresses.
	IpAddress *string `pulumi:"ipAddress"`
	// A `permissions` block as defined below.
	Permissions GetAccountBlobContainerSASPermissions `pulumi:"permissions"`
	// The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string.
	Start string `pulumi:"start"`
}

A collection of arguments for invoking getAccountBlobContainerSAS.

type GetAccountBlobContainerSASPermissions

type GetAccountBlobContainerSASPermissions struct {
	// Should Add permissions be enabled for this SAS?
	Add bool `pulumi:"add"`
	// Should Create permissions be enabled for this SAS?
	Create bool `pulumi:"create"`
	// Should Delete permissions be enabled for this SAS?
	Delete bool `pulumi:"delete"`
	// Should List permissions be enabled for this SAS?
	List bool `pulumi:"list"`
	// Should Read permissions be enabled for this SAS?
	Read bool `pulumi:"read"`
	// Should Write permissions be enabled for this SAS?
	Write bool `pulumi:"write"`
}

type GetAccountBlobContainerSASPermissionsArgs

type GetAccountBlobContainerSASPermissionsArgs struct {
	// Should Add permissions be enabled for this SAS?
	Add pulumi.BoolInput `pulumi:"add"`
	// Should Create permissions be enabled for this SAS?
	Create pulumi.BoolInput `pulumi:"create"`
	// Should Delete permissions be enabled for this SAS?
	Delete pulumi.BoolInput `pulumi:"delete"`
	// Should List permissions be enabled for this SAS?
	List pulumi.BoolInput `pulumi:"list"`
	// Should Read permissions be enabled for this SAS?
	Read pulumi.BoolInput `pulumi:"read"`
	// Should Write permissions be enabled for this SAS?
	Write pulumi.BoolInput `pulumi:"write"`
}

func (GetAccountBlobContainerSASPermissionsArgs) ElementType

func (GetAccountBlobContainerSASPermissionsArgs) ToGetAccountBlobContainerSASPermissionsOutput

func (i GetAccountBlobContainerSASPermissionsArgs) ToGetAccountBlobContainerSASPermissionsOutput() GetAccountBlobContainerSASPermissionsOutput

func (GetAccountBlobContainerSASPermissionsArgs) ToGetAccountBlobContainerSASPermissionsOutputWithContext

func (i GetAccountBlobContainerSASPermissionsArgs) ToGetAccountBlobContainerSASPermissionsOutputWithContext(ctx context.Context) GetAccountBlobContainerSASPermissionsOutput

type GetAccountBlobContainerSASPermissionsInput

type GetAccountBlobContainerSASPermissionsInput interface {
	pulumi.Input

	ToGetAccountBlobContainerSASPermissionsOutput() GetAccountBlobContainerSASPermissionsOutput
	ToGetAccountBlobContainerSASPermissionsOutputWithContext(context.Context) GetAccountBlobContainerSASPermissionsOutput
}

GetAccountBlobContainerSASPermissionsInput is an input type that accepts GetAccountBlobContainerSASPermissionsArgs and GetAccountBlobContainerSASPermissionsOutput values. You can construct a concrete instance of `GetAccountBlobContainerSASPermissionsInput` via:

GetAccountBlobContainerSASPermissionsArgs{...}

type GetAccountBlobContainerSASPermissionsOutput

type GetAccountBlobContainerSASPermissionsOutput struct{ *pulumi.OutputState }

func (GetAccountBlobContainerSASPermissionsOutput) Add

Should Add permissions be enabled for this SAS?

func (GetAccountBlobContainerSASPermissionsOutput) Create

Should Create permissions be enabled for this SAS?

func (GetAccountBlobContainerSASPermissionsOutput) Delete

Should Delete permissions be enabled for this SAS?

func (GetAccountBlobContainerSASPermissionsOutput) ElementType

func (GetAccountBlobContainerSASPermissionsOutput) List

Should List permissions be enabled for this SAS?

func (GetAccountBlobContainerSASPermissionsOutput) Read

Should Read permissions be enabled for this SAS?

func (GetAccountBlobContainerSASPermissionsOutput) ToGetAccountBlobContainerSASPermissionsOutput

func (o GetAccountBlobContainerSASPermissionsOutput) ToGetAccountBlobContainerSASPermissionsOutput() GetAccountBlobContainerSASPermissionsOutput

func (GetAccountBlobContainerSASPermissionsOutput) ToGetAccountBlobContainerSASPermissionsOutputWithContext

func (o GetAccountBlobContainerSASPermissionsOutput) ToGetAccountBlobContainerSASPermissionsOutputWithContext(ctx context.Context) GetAccountBlobContainerSASPermissionsOutput

func (GetAccountBlobContainerSASPermissionsOutput) Write

Should Write permissions be enabled for this SAS?

type GetAccountBlobContainerSASResult

type GetAccountBlobContainerSASResult struct {
	CacheControl       *string `pulumi:"cacheControl"`
	ConnectionString   string  `pulumi:"connectionString"`
	ContainerName      string  `pulumi:"containerName"`
	ContentDisposition *string `pulumi:"contentDisposition"`
	ContentEncoding    *string `pulumi:"contentEncoding"`
	ContentLanguage    *string `pulumi:"contentLanguage"`
	ContentType        *string `pulumi:"contentType"`
	Expiry             string  `pulumi:"expiry"`
	HttpsOnly          *bool   `pulumi:"httpsOnly"`
	// The provider-assigned unique ID for this managed resource.
	Id          string                                `pulumi:"id"`
	IpAddress   *string                               `pulumi:"ipAddress"`
	Permissions GetAccountBlobContainerSASPermissions `pulumi:"permissions"`
	// The computed Blob Container Shared Access Signature (SAS).
	Sas   string `pulumi:"sas"`
	Start string `pulumi:"start"`
}

A collection of values returned by getAccountBlobContainerSAS.

func GetAccountBlobContainerSAS

func GetAccountBlobContainerSAS(ctx *pulumi.Context, args *GetAccountBlobContainerSASArgs, opts ...pulumi.InvokeOption) (*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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		rg, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{
			Location: pulumi.String("westus"),
		})
		if err != nil {
			return err
		}
		storage, err := storage.NewAccount(ctx, "storage", &storage.AccountArgs{
			ResourceGroupName:      rg.Name,
			Location:               rg.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		container, err := storage.NewContainer(ctx, "container", &storage.ContainerArgs{
			StorageAccountName:  storage.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		ctx.Export("sasUrlQueryString", example.ApplyT(func(example storage.GetAccountBlobContainerSASResult) (string, error) {
			return example.Sas, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetAccountCustomDomain

type GetAccountCustomDomain struct {
	// Specifies the name of the Storage Account
	Name string `pulumi:"name"`
}

type GetAccountCustomDomainArgs

type GetAccountCustomDomainArgs struct {
	// Specifies the name of the Storage Account
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAccountCustomDomainArgs) ElementType

func (GetAccountCustomDomainArgs) ElementType() reflect.Type

func (GetAccountCustomDomainArgs) ToGetAccountCustomDomainOutput

func (i GetAccountCustomDomainArgs) ToGetAccountCustomDomainOutput() GetAccountCustomDomainOutput

func (GetAccountCustomDomainArgs) ToGetAccountCustomDomainOutputWithContext

func (i GetAccountCustomDomainArgs) ToGetAccountCustomDomainOutputWithContext(ctx context.Context) GetAccountCustomDomainOutput

type GetAccountCustomDomainArray

type GetAccountCustomDomainArray []GetAccountCustomDomainInput

func (GetAccountCustomDomainArray) ElementType

func (GetAccountCustomDomainArray) ToGetAccountCustomDomainArrayOutput

func (i GetAccountCustomDomainArray) ToGetAccountCustomDomainArrayOutput() GetAccountCustomDomainArrayOutput

func (GetAccountCustomDomainArray) ToGetAccountCustomDomainArrayOutputWithContext

func (i GetAccountCustomDomainArray) ToGetAccountCustomDomainArrayOutputWithContext(ctx context.Context) GetAccountCustomDomainArrayOutput

type GetAccountCustomDomainArrayInput

type GetAccountCustomDomainArrayInput interface {
	pulumi.Input

	ToGetAccountCustomDomainArrayOutput() GetAccountCustomDomainArrayOutput
	ToGetAccountCustomDomainArrayOutputWithContext(context.Context) GetAccountCustomDomainArrayOutput
}

GetAccountCustomDomainArrayInput is an input type that accepts GetAccountCustomDomainArray and GetAccountCustomDomainArrayOutput values. You can construct a concrete instance of `GetAccountCustomDomainArrayInput` via:

GetAccountCustomDomainArray{ GetAccountCustomDomainArgs{...} }

type GetAccountCustomDomainArrayOutput

type GetAccountCustomDomainArrayOutput struct{ *pulumi.OutputState }

func (GetAccountCustomDomainArrayOutput) ElementType

func (GetAccountCustomDomainArrayOutput) Index

func (GetAccountCustomDomainArrayOutput) ToGetAccountCustomDomainArrayOutput

func (o GetAccountCustomDomainArrayOutput) ToGetAccountCustomDomainArrayOutput() GetAccountCustomDomainArrayOutput

func (GetAccountCustomDomainArrayOutput) ToGetAccountCustomDomainArrayOutputWithContext

func (o GetAccountCustomDomainArrayOutput) ToGetAccountCustomDomainArrayOutputWithContext(ctx context.Context) GetAccountCustomDomainArrayOutput

type GetAccountCustomDomainInput

type GetAccountCustomDomainInput interface {
	pulumi.Input

	ToGetAccountCustomDomainOutput() GetAccountCustomDomainOutput
	ToGetAccountCustomDomainOutputWithContext(context.Context) GetAccountCustomDomainOutput
}

GetAccountCustomDomainInput is an input type that accepts GetAccountCustomDomainArgs and GetAccountCustomDomainOutput values. You can construct a concrete instance of `GetAccountCustomDomainInput` via:

GetAccountCustomDomainArgs{...}

type GetAccountCustomDomainOutput

type GetAccountCustomDomainOutput struct{ *pulumi.OutputState }

func (GetAccountCustomDomainOutput) ElementType

func (GetAccountCustomDomainOutput) Name

Specifies the name of the Storage Account

func (GetAccountCustomDomainOutput) ToGetAccountCustomDomainOutput

func (o GetAccountCustomDomainOutput) ToGetAccountCustomDomainOutput() GetAccountCustomDomainOutput

func (GetAccountCustomDomainOutput) ToGetAccountCustomDomainOutputWithContext

func (o GetAccountCustomDomainOutput) ToGetAccountCustomDomainOutputWithContext(ctx context.Context) GetAccountCustomDomainOutput

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 string `pulumi:"connectionString"`
	// The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string.
	Expiry string `pulumi:"expiry"`
	// Only permit `https` access. If `false`, both `http` and `https` are permitted. Defaults to `true`.
	HttpsOnly *bool `pulumi:"httpsOnly"`
	// A `permissions` block as defined below.
	Permissions GetAccountSASPermissions `pulumi:"permissions"`
	// A `resourceTypes` block as defined below.
	ResourceTypes GetAccountSASResourceTypes `pulumi:"resourceTypes"`
	// A `services` block as defined below.
	Services GetAccountSASServices `pulumi:"services"`
	// Specifies the signed storage service version to use to authorize requests made with this account SAS. Defaults to `2017-07-29`.
	SignedVersion *string `pulumi:"signedVersion"`
	// The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string.
	Start string `pulumi:"start"`
}

A collection of arguments for invoking getAccountSAS.

type GetAccountSASPermissions

type GetAccountSASPermissions struct {
	// Should Add permissions be enabled for this SAS?
	Add bool `pulumi:"add"`
	// Should Create permissions be enabled for this SAS?
	Create bool `pulumi:"create"`
	// Should Delete permissions be enabled for this SAS?
	Delete bool `pulumi:"delete"`
	// Should List permissions be enabled for this SAS?
	List bool `pulumi:"list"`
	// Should Process permissions be enabled for this SAS?
	Process bool `pulumi:"process"`
	// Should Read permissions be enabled for this SAS?
	Read bool `pulumi:"read"`
	// Should Update permissions be enabled for this SAS?
	Update bool `pulumi:"update"`
	// Should Write permissions be enabled for this SAS?
	Write bool `pulumi:"write"`
}

type GetAccountSASPermissionsArgs

type GetAccountSASPermissionsArgs struct {
	// Should Add permissions be enabled for this SAS?
	Add pulumi.BoolInput `pulumi:"add"`
	// Should Create permissions be enabled for this SAS?
	Create pulumi.BoolInput `pulumi:"create"`
	// Should Delete permissions be enabled for this SAS?
	Delete pulumi.BoolInput `pulumi:"delete"`
	// Should List permissions be enabled for this SAS?
	List pulumi.BoolInput `pulumi:"list"`
	// Should Process permissions be enabled for this SAS?
	Process pulumi.BoolInput `pulumi:"process"`
	// Should Read permissions be enabled for this SAS?
	Read pulumi.BoolInput `pulumi:"read"`
	// Should Update permissions be enabled for this SAS?
	Update pulumi.BoolInput `pulumi:"update"`
	// Should Write permissions be enabled for this SAS?
	Write pulumi.BoolInput `pulumi:"write"`
}

func (GetAccountSASPermissionsArgs) ElementType

func (GetAccountSASPermissionsArgs) ToGetAccountSASPermissionsOutput

func (i GetAccountSASPermissionsArgs) ToGetAccountSASPermissionsOutput() GetAccountSASPermissionsOutput

func (GetAccountSASPermissionsArgs) ToGetAccountSASPermissionsOutputWithContext

func (i GetAccountSASPermissionsArgs) ToGetAccountSASPermissionsOutputWithContext(ctx context.Context) GetAccountSASPermissionsOutput

type GetAccountSASPermissionsInput

type GetAccountSASPermissionsInput interface {
	pulumi.Input

	ToGetAccountSASPermissionsOutput() GetAccountSASPermissionsOutput
	ToGetAccountSASPermissionsOutputWithContext(context.Context) GetAccountSASPermissionsOutput
}

GetAccountSASPermissionsInput is an input type that accepts GetAccountSASPermissionsArgs and GetAccountSASPermissionsOutput values. You can construct a concrete instance of `GetAccountSASPermissionsInput` via:

GetAccountSASPermissionsArgs{...}

type GetAccountSASPermissionsOutput

type GetAccountSASPermissionsOutput struct{ *pulumi.OutputState }

func (GetAccountSASPermissionsOutput) Add

Should Add permissions be enabled for this SAS?

func (GetAccountSASPermissionsOutput) Create

Should Create permissions be enabled for this SAS?

func (GetAccountSASPermissionsOutput) Delete

Should Delete permissions be enabled for this SAS?

func (GetAccountSASPermissionsOutput) ElementType

func (GetAccountSASPermissionsOutput) List

Should List permissions be enabled for this SAS?

func (GetAccountSASPermissionsOutput) Process

Should Process permissions be enabled for this SAS?

func (GetAccountSASPermissionsOutput) Read

Should Read permissions be enabled for this SAS?

func (GetAccountSASPermissionsOutput) ToGetAccountSASPermissionsOutput

func (o GetAccountSASPermissionsOutput) ToGetAccountSASPermissionsOutput() GetAccountSASPermissionsOutput

func (GetAccountSASPermissionsOutput) ToGetAccountSASPermissionsOutputWithContext

func (o GetAccountSASPermissionsOutput) ToGetAccountSASPermissionsOutputWithContext(ctx context.Context) GetAccountSASPermissionsOutput

func (GetAccountSASPermissionsOutput) Update

Should Update permissions be enabled for this SAS?

func (GetAccountSASPermissionsOutput) Write

Should Write permissions be enabled for this SAS?

type GetAccountSASResourceTypes

type GetAccountSASResourceTypes struct {
	// Should permission be granted to the container?
	Container bool `pulumi:"container"`
	// Should permission be granted only to a specific object?
	Object bool `pulumi:"object"`
	// Should permission be granted to the entire service?
	Service bool `pulumi:"service"`
}

type GetAccountSASResourceTypesArgs

type GetAccountSASResourceTypesArgs struct {
	// Should permission be granted to the container?
	Container pulumi.BoolInput `pulumi:"container"`
	// Should permission be granted only to a specific object?
	Object pulumi.BoolInput `pulumi:"object"`
	// Should permission be granted to the entire service?
	Service pulumi.BoolInput `pulumi:"service"`
}

func (GetAccountSASResourceTypesArgs) ElementType

func (GetAccountSASResourceTypesArgs) ToGetAccountSASResourceTypesOutput

func (i GetAccountSASResourceTypesArgs) ToGetAccountSASResourceTypesOutput() GetAccountSASResourceTypesOutput

func (GetAccountSASResourceTypesArgs) ToGetAccountSASResourceTypesOutputWithContext

func (i GetAccountSASResourceTypesArgs) ToGetAccountSASResourceTypesOutputWithContext(ctx context.Context) GetAccountSASResourceTypesOutput

type GetAccountSASResourceTypesInput

type GetAccountSASResourceTypesInput interface {
	pulumi.Input

	ToGetAccountSASResourceTypesOutput() GetAccountSASResourceTypesOutput
	ToGetAccountSASResourceTypesOutputWithContext(context.Context) GetAccountSASResourceTypesOutput
}

GetAccountSASResourceTypesInput is an input type that accepts GetAccountSASResourceTypesArgs and GetAccountSASResourceTypesOutput values. You can construct a concrete instance of `GetAccountSASResourceTypesInput` via:

GetAccountSASResourceTypesArgs{...}

type GetAccountSASResourceTypesOutput

type GetAccountSASResourceTypesOutput struct{ *pulumi.OutputState }

func (GetAccountSASResourceTypesOutput) Container

Should permission be granted to the container?

func (GetAccountSASResourceTypesOutput) ElementType

func (GetAccountSASResourceTypesOutput) Object

Should permission be granted only to a specific object?

func (GetAccountSASResourceTypesOutput) Service

Should permission be granted to the entire service?

func (GetAccountSASResourceTypesOutput) ToGetAccountSASResourceTypesOutput

func (o GetAccountSASResourceTypesOutput) ToGetAccountSASResourceTypesOutput() GetAccountSASResourceTypesOutput

func (GetAccountSASResourceTypesOutput) ToGetAccountSASResourceTypesOutputWithContext

func (o GetAccountSASResourceTypesOutput) ToGetAccountSASResourceTypesOutputWithContext(ctx context.Context) GetAccountSASResourceTypesOutput

type GetAccountSASResult

type GetAccountSASResult struct {
	ConnectionString string `pulumi:"connectionString"`
	Expiry           string `pulumi:"expiry"`
	HttpsOnly        *bool  `pulumi:"httpsOnly"`
	// The provider-assigned unique ID for this managed resource.
	Id            string                     `pulumi:"id"`
	Permissions   GetAccountSASPermissions   `pulumi:"permissions"`
	ResourceTypes GetAccountSASResourceTypes `pulumi:"resourceTypes"`
	// The computed Account Shared Access Signature (SAS).
	Sas           string                `pulumi:"sas"`
	Services      GetAccountSASServices `pulumi:"services"`
	SignedVersion *string               `pulumi:"signedVersion"`
	Start         string                `pulumi:"start"`
}

A collection of values returned by getAccountSAS.

func GetAccountSAS

func GetAccountSAS(ctx *pulumi.Context, args *GetAccountSASArgs, opts ...pulumi.InvokeOption) (*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).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("westus"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               pulumi.String("westus"),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("staging"),
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("sasUrlQueryString", exampleAccountSAS.ApplyT(func(exampleAccountSAS storage.GetAccountSASResult) (string, error) {
			return exampleAccountSAS.Sas, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetAccountSASServices

type GetAccountSASServices struct {
	// Should permission be granted to `blob` services within this storage account?
	Blob bool `pulumi:"blob"`
	// Should permission be granted to `file` services within this storage account?
	File bool `pulumi:"file"`
	// Should permission be granted to `queue` services within this storage account?
	Queue bool `pulumi:"queue"`
	// Should permission be granted to `table` services within this storage account?
	Table bool `pulumi:"table"`
}

type GetAccountSASServicesArgs

type GetAccountSASServicesArgs struct {
	// Should permission be granted to `blob` services within this storage account?
	Blob pulumi.BoolInput `pulumi:"blob"`
	// Should permission be granted to `file` services within this storage account?
	File pulumi.BoolInput `pulumi:"file"`
	// Should permission be granted to `queue` services within this storage account?
	Queue pulumi.BoolInput `pulumi:"queue"`
	// Should permission be granted to `table` services within this storage account?
	Table pulumi.BoolInput `pulumi:"table"`
}

func (GetAccountSASServicesArgs) ElementType

func (GetAccountSASServicesArgs) ElementType() reflect.Type

func (GetAccountSASServicesArgs) ToGetAccountSASServicesOutput

func (i GetAccountSASServicesArgs) ToGetAccountSASServicesOutput() GetAccountSASServicesOutput

func (GetAccountSASServicesArgs) ToGetAccountSASServicesOutputWithContext

func (i GetAccountSASServicesArgs) ToGetAccountSASServicesOutputWithContext(ctx context.Context) GetAccountSASServicesOutput

type GetAccountSASServicesInput

type GetAccountSASServicesInput interface {
	pulumi.Input

	ToGetAccountSASServicesOutput() GetAccountSASServicesOutput
	ToGetAccountSASServicesOutputWithContext(context.Context) GetAccountSASServicesOutput
}

GetAccountSASServicesInput is an input type that accepts GetAccountSASServicesArgs and GetAccountSASServicesOutput values. You can construct a concrete instance of `GetAccountSASServicesInput` via:

GetAccountSASServicesArgs{...}

type GetAccountSASServicesOutput

type GetAccountSASServicesOutput struct{ *pulumi.OutputState }

func (GetAccountSASServicesOutput) Blob

Should permission be granted to `blob` services within this storage account?

func (GetAccountSASServicesOutput) ElementType

func (GetAccountSASServicesOutput) File

Should permission be granted to `file` services within this storage account?

func (GetAccountSASServicesOutput) Queue

Should permission be granted to `queue` services within this storage account?

func (GetAccountSASServicesOutput) Table

Should permission be granted to `table` services within this storage account?

func (GetAccountSASServicesOutput) ToGetAccountSASServicesOutput

func (o GetAccountSASServicesOutput) ToGetAccountSASServicesOutput() GetAccountSASServicesOutput

func (GetAccountSASServicesOutput) ToGetAccountSASServicesOutputWithContext

func (o GetAccountSASServicesOutput) ToGetAccountSASServicesOutputWithContext(ctx context.Context) GetAccountSASServicesOutput

type GetPolicyArgs

type GetPolicyArgs struct {
	// Specifies the id of the storage account to retrieve the management policy for.
	StorageAccountId string `pulumi:"storageAccountId"`
}

A collection of arguments for invoking getPolicy.

type GetPolicyResult

type GetPolicyResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A `rule` block as documented below.
	Rules            []GetPolicyRule `pulumi:"rules"`
	StorageAccountId string          `pulumi:"storageAccountId"`
}

A collection of values returned by getPolicy.

func GetPolicy

func GetPolicy(ctx *pulumi.Context, args *GetPolicyArgs, opts ...pulumi.InvokeOption) (*GetPolicyResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "resourcegroupname"
		_, err := storage.LookupAccount(ctx, &storage.LookupAccountArgs{
			Name:              "storageaccountname",
			ResourceGroupName: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = storage.GetPolicy(ctx, &storage.GetPolicyArgs{
			StorageAccountId: azurerm_storage_account.Example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPolicyRule

type GetPolicyRule struct {
	// An `actions` block as documented below.
	Actions []GetPolicyRuleAction `pulumi:"actions"`
	// Boolean to specify whether the rule is enabled.
	Enabled bool `pulumi:"enabled"`
	// A `filter` block as documented below.
	Filters []GetPolicyRuleFilter `pulumi:"filters"`
	// A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
	Name string `pulumi:"name"`
}

type GetPolicyRuleAction

type GetPolicyRuleAction struct {
	// A `baseBlob` block as documented below.
	BaseBlobs []GetPolicyRuleActionBaseBlob `pulumi:"baseBlobs"`
	// A `snapshot` block as documented below.
	Snapshots []GetPolicyRuleActionSnapshot `pulumi:"snapshots"`
}

type GetPolicyRuleActionArgs

type GetPolicyRuleActionArgs struct {
	// A `baseBlob` block as documented below.
	BaseBlobs GetPolicyRuleActionBaseBlobArrayInput `pulumi:"baseBlobs"`
	// A `snapshot` block as documented below.
	Snapshots GetPolicyRuleActionSnapshotArrayInput `pulumi:"snapshots"`
}

func (GetPolicyRuleActionArgs) ElementType

func (GetPolicyRuleActionArgs) ElementType() reflect.Type

func (GetPolicyRuleActionArgs) ToGetPolicyRuleActionOutput

func (i GetPolicyRuleActionArgs) ToGetPolicyRuleActionOutput() GetPolicyRuleActionOutput

func (GetPolicyRuleActionArgs) ToGetPolicyRuleActionOutputWithContext

func (i GetPolicyRuleActionArgs) ToGetPolicyRuleActionOutputWithContext(ctx context.Context) GetPolicyRuleActionOutput

type GetPolicyRuleActionArray

type GetPolicyRuleActionArray []GetPolicyRuleActionInput

func (GetPolicyRuleActionArray) ElementType

func (GetPolicyRuleActionArray) ElementType() reflect.Type

func (GetPolicyRuleActionArray) ToGetPolicyRuleActionArrayOutput

func (i GetPolicyRuleActionArray) ToGetPolicyRuleActionArrayOutput() GetPolicyRuleActionArrayOutput

func (GetPolicyRuleActionArray) ToGetPolicyRuleActionArrayOutputWithContext

func (i GetPolicyRuleActionArray) ToGetPolicyRuleActionArrayOutputWithContext(ctx context.Context) GetPolicyRuleActionArrayOutput

type GetPolicyRuleActionArrayInput

type GetPolicyRuleActionArrayInput interface {
	pulumi.Input

	ToGetPolicyRuleActionArrayOutput() GetPolicyRuleActionArrayOutput
	ToGetPolicyRuleActionArrayOutputWithContext(context.Context) GetPolicyRuleActionArrayOutput
}

GetPolicyRuleActionArrayInput is an input type that accepts GetPolicyRuleActionArray and GetPolicyRuleActionArrayOutput values. You can construct a concrete instance of `GetPolicyRuleActionArrayInput` via:

GetPolicyRuleActionArray{ GetPolicyRuleActionArgs{...} }

type GetPolicyRuleActionArrayOutput

type GetPolicyRuleActionArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleActionArrayOutput) ElementType

func (GetPolicyRuleActionArrayOutput) Index

func (GetPolicyRuleActionArrayOutput) ToGetPolicyRuleActionArrayOutput

func (o GetPolicyRuleActionArrayOutput) ToGetPolicyRuleActionArrayOutput() GetPolicyRuleActionArrayOutput

func (GetPolicyRuleActionArrayOutput) ToGetPolicyRuleActionArrayOutputWithContext

func (o GetPolicyRuleActionArrayOutput) ToGetPolicyRuleActionArrayOutputWithContext(ctx context.Context) GetPolicyRuleActionArrayOutput

type GetPolicyRuleActionBaseBlob

type GetPolicyRuleActionBaseBlob struct {
	// The age in days after last modification to delete the blob.
	DeleteAfterDaysSinceModificationGreaterThan int `pulumi:"deleteAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier.
	TierToArchiveAfterDaysSinceModificationGreaterThan int `pulumi:"tierToArchiveAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
	TierToCoolAfterDaysSinceModificationGreaterThan int `pulumi:"tierToCoolAfterDaysSinceModificationGreaterThan"`
}

type GetPolicyRuleActionBaseBlobArgs

type GetPolicyRuleActionBaseBlobArgs struct {
	// The age in days after last modification to delete the blob.
	DeleteAfterDaysSinceModificationGreaterThan pulumi.IntInput `pulumi:"deleteAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier.
	TierToArchiveAfterDaysSinceModificationGreaterThan pulumi.IntInput `pulumi:"tierToArchiveAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
	TierToCoolAfterDaysSinceModificationGreaterThan pulumi.IntInput `pulumi:"tierToCoolAfterDaysSinceModificationGreaterThan"`
}

func (GetPolicyRuleActionBaseBlobArgs) ElementType

func (GetPolicyRuleActionBaseBlobArgs) ToGetPolicyRuleActionBaseBlobOutput

func (i GetPolicyRuleActionBaseBlobArgs) ToGetPolicyRuleActionBaseBlobOutput() GetPolicyRuleActionBaseBlobOutput

func (GetPolicyRuleActionBaseBlobArgs) ToGetPolicyRuleActionBaseBlobOutputWithContext

func (i GetPolicyRuleActionBaseBlobArgs) ToGetPolicyRuleActionBaseBlobOutputWithContext(ctx context.Context) GetPolicyRuleActionBaseBlobOutput

type GetPolicyRuleActionBaseBlobArray

type GetPolicyRuleActionBaseBlobArray []GetPolicyRuleActionBaseBlobInput

func (GetPolicyRuleActionBaseBlobArray) ElementType

func (GetPolicyRuleActionBaseBlobArray) ToGetPolicyRuleActionBaseBlobArrayOutput

func (i GetPolicyRuleActionBaseBlobArray) ToGetPolicyRuleActionBaseBlobArrayOutput() GetPolicyRuleActionBaseBlobArrayOutput

func (GetPolicyRuleActionBaseBlobArray) ToGetPolicyRuleActionBaseBlobArrayOutputWithContext

func (i GetPolicyRuleActionBaseBlobArray) ToGetPolicyRuleActionBaseBlobArrayOutputWithContext(ctx context.Context) GetPolicyRuleActionBaseBlobArrayOutput

type GetPolicyRuleActionBaseBlobArrayInput

type GetPolicyRuleActionBaseBlobArrayInput interface {
	pulumi.Input

	ToGetPolicyRuleActionBaseBlobArrayOutput() GetPolicyRuleActionBaseBlobArrayOutput
	ToGetPolicyRuleActionBaseBlobArrayOutputWithContext(context.Context) GetPolicyRuleActionBaseBlobArrayOutput
}

GetPolicyRuleActionBaseBlobArrayInput is an input type that accepts GetPolicyRuleActionBaseBlobArray and GetPolicyRuleActionBaseBlobArrayOutput values. You can construct a concrete instance of `GetPolicyRuleActionBaseBlobArrayInput` via:

GetPolicyRuleActionBaseBlobArray{ GetPolicyRuleActionBaseBlobArgs{...} }

type GetPolicyRuleActionBaseBlobArrayOutput

type GetPolicyRuleActionBaseBlobArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleActionBaseBlobArrayOutput) ElementType

func (GetPolicyRuleActionBaseBlobArrayOutput) Index

func (GetPolicyRuleActionBaseBlobArrayOutput) ToGetPolicyRuleActionBaseBlobArrayOutput

func (o GetPolicyRuleActionBaseBlobArrayOutput) ToGetPolicyRuleActionBaseBlobArrayOutput() GetPolicyRuleActionBaseBlobArrayOutput

func (GetPolicyRuleActionBaseBlobArrayOutput) ToGetPolicyRuleActionBaseBlobArrayOutputWithContext

func (o GetPolicyRuleActionBaseBlobArrayOutput) ToGetPolicyRuleActionBaseBlobArrayOutputWithContext(ctx context.Context) GetPolicyRuleActionBaseBlobArrayOutput

type GetPolicyRuleActionBaseBlobInput

type GetPolicyRuleActionBaseBlobInput interface {
	pulumi.Input

	ToGetPolicyRuleActionBaseBlobOutput() GetPolicyRuleActionBaseBlobOutput
	ToGetPolicyRuleActionBaseBlobOutputWithContext(context.Context) GetPolicyRuleActionBaseBlobOutput
}

GetPolicyRuleActionBaseBlobInput is an input type that accepts GetPolicyRuleActionBaseBlobArgs and GetPolicyRuleActionBaseBlobOutput values. You can construct a concrete instance of `GetPolicyRuleActionBaseBlobInput` via:

GetPolicyRuleActionBaseBlobArgs{...}

type GetPolicyRuleActionBaseBlobOutput

type GetPolicyRuleActionBaseBlobOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleActionBaseBlobOutput) DeleteAfterDaysSinceModificationGreaterThan

func (o GetPolicyRuleActionBaseBlobOutput) DeleteAfterDaysSinceModificationGreaterThan() pulumi.IntOutput

The age in days after last modification to delete the blob.

func (GetPolicyRuleActionBaseBlobOutput) ElementType

func (GetPolicyRuleActionBaseBlobOutput) TierToArchiveAfterDaysSinceModificationGreaterThan

func (o GetPolicyRuleActionBaseBlobOutput) TierToArchiveAfterDaysSinceModificationGreaterThan() pulumi.IntOutput

The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier.

func (GetPolicyRuleActionBaseBlobOutput) TierToCoolAfterDaysSinceModificationGreaterThan

func (o GetPolicyRuleActionBaseBlobOutput) TierToCoolAfterDaysSinceModificationGreaterThan() pulumi.IntOutput

The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.

func (GetPolicyRuleActionBaseBlobOutput) ToGetPolicyRuleActionBaseBlobOutput

func (o GetPolicyRuleActionBaseBlobOutput) ToGetPolicyRuleActionBaseBlobOutput() GetPolicyRuleActionBaseBlobOutput

func (GetPolicyRuleActionBaseBlobOutput) ToGetPolicyRuleActionBaseBlobOutputWithContext

func (o GetPolicyRuleActionBaseBlobOutput) ToGetPolicyRuleActionBaseBlobOutputWithContext(ctx context.Context) GetPolicyRuleActionBaseBlobOutput

type GetPolicyRuleActionInput

type GetPolicyRuleActionInput interface {
	pulumi.Input

	ToGetPolicyRuleActionOutput() GetPolicyRuleActionOutput
	ToGetPolicyRuleActionOutputWithContext(context.Context) GetPolicyRuleActionOutput
}

GetPolicyRuleActionInput is an input type that accepts GetPolicyRuleActionArgs and GetPolicyRuleActionOutput values. You can construct a concrete instance of `GetPolicyRuleActionInput` via:

GetPolicyRuleActionArgs{...}

type GetPolicyRuleActionOutput

type GetPolicyRuleActionOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleActionOutput) BaseBlobs

A `baseBlob` block as documented below.

func (GetPolicyRuleActionOutput) ElementType

func (GetPolicyRuleActionOutput) ElementType() reflect.Type

func (GetPolicyRuleActionOutput) Snapshots

A `snapshot` block as documented below.

func (GetPolicyRuleActionOutput) ToGetPolicyRuleActionOutput

func (o GetPolicyRuleActionOutput) ToGetPolicyRuleActionOutput() GetPolicyRuleActionOutput

func (GetPolicyRuleActionOutput) ToGetPolicyRuleActionOutputWithContext

func (o GetPolicyRuleActionOutput) ToGetPolicyRuleActionOutputWithContext(ctx context.Context) GetPolicyRuleActionOutput

type GetPolicyRuleActionSnapshot

type GetPolicyRuleActionSnapshot struct {
	// The age in days after create to delete the snapshot.
	DeleteAfterDaysSinceCreationGreaterThan int `pulumi:"deleteAfterDaysSinceCreationGreaterThan"`
}

type GetPolicyRuleActionSnapshotArgs

type GetPolicyRuleActionSnapshotArgs struct {
	// The age in days after create to delete the snapshot.
	DeleteAfterDaysSinceCreationGreaterThan pulumi.IntInput `pulumi:"deleteAfterDaysSinceCreationGreaterThan"`
}

func (GetPolicyRuleActionSnapshotArgs) ElementType

func (GetPolicyRuleActionSnapshotArgs) ToGetPolicyRuleActionSnapshotOutput

func (i GetPolicyRuleActionSnapshotArgs) ToGetPolicyRuleActionSnapshotOutput() GetPolicyRuleActionSnapshotOutput

func (GetPolicyRuleActionSnapshotArgs) ToGetPolicyRuleActionSnapshotOutputWithContext

func (i GetPolicyRuleActionSnapshotArgs) ToGetPolicyRuleActionSnapshotOutputWithContext(ctx context.Context) GetPolicyRuleActionSnapshotOutput

type GetPolicyRuleActionSnapshotArray

type GetPolicyRuleActionSnapshotArray []GetPolicyRuleActionSnapshotInput

func (GetPolicyRuleActionSnapshotArray) ElementType

func (GetPolicyRuleActionSnapshotArray) ToGetPolicyRuleActionSnapshotArrayOutput

func (i GetPolicyRuleActionSnapshotArray) ToGetPolicyRuleActionSnapshotArrayOutput() GetPolicyRuleActionSnapshotArrayOutput

func (GetPolicyRuleActionSnapshotArray) ToGetPolicyRuleActionSnapshotArrayOutputWithContext

func (i GetPolicyRuleActionSnapshotArray) ToGetPolicyRuleActionSnapshotArrayOutputWithContext(ctx context.Context) GetPolicyRuleActionSnapshotArrayOutput

type GetPolicyRuleActionSnapshotArrayInput

type GetPolicyRuleActionSnapshotArrayInput interface {
	pulumi.Input

	ToGetPolicyRuleActionSnapshotArrayOutput() GetPolicyRuleActionSnapshotArrayOutput
	ToGetPolicyRuleActionSnapshotArrayOutputWithContext(context.Context) GetPolicyRuleActionSnapshotArrayOutput
}

GetPolicyRuleActionSnapshotArrayInput is an input type that accepts GetPolicyRuleActionSnapshotArray and GetPolicyRuleActionSnapshotArrayOutput values. You can construct a concrete instance of `GetPolicyRuleActionSnapshotArrayInput` via:

GetPolicyRuleActionSnapshotArray{ GetPolicyRuleActionSnapshotArgs{...} }

type GetPolicyRuleActionSnapshotArrayOutput

type GetPolicyRuleActionSnapshotArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleActionSnapshotArrayOutput) ElementType

func (GetPolicyRuleActionSnapshotArrayOutput) Index

func (GetPolicyRuleActionSnapshotArrayOutput) ToGetPolicyRuleActionSnapshotArrayOutput

func (o GetPolicyRuleActionSnapshotArrayOutput) ToGetPolicyRuleActionSnapshotArrayOutput() GetPolicyRuleActionSnapshotArrayOutput

func (GetPolicyRuleActionSnapshotArrayOutput) ToGetPolicyRuleActionSnapshotArrayOutputWithContext

func (o GetPolicyRuleActionSnapshotArrayOutput) ToGetPolicyRuleActionSnapshotArrayOutputWithContext(ctx context.Context) GetPolicyRuleActionSnapshotArrayOutput

type GetPolicyRuleActionSnapshotInput

type GetPolicyRuleActionSnapshotInput interface {
	pulumi.Input

	ToGetPolicyRuleActionSnapshotOutput() GetPolicyRuleActionSnapshotOutput
	ToGetPolicyRuleActionSnapshotOutputWithContext(context.Context) GetPolicyRuleActionSnapshotOutput
}

GetPolicyRuleActionSnapshotInput is an input type that accepts GetPolicyRuleActionSnapshotArgs and GetPolicyRuleActionSnapshotOutput values. You can construct a concrete instance of `GetPolicyRuleActionSnapshotInput` via:

GetPolicyRuleActionSnapshotArgs{...}

type GetPolicyRuleActionSnapshotOutput

type GetPolicyRuleActionSnapshotOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleActionSnapshotOutput) DeleteAfterDaysSinceCreationGreaterThan

func (o GetPolicyRuleActionSnapshotOutput) DeleteAfterDaysSinceCreationGreaterThan() pulumi.IntOutput

The age in days after create to delete the snapshot.

func (GetPolicyRuleActionSnapshotOutput) ElementType

func (GetPolicyRuleActionSnapshotOutput) ToGetPolicyRuleActionSnapshotOutput

func (o GetPolicyRuleActionSnapshotOutput) ToGetPolicyRuleActionSnapshotOutput() GetPolicyRuleActionSnapshotOutput

func (GetPolicyRuleActionSnapshotOutput) ToGetPolicyRuleActionSnapshotOutputWithContext

func (o GetPolicyRuleActionSnapshotOutput) ToGetPolicyRuleActionSnapshotOutputWithContext(ctx context.Context) GetPolicyRuleActionSnapshotOutput

type GetPolicyRuleArgs

type GetPolicyRuleArgs struct {
	// An `actions` block as documented below.
	Actions GetPolicyRuleActionArrayInput `pulumi:"actions"`
	// Boolean to specify whether the rule is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// A `filter` block as documented below.
	Filters GetPolicyRuleFilterArrayInput `pulumi:"filters"`
	// A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetPolicyRuleArgs) ElementType

func (GetPolicyRuleArgs) ElementType() reflect.Type

func (GetPolicyRuleArgs) ToGetPolicyRuleOutput

func (i GetPolicyRuleArgs) ToGetPolicyRuleOutput() GetPolicyRuleOutput

func (GetPolicyRuleArgs) ToGetPolicyRuleOutputWithContext

func (i GetPolicyRuleArgs) ToGetPolicyRuleOutputWithContext(ctx context.Context) GetPolicyRuleOutput

type GetPolicyRuleArray

type GetPolicyRuleArray []GetPolicyRuleInput

func (GetPolicyRuleArray) ElementType

func (GetPolicyRuleArray) ElementType() reflect.Type

func (GetPolicyRuleArray) ToGetPolicyRuleArrayOutput

func (i GetPolicyRuleArray) ToGetPolicyRuleArrayOutput() GetPolicyRuleArrayOutput

func (GetPolicyRuleArray) ToGetPolicyRuleArrayOutputWithContext

func (i GetPolicyRuleArray) ToGetPolicyRuleArrayOutputWithContext(ctx context.Context) GetPolicyRuleArrayOutput

type GetPolicyRuleArrayInput

type GetPolicyRuleArrayInput interface {
	pulumi.Input

	ToGetPolicyRuleArrayOutput() GetPolicyRuleArrayOutput
	ToGetPolicyRuleArrayOutputWithContext(context.Context) GetPolicyRuleArrayOutput
}

GetPolicyRuleArrayInput is an input type that accepts GetPolicyRuleArray and GetPolicyRuleArrayOutput values. You can construct a concrete instance of `GetPolicyRuleArrayInput` via:

GetPolicyRuleArray{ GetPolicyRuleArgs{...} }

type GetPolicyRuleArrayOutput

type GetPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleArrayOutput) ElementType

func (GetPolicyRuleArrayOutput) ElementType() reflect.Type

func (GetPolicyRuleArrayOutput) Index

func (GetPolicyRuleArrayOutput) ToGetPolicyRuleArrayOutput

func (o GetPolicyRuleArrayOutput) ToGetPolicyRuleArrayOutput() GetPolicyRuleArrayOutput

func (GetPolicyRuleArrayOutput) ToGetPolicyRuleArrayOutputWithContext

func (o GetPolicyRuleArrayOutput) ToGetPolicyRuleArrayOutputWithContext(ctx context.Context) GetPolicyRuleArrayOutput

type GetPolicyRuleFilter

type GetPolicyRuleFilter struct {
	// An array of predefined values. Valid options are `blockBlob` and `appendBlob`.
	BlobTypes []string `pulumi:"blobTypes"`
	// An array of strings for prefixes to be matched.
	PrefixMatches []string `pulumi:"prefixMatches"`
}

type GetPolicyRuleFilterArgs

type GetPolicyRuleFilterArgs struct {
	// An array of predefined values. Valid options are `blockBlob` and `appendBlob`.
	BlobTypes pulumi.StringArrayInput `pulumi:"blobTypes"`
	// An array of strings for prefixes to be matched.
	PrefixMatches pulumi.StringArrayInput `pulumi:"prefixMatches"`
}

func (GetPolicyRuleFilterArgs) ElementType

func (GetPolicyRuleFilterArgs) ElementType() reflect.Type

func (GetPolicyRuleFilterArgs) ToGetPolicyRuleFilterOutput

func (i GetPolicyRuleFilterArgs) ToGetPolicyRuleFilterOutput() GetPolicyRuleFilterOutput

func (GetPolicyRuleFilterArgs) ToGetPolicyRuleFilterOutputWithContext

func (i GetPolicyRuleFilterArgs) ToGetPolicyRuleFilterOutputWithContext(ctx context.Context) GetPolicyRuleFilterOutput

type GetPolicyRuleFilterArray

type GetPolicyRuleFilterArray []GetPolicyRuleFilterInput

func (GetPolicyRuleFilterArray) ElementType

func (GetPolicyRuleFilterArray) ElementType() reflect.Type

func (GetPolicyRuleFilterArray) ToGetPolicyRuleFilterArrayOutput

func (i GetPolicyRuleFilterArray) ToGetPolicyRuleFilterArrayOutput() GetPolicyRuleFilterArrayOutput

func (GetPolicyRuleFilterArray) ToGetPolicyRuleFilterArrayOutputWithContext

func (i GetPolicyRuleFilterArray) ToGetPolicyRuleFilterArrayOutputWithContext(ctx context.Context) GetPolicyRuleFilterArrayOutput

type GetPolicyRuleFilterArrayInput

type GetPolicyRuleFilterArrayInput interface {
	pulumi.Input

	ToGetPolicyRuleFilterArrayOutput() GetPolicyRuleFilterArrayOutput
	ToGetPolicyRuleFilterArrayOutputWithContext(context.Context) GetPolicyRuleFilterArrayOutput
}

GetPolicyRuleFilterArrayInput is an input type that accepts GetPolicyRuleFilterArray and GetPolicyRuleFilterArrayOutput values. You can construct a concrete instance of `GetPolicyRuleFilterArrayInput` via:

GetPolicyRuleFilterArray{ GetPolicyRuleFilterArgs{...} }

type GetPolicyRuleFilterArrayOutput

type GetPolicyRuleFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleFilterArrayOutput) ElementType

func (GetPolicyRuleFilterArrayOutput) Index

func (GetPolicyRuleFilterArrayOutput) ToGetPolicyRuleFilterArrayOutput

func (o GetPolicyRuleFilterArrayOutput) ToGetPolicyRuleFilterArrayOutput() GetPolicyRuleFilterArrayOutput

func (GetPolicyRuleFilterArrayOutput) ToGetPolicyRuleFilterArrayOutputWithContext

func (o GetPolicyRuleFilterArrayOutput) ToGetPolicyRuleFilterArrayOutputWithContext(ctx context.Context) GetPolicyRuleFilterArrayOutput

type GetPolicyRuleFilterInput

type GetPolicyRuleFilterInput interface {
	pulumi.Input

	ToGetPolicyRuleFilterOutput() GetPolicyRuleFilterOutput
	ToGetPolicyRuleFilterOutputWithContext(context.Context) GetPolicyRuleFilterOutput
}

GetPolicyRuleFilterInput is an input type that accepts GetPolicyRuleFilterArgs and GetPolicyRuleFilterOutput values. You can construct a concrete instance of `GetPolicyRuleFilterInput` via:

GetPolicyRuleFilterArgs{...}

type GetPolicyRuleFilterOutput

type GetPolicyRuleFilterOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleFilterOutput) BlobTypes

An array of predefined values. Valid options are `blockBlob` and `appendBlob`.

func (GetPolicyRuleFilterOutput) ElementType

func (GetPolicyRuleFilterOutput) ElementType() reflect.Type

func (GetPolicyRuleFilterOutput) PrefixMatches

An array of strings for prefixes to be matched.

func (GetPolicyRuleFilterOutput) ToGetPolicyRuleFilterOutput

func (o GetPolicyRuleFilterOutput) ToGetPolicyRuleFilterOutput() GetPolicyRuleFilterOutput

func (GetPolicyRuleFilterOutput) ToGetPolicyRuleFilterOutputWithContext

func (o GetPolicyRuleFilterOutput) ToGetPolicyRuleFilterOutputWithContext(ctx context.Context) GetPolicyRuleFilterOutput

type GetPolicyRuleInput

type GetPolicyRuleInput interface {
	pulumi.Input

	ToGetPolicyRuleOutput() GetPolicyRuleOutput
	ToGetPolicyRuleOutputWithContext(context.Context) GetPolicyRuleOutput
}

GetPolicyRuleInput is an input type that accepts GetPolicyRuleArgs and GetPolicyRuleOutput values. You can construct a concrete instance of `GetPolicyRuleInput` via:

GetPolicyRuleArgs{...}

type GetPolicyRuleOutput

type GetPolicyRuleOutput struct{ *pulumi.OutputState }

func (GetPolicyRuleOutput) Actions

An `actions` block as documented below.

func (GetPolicyRuleOutput) ElementType

func (GetPolicyRuleOutput) ElementType() reflect.Type

func (GetPolicyRuleOutput) Enabled

Boolean to specify whether the rule is enabled.

func (GetPolicyRuleOutput) Filters

A `filter` block as documented below.

func (GetPolicyRuleOutput) Name

A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.

func (GetPolicyRuleOutput) ToGetPolicyRuleOutput

func (o GetPolicyRuleOutput) ToGetPolicyRuleOutput() GetPolicyRuleOutput

func (GetPolicyRuleOutput) ToGetPolicyRuleOutputWithContext

func (o GetPolicyRuleOutput) ToGetPolicyRuleOutputWithContext(ctx context.Context) GetPolicyRuleOutput

type GetStorageContainerArgs

type GetStorageContainerArgs struct {
	// A mapping of MetaData for this Container.
	Metadata map[string]string `pulumi:"metadata"`
	// The name of the Container.
	Name string `pulumi:"name"`
	// The name of the Storage Account where the Container exists.
	StorageAccountName string `pulumi:"storageAccountName"`
}

A collection of arguments for invoking getStorageContainer.

type GetStorageContainerResult

type GetStorageContainerResult struct {
	// The Access Level configured for this Container.
	ContainerAccessType string `pulumi:"containerAccessType"`
	// Is there an Immutability Policy configured on this Storage Container?
	HasImmutabilityPolicy bool `pulumi:"hasImmutabilityPolicy"`
	// Is there a Legal Hold configured on this Storage Container?
	HasLegalHold bool `pulumi:"hasLegalHold"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A mapping of MetaData for this Container.
	Metadata map[string]string `pulumi:"metadata"`
	Name     string            `pulumi:"name"`
	// The Resource Manager ID of this Storage Container.
	ResourceManagerId  string `pulumi:"resourceManagerId"`
	StorageAccountName string `pulumi:"storageAccountName"`
}

A collection of values returned by getStorageContainer.

func GetStorageContainer

func GetStorageContainer(ctx *pulumi.Context, args *GetStorageContainerArgs, opts ...pulumi.InvokeOption) (*GetStorageContainerResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.GetStorageContainer(ctx, &storage.GetStorageContainerArgs{
			Name:               "example-container-name",
			StorageAccountName: "example-storage-account-name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAccountArgs

type LookupAccountArgs struct {
	// The minimum supported TLS version for this storage account.
	MinTlsVersion *string `pulumi:"minTlsVersion"`
	// Specifies the name of the Storage Account
	Name string `pulumi:"name"`
	// Specifies the name of the resource group the Storage Account is located in.
	ResourceGroupName *string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAccount.

type LookupAccountResult

type LookupAccountResult struct {
	// The access tier for `BlobStorage` accounts.
	AccessTier string `pulumi:"accessTier"`
	// The Kind of account.
	AccountKind string `pulumi:"accountKind"`
	// The type of replication used for this storage account.
	AccountReplicationType string `pulumi:"accountReplicationType"`
	// The Tier of this storage account.
	AccountTier string `pulumi:"accountTier"`
	// Is public access allowed to all blobs or containers in the storage account?
	AllowBlobPublicAccess bool `pulumi:"allowBlobPublicAccess"`
	// A `customDomain` block as documented below.
	CustomDomains []GetAccountCustomDomain `pulumi:"customDomains"`
	// Is traffic only allowed via HTTPS? See [here](https://docs.microsoft.com/en-us/azure/storage/storage-require-secure-transfer/)
	// for more information.
	EnableHttpsTrafficOnly bool `pulumi:"enableHttpsTrafficOnly"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Is Hierarchical Namespace enabled?
	IsHnsEnabled bool `pulumi:"isHnsEnabled"`
	// The Azure location where the Storage Account exists
	Location string `pulumi:"location"`
	// The minimum supported TLS version for this storage account.
	MinTlsVersion *string `pulumi:"minTlsVersion"`
	// The Custom Domain Name used for the Storage Account.
	Name string `pulumi:"name"`
	// The primary access key for the Storage Account.
	PrimaryAccessKey string `pulumi:"primaryAccessKey"`
	// The connection string associated with the primary blob location
	PrimaryBlobConnectionString string `pulumi:"primaryBlobConnectionString"`
	// The endpoint URL for blob storage in the primary location.
	PrimaryBlobEndpoint string `pulumi:"primaryBlobEndpoint"`
	// The hostname with port if applicable for blob storage in the primary location.
	PrimaryBlobHost string `pulumi:"primaryBlobHost"`
	// The connection string associated with the primary location
	PrimaryConnectionString string `pulumi:"primaryConnectionString"`
	// The endpoint URL for DFS storage in the primary location.
	PrimaryDfsEndpoint string `pulumi:"primaryDfsEndpoint"`
	// The hostname with port if applicable for DFS storage in the primary location.
	PrimaryDfsHost string `pulumi:"primaryDfsHost"`
	// The endpoint URL for file storage in the primary location.
	PrimaryFileEndpoint string `pulumi:"primaryFileEndpoint"`
	// The hostname with port if applicable for file storage in the primary location.
	PrimaryFileHost string `pulumi:"primaryFileHost"`
	// The primary location of the Storage Account.
	PrimaryLocation string `pulumi:"primaryLocation"`
	// The endpoint URL for queue storage in the primary location.
	PrimaryQueueEndpoint string `pulumi:"primaryQueueEndpoint"`
	// The hostname with port if applicable for queue storage in the primary location.
	PrimaryQueueHost string `pulumi:"primaryQueueHost"`
	// The endpoint URL for table storage in the primary location.
	PrimaryTableEndpoint string `pulumi:"primaryTableEndpoint"`
	// The hostname with port if applicable for table storage in the primary location.
	PrimaryTableHost string `pulumi:"primaryTableHost"`
	// The endpoint URL for web storage in the primary location.
	PrimaryWebEndpoint string `pulumi:"primaryWebEndpoint"`
	// The hostname with port if applicable for web storage in the primary location.
	PrimaryWebHost    string `pulumi:"primaryWebHost"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The secondary access key for the Storage Account.
	SecondaryAccessKey string `pulumi:"secondaryAccessKey"`
	// The connection string associated with the secondary blob location
	SecondaryBlobConnectionString string `pulumi:"secondaryBlobConnectionString"`
	// The endpoint URL for blob storage in the secondary location.
	SecondaryBlobEndpoint string `pulumi:"secondaryBlobEndpoint"`
	// The hostname with port if applicable for blob storage in the secondary location.
	SecondaryBlobHost string `pulumi:"secondaryBlobHost"`
	// The connection string associated with the secondary location
	SecondaryConnectionString string `pulumi:"secondaryConnectionString"`
	// The endpoint URL for DFS storage in the secondary location.
	SecondaryDfsEndpoint string `pulumi:"secondaryDfsEndpoint"`
	// The hostname with port if applicable for DFS storage in the secondary location.
	SecondaryDfsHost string `pulumi:"secondaryDfsHost"`
	// The endpoint URL for file storage in the secondary location.
	SecondaryFileEndpoint string `pulumi:"secondaryFileEndpoint"`
	// The hostname with port if applicable for file storage in the secondary location.
	SecondaryFileHost string `pulumi:"secondaryFileHost"`
	// The secondary location of the Storage Account.
	SecondaryLocation string `pulumi:"secondaryLocation"`
	// The endpoint URL for queue storage in the secondary location.
	SecondaryQueueEndpoint string `pulumi:"secondaryQueueEndpoint"`
	// The hostname with port if applicable for queue storage in the secondary location.
	SecondaryQueueHost string `pulumi:"secondaryQueueHost"`
	// The endpoint URL for table storage in the secondary location.
	SecondaryTableEndpoint string `pulumi:"secondaryTableEndpoint"`
	// The hostname with port if applicable for table storage in the secondary location.
	SecondaryTableHost string `pulumi:"secondaryTableHost"`
	// The endpoint URL for web storage in the secondary location.
	SecondaryWebEndpoint string `pulumi:"secondaryWebEndpoint"`
	// The hostname with port if applicable for web storage in the secondary location.
	SecondaryWebHost string `pulumi:"secondaryWebHost"`
	// A mapping of tags to assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getAccount.

func LookupAccount

func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "packer-storage"
		example, err := storage.LookupAccount(ctx, &storage.LookupAccountArgs{
			Name:              "packerimages",
			ResourceGroupName: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("storageAccountTier", example.AccountTier)
		return nil
	})
}

```

type LookupEncryptionScopeArgs added in v3.32.0

type LookupEncryptionScopeArgs struct {
	// The name of this Storage Encryption Scope.
	Name string `pulumi:"name"`
	// The ID of the Storage Account where this Storage Encryption Scope exists.
	StorageAccountId string `pulumi:"storageAccountId"`
}

A collection of arguments for invoking getEncryptionScope.

type LookupEncryptionScopeResult added in v3.32.0

type LookupEncryptionScopeResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the Key Vault Key.
	KeyVaultKeyId string `pulumi:"keyVaultKeyId"`
	Name          string `pulumi:"name"`
	// The source of the Storage Encryption Scope.
	Source           string `pulumi:"source"`
	StorageAccountId string `pulumi:"storageAccountId"`
}

A collection of values returned by getEncryptionScope.

func LookupEncryptionScope added in v3.32.0

func LookupEncryptionScope(ctx *pulumi.Context, args *LookupEncryptionScopeArgs, opts ...pulumi.InvokeOption) (*LookupEncryptionScopeResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "resourcegroupname"
		exampleAccount, err := storage.LookupAccount(ctx, &storage.LookupAccountArgs{
			Name:              "storageaccountname",
			ResourceGroupName: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		exampleEncryptionScope, err := storage.LookupEncryptionScope(ctx, &storage.LookupEncryptionScopeArgs{
			Name:             "existingStorageES",
			StorageAccountId: exampleAccount.Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", exampleEncryptionScope.Id)
		return nil
	})
}

```

type LookupSyncArgs added in v3.22.0

type LookupSyncArgs struct {
	// The name of this Storage Sync.
	Name string `pulumi:"name"`
	// The name of the Resource Group where the Storage Sync exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getSync.

type LookupSyncGroupArgs added in v3.23.0

type LookupSyncGroupArgs struct {
	// The name of this Storage Sync Group.
	Name string `pulumi:"name"`
	// The resource ID of the Storage Sync where this Storage Sync Group is.
	StorageSyncId string `pulumi:"storageSyncId"`
}

A collection of arguments for invoking getSyncGroup.

type LookupSyncGroupResult added in v3.23.0

type LookupSyncGroupResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id            string `pulumi:"id"`
	Name          string `pulumi:"name"`
	StorageSyncId string `pulumi:"storageSyncId"`
}

A collection of values returned by getSyncGroup.

func LookupSyncGroup added in v3.23.0

func LookupSyncGroup(ctx *pulumi.Context, args *LookupSyncGroupArgs, opts ...pulumi.InvokeOption) (*LookupSyncGroupResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := storage.LookupSyncGroup(ctx, &storage.LookupSyncGroupArgs{
			Name:          "existing-ss-group",
			StorageSyncId: "existing-ss-id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupSyncResult added in v3.22.0

type LookupSyncResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Incoming traffic policy.
	IncomingTrafficPolicy string `pulumi:"incomingTrafficPolicy"`
	// The Azure Region where the Storage Sync exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the Storage Sync.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getSync.

func LookupSync added in v3.22.0

func LookupSync(ctx *pulumi.Context, args *LookupSyncArgs, opts ...pulumi.InvokeOption) (*LookupSyncResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := storage.LookupSync(ctx, &storage.LookupSyncArgs{
			Name:              "existingStorageSyncName",
			ResourceGroupName: "existingResGroup",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type ManagementPolicy

type ManagementPolicy struct {
	pulumi.CustomResourceState

	// A `rule` block as documented below.
	Rules ManagementPolicyRuleArrayOutput `pulumi:"rules"`
	// Specifies the id of the storage account to apply the management policy to.
	StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"`
}

Manages an Azure Storage Account Management Policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("westus"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			AccountKind:            pulumi.String("BlobStorage"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewManagementPolicy(ctx, "exampleManagementPolicy", &storage.ManagementPolicyArgs{
			StorageAccountId: exampleAccount.ID(),
			Rules: storage.ManagementPolicyRuleArray{
				&storage.ManagementPolicyRuleArgs{
					Name:    pulumi.String("rule1"),
					Enabled: pulumi.Bool(true),
					Filters: &storage.ManagementPolicyRuleFiltersArgs{
						PrefixMatches: pulumi.StringArray{
							pulumi.String("container1/prefix1"),
						},
						BlobTypes: pulumi.StringArray{
							pulumi.String("blockBlob"),
						},
					},
					Actions: &storage.ManagementPolicyRuleActionsArgs{
						BaseBlob: &storage.ManagementPolicyRuleActionsBaseBlobArgs{
							TierToCoolAfterDaysSinceModificationGreaterThan:    pulumi.Int(10),
							TierToArchiveAfterDaysSinceModificationGreaterThan: pulumi.Int(50),
							DeleteAfterDaysSinceModificationGreaterThan:        pulumi.Int(100),
						},
						Snapshot: &storage.ManagementPolicyRuleActionsSnapshotArgs{
							DeleteAfterDaysSinceCreationGreaterThan: pulumi.Int(30),
						},
					},
				},
				&storage.ManagementPolicyRuleArgs{
					Name:    pulumi.String("rule2"),
					Enabled: pulumi.Bool(false),
					Filters: &storage.ManagementPolicyRuleFiltersArgs{
						PrefixMatches: pulumi.StringArray{
							pulumi.String("container2/prefix1"),
							pulumi.String("container2/prefix2"),
						},
						BlobTypes: pulumi.StringArray{
							pulumi.String("blockBlob"),
						},
					},
					Actions: &storage.ManagementPolicyRuleActionsArgs{
						BaseBlob: &storage.ManagementPolicyRuleActionsBaseBlobArgs{
							TierToCoolAfterDaysSinceModificationGreaterThan:    pulumi.Int(11),
							TierToArchiveAfterDaysSinceModificationGreaterThan: pulumi.Int(51),
							DeleteAfterDaysSinceModificationGreaterThan:        pulumi.Int(101),
						},
						Snapshot: &storage.ManagementPolicyRuleActionsSnapshotArgs{
							DeleteAfterDaysSinceCreationGreaterThan: pulumi.Int(31),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Account Management Policies can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/managementPolicy:ManagementPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Storage/storageAccounts/myaccountname/managementPolicies/default

```

func GetManagementPolicy

func GetManagementPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagementPolicyState, opts ...pulumi.ResourceOption) (*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

func NewManagementPolicy(ctx *pulumi.Context,
	name string, args *ManagementPolicyArgs, opts ...pulumi.ResourceOption) (*ManagementPolicy, error)

NewManagementPolicy registers a new resource with the given unique name, arguments, and options.

func (ManagementPolicy) ElementType added in v3.31.1

func (ManagementPolicy) ElementType() reflect.Type

func (ManagementPolicy) ToManagementPolicyOutput added in v3.31.1

func (i ManagementPolicy) ToManagementPolicyOutput() ManagementPolicyOutput

func (ManagementPolicy) ToManagementPolicyOutputWithContext added in v3.31.1

func (i ManagementPolicy) ToManagementPolicyOutputWithContext(ctx context.Context) ManagementPolicyOutput

type ManagementPolicyArgs

type ManagementPolicyArgs struct {
	// A `rule` block as documented below.
	Rules ManagementPolicyRuleArrayInput
	// Specifies the id of the storage account to apply the management policy to.
	StorageAccountId pulumi.StringInput
}

The set of arguments for constructing a ManagementPolicy resource.

func (ManagementPolicyArgs) ElementType

func (ManagementPolicyArgs) ElementType() reflect.Type

type ManagementPolicyInput added in v3.31.1

type ManagementPolicyInput interface {
	pulumi.Input

	ToManagementPolicyOutput() ManagementPolicyOutput
	ToManagementPolicyOutputWithContext(ctx context.Context) ManagementPolicyOutput
}

type ManagementPolicyOutput added in v3.31.1

type ManagementPolicyOutput struct {
	*pulumi.OutputState
}

func (ManagementPolicyOutput) ElementType added in v3.31.1

func (ManagementPolicyOutput) ElementType() reflect.Type

func (ManagementPolicyOutput) ToManagementPolicyOutput added in v3.31.1

func (o ManagementPolicyOutput) ToManagementPolicyOutput() ManagementPolicyOutput

func (ManagementPolicyOutput) ToManagementPolicyOutputWithContext added in v3.31.1

func (o ManagementPolicyOutput) ToManagementPolicyOutputWithContext(ctx context.Context) ManagementPolicyOutput

type ManagementPolicyRule

type ManagementPolicyRule struct {
	// An `actions` block as documented below.
	Actions ManagementPolicyRuleActions `pulumi:"actions"`
	// Boolean to specify whether the rule is enabled.
	Enabled bool `pulumi:"enabled"`
	// A `filter` block as documented below.
	Filters *ManagementPolicyRuleFilters `pulumi:"filters"`
	// A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
	Name string `pulumi:"name"`
}

type ManagementPolicyRuleActions

type ManagementPolicyRuleActions struct {
	// A `baseBlob` block as documented below.
	BaseBlob *ManagementPolicyRuleActionsBaseBlob `pulumi:"baseBlob"`
	// A `snapshot` block as documented below.
	Snapshot *ManagementPolicyRuleActionsSnapshot `pulumi:"snapshot"`
}

type ManagementPolicyRuleActionsArgs

type ManagementPolicyRuleActionsArgs struct {
	// A `baseBlob` block as documented below.
	BaseBlob ManagementPolicyRuleActionsBaseBlobPtrInput `pulumi:"baseBlob"`
	// A `snapshot` block as documented below.
	Snapshot ManagementPolicyRuleActionsSnapshotPtrInput `pulumi:"snapshot"`
}

func (ManagementPolicyRuleActionsArgs) ElementType

func (ManagementPolicyRuleActionsArgs) ToManagementPolicyRuleActionsOutput

func (i ManagementPolicyRuleActionsArgs) ToManagementPolicyRuleActionsOutput() ManagementPolicyRuleActionsOutput

func (ManagementPolicyRuleActionsArgs) ToManagementPolicyRuleActionsOutputWithContext

func (i ManagementPolicyRuleActionsArgs) ToManagementPolicyRuleActionsOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsOutput

type ManagementPolicyRuleActionsBaseBlob

type ManagementPolicyRuleActionsBaseBlob struct {
	// The age in days after last modification to delete the blob. Must be at least 0.
	DeleteAfterDaysSinceModificationGreaterThan *int `pulumi:"deleteAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be at least 0.
	TierToArchiveAfterDaysSinceModificationGreaterThan *int `pulumi:"tierToArchiveAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be at least 0.
	TierToCoolAfterDaysSinceModificationGreaterThan *int `pulumi:"tierToCoolAfterDaysSinceModificationGreaterThan"`
}

type ManagementPolicyRuleActionsBaseBlobArgs

type ManagementPolicyRuleActionsBaseBlobArgs struct {
	// The age in days after last modification to delete the blob. Must be at least 0.
	DeleteAfterDaysSinceModificationGreaterThan pulumi.IntPtrInput `pulumi:"deleteAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be at least 0.
	TierToArchiveAfterDaysSinceModificationGreaterThan pulumi.IntPtrInput `pulumi:"tierToArchiveAfterDaysSinceModificationGreaterThan"`
	// The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be at least 0.
	TierToCoolAfterDaysSinceModificationGreaterThan pulumi.IntPtrInput `pulumi:"tierToCoolAfterDaysSinceModificationGreaterThan"`
}

func (ManagementPolicyRuleActionsBaseBlobArgs) ElementType

func (ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobOutput

func (i ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobOutput() ManagementPolicyRuleActionsBaseBlobOutput

func (ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobOutputWithContext

func (i ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsBaseBlobOutput

func (ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobPtrOutput

func (i ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobPtrOutput() ManagementPolicyRuleActionsBaseBlobPtrOutput

func (ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobPtrOutputWithContext

func (i ManagementPolicyRuleActionsBaseBlobArgs) ToManagementPolicyRuleActionsBaseBlobPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsBaseBlobPtrOutput

type ManagementPolicyRuleActionsBaseBlobInput

type ManagementPolicyRuleActionsBaseBlobInput interface {
	pulumi.Input

	ToManagementPolicyRuleActionsBaseBlobOutput() ManagementPolicyRuleActionsBaseBlobOutput
	ToManagementPolicyRuleActionsBaseBlobOutputWithContext(context.Context) ManagementPolicyRuleActionsBaseBlobOutput
}

ManagementPolicyRuleActionsBaseBlobInput is an input type that accepts ManagementPolicyRuleActionsBaseBlobArgs and ManagementPolicyRuleActionsBaseBlobOutput values. You can construct a concrete instance of `ManagementPolicyRuleActionsBaseBlobInput` via:

ManagementPolicyRuleActionsBaseBlobArgs{...}

type ManagementPolicyRuleActionsBaseBlobOutput

type ManagementPolicyRuleActionsBaseBlobOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleActionsBaseBlobOutput) DeleteAfterDaysSinceModificationGreaterThan

func (o ManagementPolicyRuleActionsBaseBlobOutput) DeleteAfterDaysSinceModificationGreaterThan() pulumi.IntPtrOutput

The age in days after last modification to delete the blob. Must be at least 0.

func (ManagementPolicyRuleActionsBaseBlobOutput) ElementType

func (ManagementPolicyRuleActionsBaseBlobOutput) TierToArchiveAfterDaysSinceModificationGreaterThan

func (o ManagementPolicyRuleActionsBaseBlobOutput) TierToArchiveAfterDaysSinceModificationGreaterThan() pulumi.IntPtrOutput

The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be at least 0.

func (ManagementPolicyRuleActionsBaseBlobOutput) TierToCoolAfterDaysSinceModificationGreaterThan

func (o ManagementPolicyRuleActionsBaseBlobOutput) TierToCoolAfterDaysSinceModificationGreaterThan() pulumi.IntPtrOutput

The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be at least 0.

func (ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobOutput

func (o ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobOutput() ManagementPolicyRuleActionsBaseBlobOutput

func (ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobOutputWithContext

func (o ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsBaseBlobOutput

func (ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutput

func (o ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutput() ManagementPolicyRuleActionsBaseBlobPtrOutput

func (ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutputWithContext

func (o ManagementPolicyRuleActionsBaseBlobOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsBaseBlobPtrOutput

type ManagementPolicyRuleActionsBaseBlobPtrInput

type ManagementPolicyRuleActionsBaseBlobPtrInput interface {
	pulumi.Input

	ToManagementPolicyRuleActionsBaseBlobPtrOutput() ManagementPolicyRuleActionsBaseBlobPtrOutput
	ToManagementPolicyRuleActionsBaseBlobPtrOutputWithContext(context.Context) ManagementPolicyRuleActionsBaseBlobPtrOutput
}

ManagementPolicyRuleActionsBaseBlobPtrInput is an input type that accepts ManagementPolicyRuleActionsBaseBlobArgs, ManagementPolicyRuleActionsBaseBlobPtr and ManagementPolicyRuleActionsBaseBlobPtrOutput values. You can construct a concrete instance of `ManagementPolicyRuleActionsBaseBlobPtrInput` via:

        ManagementPolicyRuleActionsBaseBlobArgs{...}

or:

        nil

type ManagementPolicyRuleActionsBaseBlobPtrOutput

type ManagementPolicyRuleActionsBaseBlobPtrOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleActionsBaseBlobPtrOutput) DeleteAfterDaysSinceModificationGreaterThan

func (o ManagementPolicyRuleActionsBaseBlobPtrOutput) DeleteAfterDaysSinceModificationGreaterThan() pulumi.IntPtrOutput

The age in days after last modification to delete the blob. Must be at least 0.

func (ManagementPolicyRuleActionsBaseBlobPtrOutput) Elem

func (ManagementPolicyRuleActionsBaseBlobPtrOutput) ElementType

func (ManagementPolicyRuleActionsBaseBlobPtrOutput) TierToArchiveAfterDaysSinceModificationGreaterThan

func (o ManagementPolicyRuleActionsBaseBlobPtrOutput) TierToArchiveAfterDaysSinceModificationGreaterThan() pulumi.IntPtrOutput

The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be at least 0.

func (ManagementPolicyRuleActionsBaseBlobPtrOutput) TierToCoolAfterDaysSinceModificationGreaterThan

func (o ManagementPolicyRuleActionsBaseBlobPtrOutput) TierToCoolAfterDaysSinceModificationGreaterThan() pulumi.IntPtrOutput

The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be at least 0.

func (ManagementPolicyRuleActionsBaseBlobPtrOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutput

func (o ManagementPolicyRuleActionsBaseBlobPtrOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutput() ManagementPolicyRuleActionsBaseBlobPtrOutput

func (ManagementPolicyRuleActionsBaseBlobPtrOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutputWithContext

func (o ManagementPolicyRuleActionsBaseBlobPtrOutput) ToManagementPolicyRuleActionsBaseBlobPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsBaseBlobPtrOutput

type ManagementPolicyRuleActionsInput

type ManagementPolicyRuleActionsInput interface {
	pulumi.Input

	ToManagementPolicyRuleActionsOutput() ManagementPolicyRuleActionsOutput
	ToManagementPolicyRuleActionsOutputWithContext(context.Context) ManagementPolicyRuleActionsOutput
}

ManagementPolicyRuleActionsInput is an input type that accepts ManagementPolicyRuleActionsArgs and ManagementPolicyRuleActionsOutput values. You can construct a concrete instance of `ManagementPolicyRuleActionsInput` via:

ManagementPolicyRuleActionsArgs{...}

type ManagementPolicyRuleActionsOutput

type ManagementPolicyRuleActionsOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleActionsOutput) BaseBlob

A `baseBlob` block as documented below.

func (ManagementPolicyRuleActionsOutput) ElementType

func (ManagementPolicyRuleActionsOutput) Snapshot

A `snapshot` block as documented below.

func (ManagementPolicyRuleActionsOutput) ToManagementPolicyRuleActionsOutput

func (o ManagementPolicyRuleActionsOutput) ToManagementPolicyRuleActionsOutput() ManagementPolicyRuleActionsOutput

func (ManagementPolicyRuleActionsOutput) ToManagementPolicyRuleActionsOutputWithContext

func (o ManagementPolicyRuleActionsOutput) ToManagementPolicyRuleActionsOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsOutput

type ManagementPolicyRuleActionsSnapshot

type ManagementPolicyRuleActionsSnapshot struct {
	// The age in days after create to delete the snaphot. Must be at least 0.
	DeleteAfterDaysSinceCreationGreaterThan *int `pulumi:"deleteAfterDaysSinceCreationGreaterThan"`
}

type ManagementPolicyRuleActionsSnapshotArgs

type ManagementPolicyRuleActionsSnapshotArgs struct {
	// The age in days after create to delete the snaphot. Must be at least 0.
	DeleteAfterDaysSinceCreationGreaterThan pulumi.IntPtrInput `pulumi:"deleteAfterDaysSinceCreationGreaterThan"`
}

func (ManagementPolicyRuleActionsSnapshotArgs) ElementType

func (ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotOutput

func (i ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotOutput() ManagementPolicyRuleActionsSnapshotOutput

func (ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotOutputWithContext

func (i ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsSnapshotOutput

func (ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotPtrOutput

func (i ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotPtrOutput() ManagementPolicyRuleActionsSnapshotPtrOutput

func (ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotPtrOutputWithContext

func (i ManagementPolicyRuleActionsSnapshotArgs) ToManagementPolicyRuleActionsSnapshotPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsSnapshotPtrOutput

type ManagementPolicyRuleActionsSnapshotInput

type ManagementPolicyRuleActionsSnapshotInput interface {
	pulumi.Input

	ToManagementPolicyRuleActionsSnapshotOutput() ManagementPolicyRuleActionsSnapshotOutput
	ToManagementPolicyRuleActionsSnapshotOutputWithContext(context.Context) ManagementPolicyRuleActionsSnapshotOutput
}

ManagementPolicyRuleActionsSnapshotInput is an input type that accepts ManagementPolicyRuleActionsSnapshotArgs and ManagementPolicyRuleActionsSnapshotOutput values. You can construct a concrete instance of `ManagementPolicyRuleActionsSnapshotInput` via:

ManagementPolicyRuleActionsSnapshotArgs{...}

type ManagementPolicyRuleActionsSnapshotOutput

type ManagementPolicyRuleActionsSnapshotOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleActionsSnapshotOutput) DeleteAfterDaysSinceCreationGreaterThan

func (o ManagementPolicyRuleActionsSnapshotOutput) DeleteAfterDaysSinceCreationGreaterThan() pulumi.IntPtrOutput

The age in days after create to delete the snaphot. Must be at least 0.

func (ManagementPolicyRuleActionsSnapshotOutput) ElementType

func (ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotOutput

func (o ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotOutput() ManagementPolicyRuleActionsSnapshotOutput

func (ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotOutputWithContext

func (o ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsSnapshotOutput

func (ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotPtrOutput

func (o ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotPtrOutput() ManagementPolicyRuleActionsSnapshotPtrOutput

func (ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotPtrOutputWithContext

func (o ManagementPolicyRuleActionsSnapshotOutput) ToManagementPolicyRuleActionsSnapshotPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsSnapshotPtrOutput

type ManagementPolicyRuleActionsSnapshotPtrInput

type ManagementPolicyRuleActionsSnapshotPtrInput interface {
	pulumi.Input

	ToManagementPolicyRuleActionsSnapshotPtrOutput() ManagementPolicyRuleActionsSnapshotPtrOutput
	ToManagementPolicyRuleActionsSnapshotPtrOutputWithContext(context.Context) ManagementPolicyRuleActionsSnapshotPtrOutput
}

ManagementPolicyRuleActionsSnapshotPtrInput is an input type that accepts ManagementPolicyRuleActionsSnapshotArgs, ManagementPolicyRuleActionsSnapshotPtr and ManagementPolicyRuleActionsSnapshotPtrOutput values. You can construct a concrete instance of `ManagementPolicyRuleActionsSnapshotPtrInput` via:

        ManagementPolicyRuleActionsSnapshotArgs{...}

or:

        nil

type ManagementPolicyRuleActionsSnapshotPtrOutput

type ManagementPolicyRuleActionsSnapshotPtrOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleActionsSnapshotPtrOutput) DeleteAfterDaysSinceCreationGreaterThan

func (o ManagementPolicyRuleActionsSnapshotPtrOutput) DeleteAfterDaysSinceCreationGreaterThan() pulumi.IntPtrOutput

The age in days after create to delete the snaphot. Must be at least 0.

func (ManagementPolicyRuleActionsSnapshotPtrOutput) Elem

func (ManagementPolicyRuleActionsSnapshotPtrOutput) ElementType

func (ManagementPolicyRuleActionsSnapshotPtrOutput) ToManagementPolicyRuleActionsSnapshotPtrOutput

func (o ManagementPolicyRuleActionsSnapshotPtrOutput) ToManagementPolicyRuleActionsSnapshotPtrOutput() ManagementPolicyRuleActionsSnapshotPtrOutput

func (ManagementPolicyRuleActionsSnapshotPtrOutput) ToManagementPolicyRuleActionsSnapshotPtrOutputWithContext

func (o ManagementPolicyRuleActionsSnapshotPtrOutput) ToManagementPolicyRuleActionsSnapshotPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleActionsSnapshotPtrOutput

type ManagementPolicyRuleArgs

type ManagementPolicyRuleArgs struct {
	// An `actions` block as documented below.
	Actions ManagementPolicyRuleActionsInput `pulumi:"actions"`
	// Boolean to specify whether the rule is enabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// A `filter` block as documented below.
	Filters ManagementPolicyRuleFiltersPtrInput `pulumi:"filters"`
	// A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.
	Name pulumi.StringInput `pulumi:"name"`
}

func (ManagementPolicyRuleArgs) ElementType

func (ManagementPolicyRuleArgs) ElementType() reflect.Type

func (ManagementPolicyRuleArgs) ToManagementPolicyRuleOutput

func (i ManagementPolicyRuleArgs) ToManagementPolicyRuleOutput() ManagementPolicyRuleOutput

func (ManagementPolicyRuleArgs) ToManagementPolicyRuleOutputWithContext

func (i ManagementPolicyRuleArgs) ToManagementPolicyRuleOutputWithContext(ctx context.Context) ManagementPolicyRuleOutput

type ManagementPolicyRuleArray

type ManagementPolicyRuleArray []ManagementPolicyRuleInput

func (ManagementPolicyRuleArray) ElementType

func (ManagementPolicyRuleArray) ElementType() reflect.Type

func (ManagementPolicyRuleArray) ToManagementPolicyRuleArrayOutput

func (i ManagementPolicyRuleArray) ToManagementPolicyRuleArrayOutput() ManagementPolicyRuleArrayOutput

func (ManagementPolicyRuleArray) ToManagementPolicyRuleArrayOutputWithContext

func (i ManagementPolicyRuleArray) ToManagementPolicyRuleArrayOutputWithContext(ctx context.Context) ManagementPolicyRuleArrayOutput

type ManagementPolicyRuleArrayInput

type ManagementPolicyRuleArrayInput interface {
	pulumi.Input

	ToManagementPolicyRuleArrayOutput() ManagementPolicyRuleArrayOutput
	ToManagementPolicyRuleArrayOutputWithContext(context.Context) ManagementPolicyRuleArrayOutput
}

ManagementPolicyRuleArrayInput is an input type that accepts ManagementPolicyRuleArray and ManagementPolicyRuleArrayOutput values. You can construct a concrete instance of `ManagementPolicyRuleArrayInput` via:

ManagementPolicyRuleArray{ ManagementPolicyRuleArgs{...} }

type ManagementPolicyRuleArrayOutput

type ManagementPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleArrayOutput) ElementType

func (ManagementPolicyRuleArrayOutput) Index

func (ManagementPolicyRuleArrayOutput) ToManagementPolicyRuleArrayOutput

func (o ManagementPolicyRuleArrayOutput) ToManagementPolicyRuleArrayOutput() ManagementPolicyRuleArrayOutput

func (ManagementPolicyRuleArrayOutput) ToManagementPolicyRuleArrayOutputWithContext

func (o ManagementPolicyRuleArrayOutput) ToManagementPolicyRuleArrayOutputWithContext(ctx context.Context) ManagementPolicyRuleArrayOutput

type ManagementPolicyRuleFilters

type ManagementPolicyRuleFilters struct {
	// An array of predefined values. Valid options are `blockBlob` and `appendBlob`.
	BlobTypes []string `pulumi:"blobTypes"`
	// An array of strings for prefixes to be matched.
	PrefixMatches []string `pulumi:"prefixMatches"`
}

type ManagementPolicyRuleFiltersArgs

type ManagementPolicyRuleFiltersArgs struct {
	// An array of predefined values. Valid options are `blockBlob` and `appendBlob`.
	BlobTypes pulumi.StringArrayInput `pulumi:"blobTypes"`
	// An array of strings for prefixes to be matched.
	PrefixMatches pulumi.StringArrayInput `pulumi:"prefixMatches"`
}

func (ManagementPolicyRuleFiltersArgs) ElementType

func (ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersOutput

func (i ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersOutput() ManagementPolicyRuleFiltersOutput

func (ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersOutputWithContext

func (i ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersOutputWithContext(ctx context.Context) ManagementPolicyRuleFiltersOutput

func (ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersPtrOutput

func (i ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersPtrOutput() ManagementPolicyRuleFiltersPtrOutput

func (ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersPtrOutputWithContext

func (i ManagementPolicyRuleFiltersArgs) ToManagementPolicyRuleFiltersPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleFiltersPtrOutput

type ManagementPolicyRuleFiltersInput

type ManagementPolicyRuleFiltersInput interface {
	pulumi.Input

	ToManagementPolicyRuleFiltersOutput() ManagementPolicyRuleFiltersOutput
	ToManagementPolicyRuleFiltersOutputWithContext(context.Context) ManagementPolicyRuleFiltersOutput
}

ManagementPolicyRuleFiltersInput is an input type that accepts ManagementPolicyRuleFiltersArgs and ManagementPolicyRuleFiltersOutput values. You can construct a concrete instance of `ManagementPolicyRuleFiltersInput` via:

ManagementPolicyRuleFiltersArgs{...}

type ManagementPolicyRuleFiltersOutput

type ManagementPolicyRuleFiltersOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleFiltersOutput) BlobTypes

An array of predefined values. Valid options are `blockBlob` and `appendBlob`.

func (ManagementPolicyRuleFiltersOutput) ElementType

func (ManagementPolicyRuleFiltersOutput) PrefixMatches

An array of strings for prefixes to be matched.

func (ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersOutput

func (o ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersOutput() ManagementPolicyRuleFiltersOutput

func (ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersOutputWithContext

func (o ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersOutputWithContext(ctx context.Context) ManagementPolicyRuleFiltersOutput

func (ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersPtrOutput

func (o ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersPtrOutput() ManagementPolicyRuleFiltersPtrOutput

func (ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersPtrOutputWithContext

func (o ManagementPolicyRuleFiltersOutput) ToManagementPolicyRuleFiltersPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleFiltersPtrOutput

type ManagementPolicyRuleFiltersPtrInput

type ManagementPolicyRuleFiltersPtrInput interface {
	pulumi.Input

	ToManagementPolicyRuleFiltersPtrOutput() ManagementPolicyRuleFiltersPtrOutput
	ToManagementPolicyRuleFiltersPtrOutputWithContext(context.Context) ManagementPolicyRuleFiltersPtrOutput
}

ManagementPolicyRuleFiltersPtrInput is an input type that accepts ManagementPolicyRuleFiltersArgs, ManagementPolicyRuleFiltersPtr and ManagementPolicyRuleFiltersPtrOutput values. You can construct a concrete instance of `ManagementPolicyRuleFiltersPtrInput` via:

        ManagementPolicyRuleFiltersArgs{...}

or:

        nil

type ManagementPolicyRuleFiltersPtrOutput

type ManagementPolicyRuleFiltersPtrOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleFiltersPtrOutput) BlobTypes

An array of predefined values. Valid options are `blockBlob` and `appendBlob`.

func (ManagementPolicyRuleFiltersPtrOutput) Elem

func (ManagementPolicyRuleFiltersPtrOutput) ElementType

func (ManagementPolicyRuleFiltersPtrOutput) PrefixMatches

An array of strings for prefixes to be matched.

func (ManagementPolicyRuleFiltersPtrOutput) ToManagementPolicyRuleFiltersPtrOutput

func (o ManagementPolicyRuleFiltersPtrOutput) ToManagementPolicyRuleFiltersPtrOutput() ManagementPolicyRuleFiltersPtrOutput

func (ManagementPolicyRuleFiltersPtrOutput) ToManagementPolicyRuleFiltersPtrOutputWithContext

func (o ManagementPolicyRuleFiltersPtrOutput) ToManagementPolicyRuleFiltersPtrOutputWithContext(ctx context.Context) ManagementPolicyRuleFiltersPtrOutput

type ManagementPolicyRuleInput

type ManagementPolicyRuleInput interface {
	pulumi.Input

	ToManagementPolicyRuleOutput() ManagementPolicyRuleOutput
	ToManagementPolicyRuleOutputWithContext(context.Context) ManagementPolicyRuleOutput
}

ManagementPolicyRuleInput is an input type that accepts ManagementPolicyRuleArgs and ManagementPolicyRuleOutput values. You can construct a concrete instance of `ManagementPolicyRuleInput` via:

ManagementPolicyRuleArgs{...}

type ManagementPolicyRuleOutput

type ManagementPolicyRuleOutput struct{ *pulumi.OutputState }

func (ManagementPolicyRuleOutput) Actions

An `actions` block as documented below.

func (ManagementPolicyRuleOutput) ElementType

func (ManagementPolicyRuleOutput) ElementType() reflect.Type

func (ManagementPolicyRuleOutput) Enabled

Boolean to specify whether the rule is enabled.

func (ManagementPolicyRuleOutput) Filters

A `filter` block as documented below.

func (ManagementPolicyRuleOutput) Name

A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.

func (ManagementPolicyRuleOutput) ToManagementPolicyRuleOutput

func (o ManagementPolicyRuleOutput) ToManagementPolicyRuleOutput() ManagementPolicyRuleOutput

func (ManagementPolicyRuleOutput) ToManagementPolicyRuleOutputWithContext

func (o ManagementPolicyRuleOutput) ToManagementPolicyRuleOutputWithContext(ctx context.Context) ManagementPolicyRuleOutput

type ManagementPolicyState

type ManagementPolicyState struct {
	// A `rule` block as documented below.
	Rules ManagementPolicyRuleArrayInput
	// Specifies the id of the storage account to apply the management policy to.
	StorageAccountId pulumi.StringPtrInput
}

func (ManagementPolicyState) ElementType

func (ManagementPolicyState) ElementType() reflect.Type

type Queue

type Queue struct {
	pulumi.CustomResourceState

	// A mapping of MetaData which should be assigned to this Storage Queue.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// 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 pulumi.StringOutput `pulumi:"name"`
	// Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
}

Manages a Queue within an Azure Storage Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewQueue(ctx, "exampleQueue", &storage.QueueArgs{
			StorageAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Queue's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/queue:Queue queue1 https://example.queue.core.windows.net/queue1

```

func GetQueue

func GetQueue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *QueueState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Queue, error)

NewQueue registers a new resource with the given unique name, arguments, and options.

func (Queue) ElementType added in v3.31.1

func (Queue) ElementType() reflect.Type

func (Queue) ToQueueOutput added in v3.31.1

func (i Queue) ToQueueOutput() QueueOutput

func (Queue) ToQueueOutputWithContext added in v3.31.1

func (i Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput

type QueueArgs

type QueueArgs struct {
	// A mapping of MetaData which should be assigned to this Storage Queue.
	Metadata pulumi.StringMapInput
	// 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 pulumi.StringPtrInput
	// Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringInput
}

The set of arguments for constructing a Queue resource.

func (QueueArgs) ElementType

func (QueueArgs) ElementType() reflect.Type

type QueueInput added in v3.31.1

type QueueInput interface {
	pulumi.Input

	ToQueueOutput() QueueOutput
	ToQueueOutputWithContext(ctx context.Context) QueueOutput
}

type QueueOutput added in v3.31.1

type QueueOutput struct {
	*pulumi.OutputState
}

func (QueueOutput) ElementType added in v3.31.1

func (QueueOutput) ElementType() reflect.Type

func (QueueOutput) ToQueueOutput added in v3.31.1

func (o QueueOutput) ToQueueOutput() QueueOutput

func (QueueOutput) ToQueueOutputWithContext added in v3.31.1

func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput

type QueueState

type QueueState struct {
	// A mapping of MetaData which should be assigned to this Storage Queue.
	Metadata pulumi.StringMapInput
	// 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 pulumi.StringPtrInput
	// Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringPtrInput
}

func (QueueState) ElementType

func (QueueState) ElementType() reflect.Type

type Share

type Share struct {
	pulumi.CustomResourceState

	// One or more `acl` blocks as defined below.
	Acls ShareAclArrayOutput `pulumi:"acls"`
	// A mapping of MetaData for this File Share.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// The name of the share. Must be unique within the storage account where the share is located.
	Name pulumi.StringOutput `pulumi:"name"`
	// The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
	Quota pulumi.IntPtrOutput `pulumi:"quota"`
	// The Resource Manager ID of this File Share.
	ResourceManagerId pulumi.StringOutput `pulumi:"resourceManagerId"`
	// Specifies the storage account in which to create the share.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// The URL of the File Share
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a File Share within Azure Storage.

> **Note:** The storage share supports two storage tiers: premium and standard. Standard file shares are created in general purpose (GPv1 or GPv2) storage accounts and premium file shares are created in FileStorage storage accounts. For further information, refer to the section "What storage tiers are supported in Azure Files?" of [documentation](https://docs.microsoft.com/en-us/azure/storage/files/storage-files-faq#general).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewShare(ctx, "exampleShare", &storage.ShareArgs{
			StorageAccountName: exampleAccount.Name,
			Quota:              pulumi.Int(50),
			Acls: storage.ShareAclArray{
				&storage.ShareAclArgs{
					Id: pulumi.String("MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"),
					AccessPolicies: storage.ShareAclAccessPolicyArray{
						&storage.ShareAclAccessPolicyArgs{
							Permissions: pulumi.String("rwdl"),
							Start:       pulumi.String("2019-07-02T09:38:21.0000000Z"),
							Expiry:      pulumi.String("2019-07-02T10:38:21.0000000Z"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Shares can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/share:Share exampleShare https://account1.file.core.windows.net/share1

```

func GetShare

func GetShare(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Share, error)

NewShare registers a new resource with the given unique name, arguments, and options.

func (Share) ElementType added in v3.31.1

func (Share) ElementType() reflect.Type

func (Share) ToShareOutput added in v3.31.1

func (i Share) ToShareOutput() ShareOutput

func (Share) ToShareOutputWithContext added in v3.31.1

func (i Share) ToShareOutputWithContext(ctx context.Context) ShareOutput

type ShareAcl

type ShareAcl struct {
	// An `accessPolicy` block as defined below.
	AccessPolicies []ShareAclAccessPolicy `pulumi:"accessPolicies"`
	// The ID which should be used for this Shared Identifier.
	Id string `pulumi:"id"`
}

type ShareAclAccessPolicy

type ShareAclAccessPolicy struct {
	// The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	Expiry *string `pulumi:"expiry"`
	// The permissions which should be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list).
	Permissions string `pulumi:"permissions"`
	// The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	Start *string `pulumi:"start"`
}

type ShareAclAccessPolicyArgs

type ShareAclAccessPolicyArgs struct {
	// The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	Expiry pulumi.StringPtrInput `pulumi:"expiry"`
	// The permissions which should be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list).
	Permissions pulumi.StringInput `pulumi:"permissions"`
	// The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	Start pulumi.StringPtrInput `pulumi:"start"`
}

func (ShareAclAccessPolicyArgs) ElementType

func (ShareAclAccessPolicyArgs) ElementType() reflect.Type

func (ShareAclAccessPolicyArgs) ToShareAclAccessPolicyOutput

func (i ShareAclAccessPolicyArgs) ToShareAclAccessPolicyOutput() ShareAclAccessPolicyOutput

func (ShareAclAccessPolicyArgs) ToShareAclAccessPolicyOutputWithContext

func (i ShareAclAccessPolicyArgs) ToShareAclAccessPolicyOutputWithContext(ctx context.Context) ShareAclAccessPolicyOutput

type ShareAclAccessPolicyArray

type ShareAclAccessPolicyArray []ShareAclAccessPolicyInput

func (ShareAclAccessPolicyArray) ElementType

func (ShareAclAccessPolicyArray) ElementType() reflect.Type

func (ShareAclAccessPolicyArray) ToShareAclAccessPolicyArrayOutput

func (i ShareAclAccessPolicyArray) ToShareAclAccessPolicyArrayOutput() ShareAclAccessPolicyArrayOutput

func (ShareAclAccessPolicyArray) ToShareAclAccessPolicyArrayOutputWithContext

func (i ShareAclAccessPolicyArray) ToShareAclAccessPolicyArrayOutputWithContext(ctx context.Context) ShareAclAccessPolicyArrayOutput

type ShareAclAccessPolicyArrayInput

type ShareAclAccessPolicyArrayInput interface {
	pulumi.Input

	ToShareAclAccessPolicyArrayOutput() ShareAclAccessPolicyArrayOutput
	ToShareAclAccessPolicyArrayOutputWithContext(context.Context) ShareAclAccessPolicyArrayOutput
}

ShareAclAccessPolicyArrayInput is an input type that accepts ShareAclAccessPolicyArray and ShareAclAccessPolicyArrayOutput values. You can construct a concrete instance of `ShareAclAccessPolicyArrayInput` via:

ShareAclAccessPolicyArray{ ShareAclAccessPolicyArgs{...} }

type ShareAclAccessPolicyArrayOutput

type ShareAclAccessPolicyArrayOutput struct{ *pulumi.OutputState }

func (ShareAclAccessPolicyArrayOutput) ElementType

func (ShareAclAccessPolicyArrayOutput) Index

func (ShareAclAccessPolicyArrayOutput) ToShareAclAccessPolicyArrayOutput

func (o ShareAclAccessPolicyArrayOutput) ToShareAclAccessPolicyArrayOutput() ShareAclAccessPolicyArrayOutput

func (ShareAclAccessPolicyArrayOutput) ToShareAclAccessPolicyArrayOutputWithContext

func (o ShareAclAccessPolicyArrayOutput) ToShareAclAccessPolicyArrayOutputWithContext(ctx context.Context) ShareAclAccessPolicyArrayOutput

type ShareAclAccessPolicyInput

type ShareAclAccessPolicyInput interface {
	pulumi.Input

	ToShareAclAccessPolicyOutput() ShareAclAccessPolicyOutput
	ToShareAclAccessPolicyOutputWithContext(context.Context) ShareAclAccessPolicyOutput
}

ShareAclAccessPolicyInput is an input type that accepts ShareAclAccessPolicyArgs and ShareAclAccessPolicyOutput values. You can construct a concrete instance of `ShareAclAccessPolicyInput` via:

ShareAclAccessPolicyArgs{...}

type ShareAclAccessPolicyOutput

type ShareAclAccessPolicyOutput struct{ *pulumi.OutputState }

func (ShareAclAccessPolicyOutput) ElementType

func (ShareAclAccessPolicyOutput) ElementType() reflect.Type

func (ShareAclAccessPolicyOutput) Expiry

The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.

func (ShareAclAccessPolicyOutput) Permissions

The permissions which should be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list).

func (ShareAclAccessPolicyOutput) Start

The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.

func (ShareAclAccessPolicyOutput) ToShareAclAccessPolicyOutput

func (o ShareAclAccessPolicyOutput) ToShareAclAccessPolicyOutput() ShareAclAccessPolicyOutput

func (ShareAclAccessPolicyOutput) ToShareAclAccessPolicyOutputWithContext

func (o ShareAclAccessPolicyOutput) ToShareAclAccessPolicyOutputWithContext(ctx context.Context) ShareAclAccessPolicyOutput

type ShareAclArgs

type ShareAclArgs struct {
	// An `accessPolicy` block as defined below.
	AccessPolicies ShareAclAccessPolicyArrayInput `pulumi:"accessPolicies"`
	// The ID which should be used for this Shared Identifier.
	Id pulumi.StringInput `pulumi:"id"`
}

func (ShareAclArgs) ElementType

func (ShareAclArgs) ElementType() reflect.Type

func (ShareAclArgs) ToShareAclOutput

func (i ShareAclArgs) ToShareAclOutput() ShareAclOutput

func (ShareAclArgs) ToShareAclOutputWithContext

func (i ShareAclArgs) ToShareAclOutputWithContext(ctx context.Context) ShareAclOutput

type ShareAclArray

type ShareAclArray []ShareAclInput

func (ShareAclArray) ElementType

func (ShareAclArray) ElementType() reflect.Type

func (ShareAclArray) ToShareAclArrayOutput

func (i ShareAclArray) ToShareAclArrayOutput() ShareAclArrayOutput

func (ShareAclArray) ToShareAclArrayOutputWithContext

func (i ShareAclArray) ToShareAclArrayOutputWithContext(ctx context.Context) ShareAclArrayOutput

type ShareAclArrayInput

type ShareAclArrayInput interface {
	pulumi.Input

	ToShareAclArrayOutput() ShareAclArrayOutput
	ToShareAclArrayOutputWithContext(context.Context) ShareAclArrayOutput
}

ShareAclArrayInput is an input type that accepts ShareAclArray and ShareAclArrayOutput values. You can construct a concrete instance of `ShareAclArrayInput` via:

ShareAclArray{ ShareAclArgs{...} }

type ShareAclArrayOutput

type ShareAclArrayOutput struct{ *pulumi.OutputState }

func (ShareAclArrayOutput) ElementType

func (ShareAclArrayOutput) ElementType() reflect.Type

func (ShareAclArrayOutput) Index

func (ShareAclArrayOutput) ToShareAclArrayOutput

func (o ShareAclArrayOutput) ToShareAclArrayOutput() ShareAclArrayOutput

func (ShareAclArrayOutput) ToShareAclArrayOutputWithContext

func (o ShareAclArrayOutput) ToShareAclArrayOutputWithContext(ctx context.Context) ShareAclArrayOutput

type ShareAclInput

type ShareAclInput interface {
	pulumi.Input

	ToShareAclOutput() ShareAclOutput
	ToShareAclOutputWithContext(context.Context) ShareAclOutput
}

ShareAclInput is an input type that accepts ShareAclArgs and ShareAclOutput values. You can construct a concrete instance of `ShareAclInput` via:

ShareAclArgs{...}

type ShareAclOutput

type ShareAclOutput struct{ *pulumi.OutputState }

func (ShareAclOutput) AccessPolicies

An `accessPolicy` block as defined below.

func (ShareAclOutput) ElementType

func (ShareAclOutput) ElementType() reflect.Type

func (ShareAclOutput) Id

The ID which should be used for this Shared Identifier.

func (ShareAclOutput) ToShareAclOutput

func (o ShareAclOutput) ToShareAclOutput() ShareAclOutput

func (ShareAclOutput) ToShareAclOutputWithContext

func (o ShareAclOutput) ToShareAclOutputWithContext(ctx context.Context) ShareAclOutput

type ShareArgs

type ShareArgs struct {
	// One or more `acl` blocks as defined below.
	Acls ShareAclArrayInput
	// A mapping of MetaData for this File Share.
	Metadata pulumi.StringMapInput
	// The name of the share. Must be unique within the storage account where the share is located.
	Name pulumi.StringPtrInput
	// The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
	Quota pulumi.IntPtrInput
	// Specifies the storage account in which to create the share.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringInput
}

The set of arguments for constructing a Share resource.

func (ShareArgs) ElementType

func (ShareArgs) ElementType() reflect.Type

type ShareDirectory

type ShareDirectory struct {
	pulumi.CustomResourceState

	// A mapping of metadata to assign to this Directory.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// The name (or path) of the Directory that should be created within this File Share. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the File Share where this Directory should be created. Changing this forces a new resource to be created.
	ShareName pulumi.StringOutput `pulumi:"shareName"`
	// The name of the Storage Account within which the File Share is located. Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
}

Manages a Directory within an Azure Storage File Share.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleShare, err := storage.NewShare(ctx, "exampleShare", &storage.ShareArgs{
			StorageAccountName: exampleAccount.Name,
			Quota:              pulumi.Int(50),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewShareDirectory(ctx, "exampleShareDirectory", &storage.ShareDirectoryArgs{
			ShareName:          exampleShare.Name,
			StorageAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Directories within an Azure Storage File Share can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/shareDirectory:ShareDirectory net/share1/directory1

```

func GetShareDirectory

func GetShareDirectory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareDirectoryState, opts ...pulumi.ResourceOption) (*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

func NewShareDirectory(ctx *pulumi.Context,
	name string, args *ShareDirectoryArgs, opts ...pulumi.ResourceOption) (*ShareDirectory, error)

NewShareDirectory registers a new resource with the given unique name, arguments, and options.

func (ShareDirectory) ElementType added in v3.31.1

func (ShareDirectory) ElementType() reflect.Type

func (ShareDirectory) ToShareDirectoryOutput added in v3.31.1

func (i ShareDirectory) ToShareDirectoryOutput() ShareDirectoryOutput

func (ShareDirectory) ToShareDirectoryOutputWithContext added in v3.31.1

func (i ShareDirectory) ToShareDirectoryOutputWithContext(ctx context.Context) ShareDirectoryOutput

type ShareDirectoryArgs

type ShareDirectoryArgs struct {
	// A mapping of metadata to assign to this Directory.
	Metadata pulumi.StringMapInput
	// The name (or path) of the Directory that should be created within this File Share. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the File Share where this Directory should be created. Changing this forces a new resource to be created.
	ShareName pulumi.StringInput
	// The name of the Storage Account within which the File Share is located. Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringInput
}

The set of arguments for constructing a ShareDirectory resource.

func (ShareDirectoryArgs) ElementType

func (ShareDirectoryArgs) ElementType() reflect.Type

type ShareDirectoryInput added in v3.31.1

type ShareDirectoryInput interface {
	pulumi.Input

	ToShareDirectoryOutput() ShareDirectoryOutput
	ToShareDirectoryOutputWithContext(ctx context.Context) ShareDirectoryOutput
}

type ShareDirectoryOutput added in v3.31.1

type ShareDirectoryOutput struct {
	*pulumi.OutputState
}

func (ShareDirectoryOutput) ElementType added in v3.31.1

func (ShareDirectoryOutput) ElementType() reflect.Type

func (ShareDirectoryOutput) ToShareDirectoryOutput added in v3.31.1

func (o ShareDirectoryOutput) ToShareDirectoryOutput() ShareDirectoryOutput

func (ShareDirectoryOutput) ToShareDirectoryOutputWithContext added in v3.31.1

func (o ShareDirectoryOutput) ToShareDirectoryOutputWithContext(ctx context.Context) ShareDirectoryOutput

type ShareDirectoryState

type ShareDirectoryState struct {
	// A mapping of metadata to assign to this Directory.
	Metadata pulumi.StringMapInput
	// The name (or path) of the Directory that should be created within this File Share. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the File Share where this Directory should be created. Changing this forces a new resource to be created.
	ShareName pulumi.StringPtrInput
	// The name of the Storage Account within which the File Share is located. Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringPtrInput
}

func (ShareDirectoryState) ElementType

func (ShareDirectoryState) ElementType() reflect.Type

type ShareFile added in v3.40.0

type ShareFile struct {
	pulumi.CustomResourceState

	// Sets the file’s Content-Disposition header.
	ContentDisposition pulumi.StringPtrOutput `pulumi:"contentDisposition"`
	// Specifies which content encodings have been applied to the file.
	ContentEncoding pulumi.StringPtrOutput `pulumi:"contentEncoding"`
	// The MD5 sum of the file contents. Changing this forces a new resource to be created.
	ContentMd5 pulumi.StringPtrOutput `pulumi:"contentMd5"`
	// The content type of the share file. Defaults to `application/octet-stream`.
	ContentType pulumi.StringPtrOutput `pulumi:"contentType"`
	// A mapping of metadata to assign to this file.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// The name (or path) of the File that should be created within this File Share. Changing this forces a new resource to be created.
	Name pulumi.StringOutput    `pulumi:"name"`
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// An absolute path to a file on the local system.
	Source pulumi.StringPtrOutput `pulumi:"source"`
	// The Storage Share ID in which this file will be placed into. Changing this forces a new resource to be created.
	StorageShareId pulumi.StringOutput `pulumi:"storageShareId"`
}

Manages a File within an Azure Storage File Share.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleShare, err := storage.NewShare(ctx, "exampleShare", &storage.ShareArgs{
			StorageAccountName: exampleAccount.Name,
			Quota:              pulumi.Int(50),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewShareFile(ctx, "exampleShareFile", &storage.ShareFileArgs{
			StorageShareId: exampleShare.ID(),
			Source:         pulumi.String("some-local-file.zip"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Directories within an Azure Storage File Share can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/shareFile:ShareFile example https://account1.file.core.windows.net/share1/file1

```

func GetShareFile added in v3.40.0

func GetShareFile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareFileState, opts ...pulumi.ResourceOption) (*ShareFile, error)

GetShareFile gets an existing ShareFile 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 NewShareFile added in v3.40.0

func NewShareFile(ctx *pulumi.Context,
	name string, args *ShareFileArgs, opts ...pulumi.ResourceOption) (*ShareFile, error)

NewShareFile registers a new resource with the given unique name, arguments, and options.

func (ShareFile) ElementType added in v3.40.0

func (ShareFile) ElementType() reflect.Type

func (ShareFile) ToShareFileOutput added in v3.40.0

func (i ShareFile) ToShareFileOutput() ShareFileOutput

func (ShareFile) ToShareFileOutputWithContext added in v3.40.0

func (i ShareFile) ToShareFileOutputWithContext(ctx context.Context) ShareFileOutput

type ShareFileArgs added in v3.40.0

type ShareFileArgs struct {
	// Sets the file’s Content-Disposition header.
	ContentDisposition pulumi.StringPtrInput
	// Specifies which content encodings have been applied to the file.
	ContentEncoding pulumi.StringPtrInput
	// The MD5 sum of the file contents. Changing this forces a new resource to be created.
	ContentMd5 pulumi.StringPtrInput
	// The content type of the share file. Defaults to `application/octet-stream`.
	ContentType pulumi.StringPtrInput
	// A mapping of metadata to assign to this file.
	Metadata pulumi.StringMapInput
	// The name (or path) of the File that should be created within this File Share. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	Path pulumi.StringPtrInput
	// An absolute path to a file on the local system.
	Source pulumi.StringPtrInput
	// The Storage Share ID in which this file will be placed into. Changing this forces a new resource to be created.
	StorageShareId pulumi.StringInput
}

The set of arguments for constructing a ShareFile resource.

func (ShareFileArgs) ElementType added in v3.40.0

func (ShareFileArgs) ElementType() reflect.Type

type ShareFileInput added in v3.40.0

type ShareFileInput interface {
	pulumi.Input

	ToShareFileOutput() ShareFileOutput
	ToShareFileOutputWithContext(ctx context.Context) ShareFileOutput
}

type ShareFileOutput added in v3.40.0

type ShareFileOutput struct {
	*pulumi.OutputState
}

func (ShareFileOutput) ElementType added in v3.40.0

func (ShareFileOutput) ElementType() reflect.Type

func (ShareFileOutput) ToShareFileOutput added in v3.40.0

func (o ShareFileOutput) ToShareFileOutput() ShareFileOutput

func (ShareFileOutput) ToShareFileOutputWithContext added in v3.40.0

func (o ShareFileOutput) ToShareFileOutputWithContext(ctx context.Context) ShareFileOutput

type ShareFileState added in v3.40.0

type ShareFileState struct {
	// Sets the file’s Content-Disposition header.
	ContentDisposition pulumi.StringPtrInput
	// Specifies which content encodings have been applied to the file.
	ContentEncoding pulumi.StringPtrInput
	// The MD5 sum of the file contents. Changing this forces a new resource to be created.
	ContentMd5 pulumi.StringPtrInput
	// The content type of the share file. Defaults to `application/octet-stream`.
	ContentType pulumi.StringPtrInput
	// A mapping of metadata to assign to this file.
	Metadata pulumi.StringMapInput
	// The name (or path) of the File that should be created within this File Share. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	Path pulumi.StringPtrInput
	// An absolute path to a file on the local system.
	Source pulumi.StringPtrInput
	// The Storage Share ID in which this file will be placed into. Changing this forces a new resource to be created.
	StorageShareId pulumi.StringPtrInput
}

func (ShareFileState) ElementType added in v3.40.0

func (ShareFileState) ElementType() reflect.Type

type ShareInput added in v3.31.1

type ShareInput interface {
	pulumi.Input

	ToShareOutput() ShareOutput
	ToShareOutputWithContext(ctx context.Context) ShareOutput
}

type ShareOutput added in v3.31.1

type ShareOutput struct {
	*pulumi.OutputState
}

func (ShareOutput) ElementType added in v3.31.1

func (ShareOutput) ElementType() reflect.Type

func (ShareOutput) ToShareOutput added in v3.31.1

func (o ShareOutput) ToShareOutput() ShareOutput

func (ShareOutput) ToShareOutputWithContext added in v3.31.1

func (o ShareOutput) ToShareOutputWithContext(ctx context.Context) ShareOutput

type ShareState

type ShareState struct {
	// One or more `acl` blocks as defined below.
	Acls ShareAclArrayInput
	// A mapping of MetaData for this File Share.
	Metadata pulumi.StringMapInput
	// The name of the share. Must be unique within the storage account where the share is located.
	Name pulumi.StringPtrInput
	// The maximum size of the share, in gigabytes. For Standard storage accounts, this must be greater than 0 and less than 5120 GB (5 TB). For Premium FileStorage storage accounts, this must be greater than 100 GB and less than 102400 GB (100 TB). Default is 5120.
	Quota pulumi.IntPtrInput
	// The Resource Manager ID of this File Share.
	ResourceManagerId pulumi.StringPtrInput
	// Specifies the storage account in which to create the share.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringPtrInput
	// The URL of the File Share
	Url pulumi.StringPtrInput
}

func (ShareState) ElementType

func (ShareState) ElementType() reflect.Type

type Sync added in v3.22.0

type Sync struct {
	pulumi.CustomResourceState

	// Incoming traffic policy. Possible values are `AllowAllTraffic` and `AllowVirtualNetworksOnly`.
	IncomingTrafficPolicy pulumi.StringPtrOutput `pulumi:"incomingTrafficPolicy"`
	// The Azure Region where the Storage Sync should exist. Changing this forces a new Storage Sync to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Storage Sync. Changing this forces a new Storage Sync to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Storage Sync should exist. Changing this forces a new Storage Sync to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Storage Sync.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Storage Sync.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewSync(ctx, "test", &storage.SyncArgs{
			ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name),
			Location:          pulumi.Any(azurerm_resource_group.Test.Location),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Syncs can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/sync:Sync example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StorageSync/storageSyncServices/sync1

```

func GetSync added in v3.22.0

func GetSync(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SyncState, opts ...pulumi.ResourceOption) (*Sync, error)

GetSync gets an existing Sync 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 NewSync added in v3.22.0

func NewSync(ctx *pulumi.Context,
	name string, args *SyncArgs, opts ...pulumi.ResourceOption) (*Sync, error)

NewSync registers a new resource with the given unique name, arguments, and options.

func (Sync) ElementType added in v3.31.1

func (Sync) ElementType() reflect.Type

func (Sync) ToSyncOutput added in v3.31.1

func (i Sync) ToSyncOutput() SyncOutput

func (Sync) ToSyncOutputWithContext added in v3.31.1

func (i Sync) ToSyncOutputWithContext(ctx context.Context) SyncOutput

type SyncArgs added in v3.22.0

type SyncArgs struct {
	// Incoming traffic policy. Possible values are `AllowAllTraffic` and `AllowVirtualNetworksOnly`.
	IncomingTrafficPolicy pulumi.StringPtrInput
	// The Azure Region where the Storage Sync should exist. Changing this forces a new Storage Sync to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Storage Sync. Changing this forces a new Storage Sync to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Storage Sync should exist. Changing this forces a new Storage Sync to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Storage Sync.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Sync resource.

func (SyncArgs) ElementType added in v3.22.0

func (SyncArgs) ElementType() reflect.Type

type SyncCloudEndpoint added in v3.40.0

type SyncCloudEndpoint struct {
	pulumi.CustomResourceState

	// The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	FileShareName pulumi.StringOutput `pulumi:"fileShareName"`
	// The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"`
	// The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
	StorageAccountTenantId pulumi.StringOutput `pulumi:"storageAccountTenantId"`
	// The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	StorageSyncGroupId pulumi.StringOutput `pulumi:"storageSyncGroupId"`
}

Manages a Storage Sync Cloud Endpoint.

> **NOTE:** Please ensure Azure File Sync has access to the storage account in your subscription, which indicates that `Microsoft.StorageSync` is assigned role `Reader and Data Access` ( refer to details [here](https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-troubleshoot?tabs=portal1%2Cazure-portal#common-troubleshooting-steps)).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleSync, err := storage.NewSync(ctx, "exampleSync", &storage.SyncArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		exampleSyncGroup, err := storage.NewSyncGroup(ctx, "exampleSyncGroup", &storage.SyncGroupArgs{
			StorageSyncId: exampleSync.ID(),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleShare, err := storage.NewShare(ctx, "exampleShare", &storage.ShareArgs{
			StorageAccountName: exampleAccount.Name,
			Acls: storage.ShareAclArray{
				&storage.ShareAclArgs{
					Id: pulumi.String("GhostedRecall"),
					AccessPolicies: storage.ShareAclAccessPolicyArray{
						&storage.ShareAclAccessPolicyArgs{
							Permissions: pulumi.String("r"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = storage.NewSyncCloudEndpoint(ctx, "exampleSyncCloudEndpoint", &storage.SyncCloudEndpointArgs{
			StorageSyncGroupId: exampleSyncGroup.ID(),
			FileShareName:      exampleShare.Name,
			StorageAccountId:   exampleAccount.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Sync Cloud Endpoints can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/syncCloudEndpoint:SyncCloudEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StorageSync/storageSyncServices/sync1/syncGroups/syncgroup1/cloudEndpoints/cloudEndpoint1

```

func GetSyncCloudEndpoint added in v3.40.0

func GetSyncCloudEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SyncCloudEndpointState, opts ...pulumi.ResourceOption) (*SyncCloudEndpoint, error)

GetSyncCloudEndpoint gets an existing SyncCloudEndpoint 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 NewSyncCloudEndpoint added in v3.40.0

func NewSyncCloudEndpoint(ctx *pulumi.Context,
	name string, args *SyncCloudEndpointArgs, opts ...pulumi.ResourceOption) (*SyncCloudEndpoint, error)

NewSyncCloudEndpoint registers a new resource with the given unique name, arguments, and options.

func (SyncCloudEndpoint) ElementType added in v3.40.0

func (SyncCloudEndpoint) ElementType() reflect.Type

func (SyncCloudEndpoint) ToSyncCloudEndpointOutput added in v3.40.0

func (i SyncCloudEndpoint) ToSyncCloudEndpointOutput() SyncCloudEndpointOutput

func (SyncCloudEndpoint) ToSyncCloudEndpointOutputWithContext added in v3.40.0

func (i SyncCloudEndpoint) ToSyncCloudEndpointOutputWithContext(ctx context.Context) SyncCloudEndpointOutput

type SyncCloudEndpointArgs added in v3.40.0

type SyncCloudEndpointArgs struct {
	// The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	FileShareName pulumi.StringInput
	// The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	Name pulumi.StringPtrInput
	// The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	StorageAccountId pulumi.StringInput
	// The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
	StorageAccountTenantId pulumi.StringPtrInput
	// The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	StorageSyncGroupId pulumi.StringInput
}

The set of arguments for constructing a SyncCloudEndpoint resource.

func (SyncCloudEndpointArgs) ElementType added in v3.40.0

func (SyncCloudEndpointArgs) ElementType() reflect.Type

type SyncCloudEndpointInput added in v3.40.0

type SyncCloudEndpointInput interface {
	pulumi.Input

	ToSyncCloudEndpointOutput() SyncCloudEndpointOutput
	ToSyncCloudEndpointOutputWithContext(ctx context.Context) SyncCloudEndpointOutput
}

type SyncCloudEndpointOutput added in v3.40.0

type SyncCloudEndpointOutput struct {
	*pulumi.OutputState
}

func (SyncCloudEndpointOutput) ElementType added in v3.40.0

func (SyncCloudEndpointOutput) ElementType() reflect.Type

func (SyncCloudEndpointOutput) ToSyncCloudEndpointOutput added in v3.40.0

func (o SyncCloudEndpointOutput) ToSyncCloudEndpointOutput() SyncCloudEndpointOutput

func (SyncCloudEndpointOutput) ToSyncCloudEndpointOutputWithContext added in v3.40.0

func (o SyncCloudEndpointOutput) ToSyncCloudEndpointOutputWithContext(ctx context.Context) SyncCloudEndpointOutput

type SyncCloudEndpointState added in v3.40.0

type SyncCloudEndpointState struct {
	// The Storage Share name to be synchronized in this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	FileShareName pulumi.StringPtrInput
	// The name which should be used for this Storage Sync Cloud Endpoint. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	Name pulumi.StringPtrInput
	// The ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	StorageAccountId pulumi.StringPtrInput
	// The Tenant ID of the Storage Account where the Storage Share exists. Changing this forces a new Storage Sync Cloud Endpoint to be created. Defaults to the current tenant id.
	StorageAccountTenantId pulumi.StringPtrInput
	// The ID of the Storage Sync Group where this Cloud Endpoint should be created. Changing this forces a new Storage Sync Cloud Endpoint to be created.
	StorageSyncGroupId pulumi.StringPtrInput
}

func (SyncCloudEndpointState) ElementType added in v3.40.0

func (SyncCloudEndpointState) ElementType() reflect.Type

type SyncGroup added in v3.23.0

type SyncGroup struct {
	pulumi.CustomResourceState

	// The name which should be used for this Storage Sync Group. Changing this forces a new Storage Sync Group to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The resource ID of the Storage Sync where this Storage Sync Group is. Changing this forces a new Storage Sync Group to be created.
	StorageSyncId pulumi.StringOutput `pulumi:"storageSyncId"`
}

Manages a Storage Sync Group.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleSync, err := storage.NewSync(ctx, "exampleSync", &storage.SyncArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		_, err = storage.NewSyncGroup(ctx, "exampleSyncGroup", &storage.SyncGroupArgs{
			StorageSyncId: exampleSync.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Storage Sync Groups can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/syncGroup:SyncGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.StorageSync/storageSyncServices/sync1/syncGroups/group1

```

func GetSyncGroup added in v3.23.0

func GetSyncGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SyncGroupState, opts ...pulumi.ResourceOption) (*SyncGroup, error)

GetSyncGroup gets an existing SyncGroup 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 NewSyncGroup added in v3.23.0

func NewSyncGroup(ctx *pulumi.Context,
	name string, args *SyncGroupArgs, opts ...pulumi.ResourceOption) (*SyncGroup, error)

NewSyncGroup registers a new resource with the given unique name, arguments, and options.

func (SyncGroup) ElementType added in v3.31.1

func (SyncGroup) ElementType() reflect.Type

func (SyncGroup) ToSyncGroupOutput added in v3.31.1

func (i SyncGroup) ToSyncGroupOutput() SyncGroupOutput

func (SyncGroup) ToSyncGroupOutputWithContext added in v3.31.1

func (i SyncGroup) ToSyncGroupOutputWithContext(ctx context.Context) SyncGroupOutput

type SyncGroupArgs added in v3.23.0

type SyncGroupArgs struct {
	// The name which should be used for this Storage Sync Group. Changing this forces a new Storage Sync Group to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Storage Sync where this Storage Sync Group is. Changing this forces a new Storage Sync Group to be created.
	StorageSyncId pulumi.StringInput
}

The set of arguments for constructing a SyncGroup resource.

func (SyncGroupArgs) ElementType added in v3.23.0

func (SyncGroupArgs) ElementType() reflect.Type

type SyncGroupInput added in v3.31.1

type SyncGroupInput interface {
	pulumi.Input

	ToSyncGroupOutput() SyncGroupOutput
	ToSyncGroupOutputWithContext(ctx context.Context) SyncGroupOutput
}

type SyncGroupOutput added in v3.31.1

type SyncGroupOutput struct {
	*pulumi.OutputState
}

func (SyncGroupOutput) ElementType added in v3.31.1

func (SyncGroupOutput) ElementType() reflect.Type

func (SyncGroupOutput) ToSyncGroupOutput added in v3.31.1

func (o SyncGroupOutput) ToSyncGroupOutput() SyncGroupOutput

func (SyncGroupOutput) ToSyncGroupOutputWithContext added in v3.31.1

func (o SyncGroupOutput) ToSyncGroupOutputWithContext(ctx context.Context) SyncGroupOutput

type SyncGroupState added in v3.23.0

type SyncGroupState struct {
	// The name which should be used for this Storage Sync Group. Changing this forces a new Storage Sync Group to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Storage Sync where this Storage Sync Group is. Changing this forces a new Storage Sync Group to be created.
	StorageSyncId pulumi.StringPtrInput
}

func (SyncGroupState) ElementType added in v3.23.0

func (SyncGroupState) ElementType() reflect.Type

type SyncInput added in v3.31.1

type SyncInput interface {
	pulumi.Input

	ToSyncOutput() SyncOutput
	ToSyncOutputWithContext(ctx context.Context) SyncOutput
}

type SyncOutput added in v3.31.1

type SyncOutput struct {
	*pulumi.OutputState
}

func (SyncOutput) ElementType added in v3.31.1

func (SyncOutput) ElementType() reflect.Type

func (SyncOutput) ToSyncOutput added in v3.31.1

func (o SyncOutput) ToSyncOutput() SyncOutput

func (SyncOutput) ToSyncOutputWithContext added in v3.31.1

func (o SyncOutput) ToSyncOutputWithContext(ctx context.Context) SyncOutput

type SyncState added in v3.22.0

type SyncState struct {
	// Incoming traffic policy. Possible values are `AllowAllTraffic` and `AllowVirtualNetworksOnly`.
	IncomingTrafficPolicy pulumi.StringPtrInput
	// The Azure Region where the Storage Sync should exist. Changing this forces a new Storage Sync to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Storage Sync. Changing this forces a new Storage Sync to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Storage Sync should exist. Changing this forces a new Storage Sync to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Storage Sync.
	Tags pulumi.StringMapInput
}

func (SyncState) ElementType added in v3.22.0

func (SyncState) ElementType() reflect.Type

type Table

type Table struct {
	pulumi.CustomResourceState

	// One or more `acl` blocks as defined below.
	Acls TableAclArrayOutput `pulumi:"acls"`
	// The name of the storage table. Must be unique within the storage account the table is located.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the storage account in which to create the storage table.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
}

Manages a Table within an Azure Storage Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewTable(ctx, "exampleTable", &storage.TableArgs{
			StorageAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Table's within a Storage Account can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/table:Table table1 "https://example.table.core.windows.net/Tables('replace-with-table-name')"

```

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Table, error)

NewTable registers a new resource with the given unique name, arguments, and options.

func (Table) ElementType added in v3.31.1

func (Table) ElementType() reflect.Type

func (Table) ToTableOutput added in v3.31.1

func (i Table) ToTableOutput() TableOutput

func (Table) ToTableOutputWithContext added in v3.31.1

func (i Table) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableAcl

type TableAcl struct {
	// An `accessPolicy` block as defined below.
	AccessPolicies []TableAclAccessPolicy `pulumi:"accessPolicies"`
	// The ID which should be used for this Shared Identifier.
	Id string `pulumi:"id"`
}

type TableAclAccessPolicy

type TableAclAccessPolicy struct {
	// The ISO8061 UTC time at which this Access Policy should be valid until.
	Expiry string `pulumi:"expiry"`
	// The permissions which should associated with this Shared Identifier.
	Permissions string `pulumi:"permissions"`
	// The ISO8061 UTC time at which this Access Policy should be valid from.
	Start string `pulumi:"start"`
}

type TableAclAccessPolicyArgs

type TableAclAccessPolicyArgs struct {
	// The ISO8061 UTC time at which this Access Policy should be valid until.
	Expiry pulumi.StringInput `pulumi:"expiry"`
	// The permissions which should associated with this Shared Identifier.
	Permissions pulumi.StringInput `pulumi:"permissions"`
	// The ISO8061 UTC time at which this Access Policy should be valid from.
	Start pulumi.StringInput `pulumi:"start"`
}

func (TableAclAccessPolicyArgs) ElementType

func (TableAclAccessPolicyArgs) ElementType() reflect.Type

func (TableAclAccessPolicyArgs) ToTableAclAccessPolicyOutput

func (i TableAclAccessPolicyArgs) ToTableAclAccessPolicyOutput() TableAclAccessPolicyOutput

func (TableAclAccessPolicyArgs) ToTableAclAccessPolicyOutputWithContext

func (i TableAclAccessPolicyArgs) ToTableAclAccessPolicyOutputWithContext(ctx context.Context) TableAclAccessPolicyOutput

type TableAclAccessPolicyArray

type TableAclAccessPolicyArray []TableAclAccessPolicyInput

func (TableAclAccessPolicyArray) ElementType

func (TableAclAccessPolicyArray) ElementType() reflect.Type

func (TableAclAccessPolicyArray) ToTableAclAccessPolicyArrayOutput

func (i TableAclAccessPolicyArray) ToTableAclAccessPolicyArrayOutput() TableAclAccessPolicyArrayOutput

func (TableAclAccessPolicyArray) ToTableAclAccessPolicyArrayOutputWithContext

func (i TableAclAccessPolicyArray) ToTableAclAccessPolicyArrayOutputWithContext(ctx context.Context) TableAclAccessPolicyArrayOutput

type TableAclAccessPolicyArrayInput

type TableAclAccessPolicyArrayInput interface {
	pulumi.Input

	ToTableAclAccessPolicyArrayOutput() TableAclAccessPolicyArrayOutput
	ToTableAclAccessPolicyArrayOutputWithContext(context.Context) TableAclAccessPolicyArrayOutput
}

TableAclAccessPolicyArrayInput is an input type that accepts TableAclAccessPolicyArray and TableAclAccessPolicyArrayOutput values. You can construct a concrete instance of `TableAclAccessPolicyArrayInput` via:

TableAclAccessPolicyArray{ TableAclAccessPolicyArgs{...} }

type TableAclAccessPolicyArrayOutput

type TableAclAccessPolicyArrayOutput struct{ *pulumi.OutputState }

func (TableAclAccessPolicyArrayOutput) ElementType

func (TableAclAccessPolicyArrayOutput) Index

func (TableAclAccessPolicyArrayOutput) ToTableAclAccessPolicyArrayOutput

func (o TableAclAccessPolicyArrayOutput) ToTableAclAccessPolicyArrayOutput() TableAclAccessPolicyArrayOutput

func (TableAclAccessPolicyArrayOutput) ToTableAclAccessPolicyArrayOutputWithContext

func (o TableAclAccessPolicyArrayOutput) ToTableAclAccessPolicyArrayOutputWithContext(ctx context.Context) TableAclAccessPolicyArrayOutput

type TableAclAccessPolicyInput

type TableAclAccessPolicyInput interface {
	pulumi.Input

	ToTableAclAccessPolicyOutput() TableAclAccessPolicyOutput
	ToTableAclAccessPolicyOutputWithContext(context.Context) TableAclAccessPolicyOutput
}

TableAclAccessPolicyInput is an input type that accepts TableAclAccessPolicyArgs and TableAclAccessPolicyOutput values. You can construct a concrete instance of `TableAclAccessPolicyInput` via:

TableAclAccessPolicyArgs{...}

type TableAclAccessPolicyOutput

type TableAclAccessPolicyOutput struct{ *pulumi.OutputState }

func (TableAclAccessPolicyOutput) ElementType

func (TableAclAccessPolicyOutput) ElementType() reflect.Type

func (TableAclAccessPolicyOutput) Expiry

The ISO8061 UTC time at which this Access Policy should be valid until.

func (TableAclAccessPolicyOutput) Permissions

The permissions which should associated with this Shared Identifier.

func (TableAclAccessPolicyOutput) Start

The ISO8061 UTC time at which this Access Policy should be valid from.

func (TableAclAccessPolicyOutput) ToTableAclAccessPolicyOutput

func (o TableAclAccessPolicyOutput) ToTableAclAccessPolicyOutput() TableAclAccessPolicyOutput

func (TableAclAccessPolicyOutput) ToTableAclAccessPolicyOutputWithContext

func (o TableAclAccessPolicyOutput) ToTableAclAccessPolicyOutputWithContext(ctx context.Context) TableAclAccessPolicyOutput

type TableAclArgs

type TableAclArgs struct {
	// An `accessPolicy` block as defined below.
	AccessPolicies TableAclAccessPolicyArrayInput `pulumi:"accessPolicies"`
	// The ID which should be used for this Shared Identifier.
	Id pulumi.StringInput `pulumi:"id"`
}

func (TableAclArgs) ElementType

func (TableAclArgs) ElementType() reflect.Type

func (TableAclArgs) ToTableAclOutput

func (i TableAclArgs) ToTableAclOutput() TableAclOutput

func (TableAclArgs) ToTableAclOutputWithContext

func (i TableAclArgs) ToTableAclOutputWithContext(ctx context.Context) TableAclOutput

type TableAclArray

type TableAclArray []TableAclInput

func (TableAclArray) ElementType

func (TableAclArray) ElementType() reflect.Type

func (TableAclArray) ToTableAclArrayOutput

func (i TableAclArray) ToTableAclArrayOutput() TableAclArrayOutput

func (TableAclArray) ToTableAclArrayOutputWithContext

func (i TableAclArray) ToTableAclArrayOutputWithContext(ctx context.Context) TableAclArrayOutput

type TableAclArrayInput

type TableAclArrayInput interface {
	pulumi.Input

	ToTableAclArrayOutput() TableAclArrayOutput
	ToTableAclArrayOutputWithContext(context.Context) TableAclArrayOutput
}

TableAclArrayInput is an input type that accepts TableAclArray and TableAclArrayOutput values. You can construct a concrete instance of `TableAclArrayInput` via:

TableAclArray{ TableAclArgs{...} }

type TableAclArrayOutput

type TableAclArrayOutput struct{ *pulumi.OutputState }

func (TableAclArrayOutput) ElementType

func (TableAclArrayOutput) ElementType() reflect.Type

func (TableAclArrayOutput) Index

func (TableAclArrayOutput) ToTableAclArrayOutput

func (o TableAclArrayOutput) ToTableAclArrayOutput() TableAclArrayOutput

func (TableAclArrayOutput) ToTableAclArrayOutputWithContext

func (o TableAclArrayOutput) ToTableAclArrayOutputWithContext(ctx context.Context) TableAclArrayOutput

type TableAclInput

type TableAclInput interface {
	pulumi.Input

	ToTableAclOutput() TableAclOutput
	ToTableAclOutputWithContext(context.Context) TableAclOutput
}

TableAclInput is an input type that accepts TableAclArgs and TableAclOutput values. You can construct a concrete instance of `TableAclInput` via:

TableAclArgs{...}

type TableAclOutput

type TableAclOutput struct{ *pulumi.OutputState }

func (TableAclOutput) AccessPolicies

An `accessPolicy` block as defined below.

func (TableAclOutput) ElementType

func (TableAclOutput) ElementType() reflect.Type

func (TableAclOutput) Id

The ID which should be used for this Shared Identifier.

func (TableAclOutput) ToTableAclOutput

func (o TableAclOutput) ToTableAclOutput() TableAclOutput

func (TableAclOutput) ToTableAclOutputWithContext

func (o TableAclOutput) ToTableAclOutputWithContext(ctx context.Context) TableAclOutput

type TableArgs

type TableArgs struct {
	// One or more `acl` blocks as defined below.
	Acls TableAclArrayInput
	// The name of the storage table. Must be unique within the storage account the table is located.
	Name pulumi.StringPtrInput
	// Specifies the storage account in which to create the storage table.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableEntity

type TableEntity struct {
	pulumi.CustomResourceState

	// A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
	Entity pulumi.StringMapOutput `pulumi:"entity"`
	// The key for the partition where the entity will be inserted/merged. Changing this forces a new resource.
	PartitionKey pulumi.StringOutput `pulumi:"partitionKey"`
	// The key for the row where the entity will be inserted/merged. Changing this forces a new resource.
	RowKey pulumi.StringOutput `pulumi:"rowKey"`
	// Specifies the storage account in which to create the storage table entity.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// The name of the storage table in which to create the storage table entity.
	// Changing this forces a new resource to be created.
	TableName pulumi.StringOutput `pulumi:"tableName"`
}

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

## Import

Entities within a Table in an Azure Storage Account can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:storage/tableEntity:TableEntity entity1 https://example.table.core.windows.net/table1(PartitionKey='samplepartition',RowKey='samplerow')

```

func GetTableEntity

func GetTableEntity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableEntityState, opts ...pulumi.ResourceOption) (*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

func NewTableEntity(ctx *pulumi.Context,
	name string, args *TableEntityArgs, opts ...pulumi.ResourceOption) (*TableEntity, error)

NewTableEntity registers a new resource with the given unique name, arguments, and options.

func (TableEntity) ElementType added in v3.31.1

func (TableEntity) ElementType() reflect.Type

func (TableEntity) ToTableEntityOutput added in v3.31.1

func (i TableEntity) ToTableEntityOutput() TableEntityOutput

func (TableEntity) ToTableEntityOutputWithContext added in v3.31.1

func (i TableEntity) ToTableEntityOutputWithContext(ctx context.Context) TableEntityOutput

type TableEntityArgs

type TableEntityArgs struct {
	// A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
	Entity pulumi.StringMapInput
	// The key for the partition where the entity will be inserted/merged. Changing this forces a new resource.
	PartitionKey pulumi.StringInput
	// The key for the row where the entity will be inserted/merged. Changing this forces a new resource.
	RowKey pulumi.StringInput
	// Specifies the storage account in which to create the storage table entity.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringInput
	// The name of the storage table in which to create the storage table entity.
	// Changing this forces a new resource to be created.
	TableName pulumi.StringInput
}

The set of arguments for constructing a TableEntity resource.

func (TableEntityArgs) ElementType

func (TableEntityArgs) ElementType() reflect.Type

type TableEntityInput added in v3.31.1

type TableEntityInput interface {
	pulumi.Input

	ToTableEntityOutput() TableEntityOutput
	ToTableEntityOutputWithContext(ctx context.Context) TableEntityOutput
}

type TableEntityOutput added in v3.31.1

type TableEntityOutput struct {
	*pulumi.OutputState
}

func (TableEntityOutput) ElementType added in v3.31.1

func (TableEntityOutput) ElementType() reflect.Type

func (TableEntityOutput) ToTableEntityOutput added in v3.31.1

func (o TableEntityOutput) ToTableEntityOutput() TableEntityOutput

func (TableEntityOutput) ToTableEntityOutputWithContext added in v3.31.1

func (o TableEntityOutput) ToTableEntityOutputWithContext(ctx context.Context) TableEntityOutput

type TableEntityState

type TableEntityState struct {
	// A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
	Entity pulumi.StringMapInput
	// The key for the partition where the entity will be inserted/merged. Changing this forces a new resource.
	PartitionKey pulumi.StringPtrInput
	// The key for the row where the entity will be inserted/merged. Changing this forces a new resource.
	RowKey pulumi.StringPtrInput
	// Specifies the storage account in which to create the storage table entity.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringPtrInput
	// The name of the storage table in which to create the storage table entity.
	// Changing this forces a new resource to be created.
	TableName pulumi.StringPtrInput
}

func (TableEntityState) ElementType

func (TableEntityState) ElementType() reflect.Type

type TableInput added in v3.31.1

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableOutput added in v3.31.1

type TableOutput struct {
	*pulumi.OutputState
}

func (TableOutput) ElementType added in v3.31.1

func (TableOutput) ElementType() reflect.Type

func (TableOutput) ToTableOutput added in v3.31.1

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext added in v3.31.1

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableState

type TableState struct {
	// One or more `acl` blocks as defined below.
	Acls TableAclArrayInput
	// The name of the storage table. Must be unique within the storage account the table is located.
	Name pulumi.StringPtrInput
	// Specifies the storage account in which to create the storage table.
	// Changing this forces a new resource to be created.
	StorageAccountName pulumi.StringPtrInput
}

func (TableState) ElementType

func (TableState) ElementType() reflect.Type

type ZipBlob deprecated

type ZipBlob struct {
	pulumi.CustomResourceState

	AccessTier           pulumi.StringOutput    `pulumi:"accessTier"`
	Content              pulumi.ArchiveOutput   `pulumi:"content"`
	ContentMd5           pulumi.StringPtrOutput `pulumi:"contentMd5"`
	ContentType          pulumi.StringPtrOutput `pulumi:"contentType"`
	Metadata             pulumi.StringMapOutput `pulumi:"metadata"`
	Name                 pulumi.StringOutput    `pulumi:"name"`
	Parallelism          pulumi.IntPtrOutput    `pulumi:"parallelism"`
	Size                 pulumi.IntPtrOutput    `pulumi:"size"`
	SourceContent        pulumi.StringPtrOutput `pulumi:"sourceContent"`
	SourceUri            pulumi.StringPtrOutput `pulumi:"sourceUri"`
	StorageAccountName   pulumi.StringOutput    `pulumi:"storageAccountName"`
	StorageContainerName pulumi.StringOutput    `pulumi:"storageContainerName"`
	Type                 pulumi.StringOutput    `pulumi:"type"`
	Url                  pulumi.StringOutput    `pulumi:"url"`
}

Deprecated: ZipBlob resource is deprecated in the 2.0 version of the provider. Use Blob resource instead.

func GetZipBlob

func GetZipBlob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZipBlobState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ZipBlob, error)

NewZipBlob registers a new resource with the given unique name, arguments, and options.

func (ZipBlob) ElementType added in v3.31.1

func (ZipBlob) ElementType() reflect.Type

func (ZipBlob) ToZipBlobOutput added in v3.31.1

func (i ZipBlob) ToZipBlobOutput() ZipBlobOutput

func (ZipBlob) ToZipBlobOutputWithContext added in v3.31.1

func (i ZipBlob) ToZipBlobOutputWithContext(ctx context.Context) ZipBlobOutput

type ZipBlobArgs

type ZipBlobArgs struct {
	AccessTier           pulumi.StringPtrInput
	Content              pulumi.ArchiveInput
	ContentMd5           pulumi.StringPtrInput
	ContentType          pulumi.StringPtrInput
	Metadata             pulumi.StringMapInput
	Name                 pulumi.StringPtrInput
	Parallelism          pulumi.IntPtrInput
	Size                 pulumi.IntPtrInput
	SourceContent        pulumi.StringPtrInput
	SourceUri            pulumi.StringPtrInput
	StorageAccountName   pulumi.StringInput
	StorageContainerName pulumi.StringInput
	Type                 pulumi.StringInput
}

The set of arguments for constructing a ZipBlob resource.

func (ZipBlobArgs) ElementType

func (ZipBlobArgs) ElementType() reflect.Type

type ZipBlobInput added in v3.31.1

type ZipBlobInput interface {
	pulumi.Input

	ToZipBlobOutput() ZipBlobOutput
	ToZipBlobOutputWithContext(ctx context.Context) ZipBlobOutput
}

type ZipBlobOutput added in v3.31.1

type ZipBlobOutput struct {
	*pulumi.OutputState
}

func (ZipBlobOutput) ElementType added in v3.31.1

func (ZipBlobOutput) ElementType() reflect.Type

func (ZipBlobOutput) ToZipBlobOutput added in v3.31.1

func (o ZipBlobOutput) ToZipBlobOutput() ZipBlobOutput

func (ZipBlobOutput) ToZipBlobOutputWithContext added in v3.31.1

func (o ZipBlobOutput) ToZipBlobOutputWithContext(ctx context.Context) ZipBlobOutput

type ZipBlobState

type ZipBlobState struct {
	AccessTier           pulumi.StringPtrInput
	Content              pulumi.ArchiveInput
	ContentMd5           pulumi.StringPtrInput
	ContentType          pulumi.StringPtrInput
	Metadata             pulumi.StringMapInput
	Name                 pulumi.StringPtrInput
	Parallelism          pulumi.IntPtrInput
	Size                 pulumi.IntPtrInput
	SourceContent        pulumi.StringPtrInput
	SourceUri            pulumi.StringPtrInput
	StorageAccountName   pulumi.StringPtrInput
	StorageContainerName pulumi.StringPtrInput
	Type                 pulumi.StringPtrInput
	Url                  pulumi.StringPtrInput
}

func (ZipBlobState) ElementType

func (ZipBlobState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL