1. Packages
  2. Azure Native
  3. API Docs
  4. dataprotection
  5. BackupInstance
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.dataprotection.BackupInstance

Explore with Pulumi AI

BackupInstance Resource

Uses Azure REST API version 2025-01-01. In version 2.x of the Azure Native provider, it used API version 2023-01-01.

Other available API versions: 2023-01-01, 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dataprotection [ApiVersion]. See the version guide for details.

Example Usage

Create BackupInstance

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var backupInstance = new AzureNative.DataProtection.BackupInstance("backupInstance", new()
    {
        BackupInstanceName = "testInstance1",
        Properties = new AzureNative.DataProtection.Inputs.BackupInstanceArgs
        {
            DataSourceInfo = new AzureNative.DataProtection.Inputs.DatasourceArgs
            {
                DatasourceType = "Microsoft.DBforPostgreSQL/servers/databases",
                ObjectType = "Datasource",
                ResourceID = "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
                ResourceLocation = "",
                ResourceName = "testdb",
                ResourceType = "Microsoft.DBforPostgreSQL/servers/databases",
                ResourceUri = "",
            },
            DataSourceSetInfo = new AzureNative.DataProtection.Inputs.DatasourceSetArgs
            {
                DatasourceType = "Microsoft.DBforPostgreSQL/servers/databases",
                ObjectType = "DatasourceSet",
                ResourceID = "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
                ResourceLocation = "",
                ResourceName = "viveksipgtest",
                ResourceType = "Microsoft.DBforPostgreSQL/servers",
                ResourceUri = "",
            },
            DatasourceAuthCredentials = new AzureNative.DataProtection.Inputs.SecretStoreBasedAuthCredentialsArgs
            {
                ObjectType = "SecretStoreBasedAuthCredentials",
                SecretStoreResource = new AzureNative.DataProtection.Inputs.SecretStoreResourceArgs
                {
                    SecretStoreType = AzureNative.DataProtection.SecretStoreType.AzureKeyVault,
                    Uri = "https://samplevault.vault.azure.net/secrets/credentials",
                },
            },
            FriendlyName = "harshitbi2",
            IdentityDetails = new AzureNative.DataProtection.Inputs.IdentityDetailsArgs
            {
                UseSystemAssignedIdentity = false,
                UserAssignedIdentityArmUrl = "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourcegroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami",
            },
            ObjectType = "BackupInstance",
            PolicyInfo = new AzureNative.DataProtection.Inputs.PolicyInfoArgs
            {
                PolicyId = "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
                PolicyParameters = new AzureNative.DataProtection.Inputs.PolicyParametersArgs
                {
                    DataStoreParametersList = new[]
                    {
                        new AzureNative.DataProtection.Inputs.AzureOperationalStoreParametersArgs
                        {
                            DataStoreType = AzureNative.DataProtection.DataStoreTypes.OperationalStore,
                            ObjectType = "AzureOperationalStoreParameters",
                            ResourceGroupId = "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest",
                        },
                    },
                },
            },
            ValidationType = AzureNative.DataProtection.ValidationType.ShallowValidation,
        },
        ResourceGroupName = "000pikumar",
        Tags = 
        {
            { "key1", "val1" },
        },
        VaultName = "PratikPrivatePreviewVault1",
    });

});
Copy
package main

