These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.web.WebAppAzureStorageAccounts
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
AzureStorageInfo dictionary resource. API Version: 2020-12-01.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:WebAppAzureStorageAccounts myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts
Create WebAppAzureStorageAccounts Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppAzureStorageAccounts(name: string, args: WebAppAzureStorageAccountsArgs, opts?: CustomResourceOptions);
@overload
def WebAppAzureStorageAccounts(resource_name: str,
args: WebAppAzureStorageAccountsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppAzureStorageAccounts(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
kind: Optional[str] = None,
properties: Optional[Mapping[str, AzureStorageInfoValueArgs]] = None)
func NewWebAppAzureStorageAccounts(ctx *Context, name string, args WebAppAzureStorageAccountsArgs, opts ...ResourceOption) (*WebAppAzureStorageAccounts, error)
public WebAppAzureStorageAccounts(string name, WebAppAzureStorageAccountsArgs args, CustomResourceOptions? opts = null)
public WebAppAzureStorageAccounts(String name, WebAppAzureStorageAccountsArgs args)
public WebAppAzureStorageAccounts(String name, WebAppAzureStorageAccountsArgs args, CustomResourceOptions options)
type: azure-native:web:WebAppAzureStorageAccounts
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WebAppAzureStorageAccountsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WebAppAzureStorageAccountsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebAppAzureStorageAccountsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppAzureStorageAccountsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebAppAzureStorageAccountsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var webAppAzureStorageAccountsResource = new AzureNative.Web.WebAppAzureStorageAccounts("webAppAzureStorageAccountsResource", new()
{
Name = "string",
ResourceGroupName = "string",
Kind = "string",
Properties =
{
{ "string",
{
{ "accessKey", "string" },
{ "accountName", "string" },
{ "mountPath", "string" },
{ "shareName", "string" },
{ "type", "AzureFiles" },
} },
},
});
example, err := web.NewWebAppAzureStorageAccounts(ctx, "webAppAzureStorageAccountsResource", &web.WebAppAzureStorageAccountsArgs{
Name: "string",
ResourceGroupName: "string",
Kind: "string",
Properties: map[string]interface{}{
"string": map[string]interface{}{
"accessKey": "string",
"accountName": "string",
"mountPath": "string",
"shareName": "string",
"type": "AzureFiles",
},
},
})
var webAppAzureStorageAccountsResource = new WebAppAzureStorageAccounts("webAppAzureStorageAccountsResource", WebAppAzureStorageAccountsArgs.builder()
.name("string")
.resourceGroupName("string")
.kind("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
web_app_azure_storage_accounts_resource = azure_native.web.WebAppAzureStorageAccounts("webAppAzureStorageAccountsResource",
name=string,
resource_group_name=string,
kind=string,
properties={
string: {
accessKey: string,
accountName: string,
mountPath: string,
shareName: string,
type: AzureFiles,
},
})
const webAppAzureStorageAccountsResource = new azure_native.web.WebAppAzureStorageAccounts("webAppAzureStorageAccountsResource", {
name: "string",
resourceGroupName: "string",
kind: "string",
properties: {
string: {
accessKey: "string",
accountName: "string",
mountPath: "string",
shareName: "string",
type: "AzureFiles",
},
},
});
type: azure-native:web:WebAppAzureStorageAccounts
properties:
kind: string
name: string
properties:
string:
accessKey: string
accountName: string
mountPath: string
shareName: string
type: AzureFiles
resourceGroupName: string
WebAppAzureStorageAccounts Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The WebAppAzureStorageAccounts resource accepts the following input properties:
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Kind string
- Kind of resource.
- Properties
Dictionary<string, Pulumi.
Azure Native. Web. Inputs. Azure Storage Info Value Args> - Azure storage accounts.
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Kind string
- Kind of resource.
- Properties
map[string]Azure
Storage Info Value Args - Azure storage accounts.
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- kind String
- Kind of resource.
- properties
Map<String,Azure
Storage Info Value Args> - Azure storage accounts.
- name string
- Name of the app.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- kind string
- Kind of resource.
- properties
{[key: string]: Azure
Storage Info Value Args} - Azure storage accounts.
- name str
- Name of the app.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- kind str
- Kind of resource.
- properties
Mapping[str, Azure
Storage Info Value Args] - Azure storage accounts.
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- kind String
- Kind of resource.
- properties Map<Property Map>
- Azure storage accounts.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebAppAzureStorageAccounts resource produces the following output properties:
Supporting Types
AzureStorageInfoValue, AzureStorageInfoValueArgs
- Access
Key string - Access key for the storage account.
- Account
Name string - Name of the storage account.
- Mount
Path string - Path to mount the storage within the site's runtime environment.
- string
- Name of the file share (container name, for Blob storage).
- Type
Pulumi.
Azure Native. Web. Azure Storage Type - Type of storage.
- Access
Key string - Access key for the storage account.
- Account
Name string - Name of the storage account.
- Mount
Path string - Path to mount the storage within the site's runtime environment.
- string
- Name of the file share (container name, for Blob storage).
- Type
Azure
Storage Type - Type of storage.
- access
Key String - Access key for the storage account.
- account
Name String - Name of the storage account.
- mount
Path String - Path to mount the storage within the site's runtime environment.
- String
- Name of the file share (container name, for Blob storage).
- type
Azure
Storage Type - Type of storage.
- access
Key string - Access key for the storage account.
- account
Name string - Name of the storage account.
- mount
Path string - Path to mount the storage within the site's runtime environment.
- string
- Name of the file share (container name, for Blob storage).
- type
Azure
Storage Type - Type of storage.
- access_
key str - Access key for the storage account.
- account_
name str - Name of the storage account.
- mount_
path str - Path to mount the storage within the site's runtime environment.
- str
- Name of the file share (container name, for Blob storage).
- type
Azure
Storage Type - Type of storage.
- access
Key String - Access key for the storage account.
- account
Name String - Name of the storage account.
- mount
Path String - Path to mount the storage within the site's runtime environment.
- String
- Name of the file share (container name, for Blob storage).
- type
"Azure
Files" | "Azure Blob" - Type of storage.
AzureStorageInfoValueResponse, AzureStorageInfoValueResponseArgs
- State string
- State of the storage account.
- Access
Key string - Access key for the storage account.
- Account
Name string - Name of the storage account.
- Mount
Path string - Path to mount the storage within the site's runtime environment.
- string
- Name of the file share (container name, for Blob storage).
- Type string
- Type of storage.
- State string
- State of the storage account.
- Access
Key string - Access key for the storage account.
- Account
Name string - Name of the storage account.
- Mount
Path string - Path to mount the storage within the site's runtime environment.
- string
- Name of the file share (container name, for Blob storage).
- Type string
- Type of storage.
- state String
- State of the storage account.
- access
Key String - Access key for the storage account.
- account
Name String - Name of the storage account.
- mount
Path String - Path to mount the storage within the site's runtime environment.
- String
- Name of the file share (container name, for Blob storage).
- type String
- Type of storage.
- state string
- State of the storage account.
- access
Key string - Access key for the storage account.
- account
Name string - Name of the storage account.
- mount
Path string - Path to mount the storage within the site's runtime environment.
- string
- Name of the file share (container name, for Blob storage).
- type string
- Type of storage.
- state str
- State of the storage account.
- access_
key str - Access key for the storage account.
- account_
name str - Name of the storage account.
- mount_
path str - Path to mount the storage within the site's runtime environment.
- str
- Name of the file share (container name, for Blob storage).
- type str
- Type of storage.
- state String
- State of the storage account.
- access
Key String - Access key for the storage account.
- account
Name String - Name of the storage account.
- mount
Path String - Path to mount the storage within the site's runtime environment.
- String
- Name of the file share (container name, for Blob storage).
- type String
- Type of storage.
AzureStorageType, AzureStorageTypeArgs
- Azure
Files - AzureFiles
- Azure
Blob - AzureBlob
- Azure
Storage Type Azure Files - AzureFiles
- Azure
Storage Type Azure Blob - AzureBlob
- Azure
Files - AzureFiles
- Azure
Blob - AzureBlob
- Azure
Files - AzureFiles
- Azure
Blob - AzureBlob
- AZURE_FILES
- AzureFiles
- AZURE_BLOB
- AzureBlob
- "Azure
Files" - AzureFiles
- "Azure
Blob" - AzureBlob
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi