1. Packages
  2. Azure Classic
  3. API Docs
  4. dataprotection
  5. BackupInstanceBlogStorage

We recommend using Azure Native.

Azure Classic v6.8.0 published on Monday, Nov 4, 2024 by Pulumi

azure.dataprotection.BackupInstanceBlogStorage

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.8.0 published on Monday, Nov 4, 2024 by Pulumi

    Manages a Backup Instance Blob Storage.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAccount:
        type: azure:storage:Account
        name: example
        properties:
          name: storageaccountname
          resourceGroupName: ${example.name}
          location: ${example.location}
          accountTier: Standard
          accountReplicationType: LRS
      exampleBackupVault:
        type: azure:dataprotection:BackupVault
        name: example
        properties:
          name: example-backup-vault
          resourceGroupName: ${example.name}
          location: ${example.location}
          datastoreType: VaultStore
          redundancy: LocallyRedundant
          identity:
            type: SystemAssigned
      exampleAssignment:
        type: azure:authorization:Assignment
        name: example
        properties:
          scope: ${exampleAccount.id}
          roleDefinitionName: Storage Account Backup Contributor
          principalId: ${exampleBackupVault.identity.principalId}
      exampleBackupPolicyBlobStorage:
        type: azure:dataprotection:BackupPolicyBlobStorage
        name: example
        properties:
          name: example-backup-policy
          vaultId: ${exampleBackupVault.id}
          retentionDuration: P30D
      exampleBackupInstanceBlogStorage:
        type: azure:dataprotection:BackupInstanceBlogStorage
        name: example
        properties:
          name: example-backup-instance
          vaultId: ${exampleBackupVault.id}
          location: ${example.location}
          storageAccountId: ${exampleAccount.id}
          backupPolicyId: ${exampleBackupPolicyBlobStorage.id}
        options:
          dependson:
            - ${exampleAssignment}
    

    Create BackupInstanceBlogStorage Resource

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

    Constructor syntax

    new BackupInstanceBlogStorage(name: string, args: BackupInstanceBlogStorageArgs, opts?: CustomResourceOptions);
    @overload
    def BackupInstanceBlogStorage(resource_name: str,
                                  args: BackupInstanceBlogStorageArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def BackupInstanceBlogStorage(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  backup_policy_id: Optional[str] = None,
                                  storage_account_id: Optional[str] = None,
                                  vault_id: Optional[str] = None,
                                  location: Optional[str] = None,
                                  name: Optional[str] = None,
                                  storage_account_container_names: Optional[Sequence[str]] = None)
    func NewBackupInstanceBlogStorage(ctx *Context, name string, args BackupInstanceBlogStorageArgs, opts ...ResourceOption) (*BackupInstanceBlogStorage, error)
    public BackupInstanceBlogStorage(string name, BackupInstanceBlogStorageArgs args, CustomResourceOptions? opts = null)
    public BackupInstanceBlogStorage(String name, BackupInstanceBlogStorageArgs args)
    public BackupInstanceBlogStorage(String name, BackupInstanceBlogStorageArgs args, CustomResourceOptions options)
    
    type: azure:dataprotection:BackupInstanceBlogStorage
    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 BackupInstanceBlogStorageArgs
    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 BackupInstanceBlogStorageArgs
    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 BackupInstanceBlogStorageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BackupInstanceBlogStorageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BackupInstanceBlogStorageArgs
    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 backupInstanceBlogStorageResource = new Azure.DataProtection.BackupInstanceBlogStorage("backupInstanceBlogStorageResource", new()
    {
        BackupPolicyId = "string",
        StorageAccountId = "string",
        VaultId = "string",
        Location = "string",
        Name = "string",
        StorageAccountContainerNames = new[]
        {
            "string",
        },
    });
    
    example, err := dataprotection.NewBackupInstanceBlogStorage(ctx, "backupInstanceBlogStorageResource", &dataprotection.BackupInstanceBlogStorageArgs{
    	BackupPolicyId:   pulumi.String("string"),
    	StorageAccountId: pulumi.String("string"),
    	VaultId:          pulumi.String("string"),
    	Location:         pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	StorageAccountContainerNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var backupInstanceBlogStorageResource = new BackupInstanceBlogStorage("backupInstanceBlogStorageResource", BackupInstanceBlogStorageArgs.builder()
        .backupPolicyId("string")
        .storageAccountId("string")
        .vaultId("string")
        .location("string")
        .name("string")
        .storageAccountContainerNames("string")
        .build());
    
    backup_instance_blog_storage_resource = azure.dataprotection.BackupInstanceBlogStorage("backupInstanceBlogStorageResource",
        backup_policy_id="string",
        storage_account_id="string",
        vault_id="string",
        location="string",
        name="string",
        storage_account_container_names=["string"])
    
    const backupInstanceBlogStorageResource = new azure.dataprotection.BackupInstanceBlogStorage("backupInstanceBlogStorageResource", {
        backupPolicyId: "string",
        storageAccountId: "string",
        vaultId: "string",
        location: "string",
        name: "string",
        storageAccountContainerNames: ["string"],
    });
    
    type: azure:dataprotection:BackupInstanceBlogStorage
    properties:
        backupPolicyId: string
        location: string
        name: string
        storageAccountContainerNames:
            - string
        storageAccountId: string
        vaultId: string
    

    BackupInstanceBlogStorage 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 BackupInstanceBlogStorage resource accepts the following input properties:

    BackupPolicyId string
    The ID of the Backup Policy.
    StorageAccountId string
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    VaultId string
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    Location string
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    Name string
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    StorageAccountContainerNames List<string>

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    BackupPolicyId string
    The ID of the Backup Policy.
    StorageAccountId string
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    VaultId string
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    Location string
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    Name string
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    StorageAccountContainerNames []string

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    backupPolicyId String
    The ID of the Backup Policy.
    storageAccountId String
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vaultId String
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    location String
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name String
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storageAccountContainerNames List<String>

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    backupPolicyId string
    The ID of the Backup Policy.
    storageAccountId string
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vaultId string
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    location string
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name string
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storageAccountContainerNames string[]

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    backup_policy_id str
    The ID of the Backup Policy.
    storage_account_id str
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vault_id str
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    location str
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name str
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storage_account_container_names Sequence[str]

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    backupPolicyId String
    The ID of the Backup Policy.
    storageAccountId String
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vaultId String
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    location String
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name String
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storageAccountContainerNames List<String>

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    Outputs

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

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

    Look up Existing BackupInstanceBlogStorage Resource

    Get an existing BackupInstanceBlogStorage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BackupInstanceBlogStorageState, opts?: CustomResourceOptions): BackupInstanceBlogStorage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup_policy_id: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            storage_account_container_names: Optional[Sequence[str]] = None,
            storage_account_id: Optional[str] = None,
            vault_id: Optional[str] = None) -> BackupInstanceBlogStorage
    func GetBackupInstanceBlogStorage(ctx *Context, name string, id IDInput, state *BackupInstanceBlogStorageState, opts ...ResourceOption) (*BackupInstanceBlogStorage, error)
    public static BackupInstanceBlogStorage Get(string name, Input<string> id, BackupInstanceBlogStorageState? state, CustomResourceOptions? opts = null)
    public static BackupInstanceBlogStorage get(String name, Output<String> id, BackupInstanceBlogStorageState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BackupPolicyId string
    The ID of the Backup Policy.
    Location string
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    Name string
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    StorageAccountContainerNames List<string>

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    StorageAccountId string
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    VaultId string
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    BackupPolicyId string
    The ID of the Backup Policy.
    Location string
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    Name string
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    StorageAccountContainerNames []string

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    StorageAccountId string
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    VaultId string
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    backupPolicyId String
    The ID of the Backup Policy.
    location String
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name String
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storageAccountContainerNames List<String>

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    storageAccountId String
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vaultId String
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    backupPolicyId string
    The ID of the Backup Policy.
    location string
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name string
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storageAccountContainerNames string[]

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    storageAccountId string
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vaultId string
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    backup_policy_id str
    The ID of the Backup Policy.
    location str
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name str
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storage_account_container_names Sequence[str]

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    storage_account_id str
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vault_id str
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.
    backupPolicyId String
    The ID of the Backup Policy.
    location String
    The location of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    name String
    The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
    storageAccountContainerNames List<String>

    The list of the container names of the source Storage Account.

    Note: The storage_account_container_names should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the storage_account_container_names will force a new resource to be created since it can't be removed once specified.

    storageAccountId String
    The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
    vaultId String
    The ID of the Backup Vault within which the Backup Instance Blob Storage should exist. Changing this forces a new Backup Instance Blob Storage to be created.

    Import

    Backup Instance Blob Storages can be imported using the resource id, e.g.

    $ pulumi import azure:dataprotection/backupInstanceBlogStorage:BackupInstanceBlogStorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataProtection/backupVaults/vault1/backupInstances/backupInstance1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.8.0 published on Monday, Nov 4, 2024 by Pulumi