import (
	dataprotection "github.com/pulumi/pulumi-azure-native-sdk/dataprotection/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataprotection.NewBackupInstance(ctx, "backupInstance", &dataprotection.BackupInstanceArgs{
			BackupInstanceName: pulumi.String("testInstance1"),
			Properties: &dataprotection.BackupInstanceTypeArgs{
				DataSourceInfo: &dataprotection.DatasourceArgs{
					DatasourceType:   pulumi.String("Microsoft.DBforPostgreSQL/servers/databases"),
					ObjectType:       pulumi.String("Datasource"),
					ResourceID:       pulumi.String("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"),
					ResourceLocation: pulumi.String(""),
					ResourceName:     pulumi.String("testdb"),
					ResourceType:     pulumi.String("Microsoft.DBforPostgreSQL/servers/databases"),
					ResourceUri:      pulumi.String(""),
				},
				DataSourceSetInfo: &dataprotection.DatasourceSetArgs{
					DatasourceType:   pulumi.String("Microsoft.DBforPostgreSQL/servers/databases"),
					ObjectType:       pulumi.String("DatasourceSet"),
					ResourceID:       pulumi.String("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest"),
					ResourceLocation: pulumi.String(""),
					ResourceName:     pulumi.String("viveksipgtest"),
					ResourceType:     pulumi.String("Microsoft.DBforPostgreSQL/servers"),
					ResourceUri:      pulumi.String(""),
				},
				DatasourceAuthCredentials: &dataprotection.SecretStoreBasedAuthCredentialsArgs{
					ObjectType: pulumi.String("SecretStoreBasedAuthCredentials"),
					SecretStoreResource: &dataprotection.SecretStoreResourceArgs{
						SecretStoreType: pulumi.String(dataprotection.SecretStoreTypeAzureKeyVault),
						Uri:             pulumi.String("https://samplevault.vault.azure.net/secrets/credentials"),
					},
				},
				FriendlyName: pulumi.String("harshitbi2"),
				IdentityDetails: &dataprotection.IdentityDetailsArgs{
					UseSystemAssignedIdentity:  pulumi.Bool(false),
					UserAssignedIdentityArmUrl: pulumi.String("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourcegroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami"),
				},
				ObjectType: pulumi.String("BackupInstance"),
				PolicyInfo: &dataprotection.PolicyInfoArgs{
					PolicyId: pulumi.String("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1"),
					PolicyParameters: &dataprotection.PolicyParametersArgs{
						DataStoreParametersList: dataprotection.AzureOperationalStoreParametersArray{
							&dataprotection.AzureOperationalStoreParametersArgs{
								DataStoreType:   pulumi.String(dataprotection.DataStoreTypesOperationalStore),
								ObjectType:      pulumi.String("AzureOperationalStoreParameters"),
								ResourceGroupId: pulumi.String("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"),
							},
						},
					},
				},
				ValidationType: pulumi.String(dataprotection.ValidationTypeShallowValidation),
			},
			ResourceGroupName: pulumi.String("000pikumar"),
			Tags: pulumi.StringMap{
				"key1": pulumi.String("val1"),
			},
			VaultName: pulumi.String("PratikPrivatePreviewVault1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dataprotection.BackupInstance;
import com.pulumi.azurenative.dataprotection.inputs.DatasourceArgs;
import com.pulumi.azurenative.dataprotection.inputs.DatasourceSetArgs;
import com.pulumi.azurenative.dataprotection.inputs.SecretStoreBasedAuthCredentialsArgs;
import com.pulumi.azurenative.dataprotection.inputs.SecretStoreResourceArgs;
import com.pulumi.azurenative.dataprotection.inputs.IdentityDetailsArgs;
import com.pulumi.azurenative.dataprotection.inputs.PolicyInfoArgs;
import com.pulumi.azurenative.dataprotection.inputs.PolicyParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var backupInstance = new BackupInstance("backupInstance", BackupInstanceArgs.builder()
            .backupInstanceName("testInstance1")
            .properties(BackupInstanceArgs.builder()
                .dataSourceInfo(DatasourceArgs.builder()
                    .datasourceType("Microsoft.DBforPostgreSQL/servers/databases")
                    .objectType("Datasource")
                    .resourceID("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb")
                    .resourceLocation("")
                    .resourceName("testdb")
                    .resourceType("Microsoft.DBforPostgreSQL/servers/databases")
                    .resourceUri("")
                    .build())
                .dataSourceSetInfo(DatasourceSetArgs.builder()
                    .datasourceType("Microsoft.DBforPostgreSQL/servers/databases")
                    .objectType("DatasourceSet")
                    .resourceID("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest")
                    .resourceLocation("")
                    .resourceName("viveksipgtest")
                    .resourceType("Microsoft.DBforPostgreSQL/servers")
                    .resourceUri("")
                    .build())
                .datasourceAuthCredentials(Map.ofEntries(
                    Map.entry("objectType", "SecretStoreBasedAuthCredentials"),
                    Map.entry("secretStoreResource", SecretStoreResourceArgs.builder()
                        .secretStoreType("AzureKeyVault")
                        .uri("https://samplevault.vault.azure.net/secrets/credentials")
                        .build())
                ))
                .friendlyName("harshitbi2")
                .identityDetails(IdentityDetailsArgs.builder()
                    .useSystemAssignedIdentity(false)
                    .userAssignedIdentityArmUrl("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourcegroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami")
                    .build())
                .objectType("BackupInstance")
                .policyInfo(PolicyInfoArgs.builder()
                    .policyId("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1")
                    .policyParameters(PolicyParametersArgs.builder()
                        .dataStoreParametersList(Map.ofEntries(
                            Map.entry("dataStoreType", "OperationalStore"),
                            Map.entry("objectType", "AzureOperationalStoreParameters"),
                            Map.entry("resourceGroupId", "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest")
                        ))
                        .build())
                    .build())
                .validationType("ShallowValidation")
                .build())
            .resourceGroupName("000pikumar")
            .tags(Map.of("key1", "val1"))
            .vaultName("PratikPrivatePreviewVault1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const backupInstance = new azure_native.dataprotection.BackupInstance("backupInstance", {
    backupInstanceName: "testInstance1",
    properties: {
        dataSourceInfo: {
            datasourceType: "Microsoft.DBforPostgreSQL/servers/databases",
            objectType: "Datasource",
            resourceID: "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
            resourceLocation: "",
            resourceName: "testdb",
            resourceType: "Microsoft.DBforPostgreSQL/servers/databases",
            resourceUri: "",
        },
        dataSourceSetInfo: {
            datasourceType: "Microsoft.DBforPostgreSQL/servers/databases",
            objectType: "DatasourceSet",
            resourceID: "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
            resourceLocation: "",
            resourceName: "viveksipgtest",
            resourceType: "Microsoft.DBforPostgreSQL/servers",
            resourceUri: "",
        },
        datasourceAuthCredentials: {
            objectType: "SecretStoreBasedAuthCredentials",
            secretStoreResource: {
                secretStoreType: azure_native.dataprotection.SecretStoreType.AzureKeyVault,
                uri: "https://samplevault.vault.azure.net/secrets/credentials",
            },
        },
        friendlyName: "harshitbi2",
        identityDetails: {
            useSystemAssignedIdentity: false,
            userAssignedIdentityArmUrl: "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourcegroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami",
        },
        objectType: "BackupInstance",
        policyInfo: {
            policyId: "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
            policyParameters: {
                dataStoreParametersList: [{
                    dataStoreType: azure_native.dataprotection.DataStoreTypes.OperationalStore,
                    objectType: "AzureOperationalStoreParameters",
                    resourceGroupId: "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest",
                }],
            },
        },
        validationType: azure_native.dataprotection.ValidationType.ShallowValidation,
    },
    resourceGroupName: "000pikumar",
    tags: {
        key1: "val1",
    },
    vaultName: "PratikPrivatePreviewVault1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

backup_instance = azure_native.dataprotection.BackupInstance("backupInstance",
    backup_instance_name="testInstance1",
    properties={
        "data_source_info": {
            "datasource_type": "Microsoft.DBforPostgreSQL/servers/databases",
            "object_type": "Datasource",
            "resource_id": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
            "resource_location": "",
            "resource_name": "testdb",
            "resource_type": "Microsoft.DBforPostgreSQL/servers/databases",
            "resource_uri": "",
        },
        "data_source_set_info": {
            "datasource_type": "Microsoft.DBforPostgreSQL/servers/databases",
            "object_type": "DatasourceSet",
            "resource_id": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
            "resource_location": "",
            "resource_name": "viveksipgtest",
            "resource_type": "Microsoft.DBforPostgreSQL/servers",
            "resource_uri": "",
        },
        "datasource_auth_credentials": {
            "object_type": "SecretStoreBasedAuthCredentials",
            "secret_store_resource": {
                "secret_store_type": azure_native.dataprotection.SecretStoreType.AZURE_KEY_VAULT,
                "uri": "https://samplevault.vault.azure.net/secrets/credentials",
            },
        },
        "friendly_name": "harshitbi2",
        "identity_details": {
            "use_system_assigned_identity": False,
            "user_assigned_identity_arm_url": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourcegroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami",
        },
        "object_type": "BackupInstance",
        "policy_info": {
            "policy_id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
            "policy_parameters": {
                "data_store_parameters_list": [{
                    "data_store_type": azure_native.dataprotection.DataStoreTypes.OPERATIONAL_STORE,
                    "object_type": "AzureOperationalStoreParameters",
                    "resource_group_id": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest",
                }],
            },
        },
        "validation_type": azure_native.dataprotection.ValidationType.SHALLOW_VALIDATION,
    },
    resource_group_name="000pikumar",
    tags={
        "key1": "val1",
    },
    vault_name="PratikPrivatePreviewVault1")
Copy
resources:
  backupInstance:
    type: azure-native:dataprotection:BackupInstance
    properties:
      backupInstanceName: testInstance1
      properties:
        dataSourceInfo:
          datasourceType: Microsoft.DBforPostgreSQL/servers/databases
          objectType: Datasource
          resourceID: /subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb
          resourceLocation: ""
          resourceName: testdb
          resourceType: Microsoft.DBforPostgreSQL/servers/databases
          resourceUri: ""
        dataSourceSetInfo:
          datasourceType: Microsoft.DBforPostgreSQL/servers/databases
          objectType: DatasourceSet
          resourceID: /subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest
          resourceLocation: ""
          resourceName: viveksipgtest
          resourceType: Microsoft.DBforPostgreSQL/servers
          resourceUri: ""
        datasourceAuthCredentials:
          objectType: SecretStoreBasedAuthCredentials
          secretStoreResource:
            secretStoreType: AzureKeyVault
            uri: https://samplevault.vault.azure.net/secrets/credentials
        friendlyName: harshitbi2
        identityDetails:
          useSystemAssignedIdentity: false
          userAssignedIdentityArmUrl: /subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourcegroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami
        objectType: BackupInstance
        policyInfo:
          policyId: /subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1
          policyParameters:
            dataStoreParametersList:
              - dataStoreType: OperationalStore
                objectType: AzureOperationalStoreParameters
                resourceGroupId: /subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest
        validationType: ShallowValidation
      resourceGroupName: 000pikumar
      tags:
        key1: val1
      vaultName: PratikPrivatePreviewVault1
Copy

Create BackupInstance With KubernetesClusterBackupDatasourceParameters

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var backupInstance = new AzureNative.DataProtection.BackupInstance("backupInstance", new()
    {
        BackupInstanceName = "aksbi",
        Properties = new AzureNative.DataProtection.Inputs.BackupInstanceArgs
        {
            DataSourceInfo = new AzureNative.DataProtection.Inputs.DatasourceArgs
            {
                DatasourceType = "Microsoft.ContainerService/managedclusters",
                ObjectType = "Datasource",
                ResourceID = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
                ResourceLocation = "eastus2euap",
                ResourceName = "akscluster",
                ResourceType = "Microsoft.ContainerService/managedclusters",
                ResourceUri = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
            },
            DataSourceSetInfo = new AzureNative.DataProtection.Inputs.DatasourceSetArgs
            {
                DatasourceType = "Microsoft.ContainerService/managedclusters",
                ObjectType = "DatasourceSet",
                ResourceID = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
                ResourceLocation = "eastus2euap",
                ResourceName = "akscluster",
                ResourceType = "Microsoft.ContainerService/managedclusters",
                ResourceUri = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
            },
            FriendlyName = "aksbi",
            ObjectType = "BackupInstance",
            PolicyInfo = new AzureNative.DataProtection.Inputs.PolicyInfoArgs
            {
                PolicyId = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy",
                PolicyParameters = new AzureNative.DataProtection.Inputs.PolicyParametersArgs
                {
                    BackupDatasourceParametersList = new[]
                    {
                        new AzureNative.DataProtection.Inputs.KubernetesClusterBackupDatasourceParametersArgs
                        {
                            ExcludedNamespaces = new[]
                            {
                                "kube-system",
                            },
                            ExcludedResourceTypes = new[]
                            {
                                "v1/Secret",
                            },
                            IncludeClusterScopeResources = true,
                            IncludedNamespaces = new[]
                            {
                                "test",
                            },
                            IncludedResourceTypes = new() { },
                            IncludedVolumeTypes = new[]
                            {
                                AzureNative.DataProtection.AKSVolumeTypes.AzureDisk,
                                AzureNative.DataProtection.AKSVolumeTypes.AzureFileShareSMB,
                            },
                            LabelSelectors = new() { },
                            ObjectType = "KubernetesClusterBackupDatasourceParameters",
                            SnapshotVolumes = true,
                        },
                    },
                    DataStoreParametersList = new[]
                    {
                        new AzureNative.DataProtection.Inputs.AzureOperationalStoreParametersArgs
                        {
                            DataStoreType = AzureNative.DataProtection.DataStoreTypes.OperationalStore,
                            ObjectType = "AzureOperationalStoreParameters",
                            ResourceGroupId = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg",
                        },
                    },
                },
            },
        },
        ResourceGroupName = "aksrg",
        Tags = 
        {
            { "key1", "val1" },
        },
        VaultName = "aksvault",
    });

});
Copy
package main

import (
	dataprotection "github.com/pulumi/pulumi-azure-native-sdk/dataprotection/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataprotection.NewBackupInstance(ctx, "backupInstance", &dataprotection.BackupInstanceArgs{
			BackupInstanceName: pulumi.String("aksbi"),
			Properties: &dataprotection.BackupInstanceTypeArgs{
				DataSourceInfo: &dataprotection.DatasourceArgs{
					DatasourceType:   pulumi.String("Microsoft.ContainerService/managedclusters"),
					ObjectType:       pulumi.String("Datasource"),
					ResourceID:       pulumi.String("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster"),
					ResourceLocation: pulumi.String("eastus2euap"),
					ResourceName:     pulumi.String("akscluster"),
					ResourceType:     pulumi.String("Microsoft.ContainerService/managedclusters"),
					ResourceUri:      pulumi.String("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster"),
				},
				DataSourceSetInfo: &dataprotection.DatasourceSetArgs{
					DatasourceType:   pulumi.String("Microsoft.ContainerService/managedclusters"),
					ObjectType:       pulumi.String("DatasourceSet"),
					ResourceID:       pulumi.String("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster"),
					ResourceLocation: pulumi.String("eastus2euap"),
					ResourceName:     pulumi.String("akscluster"),
					ResourceType:     pulumi.String("Microsoft.ContainerService/managedclusters"),
					ResourceUri:      pulumi.String("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster"),
				},
				FriendlyName: pulumi.String("aksbi"),
				ObjectType:   pulumi.String("BackupInstance"),
				PolicyInfo: &dataprotection.PolicyInfoArgs{
					PolicyId: pulumi.String("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy"),
					PolicyParameters: &dataprotection.PolicyParametersArgs{
						BackupDatasourceParametersList: pulumi.Array{
							dataprotection.KubernetesClusterBackupDatasourceParameters{
								ExcludedNamespaces: []string{
									"kube-system",
								},
								ExcludedResourceTypes: []string{
									"v1/Secret",
								},
								IncludeClusterScopeResources: true,
								IncludedNamespaces: []string{
									"test",
								},
								IncludedResourceTypes: []interface{}{},
								IncludedVolumeTypes: []dataprotection.AKSVolumeTypes{
									dataprotection.AKSVolumeTypesAzureDisk,
									dataprotection.AKSVolumeTypesAzureFileShareSMB,
								},
								LabelSelectors:  []interface{}{},
								ObjectType:      "KubernetesClusterBackupDatasourceParameters",
								SnapshotVolumes: true,
							},
						},
						DataStoreParametersList: dataprotection.AzureOperationalStoreParametersArray{
							&dataprotection.AzureOperationalStoreParametersArgs{
								DataStoreType:   pulumi.String(dataprotection.DataStoreTypesOperationalStore),
								ObjectType:      pulumi.String("AzureOperationalStoreParameters"),
								ResourceGroupId: pulumi.String("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg"),
							},
						},
					},
				},
			},
			ResourceGroupName: pulumi.String("aksrg"),
			Tags: pulumi.StringMap{
				"key1": pulumi.String("val1"),
			},
			VaultName: pulumi.String("aksvault"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dataprotection.BackupInstance;
import com.pulumi.azurenative.dataprotection.inputs.DatasourceArgs;
import com.pulumi.azurenative.dataprotection.inputs.DatasourceSetArgs;
import com.pulumi.azurenative.dataprotection.inputs.PolicyInfoArgs;
import com.pulumi.azurenative.dataprotection.inputs.PolicyParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var backupInstance = new BackupInstance("backupInstance", BackupInstanceArgs.builder()
            .backupInstanceName("aksbi")
            .properties(BackupInstanceArgs.builder()
                .dataSourceInfo(DatasourceArgs.builder()
                    .datasourceType("Microsoft.ContainerService/managedclusters")
                    .objectType("Datasource")
                    .resourceID("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster")
                    .resourceLocation("eastus2euap")
                    .resourceName("akscluster")
                    .resourceType("Microsoft.ContainerService/managedclusters")
                    .resourceUri("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster")
                    .build())
                .dataSourceSetInfo(DatasourceSetArgs.builder()
                    .datasourceType("Microsoft.ContainerService/managedclusters")
                    .objectType("DatasourceSet")
                    .resourceID("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster")
                    .resourceLocation("eastus2euap")
                    .resourceName("akscluster")
                    .resourceType("Microsoft.ContainerService/managedclusters")
                    .resourceUri("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster")
                    .build())
                .friendlyName("aksbi")
                .objectType("BackupInstance")
                .policyInfo(PolicyInfoArgs.builder()
                    .policyId("/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy")
                    .policyParameters(PolicyParametersArgs.builder()
                        .backupDatasourceParametersList(KubernetesClusterBackupDatasourceParametersArgs.builder()
                            .excludedNamespaces("kube-system")
                            .excludedResourceTypes("v1/Secret")
                            .includeClusterScopeResources(true)
                            .includedNamespaces("test")
                            .includedResourceTypes()
                            .includedVolumeTypes(                            
                                "AzureDisk",
                                "AzureFileShareSMB")
                            .labelSelectors()
                            .objectType("KubernetesClusterBackupDatasourceParameters")
                            .snapshotVolumes(true)
                            .build())
                        .dataStoreParametersList(Map.ofEntries(
                            Map.entry("dataStoreType", "OperationalStore"),
                            Map.entry("objectType", "AzureOperationalStoreParameters"),
                            Map.entry("resourceGroupId", "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg")
                        ))
                        .build())
                    .build())
                .build())
            .resourceGroupName("aksrg")
            .tags(Map.of("key1", "val1"))
            .vaultName("aksvault")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const backupInstance = new azure_native.dataprotection.BackupInstance("backupInstance", {
    backupInstanceName: "aksbi",
    properties: {
        dataSourceInfo: {
            datasourceType: "Microsoft.ContainerService/managedclusters",
            objectType: "Datasource",
            resourceID: "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
            resourceLocation: "eastus2euap",
            resourceName: "akscluster",
            resourceType: "Microsoft.ContainerService/managedclusters",
            resourceUri: "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
        },
        dataSourceSetInfo: {
            datasourceType: "Microsoft.ContainerService/managedclusters",
            objectType: "DatasourceSet",
            resourceID: "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
            resourceLocation: "eastus2euap",
            resourceName: "akscluster",
            resourceType: "Microsoft.ContainerService/managedclusters",
            resourceUri: "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
        },
        friendlyName: "aksbi",
        objectType: "BackupInstance",
        policyInfo: {
            policyId: "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy",
            policyParameters: {
                backupDatasourceParametersList: [{
                    excludedNamespaces: ["kube-system"],
                    excludedResourceTypes: ["v1/Secret"],
                    includeClusterScopeResources: true,
                    includedNamespaces: ["test"],
                    includedResourceTypes: [],
                    includedVolumeTypes: [
                        azure_native.dataprotection.AKSVolumeTypes.AzureDisk,
                        azure_native.dataprotection.AKSVolumeTypes.AzureFileShareSMB,
                    ],
                    labelSelectors: [],
                    objectType: "KubernetesClusterBackupDatasourceParameters",
                    snapshotVolumes: true,
                }],
                dataStoreParametersList: [{
                    dataStoreType: azure_native.dataprotection.DataStoreTypes.OperationalStore,
                    objectType: "AzureOperationalStoreParameters",
                    resourceGroupId: "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg",
                }],
            },
        },
    },
    resourceGroupName: "aksrg",
    tags: {
        key1: "val1",
    },
    vaultName: "aksvault",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

backup_instance = azure_native.dataprotection.BackupInstance("backupInstance",
    backup_instance_name="aksbi",
    properties={
        "data_source_info": {
            "datasource_type": "Microsoft.ContainerService/managedclusters",
            "object_type": "Datasource",
            "resource_id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
            "resource_location": "eastus2euap",
            "resource_name": "akscluster",
            "resource_type": "Microsoft.ContainerService/managedclusters",
            "resource_uri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
        },
        "data_source_set_info": {
            "datasource_type": "Microsoft.ContainerService/managedclusters",
            "object_type": "DatasourceSet",
            "resource_id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
            "resource_location": "eastus2euap",
            "resource_name": "akscluster",
            "resource_type": "Microsoft.ContainerService/managedclusters",
            "resource_uri": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster",
        },
        "friendly_name": "aksbi",
        "object_type": "BackupInstance",
        "policy_info": {
            "policy_id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy",
            "policy_parameters": {
                "backup_datasource_parameters_list": [{
                    "excluded_namespaces": ["kube-system"],
                    "excluded_resource_types": ["v1/Secret"],
                    "include_cluster_scope_resources": True,
                    "included_namespaces": ["test"],
                    "included_resource_types": [],
                    "included_volume_types": [
                        azure_native.dataprotection.AKSVolumeTypes.AZURE_DISK,
                        azure_native.dataprotection.AKSVolumeTypes.AZURE_FILE_SHARE_SMB,
                    ],
                    "label_selectors": [],
                    "object_type": "KubernetesClusterBackupDatasourceParameters",
                    "snapshot_volumes": True,
                }],
                "data_store_parameters_list": [{
                    "data_store_type": azure_native.dataprotection.DataStoreTypes.OPERATIONAL_STORE,
                    "object_type": "AzureOperationalStoreParameters",
                    "resource_group_id": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg",
                }],
            },
        },
    },
    resource_group_name="aksrg",
    tags={
        "key1": "val1",
    },
    vault_name="aksvault")
Copy
resources:
  backupInstance:
    type: azure-native:dataprotection:BackupInstance
    properties:
      backupInstanceName: aksbi
      properties:
        dataSourceInfo:
          datasourceType: Microsoft.ContainerService/managedclusters
          objectType: Datasource
          resourceID: /subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster
          resourceLocation: eastus2euap
          resourceName: akscluster
          resourceType: Microsoft.ContainerService/managedclusters
          resourceUri: /subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster
        dataSourceSetInfo:
          datasourceType: Microsoft.ContainerService/managedclusters
          objectType: DatasourceSet
          resourceID: /subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster
          resourceLocation: eastus2euap
          resourceName: akscluster
          resourceType: Microsoft.ContainerService/managedclusters
          resourceUri: /subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg/providers/Microsoft.ContainerService/managedClusters/akscluster
        friendlyName: aksbi
        objectType: BackupInstance
        policyInfo:
          policyId: /subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/aksrg/providers/Microsoft.DataProtection/BackupVaults/aksvault/backupPolicies/akspolicy
          policyParameters:
            backupDatasourceParametersList:
              - excludedNamespaces:
                  - kube-system
                excludedResourceTypes:
                  - v1/Secret
                includeClusterScopeResources: true
                includedNamespaces:
                  - test
                includedResourceTypes: []
                includedVolumeTypes:
                  - AzureDisk
                  - AzureFileShareSMB
                labelSelectors: []
                objectType: KubernetesClusterBackupDatasourceParameters
                snapshotVolumes: true
            dataStoreParametersList:
              - dataStoreType: OperationalStore
                objectType: AzureOperationalStoreParameters
                resourceGroupId: /subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksrg
      resourceGroupName: aksrg
      tags:
        key1: val1
      vaultName: aksvault
Copy

Create BackupInstance to perform critical operation With MUA

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var backupInstance = new AzureNative.DataProtection.BackupInstance("backupInstance", new()
    {
        BackupInstanceName = "testInstance1",
        Properties = new AzureNative.DataProtection.Inputs.BackupInstanceArgs
        {
            DataSourceInfo = new AzureNative.DataProtection.Inputs.DatasourceArgs
            {
                DatasourceType = "Microsoft.DBforPostgreSQL/servers/databases",
                ObjectType = "Datasource",
                ResourceID = "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
                ResourceLocation = "",
                ResourceName = "testdb",
                ResourceType = "Microsoft.DBforPostgreSQL/servers/databases",
                ResourceUri = "",
            },
            DataSourceSetInfo = new AzureNative.DataProtection.Inputs.DatasourceSetArgs
            {
                DatasourceType = "Microsoft.DBforPostgreSQL/servers/databases",
                ObjectType = "DatasourceSet",
                ResourceID = "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
                ResourceLocation = "",
                ResourceName = "viveksipgtest",
                ResourceType = "Microsoft.DBforPostgreSQL/servers",
                ResourceUri = "",
            },
            DatasourceAuthCredentials = new AzureNative.DataProtection.Inputs.SecretStoreBasedAuthCredentialsArgs
            {
                ObjectType = "SecretStoreBasedAuthCredentials",
                SecretStoreResource = new AzureNative.DataProtection.Inputs.SecretStoreResourceArgs
                {
                    SecretStoreType = AzureNative.DataProtection.SecretStoreType.AzureKeyVault,
                    Uri = "https://samplevault.vault.azure.net/secrets/credentials",
                },
            },
            FriendlyName = "harshitbi2",
            ObjectType = "BackupInstance",
            PolicyInfo = new AzureNative.DataProtection.Inputs.PolicyInfoArgs
            {
                PolicyId = "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
                PolicyParameters = new AzureNative.DataProtection.Inputs.PolicyParametersArgs
                {
                    DataStoreParametersList = new[]
                    {
                        new AzureNative.DataProtection.Inputs.AzureOperationalStoreParametersArgs
                        {
                            DataStoreType = AzureNative.DataProtection.DataStoreTypes.OperationalStore,
                            ObjectType = "AzureOperationalStoreParameters",
                            ResourceGroupId = "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest",
                        },
                    },
                },
            },
            ResourceGuardOperationRequests = new[]
            {
                "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default",
            },
            ValidationType = AzureNative.DataProtection.ValidationType.ShallowValidation,
        },
        ResourceGroupName = "000pikumar",
        Tags = 
        {
            { "key1", "val1" },
        },
        VaultName = "PratikPrivatePreviewVault1",
    });

});
Copy
package main

import (
	dataprotection "github.com/pulumi/pulumi-azure-native-sdk/dataprotection/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataprotection.NewBackupInstance(ctx, "backupInstance", &dataprotection.BackupInstanceArgs{
			BackupInstanceName: pulumi.String("testInstance1"),
			Properties: &dataprotection.BackupInstanceTypeArgs{
				DataSourceInfo: &dataprotection.DatasourceArgs{
					DatasourceType:   pulumi.String("Microsoft.DBforPostgreSQL/servers/databases"),
					ObjectType:       pulumi.String("Datasource"),
					ResourceID:       pulumi.String("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"),
					ResourceLocation: pulumi.String(""),
					ResourceName:     pulumi.String("testdb"),
					ResourceType:     pulumi.String("Microsoft.DBforPostgreSQL/servers/databases"),
					ResourceUri:      pulumi.String(""),
				},
				DataSourceSetInfo: &dataprotection.DatasourceSetArgs{
					DatasourceType:   pulumi.String("Microsoft.DBforPostgreSQL/servers/databases"),
					ObjectType:       pulumi.String("DatasourceSet"),
					ResourceID:       pulumi.String("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest"),
					ResourceLocation: pulumi.String(""),
					ResourceName:     pulumi.String("viveksipgtest"),
					ResourceType:     pulumi.String("Microsoft.DBforPostgreSQL/servers"),
					ResourceUri:      pulumi.String(""),
				},
				DatasourceAuthCredentials: &dataprotection.SecretStoreBasedAuthCredentialsArgs{
					ObjectType: pulumi.String("SecretStoreBasedAuthCredentials"),
					SecretStoreResource: &dataprotection.SecretStoreResourceArgs{
						SecretStoreType: pulumi.String(dataprotection.SecretStoreTypeAzureKeyVault),
						Uri:             pulumi.String("https://samplevault.vault.azure.net/secrets/credentials"),
					},
				},
				FriendlyName: pulumi.String("harshitbi2"),
				ObjectType:   pulumi.String("BackupInstance"),
				PolicyInfo: &dataprotection.PolicyInfoArgs{
					PolicyId: pulumi.String("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1"),
					PolicyParameters: &dataprotection.PolicyParametersArgs{
						DataStoreParametersList: dataprotection.AzureOperationalStoreParametersArray{
							&dataprotection.AzureOperationalStoreParametersArgs{
								DataStoreType:   pulumi.String(dataprotection.DataStoreTypesOperationalStore),
								ObjectType:      pulumi.String("AzureOperationalStoreParameters"),
								ResourceGroupId: pulumi.String("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest"),
							},
						},
					},
				},
				ResourceGuardOperationRequests: pulumi.StringArray{
					pulumi.String("/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default"),
				},
				ValidationType: pulumi.String(dataprotection.ValidationTypeShallowValidation),
			},
			ResourceGroupName: pulumi.String("000pikumar"),
			Tags: pulumi.StringMap{
				"key1": pulumi.String("val1"),
			},
			VaultName: pulumi.String("PratikPrivatePreviewVault1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dataprotection.BackupInstance;
import com.pulumi.azurenative.dataprotection.inputs.DatasourceArgs;
import com.pulumi.azurenative.dataprotection.inputs.DatasourceSetArgs;
import com.pulumi.azurenative.dataprotection.inputs.SecretStoreBasedAuthCredentialsArgs;
import com.pulumi.azurenative.dataprotection.inputs.SecretStoreResourceArgs;
import com.pulumi.azurenative.dataprotection.inputs.PolicyInfoArgs;
import com.pulumi.azurenative.dataprotection.inputs.PolicyParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var backupInstance = new BackupInstance("backupInstance", BackupInstanceArgs.builder()
            .backupInstanceName("testInstance1")
            .properties(BackupInstanceArgs.builder()
                .dataSourceInfo(DatasourceArgs.builder()
                    .datasourceType("Microsoft.DBforPostgreSQL/servers/databases")
                    .objectType("Datasource")
                    .resourceID("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb")
                    .resourceLocation("")
                    .resourceName("testdb")
                    .resourceType("Microsoft.DBforPostgreSQL/servers/databases")
                    .resourceUri("")
                    .build())
                .dataSourceSetInfo(DatasourceSetArgs.builder()
                    .datasourceType("Microsoft.DBforPostgreSQL/servers/databases")
                    .objectType("DatasourceSet")
                    .resourceID("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest")
                    .resourceLocation("")
                    .resourceName("viveksipgtest")
                    .resourceType("Microsoft.DBforPostgreSQL/servers")
                    .resourceUri("")
                    .build())
                .datasourceAuthCredentials(Map.ofEntries(
                    Map.entry("objectType", "SecretStoreBasedAuthCredentials"),
                    Map.entry("secretStoreResource", SecretStoreResourceArgs.builder()
                        .secretStoreType("AzureKeyVault")
                        .uri("https://samplevault.vault.azure.net/secrets/credentials")
                        .build())
                ))
                .friendlyName("harshitbi2")
                .objectType("BackupInstance")
                .policyInfo(PolicyInfoArgs.builder()
                    .policyId("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1")
                    .policyParameters(PolicyParametersArgs.builder()
                        .dataStoreParametersList(Map.ofEntries(
                            Map.entry("dataStoreType", "OperationalStore"),
                            Map.entry("objectType", "AzureOperationalStoreParameters"),
                            Map.entry("resourceGroupId", "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest")
                        ))
                        .build())
                    .build())
                .resourceGuardOperationRequests("/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default")
                .validationType("ShallowValidation")
                .build())
            .resourceGroupName("000pikumar")
            .tags(Map.of("key1", "val1"))
            .vaultName("PratikPrivatePreviewVault1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const backupInstance = new azure_native.dataprotection.BackupInstance("backupInstance", {
    backupInstanceName: "testInstance1",
    properties: {
        dataSourceInfo: {
            datasourceType: "Microsoft.DBforPostgreSQL/servers/databases",
            objectType: "Datasource",
            resourceID: "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
            resourceLocation: "",
            resourceName: "testdb",
            resourceType: "Microsoft.DBforPostgreSQL/servers/databases",
            resourceUri: "",
        },
        dataSourceSetInfo: {
            datasourceType: "Microsoft.DBforPostgreSQL/servers/databases",
            objectType: "DatasourceSet",
            resourceID: "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
            resourceLocation: "",
            resourceName: "viveksipgtest",
            resourceType: "Microsoft.DBforPostgreSQL/servers",
            resourceUri: "",
        },
        datasourceAuthCredentials: {
            objectType: "SecretStoreBasedAuthCredentials",
            secretStoreResource: {
                secretStoreType: azure_native.dataprotection.SecretStoreType.AzureKeyVault,
                uri: "https://samplevault.vault.azure.net/secrets/credentials",
            },
        },
        friendlyName: "harshitbi2",
        objectType: "BackupInstance",
        policyInfo: {
            policyId: "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
            policyParameters: {
                dataStoreParametersList: [{
                    dataStoreType: azure_native.dataprotection.DataStoreTypes.OperationalStore,
                    objectType: "AzureOperationalStoreParameters",
                    resourceGroupId: "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest",
                }],
            },
        },
        resourceGuardOperationRequests: ["/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default"],
        validationType: azure_native.dataprotection.ValidationType.ShallowValidation,
    },
    resourceGroupName: "000pikumar",
    tags: {
        key1: "val1",
    },
    vaultName: "PratikPrivatePreviewVault1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

backup_instance = azure_native.dataprotection.BackupInstance("backupInstance",
    backup_instance_name="testInstance1",
    properties={
        "data_source_info": {
            "datasource_type": "Microsoft.DBforPostgreSQL/servers/databases",
            "object_type": "Datasource",
            "resource_id": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
            "resource_location": "",
            "resource_name": "testdb",
            "resource_type": "Microsoft.DBforPostgreSQL/servers/databases",
            "resource_uri": "",
        },
        "data_source_set_info": {
            "datasource_type": "Microsoft.DBforPostgreSQL/servers/databases",
            "object_type": "DatasourceSet",
            "resource_id": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
            "resource_location": "",
            "resource_name": "viveksipgtest",
            "resource_type": "Microsoft.DBforPostgreSQL/servers",
            "resource_uri": "",
        },
        "datasource_auth_credentials": {
            "object_type": "SecretStoreBasedAuthCredentials",
            "secret_store_resource": {
                "secret_store_type": azure_native.dataprotection.SecretStoreType.AZURE_KEY_VAULT,
                "uri": "https://samplevault.vault.azure.net/secrets/credentials",
            },
        },
        "friendly_name": "harshitbi2",
        "object_type": "BackupInstance",
        "policy_info": {
            "policy_id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
            "policy_parameters": {
                "data_store_parameters_list": [{
                    "data_store_type": azure_native.dataprotection.DataStoreTypes.OPERATIONAL_STORE,
                    "object_type": "AzureOperationalStoreParameters",
                    "resource_group_id": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest",
                }],
            },
        },
        "resource_guard_operation_requests": ["/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default"],
        "validation_type": azure_native.dataprotection.ValidationType.SHALLOW_VALIDATION,
    },
    resource_group_name="000pikumar",
    tags={
        "key1": "val1",
    },
    vault_name="PratikPrivatePreviewVault1")
Copy
resources:
  backupInstance:
    type: azure-native:dataprotection:BackupInstance
    properties:
      backupInstanceName: testInstance1
      properties:
        dataSourceInfo:
          datasourceType: Microsoft.DBforPostgreSQL/servers/databases
          objectType: Datasource
          resourceID: /subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb
          resourceLocation: ""
          resourceName: testdb
          resourceType: Microsoft.DBforPostgreSQL/servers/databases
          resourceUri: ""
        dataSourceSetInfo:
          datasourceType: Microsoft.DBforPostgreSQL/servers/databases
          objectType: DatasourceSet
          resourceID: /subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest
          resourceLocation: ""
          resourceName: viveksipgtest
          resourceType: Microsoft.DBforPostgreSQL/servers
          resourceUri: ""
        datasourceAuthCredentials:
          objectType: SecretStoreBasedAuthCredentials
          secretStoreResource:
            secretStoreType: AzureKeyVault
            uri: https://samplevault.vault.azure.net/secrets/credentials
        friendlyName: harshitbi2
        objectType: BackupInstance
        policyInfo:
          policyId: /subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/Backupvaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1
          policyParameters:
            dataStoreParametersList:
              - dataStoreType: OperationalStore
                objectType: AzureOperationalStoreParameters
                resourceGroupId: /subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest
        resourceGuardOperationRequests:
          - /subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/dppModifyPolicy/default
        validationType: ShallowValidation
      resourceGroupName: 000pikumar
      tags:
        key1: val1
      vaultName: PratikPrivatePreviewVault1
Copy

Create BackupInstance Resource

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

Constructor syntax

new BackupInstance(name: string, args: BackupInstanceArgs, opts?: CustomResourceOptions);
@overload
def BackupInstance(resource_name: str,
                   args: BackupInstanceInitArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def BackupInstance(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   vault_name: Optional[str] = None,
                   backup_instance_name: Optional[str] = None,
                   properties: Optional[BackupInstanceArgs] = None,
                   tags: Optional[Mapping[str, str]] = None)
func NewBackupInstance(ctx *Context, name string, args BackupInstanceArgs, opts ...ResourceOption) (*BackupInstance, error)
public BackupInstance(string name, BackupInstanceArgs args, CustomResourceOptions? opts = null)
public BackupInstance(String name, BackupInstanceArgs args)
public BackupInstance(String name, BackupInstanceArgs args, CustomResourceOptions options)
type: azure-native:dataprotection:BackupInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BackupInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BackupInstanceInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BackupInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BackupInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BackupInstanceArgs
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 backupInstanceResource = new AzureNative.DataProtection.BackupInstance("backupInstanceResource", new()
{
    ResourceGroupName = "string",
    VaultName = "string",
    BackupInstanceName = "string",
    Properties = new AzureNative.DataProtection.Inputs.BackupInstanceArgs
    {
        DataSourceInfo = new AzureNative.DataProtection.Inputs.DatasourceArgs
        {
            ResourceID = "string",
            DatasourceType = "string",
            ObjectType = "string",
            ResourceLocation = "string",
            ResourceName = "string",
            ResourceProperties = new AzureNative.DataProtection.Inputs.DefaultResourcePropertiesArgs
            {
                ObjectType = "DefaultResourceProperties",
            },
            ResourceType = "string",
            ResourceUri = "string",
        },
        ObjectType = "string",
        PolicyInfo = new AzureNative.DataProtection.Inputs.PolicyInfoArgs
        {
            PolicyId = "string",
            PolicyParameters = new AzureNative.DataProtection.Inputs.PolicyParametersArgs
            {
                BackupDatasourceParametersList = new[]
                {
                    new AzureNative.DataProtection.Inputs.BlobBackupDatasourceParametersArgs
                    {
                        ContainersList = new[]
                        {
                            "string",
                        },
                        ObjectType = "BlobBackupDatasourceParameters",
                    },
                },
                DataStoreParametersList = new[]
                {
                    new AzureNative.DataProtection.Inputs.AzureOperationalStoreParametersArgs
                    {
                        DataStoreType = "string",
                        ObjectType = "AzureOperationalStoreParameters",
                        ResourceGroupId = "string",
                    },
                },
            },
        },
        DataSourceSetInfo = new AzureNative.DataProtection.Inputs.DatasourceSetArgs
        {
            ResourceID = "string",
            DatasourceType = "string",
            ObjectType = "string",
            ResourceLocation = "string",
            ResourceName = "string",
            ResourceProperties = new AzureNative.DataProtection.Inputs.DefaultResourcePropertiesArgs
            {
                ObjectType = "DefaultResourceProperties",
            },
            ResourceType = "string",
            ResourceUri = "string",
        },
        DatasourceAuthCredentials = new AzureNative.DataProtection.Inputs.SecretStoreBasedAuthCredentialsArgs
        {
            ObjectType = "SecretStoreBasedAuthCredentials",
            SecretStoreResource = new AzureNative.DataProtection.Inputs.SecretStoreResourceArgs
            {
                SecretStoreType = "string",
                Uri = "string",
                Value = "string",
            },
        },
        FriendlyName = "string",
        IdentityDetails = new AzureNative.DataProtection.Inputs.IdentityDetailsArgs
        {
            UseSystemAssignedIdentity = false,
            UserAssignedIdentityArmUrl = "string",
        },
        ResourceGuardOperationRequests = new[]
        {
            "string",
        },
        ValidationType = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := dataprotection.NewBackupInstance(ctx, "backupInstanceResource", &dataprotection.BackupInstanceArgs{
	ResourceGroupName:  pulumi.String("string"),
	VaultName:          pulumi.String("string"),
	BackupInstanceName: pulumi.String("string"),
	Properties: &dataprotection.BackupInstanceTypeArgs{
		DataSourceInfo: &dataprotection.DatasourceArgs{
			ResourceID:       pulumi.String("string"),
			DatasourceType:   pulumi.String("string"),
			ObjectType:       pulumi.String("string"),
			ResourceLocation: pulumi.String("string"),
			ResourceName:     pulumi.String("string"),
			ResourceProperties: &dataprotection.DefaultResourcePropertiesArgs{
				ObjectType: pulumi.String("DefaultResourceProperties"),
			},
			ResourceType: pulumi.String("string"),
			ResourceUri:  pulumi.String("string"),
		},
		ObjectType: pulumi.String("string"),
		PolicyInfo: &dataprotection.PolicyInfoArgs{
			PolicyId: pulumi.String("string"),
			PolicyParameters: &dataprotection.PolicyParametersArgs{
				BackupDatasourceParametersList: pulumi.Array{
					dataprotection.BlobBackupDatasourceParameters{
						ContainersList: []string{
							"string",
						},
						ObjectType: "BlobBackupDatasourceParameters",
					},
				},
				DataStoreParametersList: dataprotection.AzureOperationalStoreParametersArray{
					&dataprotection.AzureOperationalStoreParametersArgs{
						DataStoreType:   pulumi.String("string"),
						ObjectType:      pulumi.String("AzureOperationalStoreParameters"),
						ResourceGroupId: pulumi.String("string"),
					},
				},
			},
		},
		DataSourceSetInfo: &dataprotection.DatasourceSetArgs{
			ResourceID:       pulumi.String("string"),
			DatasourceType:   pulumi.String("string"),
			ObjectType:       pulumi.String("string"),
			ResourceLocation: pulumi.String("string"),
			ResourceName:     pulumi.String("string"),
			ResourceProperties: &dataprotection.DefaultResourcePropertiesArgs{
				ObjectType: pulumi.String("DefaultResourceProperties"),
			},
			ResourceType: pulumi.String("string"),
			ResourceUri:  pulumi.String("string"),
		},
		DatasourceAuthCredentials: &dataprotection.SecretStoreBasedAuthCredentialsArgs{
			ObjectType: pulumi.String("SecretStoreBasedAuthCredentials"),
			SecretStoreResource: &dataprotection.SecretStoreResourceArgs{
				SecretStoreType: pulumi.String("string"),
				Uri:             pulumi.String("string"),
				Value:           pulumi.String("string"),
			},
		},
		FriendlyName: pulumi.String("string"),
		IdentityDetails: &dataprotection.IdentityDetailsArgs{
			UseSystemAssignedIdentity:  pulumi.Bool(false),
			UserAssignedIdentityArmUrl: pulumi.String("string"),
		},
		ResourceGuardOperationRequests: pulumi.StringArray{
			pulumi.String("string"),
		},
		ValidationType: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var backupInstanceResource = new BackupInstance("backupInstanceResource", BackupInstanceArgs.builder()
    .resourceGroupName("string")
    .vaultName("string")
    .backupInstanceName("string")
    .properties(BackupInstanceArgs.builder()
        .dataSourceInfo(DatasourceArgs.builder()
            .resourceID("string")
            .datasourceType("string")
            .objectType("string")
            .resourceLocation("string")
            .resourceName("string")
            .resourceProperties(DefaultResourcePropertiesArgs.builder()
                .objectType("DefaultResourceProperties")
                .build())
            .resourceType("string")
            .resourceUri("string")
            .build())
        .objectType("string")
        .policyInfo(PolicyInfoArgs.builder()
            .policyId("string")
            .policyParameters(PolicyParametersArgs.builder()
                .backupDatasourceParametersList(BlobBackupDatasourceParametersArgs.builder()
                    .containersList("string")
                    .objectType("BlobBackupDatasourceParameters")
                    .build())
                .dataStoreParametersList(AzureOperationalStoreParametersArgs.builder()
                    .dataStoreType("string")
                    .objectType("AzureOperationalStoreParameters")
                    .resourceGroupId("string")
                    .build())
                .build())
            .build())
        .dataSourceSetInfo(DatasourceSetArgs.builder()
            .resourceID("string")
            .datasourceType("string")
            .objectType("string")
            .resourceLocation("string")
            .resourceName("string")
            .resourceProperties(DefaultResourcePropertiesArgs.builder()
                .objectType("DefaultResourceProperties")
                .build())
            .resourceType("string")
            .resourceUri("string")
            .build())
        .datasourceAuthCredentials(SecretStoreBasedAuthCredentialsArgs.builder()
            .objectType("SecretStoreBasedAuthCredentials")
            .secretStoreResource(SecretStoreResourceArgs.builder()
                .secretStoreType("string")
                .uri("string")
                .value("string")
                .build())
            .build())
        .friendlyName("string")
        .identityDetails(IdentityDetailsArgs.builder()
            .useSystemAssignedIdentity(false)
            .userAssignedIdentityArmUrl("string")
            .build())
        .resourceGuardOperationRequests("string")
        .validationType("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
backup_instance_resource = azure_native.dataprotection.BackupInstance("backupInstanceResource",
    resource_group_name="string",
    vault_name="string",
    backup_instance_name="string",
    properties={
        "data_source_info": {
            "resource_id": "string",
            "datasource_type": "string",
            "object_type": "string",
            "resource_location": "string",
            "resource_name": "string",
            "resource_properties": {
                "object_type": "DefaultResourceProperties",
            },
            "resource_type": "string",
            "resource_uri": "string",
        },
        "object_type": "string",
        "policy_info": {
            "policy_id": "string",
            "policy_parameters": {
                "backup_datasource_parameters_list": [{
                    "containers_list": ["string"],
                    "object_type": "BlobBackupDatasourceParameters",
                }],
                "data_store_parameters_list": [{
                    "data_store_type": "string",
                    "object_type": "AzureOperationalStoreParameters",
                    "resource_group_id": "string",
                }],
            },
        },
        "data_source_set_info": {
            "resource_id": "string",
            "datasource_type": "string",
            "object_type": "string",
            "resource_location": "string",
            "resource_name": "string",
            "resource_properties": {
                "object_type": "DefaultResourceProperties",
            },
            "resource_type": "string",
            "resource_uri": "string",
        },
        "datasource_auth_credentials": {
            "object_type": "SecretStoreBasedAuthCredentials",
            "secret_store_resource": {
                "secret_store_type": "string",
                "uri": "string",
                "value": "string",
            },
        },
        "friendly_name": "string",
        "identity_details": {
            "use_system_assigned_identity": False,
            "user_assigned_identity_arm_url": "string",
        },
        "resource_guard_operation_requests": ["string"],
        "validation_type": "string",
    },
    tags={
        "string": "string",
    })
Copy
const backupInstanceResource = new azure_native.dataprotection.BackupInstance("backupInstanceResource", {
    resourceGroupName: "string",
    vaultName: "string",
    backupInstanceName: "string",
    properties: {
        dataSourceInfo: {
            resourceID: "string",
            datasourceType: "string",
            objectType: "string",
            resourceLocation: "string",
            resourceName: "string",
            resourceProperties: {
                objectType: "DefaultResourceProperties",
            },
            resourceType: "string",
            resourceUri: "string",
        },
        objectType: "string",
        policyInfo: {
            policyId: "string",
            policyParameters: {
                backupDatasourceParametersList: [{
                    containersList: ["string"],
                    objectType: "BlobBackupDatasourceParameters",
                }],
                dataStoreParametersList: [{
                    dataStoreType: "string",
                    objectType: "AzureOperationalStoreParameters",
                    resourceGroupId: "string",
                }],
            },
        },
        dataSourceSetInfo: {
            resourceID: "string",
            datasourceType: "string",
            objectType: "string",
            resourceLocation: "string",
            resourceName: "string",
            resourceProperties: {
                objectType: "DefaultResourceProperties",
            },
            resourceType: "string",
            resourceUri: "string",
        },
        datasourceAuthCredentials: {
            objectType: "SecretStoreBasedAuthCredentials",
            secretStoreResource: {
                secretStoreType: "string",
                uri: "string",
                value: "string",
            },
        },
        friendlyName: "string",
        identityDetails: {
            useSystemAssignedIdentity: false,
            userAssignedIdentityArmUrl: "string",
        },
        resourceGuardOperationRequests: ["string"],
        validationType: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:dataprotection:BackupInstance
properties:
    backupInstanceName: string
    properties:
        dataSourceInfo:
            datasourceType: string
            objectType: string
            resourceID: string
            resourceLocation: string
            resourceName: string
            resourceProperties:
                objectType: DefaultResourceProperties
            resourceType: string
            resourceUri: string
        dataSourceSetInfo:
            datasourceType: string
            objectType: string
            resourceID: string
            resourceLocation: string
            resourceName: string
            resourceProperties:
                objectType: DefaultResourceProperties
            resourceType: string
            resourceUri: string
        datasourceAuthCredentials:
            objectType: SecretStoreBasedAuthCredentials
            secretStoreResource:
                secretStoreType: string
                uri: string
                value: string
        friendlyName: string
        identityDetails:
            useSystemAssignedIdentity: false
            userAssignedIdentityArmUrl: string
        objectType: string
        policyInfo:
            policyId: string
            policyParameters:
                backupDatasourceParametersList:
                    - containersList:
                        - string
                      objectType: BlobBackupDatasourceParameters
                dataStoreParametersList:
                    - dataStoreType: string
                      objectType: AzureOperationalStoreParameters
                      resourceGroupId: string
        resourceGuardOperationRequests:
            - string
        validationType: string
    resourceGroupName: string
    tags:
        string: string
    vaultName: string
Copy

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

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the backup vault.
BackupInstanceName Changes to this property will trigger replacement. string
The name of the backup instance.
Properties Pulumi.AzureNative.DataProtection.Inputs.BackupInstance
BackupInstanceResource properties
Tags Dictionary<string, string>
Proxy Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the backup vault.
BackupInstanceName Changes to this property will trigger replacement. string
The name of the backup instance.
Properties BackupInstanceTypeArgs
BackupInstanceResource properties
Tags map[string]string
Proxy Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The name of the backup vault.
backupInstanceName Changes to this property will trigger replacement. String
The name of the backup instance.
properties BackupInstance
BackupInstanceResource properties
tags Map<String,String>
Proxy Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the backup vault.
backupInstanceName Changes to this property will trigger replacement. string
The name of the backup instance.
properties BackupInstance
BackupInstanceResource properties
tags {[key: string]: string}
Proxy Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
vault_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the backup vault.
backup_instance_name Changes to this property will trigger replacement. str
The name of the backup instance.
properties BackupInstanceArgs
BackupInstanceResource properties
tags Mapping[str, str]
Proxy Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The name of the backup vault.
backupInstanceName Changes to this property will trigger replacement. String
The name of the backup instance.
properties Property Map
BackupInstanceResource properties
tags Map<String>
Proxy Resource tags.

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Proxy Resource name associated with the resource.
SystemData Pulumi.AzureNative.DataProtection.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Proxy Resource name associated with the resource.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Proxy Resource name associated with the resource.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Proxy Resource name associated with the resource.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Proxy Resource name associated with the resource.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Proxy Resource name associated with the resource.
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String
Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Supporting Types

AKSVolumeTypes
, AKSVolumeTypesArgs

AzureDisk
AzureDisk
AzureFileShareSMB
AzureFileShareSMB
AKSVolumeTypesAzureDisk
AzureDisk
AKSVolumeTypesAzureFileShareSMB
AzureFileShareSMB
AzureDisk
AzureDisk
AzureFileShareSMB
AzureFileShareSMB
AzureDisk
AzureDisk
AzureFileShareSMB
AzureFileShareSMB
AZURE_DISK
AzureDisk
AZURE_FILE_SHARE_SMB
AzureFileShareSMB
"AzureDisk"
AzureDisk
"AzureFileShareSMB"
AzureFileShareSMB

AzureOperationalStoreParameters
, AzureOperationalStoreParametersArgs

DataStoreType This property is required. string | Pulumi.AzureNative.DataProtection.DataStoreTypes
type of datastore; Operational/Vault/Archive
ResourceGroupId string
Gets or sets the Snapshot Resource Group Uri.
DataStoreType This property is required. string | DataStoreTypes
type of datastore; Operational/Vault/Archive
ResourceGroupId string
Gets or sets the Snapshot Resource Group Uri.
dataStoreType This property is required. String | DataStoreTypes
type of datastore; Operational/Vault/Archive
resourceGroupId String
Gets or sets the Snapshot Resource Group Uri.
dataStoreType This property is required. string | DataStoreTypes
type of datastore; Operational/Vault/Archive
resourceGroupId string
Gets or sets the Snapshot Resource Group Uri.
data_store_type This property is required. str | DataStoreTypes
type of datastore; Operational/Vault/Archive
resource_group_id str
Gets or sets the Snapshot Resource Group Uri.
dataStoreType This property is required. String | "OperationalStore" | "VaultStore" | "ArchiveStore"
type of datastore; Operational/Vault/Archive
resourceGroupId String
Gets or sets the Snapshot Resource Group Uri.

AzureOperationalStoreParametersResponse
, AzureOperationalStoreParametersResponseArgs

DataStoreType This property is required. string
type of datastore; Operational/Vault/Archive
ResourceGroupId string
Gets or sets the Snapshot Resource Group Uri.
DataStoreType This property is required. string
type of datastore; Operational/Vault/Archive
ResourceGroupId string
Gets or sets the Snapshot Resource Group Uri.
dataStoreType This property is required. String
type of datastore; Operational/Vault/Archive
resourceGroupId String
Gets or sets the Snapshot Resource Group Uri.
dataStoreType This property is required. string
type of datastore; Operational/Vault/Archive
resourceGroupId string
Gets or sets the Snapshot Resource Group Uri.
data_store_type This property is required. str
type of datastore; Operational/Vault/Archive
resource_group_id str
Gets or sets the Snapshot Resource Group Uri.
dataStoreType This property is required. String
type of datastore; Operational/Vault/Archive
resourceGroupId String
Gets or sets the Snapshot Resource Group Uri.

BackupInstance
, BackupInstanceArgs

DataSourceInfo This property is required. Pulumi.AzureNative.DataProtection.Inputs.Datasource
Gets or sets the data source information.
ObjectType This property is required. string
PolicyInfo This property is required. Pulumi.AzureNative.DataProtection.Inputs.PolicyInfo
Gets or sets the policy information.
DataSourceSetInfo Pulumi.AzureNative.DataProtection.Inputs.DatasourceSet
Gets or sets the data source set information.
DatasourceAuthCredentials Pulumi.AzureNative.DataProtection.Inputs.SecretStoreBasedAuthCredentials
Credentials to use to authenticate with data source provider.
FriendlyName string
Gets or sets the Backup Instance friendly name.
IdentityDetails Pulumi.AzureNative.DataProtection.Inputs.IdentityDetails
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
ResourceGuardOperationRequests List<string>
ResourceGuardOperationRequests on which LAC check will be performed
ValidationType string | Pulumi.AzureNative.DataProtection.ValidationType
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
DataSourceInfo This property is required. Datasource
Gets or sets the data source information.
ObjectType This property is required. string
PolicyInfo This property is required. PolicyInfo
Gets or sets the policy information.
DataSourceSetInfo DatasourceSet
Gets or sets the data source set information.
DatasourceAuthCredentials SecretStoreBasedAuthCredentials
Credentials to use to authenticate with data source provider.
FriendlyName string
Gets or sets the Backup Instance friendly name.
IdentityDetails IdentityDetails
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
ResourceGuardOperationRequests []string
ResourceGuardOperationRequests on which LAC check will be performed
ValidationType string | ValidationType
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
dataSourceInfo This property is required. Datasource
Gets or sets the data source information.
objectType This property is required. String
policyInfo This property is required. PolicyInfo
Gets or sets the policy information.
dataSourceSetInfo DatasourceSet
Gets or sets the data source set information.
datasourceAuthCredentials SecretStoreBasedAuthCredentials
Credentials to use to authenticate with data source provider.
friendlyName String
Gets or sets the Backup Instance friendly name.
identityDetails IdentityDetails
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resourceGuardOperationRequests List<String>
ResourceGuardOperationRequests on which LAC check will be performed
validationType String | ValidationType
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
dataSourceInfo This property is required. Datasource
Gets or sets the data source information.
objectType This property is required. string
policyInfo This property is required. PolicyInfo
Gets or sets the policy information.
dataSourceSetInfo DatasourceSet
Gets or sets the data source set information.
datasourceAuthCredentials SecretStoreBasedAuthCredentials
Credentials to use to authenticate with data source provider.
friendlyName string
Gets or sets the Backup Instance friendly name.
identityDetails IdentityDetails
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resourceGuardOperationRequests string[]
ResourceGuardOperationRequests on which LAC check will be performed
validationType string | ValidationType
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
data_source_info This property is required. Datasource
Gets or sets the data source information.
object_type This property is required. str
policy_info This property is required. PolicyInfo
Gets or sets the policy information.
data_source_set_info DatasourceSet
Gets or sets the data source set information.
datasource_auth_credentials SecretStoreBasedAuthCredentials
Credentials to use to authenticate with data source provider.
friendly_name str
Gets or sets the Backup Instance friendly name.
identity_details IdentityDetails
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resource_guard_operation_requests Sequence[str]
ResourceGuardOperationRequests on which LAC check will be performed
validation_type str | ValidationType
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
dataSourceInfo This property is required. Property Map
Gets or sets the data source information.
objectType This property is required. String
policyInfo This property is required. Property Map
Gets or sets the policy information.
dataSourceSetInfo Property Map
Gets or sets the data source set information.
datasourceAuthCredentials Property Map
Credentials to use to authenticate with data source provider.
friendlyName String
Gets or sets the Backup Instance friendly name.
identityDetails Property Map
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resourceGuardOperationRequests List<String>
ResourceGuardOperationRequests on which LAC check will be performed
validationType String | "ShallowValidation" | "DeepValidation"
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.

BackupInstanceResponse
, BackupInstanceResponseArgs

CurrentProtectionState This property is required. string
Specifies the current protection state of the resource
DataSourceInfo This property is required. Pulumi.AzureNative.DataProtection.Inputs.DatasourceResponse
Gets or sets the data source information.
ObjectType This property is required. string
PolicyInfo This property is required. Pulumi.AzureNative.DataProtection.Inputs.PolicyInfoResponse
Gets or sets the policy information.
ProtectionErrorDetails This property is required. Pulumi.AzureNative.DataProtection.Inputs.UserFacingErrorResponse
Specifies the protection error of the resource
ProtectionStatus This property is required. Pulumi.AzureNative.DataProtection.Inputs.ProtectionStatusDetailsResponse
Specifies the protection status of the resource
ProvisioningState This property is required. string
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
DataSourceSetInfo Pulumi.AzureNative.DataProtection.Inputs.DatasourceSetResponse
Gets or sets the data source set information.
DatasourceAuthCredentials Pulumi.AzureNative.DataProtection.Inputs.SecretStoreBasedAuthCredentialsResponse
Credentials to use to authenticate with data source provider.
FriendlyName string
Gets or sets the Backup Instance friendly name.
IdentityDetails Pulumi.AzureNative.DataProtection.Inputs.IdentityDetailsResponse
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
ResourceGuardOperationRequests List<string>
ResourceGuardOperationRequests on which LAC check will be performed
ValidationType string
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
CurrentProtectionState This property is required. string
Specifies the current protection state of the resource
DataSourceInfo This property is required. DatasourceResponse
Gets or sets the data source information.
ObjectType This property is required. string
PolicyInfo This property is required. PolicyInfoResponse
Gets or sets the policy information.
ProtectionErrorDetails This property is required. UserFacingErrorResponse
Specifies the protection error of the resource
ProtectionStatus This property is required. ProtectionStatusDetailsResponse
Specifies the protection status of the resource
ProvisioningState This property is required. string
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
DataSourceSetInfo DatasourceSetResponse
Gets or sets the data source set information.
DatasourceAuthCredentials SecretStoreBasedAuthCredentialsResponse
Credentials to use to authenticate with data source provider.
FriendlyName string
Gets or sets the Backup Instance friendly name.
IdentityDetails IdentityDetailsResponse
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
ResourceGuardOperationRequests []string
ResourceGuardOperationRequests on which LAC check will be performed
ValidationType string
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
currentProtectionState This property is required. String
Specifies the current protection state of the resource
dataSourceInfo This property is required. DatasourceResponse
Gets or sets the data source information.
objectType This property is required. String
policyInfo This property is required. PolicyInfoResponse
Gets or sets the policy information.
protectionErrorDetails This property is required. UserFacingErrorResponse
Specifies the protection error of the resource
protectionStatus This property is required. ProtectionStatusDetailsResponse
Specifies the protection status of the resource
provisioningState This property is required. String
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
dataSourceSetInfo DatasourceSetResponse
Gets or sets the data source set information.
datasourceAuthCredentials SecretStoreBasedAuthCredentialsResponse
Credentials to use to authenticate with data source provider.
friendlyName String
Gets or sets the Backup Instance friendly name.
identityDetails IdentityDetailsResponse
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resourceGuardOperationRequests List<String>
ResourceGuardOperationRequests on which LAC check will be performed
validationType String
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
currentProtectionState This property is required. string
Specifies the current protection state of the resource
dataSourceInfo This property is required. DatasourceResponse
Gets or sets the data source information.
objectType This property is required. string
policyInfo This property is required. PolicyInfoResponse
Gets or sets the policy information.
protectionErrorDetails This property is required. UserFacingErrorResponse
Specifies the protection error of the resource
protectionStatus This property is required. ProtectionStatusDetailsResponse
Specifies the protection status of the resource
provisioningState This property is required. string
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
dataSourceSetInfo DatasourceSetResponse
Gets or sets the data source set information.
datasourceAuthCredentials SecretStoreBasedAuthCredentialsResponse
Credentials to use to authenticate with data source provider.
friendlyName string
Gets or sets the Backup Instance friendly name.
identityDetails IdentityDetailsResponse
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resourceGuardOperationRequests string[]
ResourceGuardOperationRequests on which LAC check will be performed
validationType string
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
current_protection_state This property is required. str
Specifies the current protection state of the resource
data_source_info This property is required. DatasourceResponse
Gets or sets the data source information.
object_type This property is required. str
policy_info This property is required. PolicyInfoResponse
Gets or sets the policy information.
protection_error_details This property is required. UserFacingErrorResponse
Specifies the protection error of the resource
protection_status This property is required. ProtectionStatusDetailsResponse
Specifies the protection status of the resource
provisioning_state This property is required. str
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
data_source_set_info DatasourceSetResponse
Gets or sets the data source set information.
datasource_auth_credentials SecretStoreBasedAuthCredentialsResponse
Credentials to use to authenticate with data source provider.
friendly_name str
Gets or sets the Backup Instance friendly name.
identity_details IdentityDetailsResponse
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resource_guard_operation_requests Sequence[str]
ResourceGuardOperationRequests on which LAC check will be performed
validation_type str
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
currentProtectionState This property is required. String
Specifies the current protection state of the resource
dataSourceInfo This property is required. Property Map
Gets or sets the data source information.
objectType This property is required. String
policyInfo This property is required. Property Map
Gets or sets the policy information.
protectionErrorDetails This property is required. Property Map
Specifies the protection error of the resource
protectionStatus This property is required. Property Map
Specifies the protection status of the resource
provisioningState This property is required. String
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
dataSourceSetInfo Property Map
Gets or sets the data source set information.
datasourceAuthCredentials Property Map
Credentials to use to authenticate with data source provider.
friendlyName String
Gets or sets the Backup Instance friendly name.
identityDetails Property Map
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
resourceGuardOperationRequests List<String>
ResourceGuardOperationRequests on which LAC check will be performed
validationType String
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.

BlobBackupDatasourceParameters
, BlobBackupDatasourceParametersArgs

ContainersList This property is required. List<string>
List of containers to be backed up during configuration of backup of blobs
ContainersList This property is required. []string
List of containers to be backed up during configuration of backup of blobs
containersList This property is required. List<String>
List of containers to be backed up during configuration of backup of blobs
containersList This property is required. string[]
List of containers to be backed up during configuration of backup of blobs
containers_list This property is required. Sequence[str]
List of containers to be backed up during configuration of backup of blobs
containersList This property is required. List<String>
List of containers to be backed up during configuration of backup of blobs

BlobBackupDatasourceParametersResponse
, BlobBackupDatasourceParametersResponseArgs

ContainersList This property is required. List<string>
List of containers to be backed up during configuration of backup of blobs
ContainersList This property is required. []string
List of containers to be backed up during configuration of backup of blobs
containersList This property is required. List<String>
List of containers to be backed up during configuration of backup of blobs
containersList This property is required. string[]
List of containers to be backed up during configuration of backup of blobs
containers_list This property is required. Sequence[str]
List of containers to be backed up during configuration of backup of blobs
containersList This property is required. List<String>
List of containers to be backed up during configuration of backup of blobs

DataStoreTypes
, DataStoreTypesArgs

OperationalStore
OperationalStore
VaultStore
VaultStore
ArchiveStore
ArchiveStore
DataStoreTypesOperationalStore
OperationalStore
DataStoreTypesVaultStore
VaultStore
DataStoreTypesArchiveStore
ArchiveStore
OperationalStore
OperationalStore
VaultStore
VaultStore
ArchiveStore
ArchiveStore
OperationalStore
OperationalStore
VaultStore
VaultStore
ArchiveStore
ArchiveStore
OPERATIONAL_STORE
OperationalStore
VAULT_STORE
VaultStore
ARCHIVE_STORE
ArchiveStore
"OperationalStore"
OperationalStore
"VaultStore"
VaultStore
"ArchiveStore"
ArchiveStore

Datasource
, DatasourceArgs

ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties Pulumi.AzureNative.DataProtection.Inputs.DefaultResourceProperties
Properties specific to data source
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties DefaultResourceProperties
Properties specific to data source
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourceProperties
Properties specific to data source
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.
resourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType string
DatasourceType of the resource.
objectType string
Type of Datasource object, used to initialize the right inherited type
resourceLocation string
Location of datasource.
resourceName string
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourceProperties
Properties specific to data source
resourceType string
Resource Type of Datasource.
resourceUri string
Uri of the resource.
resource_id This property is required. str
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasource_type str
DatasourceType of the resource.
object_type str
Type of Datasource object, used to initialize the right inherited type
resource_location str
Location of datasource.
resource_name str
Unique identifier of the resource in the context of parent.
resource_properties DefaultResourceProperties
Properties specific to data source
resource_type str
Resource Type of Datasource.
resource_uri str
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties Property Map
Properties specific to data source
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.

DatasourceResponse
, DatasourceResponseArgs

ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties Pulumi.AzureNative.DataProtection.Inputs.DefaultResourcePropertiesResponse
Properties specific to data source
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties DefaultResourcePropertiesResponse
Properties specific to data source
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourcePropertiesResponse
Properties specific to data source
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.
resourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType string
DatasourceType of the resource.
objectType string
Type of Datasource object, used to initialize the right inherited type
resourceLocation string
Location of datasource.
resourceName string
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourcePropertiesResponse
Properties specific to data source
resourceType string
Resource Type of Datasource.
resourceUri string
Uri of the resource.
resource_id This property is required. str
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasource_type str
DatasourceType of the resource.
object_type str
Type of Datasource object, used to initialize the right inherited type
resource_location str
Location of datasource.
resource_name str
Unique identifier of the resource in the context of parent.
resource_properties DefaultResourcePropertiesResponse
Properties specific to data source
resource_type str
Resource Type of Datasource.
resource_uri str
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties Property Map
Properties specific to data source
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.

DatasourceSet
, DatasourceSetArgs

ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties Pulumi.AzureNative.DataProtection.Inputs.DefaultResourceProperties
Properties specific to data source set
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties DefaultResourceProperties
Properties specific to data source set
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourceProperties
Properties specific to data source set
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.
resourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType string
DatasourceType of the resource.
objectType string
Type of Datasource object, used to initialize the right inherited type
resourceLocation string
Location of datasource.
resourceName string
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourceProperties
Properties specific to data source set
resourceType string
Resource Type of Datasource.
resourceUri string
Uri of the resource.
resource_id This property is required. str
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasource_type str
DatasourceType of the resource.
object_type str
Type of Datasource object, used to initialize the right inherited type
resource_location str
Location of datasource.
resource_name str
Unique identifier of the resource in the context of parent.
resource_properties DefaultResourceProperties
Properties specific to data source set
resource_type str
Resource Type of Datasource.
resource_uri str
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties Property Map
Properties specific to data source set
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.

DatasourceSetResponse
, DatasourceSetResponseArgs

ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties Pulumi.AzureNative.DataProtection.Inputs.DefaultResourcePropertiesResponse
Properties specific to data source set
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
ResourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
DatasourceType string
DatasourceType of the resource.
ObjectType string
Type of Datasource object, used to initialize the right inherited type
ResourceLocation string
Location of datasource.
ResourceName string
Unique identifier of the resource in the context of parent.
ResourceProperties DefaultResourcePropertiesResponse
Properties specific to data source set
ResourceType string
Resource Type of Datasource.
ResourceUri string
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourcePropertiesResponse
Properties specific to data source set
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.
resourceID This property is required. string
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType string
DatasourceType of the resource.
objectType string
Type of Datasource object, used to initialize the right inherited type
resourceLocation string
Location of datasource.
resourceName string
Unique identifier of the resource in the context of parent.
resourceProperties DefaultResourcePropertiesResponse
Properties specific to data source set
resourceType string
Resource Type of Datasource.
resourceUri string
Uri of the resource.
resource_id This property is required. str
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasource_type str
DatasourceType of the resource.
object_type str
Type of Datasource object, used to initialize the right inherited type
resource_location str
Location of datasource.
resource_name str
Unique identifier of the resource in the context of parent.
resource_properties DefaultResourcePropertiesResponse
Properties specific to data source set
resource_type str
Resource Type of Datasource.
resource_uri str
Uri of the resource.
resourceID This property is required. String
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
datasourceType String
DatasourceType of the resource.
objectType String
Type of Datasource object, used to initialize the right inherited type
resourceLocation String
Location of datasource.
resourceName String
Unique identifier of the resource in the context of parent.
resourceProperties Property Map
Properties specific to data source set
resourceType String
Resource Type of Datasource.
resourceUri String
Uri of the resource.

DefaultResourceProperties
, DefaultResourcePropertiesArgs

DefaultResourcePropertiesResponse
, DefaultResourcePropertiesResponseArgs

IdentityDetails
, IdentityDetailsArgs

UseSystemAssignedIdentity bool
Specifies if the BI is protected by System Identity.
UserAssignedIdentityArmUrl string
ARM URL for User Assigned Identity.
UseSystemAssignedIdentity bool
Specifies if the BI is protected by System Identity.
UserAssignedIdentityArmUrl string
ARM URL for User Assigned Identity.
useSystemAssignedIdentity Boolean
Specifies if the BI is protected by System Identity.
userAssignedIdentityArmUrl String
ARM URL for User Assigned Identity.
useSystemAssignedIdentity boolean
Specifies if the BI is protected by System Identity.
userAssignedIdentityArmUrl string
ARM URL for User Assigned Identity.
use_system_assigned_identity bool
Specifies if the BI is protected by System Identity.
user_assigned_identity_arm_url str
ARM URL for User Assigned Identity.
useSystemAssignedIdentity Boolean
Specifies if the BI is protected by System Identity.
userAssignedIdentityArmUrl String
ARM URL for User Assigned Identity.

IdentityDetailsResponse
, IdentityDetailsResponseArgs

UseSystemAssignedIdentity bool
Specifies if the BI is protected by System Identity.
UserAssignedIdentityArmUrl string
ARM URL for User Assigned Identity.
UseSystemAssignedIdentity bool
Specifies if the BI is protected by System Identity.
UserAssignedIdentityArmUrl string
ARM URL for User Assigned Identity.
useSystemAssignedIdentity Boolean
Specifies if the BI is protected by System Identity.
userAssignedIdentityArmUrl String
ARM URL for User Assigned Identity.
useSystemAssignedIdentity boolean
Specifies if the BI is protected by System Identity.
userAssignedIdentityArmUrl string
ARM URL for User Assigned Identity.
use_system_assigned_identity bool
Specifies if the BI is protected by System Identity.
user_assigned_identity_arm_url str
ARM URL for User Assigned Identity.
useSystemAssignedIdentity Boolean
Specifies if the BI is protected by System Identity.
userAssignedIdentityArmUrl String
ARM URL for User Assigned Identity.

InnerErrorResponse
, InnerErrorResponseArgs

AdditionalInfo Dictionary<string, string>
Any Key value pairs that can be provided to the client for additional verbose information.
Code string
Unique code for this error
EmbeddedInnerError Pulumi.AzureNative.DataProtection.Inputs.InnerErrorResponse
Child Inner Error, to allow Nesting.
AdditionalInfo map[string]string
Any Key value pairs that can be provided to the client for additional verbose information.
Code string
Unique code for this error
EmbeddedInnerError InnerErrorResponse
Child Inner Error, to allow Nesting.
additionalInfo Map<String,String>
Any Key value pairs that can be provided to the client for additional verbose information.
code String
Unique code for this error
embeddedInnerError InnerErrorResponse
Child Inner Error, to allow Nesting.
additionalInfo {[key: string]: string}
Any Key value pairs that can be provided to the client for additional verbose information.
code string
Unique code for this error
embeddedInnerError InnerErrorResponse
Child Inner Error, to allow Nesting.
additional_info Mapping[str, str]
Any Key value pairs that can be provided to the client for additional verbose information.
code str
Unique code for this error
embedded_inner_error InnerErrorResponse
Child Inner Error, to allow Nesting.
additionalInfo Map<String>
Any Key value pairs that can be provided to the client for additional verbose information.
code String
Unique code for this error
embeddedInnerError Property Map
Child Inner Error, to allow Nesting.

KubernetesClusterBackupDatasourceParameters
, KubernetesClusterBackupDatasourceParametersArgs

IncludeClusterScopeResources This property is required. bool
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
SnapshotVolumes This property is required. bool
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
BackupHookReferences List<Pulumi.AzureNative.DataProtection.Inputs.NamespacedNameResource>
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
ExcludedNamespaces List<string>
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
ExcludedResourceTypes List<string>
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
IncludedNamespaces List<string>
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
IncludedResourceTypes List<string>
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
IncludedVolumeTypes List<Union<string, Pulumi.AzureNative.DataProtection.AKSVolumeTypes>>
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
LabelSelectors List<string>
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
IncludeClusterScopeResources This property is required. bool
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
SnapshotVolumes This property is required. bool
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
BackupHookReferences []NamespacedNameResource
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
ExcludedNamespaces []string
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
ExcludedResourceTypes []string
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
IncludedNamespaces []string
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
IncludedResourceTypes []string
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
IncludedVolumeTypes []string
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
LabelSelectors []string
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
includeClusterScopeResources This property is required. Boolean
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshotVolumes This property is required. Boolean
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backupHookReferences List<NamespacedNameResource>
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excludedNamespaces List<String>
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excludedResourceTypes List<String>
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
includedNamespaces List<String>
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
includedResourceTypes List<String>
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
includedVolumeTypes List<Either<String,AKSVolumeTypes>>
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
labelSelectors List<String>
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
includeClusterScopeResources This property is required. boolean
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshotVolumes This property is required. boolean
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backupHookReferences NamespacedNameResource[]
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excludedNamespaces string[]
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excludedResourceTypes string[]
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
includedNamespaces string[]
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
includedResourceTypes string[]
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
includedVolumeTypes (string | AKSVolumeTypes)[]
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
labelSelectors string[]
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
include_cluster_scope_resources This property is required. bool
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshot_volumes This property is required. bool
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backup_hook_references Sequence[NamespacedNameResource]
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excluded_namespaces Sequence[str]
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excluded_resource_types Sequence[str]
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
included_namespaces Sequence[str]
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
included_resource_types Sequence[str]
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
included_volume_types Sequence[Union[str, AKSVolumeTypes]]
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
label_selectors Sequence[str]
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
includeClusterScopeResources This property is required. Boolean
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshotVolumes This property is required. Boolean
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backupHookReferences List<Property Map>
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excludedNamespaces List<String>
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excludedResourceTypes List<String>
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
includedNamespaces List<String>
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
includedResourceTypes List<String>
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
includedVolumeTypes List<String | "AzureDisk" | "AzureFileShareSMB">
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
labelSelectors List<String>
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.

KubernetesClusterBackupDatasourceParametersResponse
, KubernetesClusterBackupDatasourceParametersResponseArgs

IncludeClusterScopeResources This property is required. bool
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
SnapshotVolumes This property is required. bool
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
BackupHookReferences List<Pulumi.AzureNative.DataProtection.Inputs.NamespacedNameResourceResponse>
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
ExcludedNamespaces List<string>
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
ExcludedResourceTypes List<string>
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
IncludedNamespaces List<string>
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
IncludedResourceTypes List<string>
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
IncludedVolumeTypes List<string>
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
LabelSelectors List<string>
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
IncludeClusterScopeResources This property is required. bool
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
SnapshotVolumes This property is required. bool
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
BackupHookReferences []NamespacedNameResourceResponse
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
ExcludedNamespaces []string
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
ExcludedResourceTypes []string
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
IncludedNamespaces []string
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
IncludedResourceTypes []string
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
IncludedVolumeTypes []string
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
LabelSelectors []string
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
includeClusterScopeResources This property is required. Boolean
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshotVolumes This property is required. Boolean
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backupHookReferences List<NamespacedNameResourceResponse>
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excludedNamespaces List<String>
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excludedResourceTypes List<String>
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
includedNamespaces List<String>
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
includedResourceTypes List<String>
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
includedVolumeTypes List<String>
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
labelSelectors List<String>
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
includeClusterScopeResources This property is required. boolean
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshotVolumes This property is required. boolean
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backupHookReferences NamespacedNameResourceResponse[]
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excludedNamespaces string[]
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excludedResourceTypes string[]
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
includedNamespaces string[]
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
includedResourceTypes string[]
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
includedVolumeTypes string[]
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
labelSelectors string[]
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
include_cluster_scope_resources This property is required. bool
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshot_volumes This property is required. bool
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backup_hook_references Sequence[NamespacedNameResourceResponse]
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excluded_namespaces Sequence[str]
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excluded_resource_types Sequence[str]
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
included_namespaces Sequence[str]
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
included_resource_types Sequence[str]
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
included_volume_types Sequence[str]
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
label_selectors Sequence[str]
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
includeClusterScopeResources This property is required. Boolean
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
snapshotVolumes This property is required. Boolean
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
backupHookReferences List<Property Map>
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
excludedNamespaces List<String>
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
excludedResourceTypes List<String>
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
includedNamespaces List<String>
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
includedResourceTypes List<String>
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
includedVolumeTypes List<String>
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
labelSelectors List<String>
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.

NamespacedNameResource
, NamespacedNameResourceArgs

Name string
Name of the resource
Namespace string
Namespace in which the resource exists
Name string
Name of the resource
Namespace string
Namespace in which the resource exists
name String
Name of the resource
namespace String
Namespace in which the resource exists
name string
Name of the resource
namespace string
Namespace in which the resource exists
name str
Name of the resource
namespace str
Namespace in which the resource exists
name String
Name of the resource
namespace String
Namespace in which the resource exists

NamespacedNameResourceResponse
, NamespacedNameResourceResponseArgs

Name string
Name of the resource
Namespace string
Namespace in which the resource exists
Name string
Name of the resource
Namespace string
Namespace in which the resource exists
name String
Name of the resource
namespace String
Namespace in which the resource exists
name string
Name of the resource
namespace string
Namespace in which the resource exists
name str
Name of the resource
namespace str
Namespace in which the resource exists
name String
Name of the resource
namespace String
Namespace in which the resource exists

PolicyInfo
, PolicyInfoArgs

PolicyId This property is required. string
PolicyParameters Pulumi.AzureNative.DataProtection.Inputs.PolicyParameters
Policy parameters for the backup instance
PolicyId This property is required. string
PolicyParameters PolicyParameters
Policy parameters for the backup instance
policyId This property is required. String
policyParameters PolicyParameters
Policy parameters for the backup instance
policyId This property is required. string
policyParameters PolicyParameters
Policy parameters for the backup instance
policy_id This property is required. str
policy_parameters PolicyParameters
Policy parameters for the backup instance
policyId This property is required. String
policyParameters Property Map
Policy parameters for the backup instance

PolicyInfoResponse
, PolicyInfoResponseArgs

PolicyId This property is required. string
PolicyVersion This property is required. string
PolicyParameters Pulumi.AzureNative.DataProtection.Inputs.PolicyParametersResponse
Policy parameters for the backup instance
PolicyId This property is required. string
PolicyVersion This property is required. string
PolicyParameters PolicyParametersResponse
Policy parameters for the backup instance
policyId This property is required. String
policyVersion This property is required. String
policyParameters PolicyParametersResponse
Policy parameters for the backup instance
policyId This property is required. string
policyVersion This property is required. string
policyParameters PolicyParametersResponse
Policy parameters for the backup instance
policy_id This property is required. str
policy_version This property is required. str
policy_parameters PolicyParametersResponse
Policy parameters for the backup instance
policyId This property is required. String
policyVersion This property is required. String
policyParameters Property Map
Policy parameters for the backup instance

PolicyParameters
, PolicyParametersArgs

BackupDatasourceParametersList List<Union<Pulumi.AzureNative.DataProtection.Inputs.BlobBackupDatasourceParameters, Pulumi.AzureNative.DataProtection.Inputs.KubernetesClusterBackupDatasourceParameters>>
Gets or sets the Backup Data Source Parameters
DataStoreParametersList List<Pulumi.AzureNative.DataProtection.Inputs.AzureOperationalStoreParameters>
Gets or sets the DataStore Parameters
BackupDatasourceParametersList []interface{}
Gets or sets the Backup Data Source Parameters
DataStoreParametersList []AzureOperationalStoreParameters
Gets or sets the DataStore Parameters
backupDatasourceParametersList List<Either<BlobBackupDatasourceParameters,KubernetesClusterBackupDatasourceParameters>>
Gets or sets the Backup Data Source Parameters
dataStoreParametersList List<AzureOperationalStoreParameters>
Gets or sets the DataStore Parameters
backupDatasourceParametersList (BlobBackupDatasourceParameters | KubernetesClusterBackupDatasourceParameters)[]
Gets or sets the Backup Data Source Parameters
dataStoreParametersList AzureOperationalStoreParameters[]
Gets or sets the DataStore Parameters
backup_datasource_parameters_list Sequence[Union[BlobBackupDatasourceParameters, KubernetesClusterBackupDatasourceParameters]]
Gets or sets the Backup Data Source Parameters
data_store_parameters_list Sequence[AzureOperationalStoreParameters]
Gets or sets the DataStore Parameters
backupDatasourceParametersList List<Property Map | Property Map>
Gets or sets the Backup Data Source Parameters
dataStoreParametersList List<Property Map>
Gets or sets the DataStore Parameters

PolicyParametersResponse
, PolicyParametersResponseArgs

BackupDatasourceParametersList List<Union<Pulumi.AzureNative.DataProtection.Inputs.BlobBackupDatasourceParametersResponse, Pulumi.AzureNative.DataProtection.Inputs.KubernetesClusterBackupDatasourceParametersResponse>>
Gets or sets the Backup Data Source Parameters
DataStoreParametersList List<Pulumi.AzureNative.DataProtection.Inputs.AzureOperationalStoreParametersResponse>
Gets or sets the DataStore Parameters
BackupDatasourceParametersList []interface{}
Gets or sets the Backup Data Source Parameters
DataStoreParametersList []AzureOperationalStoreParametersResponse
Gets or sets the DataStore Parameters
backupDatasourceParametersList List<Either<BlobBackupDatasourceParametersResponse,KubernetesClusterBackupDatasourceParametersResponse>>
Gets or sets the Backup Data Source Parameters
dataStoreParametersList List<AzureOperationalStoreParametersResponse>
Gets or sets the DataStore Parameters
backupDatasourceParametersList (BlobBackupDatasourceParametersResponse | KubernetesClusterBackupDatasourceParametersResponse)[]
Gets or sets the Backup Data Source Parameters
dataStoreParametersList AzureOperationalStoreParametersResponse[]
Gets or sets the DataStore Parameters
backup_datasource_parameters_list Sequence[Union[BlobBackupDatasourceParametersResponse, KubernetesClusterBackupDatasourceParametersResponse]]
Gets or sets the Backup Data Source Parameters
data_store_parameters_list Sequence[AzureOperationalStoreParametersResponse]
Gets or sets the DataStore Parameters
backupDatasourceParametersList List<Property Map | Property Map>
Gets or sets the Backup Data Source Parameters
dataStoreParametersList List<Property Map>
Gets or sets the DataStore Parameters

ProtectionStatusDetailsResponse
, ProtectionStatusDetailsResponseArgs

ErrorDetails Pulumi.AzureNative.DataProtection.Inputs.UserFacingErrorResponse
Specifies the protection status error of the resource
Status string
Specifies the protection status of the resource
ErrorDetails UserFacingErrorResponse
Specifies the protection status error of the resource
Status string
Specifies the protection status of the resource
errorDetails UserFacingErrorResponse
Specifies the protection status error of the resource
status String
Specifies the protection status of the resource
errorDetails UserFacingErrorResponse
Specifies the protection status error of the resource
status string
Specifies the protection status of the resource
error_details UserFacingErrorResponse
Specifies the protection status error of the resource
status str
Specifies the protection status of the resource
errorDetails Property Map
Specifies the protection status error of the resource
status String
Specifies the protection status of the resource

SecretStoreBasedAuthCredentials
, SecretStoreBasedAuthCredentialsArgs

secretStoreResource Property Map
Secret store resource

SecretStoreBasedAuthCredentialsResponse
, SecretStoreBasedAuthCredentialsResponseArgs

secretStoreResource Property Map
Secret store resource

SecretStoreResource
, SecretStoreResourceArgs

SecretStoreType This property is required. string | Pulumi.AzureNative.DataProtection.SecretStoreType
Gets or sets the type of secret store
Uri string
Uri to get to the resource
Value string
Gets or sets value stored in secret store resource
SecretStoreType This property is required. string | SecretStoreType
Gets or sets the type of secret store
Uri string
Uri to get to the resource
Value string
Gets or sets value stored in secret store resource
secretStoreType This property is required. String | SecretStoreType
Gets or sets the type of secret store
uri String
Uri to get to the resource
value String
Gets or sets value stored in secret store resource
secretStoreType This property is required. string | SecretStoreType
Gets or sets the type of secret store
uri string
Uri to get to the resource
value string
Gets or sets value stored in secret store resource
secret_store_type This property is required. str | SecretStoreType
Gets or sets the type of secret store
uri str
Uri to get to the resource
value str
Gets or sets value stored in secret store resource
secretStoreType This property is required. String | "Invalid" | "AzureKeyVault"
Gets or sets the type of secret store
uri String
Uri to get to the resource
value String
Gets or sets value stored in secret store resource

SecretStoreResourceResponse
, SecretStoreResourceResponseArgs

SecretStoreType This property is required. string
Gets or sets the type of secret store
Uri string
Uri to get to the resource
Value string
Gets or sets value stored in secret store resource
SecretStoreType This property is required. string
Gets or sets the type of secret store
Uri string
Uri to get to the resource
Value string
Gets or sets value stored in secret store resource
secretStoreType This property is required. String
Gets or sets the type of secret store
uri String
Uri to get to the resource
value String
Gets or sets value stored in secret store resource
secretStoreType This property is required. string
Gets or sets the type of secret store
uri string
Uri to get to the resource
value string
Gets or sets value stored in secret store resource
secret_store_type This property is required. str
Gets or sets the type of secret store
uri str
Uri to get to the resource
value str
Gets or sets value stored in secret store resource
secretStoreType This property is required. String
Gets or sets the type of secret store
uri String
Uri to get to the resource
value String
Gets or sets value stored in secret store resource

SecretStoreType
, SecretStoreTypeArgs

Invalid
Invalid
AzureKeyVault
AzureKeyVault
SecretStoreTypeInvalid
Invalid
SecretStoreTypeAzureKeyVault
AzureKeyVault
Invalid
Invalid
AzureKeyVault
AzureKeyVault
Invalid
Invalid
AzureKeyVault
AzureKeyVault
INVALID
Invalid
AZURE_KEY_VAULT
AzureKeyVault
"Invalid"
Invalid
"AzureKeyVault"
AzureKeyVault

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

UserFacingErrorResponse
, UserFacingErrorResponseArgs

Code string
Unique code for this error
Details List<Pulumi.AzureNative.DataProtection.Inputs.UserFacingErrorResponse>
Additional related Errors
InnerError Pulumi.AzureNative.DataProtection.Inputs.InnerErrorResponse
Inner Error
IsRetryable bool
Whether the operation will be retryable or not
IsUserError bool
Whether the operation is due to a user error or service error
Message string
Properties Dictionary<string, string>
Any key value pairs that can be injected inside error object
RecommendedAction List<string>
RecommendedAction � localized.
Target string
Target of the error.
Code string
Unique code for this error
Details []UserFacingErrorResponse
Additional related Errors
InnerError InnerErrorResponse
Inner Error
IsRetryable bool
Whether the operation will be retryable or not
IsUserError bool
Whether the operation is due to a user error or service error
Message string
Properties map[string]string
Any key value pairs that can be injected inside error object
RecommendedAction []string
RecommendedAction � localized.
Target string
Target of the error.
code String
Unique code for this error
details List<UserFacingErrorResponse>
Additional related Errors
innerError InnerErrorResponse
Inner Error
isRetryable Boolean
Whether the operation will be retryable or not
isUserError Boolean
Whether the operation is due to a user error or service error
message String
properties Map<String,String>
Any key value pairs that can be injected inside error object
recommendedAction List<String>
RecommendedAction � localized.
target String
Target of the error.
code string
Unique code for this error
details UserFacingErrorResponse[]
Additional related Errors
innerError InnerErrorResponse
Inner Error
isRetryable boolean
Whether the operation will be retryable or not
isUserError boolean
Whether the operation is due to a user error or service error
message string
properties {[key: string]: string}
Any key value pairs that can be injected inside error object
recommendedAction string[]
RecommendedAction � localized.
target string
Target of the error.
code str
Unique code for this error
details Sequence[UserFacingErrorResponse]
Additional related Errors
inner_error InnerErrorResponse
Inner Error
is_retryable bool
Whether the operation will be retryable or not
is_user_error bool
Whether the operation is due to a user error or service error
message str
properties Mapping[str, str]
Any key value pairs that can be injected inside error object
recommended_action Sequence[str]
RecommendedAction � localized.
target str
Target of the error.
code String
Unique code for this error
details List<Property Map>
Additional related Errors
innerError Property Map
Inner Error
isRetryable Boolean
Whether the operation will be retryable or not
isUserError Boolean
Whether the operation is due to a user error or service error
message String
properties Map<String>
Any key value pairs that can be injected inside error object
recommendedAction List<String>
RecommendedAction � localized.
target String
Target of the error.

ValidationType
, ValidationTypeArgs

ShallowValidation
ShallowValidation
DeepValidation
DeepValidation
ValidationTypeShallowValidation
ShallowValidation
ValidationTypeDeepValidation
DeepValidation
ShallowValidation
ShallowValidation
DeepValidation
DeepValidation
ShallowValidation
ShallowValidation
DeepValidation
DeepValidation
SHALLOW_VALIDATION
ShallowValidation
DEEP_VALIDATION
DeepValidation
"ShallowValidation"
ShallowValidation
"DeepValidation"
DeepValidation

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:dataprotection:BackupInstance harshitbi2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0