Documentation
¶
Index ¶
- Constants
- type AccountType
- func (AccountType) ElementType() reflect.Type
- func (e AccountType) ToStringOutput() pulumi.StringOutput
- func (e AccountType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e AccountType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e AccountType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CustomDomainResponse
- type CustomDomainResponseArgs
- func (CustomDomainResponseArgs) ElementType() reflect.Type
- func (i CustomDomainResponseArgs) ToCustomDomainResponseOutput() CustomDomainResponseOutput
- func (i CustomDomainResponseArgs) ToCustomDomainResponseOutputWithContext(ctx context.Context) CustomDomainResponseOutput
- func (i CustomDomainResponseArgs) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput
- func (i CustomDomainResponseArgs) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput
- type CustomDomainResponseInput
- type CustomDomainResponseOutput
- func (CustomDomainResponseOutput) ElementType() reflect.Type
- func (o CustomDomainResponseOutput) Name() pulumi.StringOutput
- func (o CustomDomainResponseOutput) ToCustomDomainResponseOutput() CustomDomainResponseOutput
- func (o CustomDomainResponseOutput) ToCustomDomainResponseOutputWithContext(ctx context.Context) CustomDomainResponseOutput
- func (o CustomDomainResponseOutput) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput
- func (o CustomDomainResponseOutput) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput
- func (o CustomDomainResponseOutput) UseSubDomainName() pulumi.BoolPtrOutput
- type CustomDomainResponsePtrInput
- type CustomDomainResponsePtrOutput
- func (o CustomDomainResponsePtrOutput) Elem() CustomDomainResponseOutput
- func (CustomDomainResponsePtrOutput) ElementType() reflect.Type
- func (o CustomDomainResponsePtrOutput) Name() pulumi.StringPtrOutput
- func (o CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput
- func (o CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput
- func (o CustomDomainResponsePtrOutput) UseSubDomainName() pulumi.BoolPtrOutput
- type EndpointsResponse
- type EndpointsResponseArgs
- func (EndpointsResponseArgs) ElementType() reflect.Type
- func (i EndpointsResponseArgs) ToEndpointsResponseOutput() EndpointsResponseOutput
- func (i EndpointsResponseArgs) ToEndpointsResponseOutputWithContext(ctx context.Context) EndpointsResponseOutput
- func (i EndpointsResponseArgs) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput
- func (i EndpointsResponseArgs) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput
- type EndpointsResponseInput
- type EndpointsResponseOutput
- func (o EndpointsResponseOutput) Blob() pulumi.StringPtrOutput
- func (EndpointsResponseOutput) ElementType() reflect.Type
- func (o EndpointsResponseOutput) File() pulumi.StringPtrOutput
- func (o EndpointsResponseOutput) Queue() pulumi.StringPtrOutput
- func (o EndpointsResponseOutput) Table() pulumi.StringPtrOutput
- func (o EndpointsResponseOutput) ToEndpointsResponseOutput() EndpointsResponseOutput
- func (o EndpointsResponseOutput) ToEndpointsResponseOutputWithContext(ctx context.Context) EndpointsResponseOutput
- func (o EndpointsResponseOutput) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput
- func (o EndpointsResponseOutput) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput
- type EndpointsResponsePtrInput
- type EndpointsResponsePtrOutput
- func (o EndpointsResponsePtrOutput) Blob() pulumi.StringPtrOutput
- func (o EndpointsResponsePtrOutput) Elem() EndpointsResponseOutput
- func (EndpointsResponsePtrOutput) ElementType() reflect.Type
- func (o EndpointsResponsePtrOutput) File() pulumi.StringPtrOutput
- func (o EndpointsResponsePtrOutput) Queue() pulumi.StringPtrOutput
- func (o EndpointsResponsePtrOutput) Table() pulumi.StringPtrOutput
- func (o EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput
- func (o EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput
- type ListStorageAccountKeysArgs
- type ListStorageAccountKeysResult
- type LookupStorageAccountArgs
- type LookupStorageAccountResult
- type StorageAccount
- type StorageAccountArgs
- type StorageAccountInput
- type StorageAccountOutput
- type StorageAccountState
Constants ¶
const ( AccountType_Standard_LRS = AccountType("Standard_LRS") AccountType_Standard_ZRS = AccountType("Standard_ZRS") AccountType_Standard_GRS = AccountType("Standard_GRS") AccountType_Standard_RAGRS = AccountType("Standard_RAGRS") AccountType_Premium_LRS = AccountType("Premium_LRS") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountType ¶ added in v0.3.1
The sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType.
func (AccountType) ElementType ¶ added in v0.3.1
func (AccountType) ElementType() reflect.Type
func (AccountType) ToStringOutput ¶ added in v0.3.1
func (e AccountType) ToStringOutput() pulumi.StringOutput
func (AccountType) ToStringOutputWithContext ¶ added in v0.3.1
func (e AccountType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AccountType) ToStringPtrOutput ¶ added in v0.3.1
func (e AccountType) ToStringPtrOutput() pulumi.StringPtrOutput
func (AccountType) ToStringPtrOutputWithContext ¶ added in v0.3.1
func (e AccountType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CustomDomainResponse ¶
type CustomDomainResponse struct { // The custom domain name. Name is the CNAME source. Name string `pulumi:"name"` // Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates UseSubDomainName *bool `pulumi:"useSubDomainName"` }
The custom domain assigned to this storage account. This can be set via Update.
type CustomDomainResponseArgs ¶
type CustomDomainResponseArgs struct { // The custom domain name. Name is the CNAME source. Name pulumi.StringInput `pulumi:"name"` // Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates UseSubDomainName pulumi.BoolPtrInput `pulumi:"useSubDomainName"` }
The custom domain assigned to this storage account. This can be set via Update.
func (CustomDomainResponseArgs) ElementType ¶
func (CustomDomainResponseArgs) ElementType() reflect.Type
func (CustomDomainResponseArgs) ToCustomDomainResponseOutput ¶
func (i CustomDomainResponseArgs) ToCustomDomainResponseOutput() CustomDomainResponseOutput
func (CustomDomainResponseArgs) ToCustomDomainResponseOutputWithContext ¶
func (i CustomDomainResponseArgs) ToCustomDomainResponseOutputWithContext(ctx context.Context) CustomDomainResponseOutput
func (CustomDomainResponseArgs) ToCustomDomainResponsePtrOutput ¶
func (i CustomDomainResponseArgs) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput
func (CustomDomainResponseArgs) ToCustomDomainResponsePtrOutputWithContext ¶
func (i CustomDomainResponseArgs) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput
type CustomDomainResponseInput ¶
type CustomDomainResponseInput interface { pulumi.Input ToCustomDomainResponseOutput() CustomDomainResponseOutput ToCustomDomainResponseOutputWithContext(context.Context) CustomDomainResponseOutput }
CustomDomainResponseInput is an input type that accepts CustomDomainResponseArgs and CustomDomainResponseOutput values. You can construct a concrete instance of `CustomDomainResponseInput` via:
CustomDomainResponseArgs{...}
type CustomDomainResponseOutput ¶
type CustomDomainResponseOutput struct{ *pulumi.OutputState }
The custom domain assigned to this storage account. This can be set via Update.
func (CustomDomainResponseOutput) ElementType ¶
func (CustomDomainResponseOutput) ElementType() reflect.Type
func (CustomDomainResponseOutput) Name ¶
func (o CustomDomainResponseOutput) Name() pulumi.StringOutput
The custom domain name. Name is the CNAME source.
func (CustomDomainResponseOutput) ToCustomDomainResponseOutput ¶
func (o CustomDomainResponseOutput) ToCustomDomainResponseOutput() CustomDomainResponseOutput
func (CustomDomainResponseOutput) ToCustomDomainResponseOutputWithContext ¶
func (o CustomDomainResponseOutput) ToCustomDomainResponseOutputWithContext(ctx context.Context) CustomDomainResponseOutput
func (CustomDomainResponseOutput) ToCustomDomainResponsePtrOutput ¶
func (o CustomDomainResponseOutput) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput
func (CustomDomainResponseOutput) ToCustomDomainResponsePtrOutputWithContext ¶
func (o CustomDomainResponseOutput) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput
func (CustomDomainResponseOutput) UseSubDomainName ¶
func (o CustomDomainResponseOutput) UseSubDomainName() pulumi.BoolPtrOutput
Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates
type CustomDomainResponsePtrInput ¶
type CustomDomainResponsePtrInput interface { pulumi.Input ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput ToCustomDomainResponsePtrOutputWithContext(context.Context) CustomDomainResponsePtrOutput }
CustomDomainResponsePtrInput is an input type that accepts CustomDomainResponseArgs, CustomDomainResponsePtr and CustomDomainResponsePtrOutput values. You can construct a concrete instance of `CustomDomainResponsePtrInput` via:
CustomDomainResponseArgs{...} or: nil
func CustomDomainResponsePtr ¶
func CustomDomainResponsePtr(v *CustomDomainResponseArgs) CustomDomainResponsePtrInput
type CustomDomainResponsePtrOutput ¶
type CustomDomainResponsePtrOutput struct{ *pulumi.OutputState }
func (CustomDomainResponsePtrOutput) Elem ¶
func (o CustomDomainResponsePtrOutput) Elem() CustomDomainResponseOutput
func (CustomDomainResponsePtrOutput) ElementType ¶
func (CustomDomainResponsePtrOutput) ElementType() reflect.Type
func (CustomDomainResponsePtrOutput) Name ¶
func (o CustomDomainResponsePtrOutput) Name() pulumi.StringPtrOutput
The custom domain name. Name is the CNAME source.
func (CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutput ¶
func (o CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput
func (CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutputWithContext ¶
func (o CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput
func (CustomDomainResponsePtrOutput) UseSubDomainName ¶
func (o CustomDomainResponsePtrOutput) UseSubDomainName() pulumi.BoolPtrOutput
Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates
type EndpointsResponse ¶
type EndpointsResponse struct { // The blob endpoint. Blob *string `pulumi:"blob"` // The file endpoint. File *string `pulumi:"file"` // The queue endpoint. Queue *string `pulumi:"queue"` // The table endpoint. Table *string `pulumi:"table"` }
The URIs that are used to perform a retrieval of a public blob, queue or table object.
type EndpointsResponseArgs ¶
type EndpointsResponseArgs struct { // The blob endpoint. Blob pulumi.StringPtrInput `pulumi:"blob"` // The file endpoint. File pulumi.StringPtrInput `pulumi:"file"` // The queue endpoint. Queue pulumi.StringPtrInput `pulumi:"queue"` // The table endpoint. Table pulumi.StringPtrInput `pulumi:"table"` }
The URIs that are used to perform a retrieval of a public blob, queue or table object.
func (EndpointsResponseArgs) ElementType ¶
func (EndpointsResponseArgs) ElementType() reflect.Type
func (EndpointsResponseArgs) ToEndpointsResponseOutput ¶
func (i EndpointsResponseArgs) ToEndpointsResponseOutput() EndpointsResponseOutput
func (EndpointsResponseArgs) ToEndpointsResponseOutputWithContext ¶
func (i EndpointsResponseArgs) ToEndpointsResponseOutputWithContext(ctx context.Context) EndpointsResponseOutput
func (EndpointsResponseArgs) ToEndpointsResponsePtrOutput ¶
func (i EndpointsResponseArgs) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput
func (EndpointsResponseArgs) ToEndpointsResponsePtrOutputWithContext ¶
func (i EndpointsResponseArgs) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput
type EndpointsResponseInput ¶
type EndpointsResponseInput interface { pulumi.Input ToEndpointsResponseOutput() EndpointsResponseOutput ToEndpointsResponseOutputWithContext(context.Context) EndpointsResponseOutput }
EndpointsResponseInput is an input type that accepts EndpointsResponseArgs and EndpointsResponseOutput values. You can construct a concrete instance of `EndpointsResponseInput` via:
EndpointsResponseArgs{...}
type EndpointsResponseOutput ¶
type EndpointsResponseOutput struct{ *pulumi.OutputState }
The URIs that are used to perform a retrieval of a public blob, queue or table object.
func (EndpointsResponseOutput) Blob ¶
func (o EndpointsResponseOutput) Blob() pulumi.StringPtrOutput
The blob endpoint.
func (EndpointsResponseOutput) ElementType ¶
func (EndpointsResponseOutput) ElementType() reflect.Type
func (EndpointsResponseOutput) File ¶
func (o EndpointsResponseOutput) File() pulumi.StringPtrOutput
The file endpoint.
func (EndpointsResponseOutput) Queue ¶
func (o EndpointsResponseOutput) Queue() pulumi.StringPtrOutput
The queue endpoint.
func (EndpointsResponseOutput) Table ¶
func (o EndpointsResponseOutput) Table() pulumi.StringPtrOutput
The table endpoint.
func (EndpointsResponseOutput) ToEndpointsResponseOutput ¶
func (o EndpointsResponseOutput) ToEndpointsResponseOutput() EndpointsResponseOutput
func (EndpointsResponseOutput) ToEndpointsResponseOutputWithContext ¶
func (o EndpointsResponseOutput) ToEndpointsResponseOutputWithContext(ctx context.Context) EndpointsResponseOutput
func (EndpointsResponseOutput) ToEndpointsResponsePtrOutput ¶
func (o EndpointsResponseOutput) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput
func (EndpointsResponseOutput) ToEndpointsResponsePtrOutputWithContext ¶
func (o EndpointsResponseOutput) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput
type EndpointsResponsePtrInput ¶
type EndpointsResponsePtrInput interface { pulumi.Input ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput ToEndpointsResponsePtrOutputWithContext(context.Context) EndpointsResponsePtrOutput }
EndpointsResponsePtrInput is an input type that accepts EndpointsResponseArgs, EndpointsResponsePtr and EndpointsResponsePtrOutput values. You can construct a concrete instance of `EndpointsResponsePtrInput` via:
EndpointsResponseArgs{...} or: nil
func EndpointsResponsePtr ¶
func EndpointsResponsePtr(v *EndpointsResponseArgs) EndpointsResponsePtrInput
type EndpointsResponsePtrOutput ¶
type EndpointsResponsePtrOutput struct{ *pulumi.OutputState }
func (EndpointsResponsePtrOutput) Blob ¶
func (o EndpointsResponsePtrOutput) Blob() pulumi.StringPtrOutput
The blob endpoint.
func (EndpointsResponsePtrOutput) Elem ¶
func (o EndpointsResponsePtrOutput) Elem() EndpointsResponseOutput
func (EndpointsResponsePtrOutput) ElementType ¶
func (EndpointsResponsePtrOutput) ElementType() reflect.Type
func (EndpointsResponsePtrOutput) File ¶
func (o EndpointsResponsePtrOutput) File() pulumi.StringPtrOutput
The file endpoint.
func (EndpointsResponsePtrOutput) Queue ¶
func (o EndpointsResponsePtrOutput) Queue() pulumi.StringPtrOutput
The queue endpoint.
func (EndpointsResponsePtrOutput) Table ¶
func (o EndpointsResponsePtrOutput) Table() pulumi.StringPtrOutput
The table endpoint.
func (EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutput ¶
func (o EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput
func (EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutputWithContext ¶
func (o EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput
type ListStorageAccountKeysArgs ¶
type ListStorageAccountKeysArgs struct { // The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. AccountName string `pulumi:"accountName"` // The name of the resource group within the user's subscription. The name is case insensitive. ResourceGroupName string `pulumi:"resourceGroupName"` }
type ListStorageAccountKeysResult ¶
type ListStorageAccountKeysResult struct { // The value of key 1. Key1 *string `pulumi:"key1"` // The value of key 2. Key2 *string `pulumi:"key2"` }
The access keys for the storage account.
func ListStorageAccountKeys ¶
func ListStorageAccountKeys(ctx *pulumi.Context, args *ListStorageAccountKeysArgs, opts ...pulumi.InvokeOption) (*ListStorageAccountKeysResult, error)
type LookupStorageAccountArgs ¶
type LookupStorageAccountArgs struct { // The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. AccountName string `pulumi:"accountName"` // The name of the resource group within the user's subscription. The name is case insensitive. ResourceGroupName string `pulumi:"resourceGroupName"` }
type LookupStorageAccountResult ¶
type LookupStorageAccountResult struct { // The type of the storage account. AccountType *string `pulumi:"accountType"` // The creation date and time of the storage account in UTC. CreationTime *string `pulumi:"creationTime"` // The custom domain the user assigned to this storage account. CustomDomain *CustomDomainResponse `pulumi:"customDomain"` // Resource Id Id string `pulumi:"id"` // The timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. LastGeoFailoverTime *string `pulumi:"lastGeoFailoverTime"` // Resource location Location *string `pulumi:"location"` // Resource name Name string `pulumi:"name"` // The URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. PrimaryEndpoints *EndpointsResponse `pulumi:"primaryEndpoints"` // The location of the primary data center for the storage account. PrimaryLocation *string `pulumi:"primaryLocation"` // The status of the storage account at the time the operation was called. ProvisioningState *string `pulumi:"provisioningState"` // The URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS. SecondaryEndpoints *EndpointsResponse `pulumi:"secondaryEndpoints"` // The location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. SecondaryLocation *string `pulumi:"secondaryLocation"` // The status indicating whether the primary location of the storage account is available or unavailable. StatusOfPrimary *string `pulumi:"statusOfPrimary"` // The status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. StatusOfSecondary *string `pulumi:"statusOfSecondary"` // Resource tags Tags map[string]string `pulumi:"tags"` // Resource type Type string `pulumi:"type"` }
The storage account.
func LookupStorageAccount ¶
func LookupStorageAccount(ctx *pulumi.Context, args *LookupStorageAccountArgs, opts ...pulumi.InvokeOption) (*LookupStorageAccountResult, error)
type StorageAccount ¶
type StorageAccount struct { pulumi.CustomResourceState // The type of the storage account. AccountType pulumi.StringPtrOutput `pulumi:"accountType"` // The creation date and time of the storage account in UTC. CreationTime pulumi.StringPtrOutput `pulumi:"creationTime"` // The custom domain the user assigned to this storage account. CustomDomain CustomDomainResponsePtrOutput `pulumi:"customDomain"` // The timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. LastGeoFailoverTime pulumi.StringPtrOutput `pulumi:"lastGeoFailoverTime"` // Resource location Location pulumi.StringPtrOutput `pulumi:"location"` // Resource name Name pulumi.StringOutput `pulumi:"name"` // The URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. PrimaryEndpoints EndpointsResponsePtrOutput `pulumi:"primaryEndpoints"` // The location of the primary data center for the storage account. PrimaryLocation pulumi.StringPtrOutput `pulumi:"primaryLocation"` // The status of the storage account at the time the operation was called. ProvisioningState pulumi.StringPtrOutput `pulumi:"provisioningState"` // The URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS. SecondaryEndpoints EndpointsResponsePtrOutput `pulumi:"secondaryEndpoints"` // The location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. SecondaryLocation pulumi.StringPtrOutput `pulumi:"secondaryLocation"` // The status indicating whether the primary location of the storage account is available or unavailable. StatusOfPrimary pulumi.StringPtrOutput `pulumi:"statusOfPrimary"` // The status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. StatusOfSecondary pulumi.StringPtrOutput `pulumi:"statusOfSecondary"` // Resource tags Tags pulumi.StringMapOutput `pulumi:"tags"` // Resource type Type pulumi.StringOutput `pulumi:"type"` }
The storage account.
func GetStorageAccount ¶
func GetStorageAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StorageAccountState, opts ...pulumi.ResourceOption) (*StorageAccount, error)
GetStorageAccount gets an existing StorageAccount 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 NewStorageAccount ¶
func NewStorageAccount(ctx *pulumi.Context, name string, args *StorageAccountArgs, opts ...pulumi.ResourceOption) (*StorageAccount, error)
NewStorageAccount registers a new resource with the given unique name, arguments, and options.
func (*StorageAccount) ElementType ¶ added in v0.2.6
func (*StorageAccount) ElementType() reflect.Type
func (*StorageAccount) ToStorageAccountOutput ¶ added in v0.2.6
func (i *StorageAccount) ToStorageAccountOutput() StorageAccountOutput
func (*StorageAccount) ToStorageAccountOutputWithContext ¶ added in v0.2.6
func (i *StorageAccount) ToStorageAccountOutputWithContext(ctx context.Context) StorageAccountOutput
type StorageAccountArgs ¶
type StorageAccountArgs struct { // The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. AccountName pulumi.StringInput // The sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. AccountType AccountType // The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. Location pulumi.StringPtrInput // The name of the resource group within the user's subscription. The name is case insensitive. ResourceGroupName pulumi.StringInput // A list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. Tags pulumi.StringMapInput }
The set of arguments for constructing a StorageAccount resource.
func (StorageAccountArgs) ElementType ¶
func (StorageAccountArgs) ElementType() reflect.Type
type StorageAccountInput ¶ added in v0.2.6
type StorageAccountInput interface { pulumi.Input ToStorageAccountOutput() StorageAccountOutput ToStorageAccountOutputWithContext(ctx context.Context) StorageAccountOutput }
type StorageAccountOutput ¶ added in v0.2.6
type StorageAccountOutput struct {
*pulumi.OutputState
}
func (StorageAccountOutput) ElementType ¶ added in v0.2.6
func (StorageAccountOutput) ElementType() reflect.Type
func (StorageAccountOutput) ToStorageAccountOutput ¶ added in v0.2.6
func (o StorageAccountOutput) ToStorageAccountOutput() StorageAccountOutput
func (StorageAccountOutput) ToStorageAccountOutputWithContext ¶ added in v0.2.6
func (o StorageAccountOutput) ToStorageAccountOutputWithContext(ctx context.Context) StorageAccountOutput
type StorageAccountState ¶
type StorageAccountState struct { // The type of the storage account. AccountType pulumi.StringPtrInput // The creation date and time of the storage account in UTC. CreationTime pulumi.StringPtrInput // The custom domain the user assigned to this storage account. CustomDomain CustomDomainResponsePtrInput // The timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. LastGeoFailoverTime pulumi.StringPtrInput // Resource location Location pulumi.StringPtrInput // Resource name Name pulumi.StringPtrInput // The URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. PrimaryEndpoints EndpointsResponsePtrInput // The location of the primary data center for the storage account. PrimaryLocation pulumi.StringPtrInput // The status of the storage account at the time the operation was called. ProvisioningState pulumi.StringPtrInput // The URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS. SecondaryEndpoints EndpointsResponsePtrInput // The location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. SecondaryLocation pulumi.StringPtrInput // The status indicating whether the primary location of the storage account is available or unavailable. StatusOfPrimary pulumi.StringPtrInput // The status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. StatusOfSecondary pulumi.StringPtrInput // Resource tags Tags pulumi.StringMapInput // Resource type Type pulumi.StringPtrInput }
func (StorageAccountState) ElementType ¶
func (StorageAccountState) ElementType() reflect.Type