1. Packages
  2. Azure Native v1
  3. API Docs
  4. web
  5. WebAppAzureStorageAccountsSlot
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.WebAppAzureStorageAccountsSlot

Explore with Pulumi AI

azure-native-v1 logo
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:WebAppAzureStorageAccountsSlot myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts 
    

    Create WebAppAzureStorageAccountsSlot Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WebAppAzureStorageAccountsSlot(name: string, args: WebAppAzureStorageAccountsSlotArgs, opts?: CustomResourceOptions);
    @overload
    def WebAppAzureStorageAccountsSlot(resource_name: str,
                                       args: WebAppAzureStorageAccountsSlotArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebAppAzureStorageAccountsSlot(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       slot: Optional[str] = None,
                                       kind: Optional[str] = None,
                                       properties: Optional[Mapping[str, AzureStorageInfoValueArgs]] = None)
    func NewWebAppAzureStorageAccountsSlot(ctx *Context, name string, args WebAppAzureStorageAccountsSlotArgs, opts ...ResourceOption) (*WebAppAzureStorageAccountsSlot, error)
    public WebAppAzureStorageAccountsSlot(string name, WebAppAzureStorageAccountsSlotArgs args, CustomResourceOptions? opts = null)
    public WebAppAzureStorageAccountsSlot(String name, WebAppAzureStorageAccountsSlotArgs args)
    public WebAppAzureStorageAccountsSlot(String name, WebAppAzureStorageAccountsSlotArgs args, CustomResourceOptions options)
    
    type: azure-native:web:WebAppAzureStorageAccountsSlot
    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 WebAppAzureStorageAccountsSlotArgs
    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 WebAppAzureStorageAccountsSlotArgs
    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 WebAppAzureStorageAccountsSlotArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppAzureStorageAccountsSlotArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebAppAzureStorageAccountsSlotArgs
    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 webAppAzureStorageAccountsSlotResource = new AzureNative.Web.WebAppAzureStorageAccountsSlot("webAppAzureStorageAccountsSlotResource", new()
    {
        Name = "string",
        ResourceGroupName = "string",
        Slot = "string",
        Kind = "string",
        Properties = 
        {
            { "string", 
            {
                { "accessKey", "string" },
                { "accountName", "string" },
                { "mountPath", "string" },
                { "shareName", "string" },
                { "type", "AzureFiles" },
            } },
        },
    });
    
    example, err := web.NewWebAppAzureStorageAccountsSlot(ctx, "webAppAzureStorageAccountsSlotResource", &web.WebAppAzureStorageAccountsSlotArgs{
    	Name:              "string",
    	ResourceGroupName: "string",
    	Slot:              "string",
    	Kind:              "string",
    	Properties: map[string]interface{}{
    		"string": map[string]interface{}{
    			"accessKey":   "string",
    			"accountName": "string",
    			"mountPath":   "string",
    			"shareName":   "string",
    			"type":        "AzureFiles",
    		},
    	},
    })
    
    var webAppAzureStorageAccountsSlotResource = new WebAppAzureStorageAccountsSlot("webAppAzureStorageAccountsSlotResource", WebAppAzureStorageAccountsSlotArgs.builder()
        .name("string")
        .resourceGroupName("string")
        .slot("string")
        .kind("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    web_app_azure_storage_accounts_slot_resource = azure_native.web.WebAppAzureStorageAccountsSlot("webAppAzureStorageAccountsSlotResource",
        name=string,
        resource_group_name=string,
        slot=string,
        kind=string,
        properties={
            string: {
                accessKey: string,
                accountName: string,
                mountPath: string,
                shareName: string,
                type: AzureFiles,
            },
        })
    
    const webAppAzureStorageAccountsSlotResource = new azure_native.web.WebAppAzureStorageAccountsSlot("webAppAzureStorageAccountsSlotResource", {
        name: "string",
        resourceGroupName: "string",
        slot: "string",
        kind: "string",
        properties: {
            string: {
                accessKey: "string",
                accountName: "string",
                mountPath: "string",
                shareName: "string",
                type: "AzureFiles",
            },
        },
    });
    
    type: azure-native:web:WebAppAzureStorageAccountsSlot
    properties:
        kind: string
        name: string
        properties:
            string:
                accessKey: string
                accountName: string
                mountPath: string
                shareName: string
                type: AzureFiles
        resourceGroupName: string
        slot: string
    

    WebAppAzureStorageAccountsSlot Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WebAppAzureStorageAccountsSlot resource accepts the following input properties:

    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
    Kind string
    Kind of resource.
    Properties Dictionary<string, Pulumi.AzureNative.Web.Inputs.AzureStorageInfoValueArgs>
    Azure storage accounts.
    Name string
    Name of the app.
    ResourceGroupName string
    Name of the resource group to which the resource belongs.
    Slot string
    Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
    Kind string
    Kind of resource.
    Properties map[string]AzureStorageInfoValueArgs
    Azure storage accounts.
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    slot String
    Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
    kind String
    Kind of resource.
    properties Map<String,AzureStorageInfoValueArgs>
    Azure storage accounts.
    name string
    Name of the app.
    resourceGroupName string
    Name of the resource group to which the resource belongs.
    slot string
    Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
    kind string
    Kind of resource.
    properties {[key: string]: AzureStorageInfoValueArgs}
    Azure storage accounts.
    name str
    Name of the app.
    resource_group_name str
    Name of the resource group to which the resource belongs.
    slot str
    Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
    kind str
    Kind of resource.
    properties Mapping[str, AzureStorageInfoValueArgs]
    Azure storage accounts.
    name String
    Name of the app.
    resourceGroupName String
    Name of the resource group to which the resource belongs.
    slot String
    Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.
    kind String
    Kind of resource.
    properties Map<Property Map>
    Azure storage accounts.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebAppAzureStorageAccountsSlot resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Resource type.

    Supporting Types

    AzureStorageInfoValue, AzureStorageInfoValueArgs

    AccessKey string
    Access key for the storage account.
    AccountName string
    Name of the storage account.
    MountPath string
    Path to mount the storage within the site's runtime environment.
    ShareName string
    Name of the file share (container name, for Blob storage).
    Type Pulumi.AzureNative.Web.AzureStorageType
    Type of storage.
    AccessKey string
    Access key for the storage account.
    AccountName string
    Name of the storage account.
    MountPath string
    Path to mount the storage within the site's runtime environment.
    ShareName string
    Name of the file share (container name, for Blob storage).
    Type AzureStorageType
    Type of storage.
    accessKey String
    Access key for the storage account.
    accountName String
    Name of the storage account.
    mountPath String
    Path to mount the storage within the site's runtime environment.
    shareName String
    Name of the file share (container name, for Blob storage).
    type AzureStorageType
    Type of storage.
    accessKey string
    Access key for the storage account.
    accountName string
    Name of the storage account.
    mountPath string
    Path to mount the storage within the site's runtime environment.
    shareName string
    Name of the file share (container name, for Blob storage).
    type AzureStorageType
    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.
    share_name str
    Name of the file share (container name, for Blob storage).
    type AzureStorageType
    Type of storage.
    accessKey String
    Access key for the storage account.
    accountName String
    Name of the storage account.
    mountPath String
    Path to mount the storage within the site's runtime environment.
    shareName String
    Name of the file share (container name, for Blob storage).
    type "AzureFiles" | "AzureBlob"
    Type of storage.

    AzureStorageInfoValueResponse, AzureStorageInfoValueResponseArgs

    State string
    State of the storage account.
    AccessKey string
    Access key for the storage account.
    AccountName string
    Name of the storage account.
    MountPath string
    Path to mount the storage within the site's runtime environment.
    ShareName string
    Name of the file share (container name, for Blob storage).
    Type string
    Type of storage.
    State string
    State of the storage account.
    AccessKey string
    Access key for the storage account.
    AccountName string
    Name of the storage account.
    MountPath string
    Path to mount the storage within the site's runtime environment.
    ShareName string
    Name of the file share (container name, for Blob storage).
    Type string
    Type of storage.
    state String
    State of the storage account.
    accessKey String
    Access key for the storage account.
    accountName String
    Name of the storage account.
    mountPath String
    Path to mount the storage within the site's runtime environment.
    shareName String
    Name of the file share (container name, for Blob storage).
    type String
    Type of storage.
    state string
    State of the storage account.
    accessKey string
    Access key for the storage account.
    accountName string
    Name of the storage account.
    mountPath string
    Path to mount the storage within the site's runtime environment.
    shareName 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.
    share_name str
    Name of the file share (container name, for Blob storage).
    type str
    Type of storage.
    state String
    State of the storage account.
    accessKey String
    Access key for the storage account.
    accountName String
    Name of the storage account.
    mountPath String
    Path to mount the storage within the site's runtime environment.
    shareName String
    Name of the file share (container name, for Blob storage).
    type String
    Type of storage.

    AzureStorageType, AzureStorageTypeArgs

    AzureFiles
    AzureFiles
    AzureBlob
    AzureBlob
    AzureStorageTypeAzureFiles
    AzureFiles
    AzureStorageTypeAzureBlob
    AzureBlob
    AzureFiles
    AzureFiles
    AzureBlob
    AzureBlob
    AzureFiles
    AzureFiles
    AzureBlob
    AzureBlob
    AZURE_FILES
    AzureFiles
    AZURE_BLOB
    AzureBlob
    "AzureFiles"
    AzureFiles
    "AzureBlob"
    AzureBlob

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    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