azure-native.recoveryservices.ProtectionIntent

Explore with Pulumi AI

Base class for backup ProtectionIntent. API Version: 2021-02-01.

Example Usage

Create or Update Azure Vm Protection Intent

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

return await Deployment.RunAsync(() => 
{
    var protectionIntent = new AzureNative.RecoveryServices.ProtectionIntent("protectionIntent", new()
    {
        FabricName = "Azure",
        IntentObjectName = "vm;iaasvmcontainerv2;chamsrgtest;chamscandel",
        Properties = new AzureNative.RecoveryServices.Inputs.AzureResourceProtectionIntentArgs
        {
            PolicyId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy",
            ProtectionIntentItemType = "AzureResourceItem",
            SourceResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel",
        },
        ResourceGroupName = "myRG",
        VaultName = "myVault",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := recoveryservices.NewProtectionIntent(ctx, "protectionIntent", &recoveryservices.ProtectionIntentArgs{
			FabricName:       pulumi.String("Azure"),
			IntentObjectName: pulumi.String("vm;iaasvmcontainerv2;chamsrgtest;chamscandel"),
			Properties: recoveryservices.AzureResourceProtectionIntent{
				PolicyId:                 "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy",
				ProtectionIntentItemType: "AzureResourceItem",
				SourceResourceId:         "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel",
			},
			ResourceGroupName: pulumi.String("myRG"),
			VaultName:         pulumi.String("myVault"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ProtectionIntent;
import com.pulumi.azurenative.recoveryservices.ProtectionIntentArgs;
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 protectionIntent = new ProtectionIntent("protectionIntent", ProtectionIntentArgs.builder()        
            .fabricName("Azure")
            .intentObjectName("vm;iaasvmcontainerv2;chamsrgtest;chamscandel")
            .properties(Map.ofEntries(
                Map.entry("policyId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy"),
                Map.entry("protectionIntentItemType", "AzureResourceItem"),
                Map.entry("sourceResourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel")
            ))
            .resourceGroupName("myRG")
            .vaultName("myVault")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

protection_intent = azure_native.recoveryservices.ProtectionIntent("protectionIntent",
    fabric_name="Azure",
    intent_object_name="vm;iaasvmcontainerv2;chamsrgtest;chamscandel",
    properties=azure_native.recoveryservices.AzureResourceProtectionIntentArgs(
        policy_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy",
        protection_intent_item_type="AzureResourceItem",
        source_resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel",
    ),
    resource_group_name="myRG",
    vault_name="myVault")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const protectionIntent = new azure_native.recoveryservices.ProtectionIntent("protectionIntent", {
    fabricName: "Azure",
    intentObjectName: "vm;iaasvmcontainerv2;chamsrgtest;chamscandel",
    properties: {
        policyId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy",
        protectionIntentItemType: "AzureResourceItem",
        sourceResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel",
    },
    resourceGroupName: "myRG",
    vaultName: "myVault",
});
resources:
  protectionIntent:
    type: azure-native:recoveryservices:ProtectionIntent
    properties:
      fabricName: Azure
      intentObjectName: vm;iaasvmcontainerv2;chamsrgtest;chamscandel
      properties:
        policyId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy
        protectionIntentItemType: AzureResourceItem
        sourceResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel
      resourceGroupName: myRG
      vaultName: myVault

Create ProtectionIntent Resource

new ProtectionIntent(name: string, args: ProtectionIntentArgs, opts?: CustomResourceOptions);
@overload
def ProtectionIntent(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     e_tag: Optional[str] = None,
                     fabric_name: Optional[str] = None,
                     intent_object_name: Optional[str] = None,
                     location: Optional[str] = None,
                     properties: Optional[Union[AzureRecoveryServiceVaultProtectionIntentArgs, AzureResourceProtectionIntentArgs, AzureWorkloadAutoProtectionIntentArgs, AzureWorkloadSQLAutoProtectionIntentArgs]] = None,
                     resource_group_name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     vault_name: Optional[str] = None)
@overload
def ProtectionIntent(resource_name: str,
                     args: ProtectionIntentArgs,
                     opts: Optional[ResourceOptions] = None)
func NewProtectionIntent(ctx *Context, name string, args ProtectionIntentArgs, opts ...ResourceOption) (*ProtectionIntent, error)
public ProtectionIntent(string name, ProtectionIntentArgs args, CustomResourceOptions? opts = null)
public ProtectionIntent(String name, ProtectionIntentArgs args)
public ProtectionIntent(String name, ProtectionIntentArgs args, CustomResourceOptions options)
type: azure-native:recoveryservices:ProtectionIntent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ProtectionIntentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ProtectionIntentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProtectionIntentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProtectionIntentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ProtectionIntentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ProtectionIntent Resource Properties

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

Inputs

The ProtectionIntent resource accepts the following input properties:

FabricName string

Fabric name associated with the backup item.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

ETag string

Optional ETag.

IntentObjectName string

Intent object name.

Location string

Resource location.

Properties Pulumi.AzureNative.RecoveryServices.Inputs.AzureRecoveryServiceVaultProtectionIntentArgs | Pulumi.AzureNative.RecoveryServices.Inputs.AzureResourceProtectionIntentArgs | Pulumi.AzureNative.RecoveryServices.Inputs.AzureWorkloadAutoProtectionIntentArgs | Pulumi.AzureNative.RecoveryServices.Inputs.AzureWorkloadSQLAutoProtectionIntentArgs

ProtectionIntentResource properties

Tags Dictionary<string, string>

Resource tags.

FabricName string

Fabric name associated with the backup item.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

ETag string

Optional ETag.

IntentObjectName string

Intent object name.

Location string

Resource location.

Properties AzureRecoveryServiceVaultProtectionIntentArgs | AzureResourceProtectionIntentArgs | AzureWorkloadAutoProtectionIntentArgs | AzureWorkloadSQLAutoProtectionIntentArgs

ProtectionIntentResource properties

Tags map[string]string

Resource tags.

fabricName String

Fabric name associated with the backup item.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

eTag String

Optional ETag.

intentObjectName String

Intent object name.

location String

Resource location.

properties AzureRecoveryServiceVaultProtectionIntentArgs | AzureResourceProtectionIntentArgs | AzureWorkloadAutoProtectionIntentArgs | AzureWorkloadSQLAutoProtectionIntentArgs

ProtectionIntentResource properties

tags Map<String,String>

Resource tags.

fabricName string

Fabric name associated with the backup item.

resourceGroupName string

The name of the resource group where the recovery services vault is present.

vaultName string

The name of the recovery services vault.

eTag string

Optional ETag.

intentObjectName string

Intent object name.

location string

Resource location.

properties AzureRecoveryServiceVaultProtectionIntentArgs | AzureResourceProtectionIntentArgs | AzureWorkloadAutoProtectionIntentArgs | AzureWorkloadSQLAutoProtectionIntentArgs

ProtectionIntentResource properties

tags {[key: string]: string}

Resource tags.

fabric_name str

Fabric name associated with the backup item.

resource_group_name str

The name of the resource group where the recovery services vault is present.

vault_name str

The name of the recovery services vault.

e_tag str

Optional ETag.

intent_object_name str

Intent object name.

location str

Resource location.

properties AzureRecoveryServiceVaultProtectionIntentArgs | AzureResourceProtectionIntentArgs | AzureWorkloadAutoProtectionIntentArgs | AzureWorkloadSQLAutoProtectionIntentArgs

ProtectionIntentResource properties

tags Mapping[str, str]

Resource tags.

fabricName String

Fabric name associated with the backup item.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

eTag String

Optional ETag.

intentObjectName String

Intent object name.

location String

Resource location.

properties Property Map | Property Map | Property Map | Property Map

ProtectionIntentResource properties

tags Map<String>

Resource tags.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name associated with the resource.

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name associated with the resource.

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name associated with the resource.

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name associated with the resource.

type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name associated with the resource.

type str

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name associated with the resource.

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Supporting Types

AzureRecoveryServiceVaultProtectionIntent

BackupManagementType string | Pulumi.AzureNative.RecoveryServices.BackupManagementType

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | Pulumi.AzureNative.RecoveryServices.ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

BackupManagementType string | BackupManagementType

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

backupManagementType String | BackupManagementType

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | ProtectionStatus

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

backupManagementType string | BackupManagementType

Type of backup management for the backed up item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string | ProtectionStatus

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

backup_management_type str | BackupManagementType

Type of backup management for the backed up item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str | ProtectionStatus

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

backupManagementType String | "Invalid" | "AzureIaasVM" | "MAB" | "DPM" | "AzureBackupServer" | "AzureSql" | "AzureStorage" | "AzureWorkload" | "DefaultBackup"

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "ProtectionFailed"

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

AzureRecoveryServiceVaultProtectionIntentResponse

BackupManagementType string

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

BackupManagementType string

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

backupManagementType String

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

backupManagementType string

Type of backup management for the backed up item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

backup_management_type str

Type of backup management for the backed up item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

backupManagementType String

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

AzureResourceProtectionIntent

BackupManagementType string | Pulumi.AzureNative.RecoveryServices.BackupManagementType

Type of backup management for the backed up item.

FriendlyName string

Friendly name of the VM represented by this backup item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | Pulumi.AzureNative.RecoveryServices.ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

BackupManagementType string | BackupManagementType

Type of backup management for the backed up item.

FriendlyName string

Friendly name of the VM represented by this backup item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

backupManagementType String | BackupManagementType

Type of backup management for the backed up item.

friendlyName String

Friendly name of the VM represented by this backup item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | ProtectionStatus

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

backupManagementType string | BackupManagementType

Type of backup management for the backed up item.

friendlyName string

Friendly name of the VM represented by this backup item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string | ProtectionStatus

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

backup_management_type str | BackupManagementType

Type of backup management for the backed up item.

friendly_name str

Friendly name of the VM represented by this backup item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str | ProtectionStatus

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

backupManagementType String | "Invalid" | "AzureIaasVM" | "MAB" | "DPM" | "AzureBackupServer" | "AzureSql" | "AzureStorage" | "AzureWorkload" | "DefaultBackup"

Type of backup management for the backed up item.

friendlyName String

Friendly name of the VM represented by this backup item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "ProtectionFailed"

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

AzureResourceProtectionIntentResponse

BackupManagementType string

Type of backup management for the backed up item.

FriendlyName string

Friendly name of the VM represented by this backup item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

BackupManagementType string

Type of backup management for the backed up item.

FriendlyName string

Friendly name of the VM represented by this backup item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

backupManagementType String

Type of backup management for the backed up item.

friendlyName String

Friendly name of the VM represented by this backup item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

backupManagementType string

Type of backup management for the backed up item.

friendlyName string

Friendly name of the VM represented by this backup item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

backup_management_type str

Type of backup management for the backed up item.

friendly_name str

Friendly name of the VM represented by this backup item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

backupManagementType String

Type of backup management for the backed up item.

friendlyName String

Friendly name of the VM represented by this backup item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

AzureWorkloadAutoProtectionIntent

BackupManagementType string | Pulumi.AzureNative.RecoveryServices.BackupManagementType

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | Pulumi.AzureNative.RecoveryServices.ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

BackupManagementType string | BackupManagementType

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

backupManagementType String | BackupManagementType

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | ProtectionStatus

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

backupManagementType string | BackupManagementType

Type of backup management for the backed up item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string | ProtectionStatus

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

backup_management_type str | BackupManagementType

Type of backup management for the backed up item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str | ProtectionStatus

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

backupManagementType String | "Invalid" | "AzureIaasVM" | "MAB" | "DPM" | "AzureBackupServer" | "AzureSql" | "AzureStorage" | "AzureWorkload" | "DefaultBackup"

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "ProtectionFailed"

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

AzureWorkloadAutoProtectionIntentResponse

BackupManagementType string

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

BackupManagementType string

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

backupManagementType String

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

backupManagementType string

Type of backup management for the backed up item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

backup_management_type str

Type of backup management for the backed up item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

backupManagementType String

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

AzureWorkloadSQLAutoProtectionIntent

BackupManagementType string | Pulumi.AzureNative.RecoveryServices.BackupManagementType

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | Pulumi.AzureNative.RecoveryServices.ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

WorkloadItemType string | Pulumi.AzureNative.RecoveryServices.WorkloadItemType

Workload item type of the item for which intent is to be set

BackupManagementType string | BackupManagementType

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string | ProtectionStatus

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

WorkloadItemType string | WorkloadItemType

Workload item type of the item for which intent is to be set

backupManagementType String | BackupManagementType

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | ProtectionStatus

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

workloadItemType String | WorkloadItemType

Workload item type of the item for which intent is to be set

backupManagementType string | BackupManagementType

Type of backup management for the backed up item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string | ProtectionStatus

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

workloadItemType string | WorkloadItemType

Workload item type of the item for which intent is to be set

backup_management_type str | BackupManagementType

Type of backup management for the backed up item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str | ProtectionStatus

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

workload_item_type str | WorkloadItemType

Workload item type of the item for which intent is to be set

backupManagementType String | "Invalid" | "AzureIaasVM" | "MAB" | "DPM" | "AzureBackupServer" | "AzureSql" | "AzureStorage" | "AzureWorkload" | "DefaultBackup"

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "ProtectionFailed"

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

workloadItemType String | "Invalid" | "SQLInstance" | "SQLDataBase" | "SAPHanaSystem" | "SAPHanaDatabase" | "SAPAseSystem" | "SAPAseDatabase"

Workload item type of the item for which intent is to be set

AzureWorkloadSQLAutoProtectionIntentResponse

BackupManagementType string

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

WorkloadItemType string

Workload item type of the item for which intent is to be set

BackupManagementType string

Type of backup management for the backed up item.

ItemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId string

ID of the backup policy with which this item is backed up.

ProtectionState string

Backup state of this backup item.

SourceResourceId string

ARM ID of the resource to be backed up.

WorkloadItemType string

Workload item type of the item for which intent is to be set

backupManagementType String

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

workloadItemType String

Workload item type of the item for which intent is to be set

backupManagementType string

Type of backup management for the backed up item.

itemId string

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId string

ID of the backup policy with which this item is backed up.

protectionState string

Backup state of this backup item.

sourceResourceId string

ARM ID of the resource to be backed up.

workloadItemType string

Workload item type of the item for which intent is to be set

backup_management_type str

Type of backup management for the backed up item.

item_id str

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policy_id str

ID of the backup policy with which this item is backed up.

protection_state str

Backup state of this backup item.

source_resource_id str

ARM ID of the resource to be backed up.

workload_item_type str

Workload item type of the item for which intent is to be set

backupManagementType String

Type of backup management for the backed up item.

itemId String

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId String

ID of the backup policy with which this item is backed up.

protectionState String

Backup state of this backup item.

sourceResourceId String

ARM ID of the resource to be backed up.

workloadItemType String

Workload item type of the item for which intent is to be set

BackupManagementType

Invalid
Invalid
AzureIaasVM
AzureIaasVM
MAB
MAB
DPM
DPM
AzureBackupServer
AzureBackupServer
AzureSql
AzureSql
AzureStorage
AzureStorage
AzureWorkload
AzureWorkload
DefaultBackup
DefaultBackup
BackupManagementTypeInvalid
Invalid
BackupManagementTypeAzureIaasVM
AzureIaasVM
BackupManagementTypeMAB
MAB
BackupManagementTypeDPM
DPM
BackupManagementTypeAzureBackupServer
AzureBackupServer
BackupManagementTypeAzureSql
AzureSql
BackupManagementTypeAzureStorage
AzureStorage
BackupManagementTypeAzureWorkload
AzureWorkload
BackupManagementTypeDefaultBackup
DefaultBackup
Invalid
Invalid
AzureIaasVM
AzureIaasVM
MAB
MAB
DPM
DPM
AzureBackupServer
AzureBackupServer
AzureSql
AzureSql
AzureStorage
AzureStorage
AzureWorkload
AzureWorkload
DefaultBackup
DefaultBackup
Invalid
Invalid
AzureIaasVM
AzureIaasVM
MAB
MAB
DPM
DPM
AzureBackupServer
AzureBackupServer
AzureSql
AzureSql
AzureStorage
AzureStorage
AzureWorkload
AzureWorkload
DefaultBackup
DefaultBackup
INVALID
Invalid
AZURE_IAAS_VM
AzureIaasVM
MAB
MAB
DPM
DPM
AZURE_BACKUP_SERVER
AzureBackupServer
AZURE_SQL
AzureSql
AZURE_STORAGE
AzureStorage
AZURE_WORKLOAD
AzureWorkload
DEFAULT_BACKUP
DefaultBackup
"Invalid"
Invalid
"AzureIaasVM"
AzureIaasVM
"MAB"
MAB
"DPM"
DPM
"AzureBackupServer"
AzureBackupServer
"AzureSql"
AzureSql
"AzureStorage"
AzureStorage
"AzureWorkload"
AzureWorkload
"DefaultBackup"
DefaultBackup

ProtectionStatus

Invalid
Invalid
NotProtected
NotProtected
Protecting
Protecting
Protected
Protected
ProtectionFailed
ProtectionFailed
ProtectionStatusInvalid
Invalid
ProtectionStatusNotProtected
NotProtected
ProtectionStatusProtecting
Protecting
ProtectionStatusProtected
Protected
ProtectionStatusProtectionFailed
ProtectionFailed
Invalid
Invalid
NotProtected
NotProtected
Protecting
Protecting
Protected
Protected
ProtectionFailed
ProtectionFailed
Invalid
Invalid
NotProtected
NotProtected
Protecting
Protecting
Protected
Protected
ProtectionFailed
ProtectionFailed
INVALID
Invalid
NOT_PROTECTED
NotProtected
PROTECTING
Protecting
PROTECTED
Protected
PROTECTION_FAILED
ProtectionFailed
"Invalid"
Invalid
"NotProtected"
NotProtected
"Protecting"
Protecting
"Protected"
Protected
"ProtectionFailed"
ProtectionFailed

WorkloadItemType

Invalid
Invalid
SQLInstance
SQLInstance
SQLDataBase
SQLDataBase
SAPHanaSystem
SAPHanaSystem
SAPHanaDatabase
SAPHanaDatabase
SAPAseSystem
SAPAseSystem
SAPAseDatabase
SAPAseDatabase
WorkloadItemTypeInvalid
Invalid
WorkloadItemTypeSQLInstance
SQLInstance
WorkloadItemTypeSQLDataBase
SQLDataBase
WorkloadItemTypeSAPHanaSystem
SAPHanaSystem
WorkloadItemTypeSAPHanaDatabase
SAPHanaDatabase
WorkloadItemTypeSAPAseSystem
SAPAseSystem
WorkloadItemTypeSAPAseDatabase
SAPAseDatabase
Invalid
Invalid
SQLInstance
SQLInstance
SQLDataBase
SQLDataBase
SAPHanaSystem
SAPHanaSystem
SAPHanaDatabase
SAPHanaDatabase
SAPAseSystem
SAPAseSystem
SAPAseDatabase
SAPAseDatabase
Invalid
Invalid
SQLInstance
SQLInstance
SQLDataBase
SQLDataBase
SAPHanaSystem
SAPHanaSystem
SAPHanaDatabase
SAPHanaDatabase
SAPAseSystem
SAPAseSystem
SAPAseDatabase
SAPAseDatabase
INVALID
Invalid
SQL_INSTANCE
SQLInstance
SQL_DATA_BASE
SQLDataBase
SAP_HANA_SYSTEM
SAPHanaSystem
SAP_HANA_DATABASE
SAPHanaDatabase
SAPASE_SYSTEM
SAPAseSystem
SAPASE_DATABASE
SAPAseDatabase
"Invalid"
Invalid
"SQLInstance"
SQLInstance
"SQLDataBase"
SQLDataBase
"SAPHanaSystem"
SAPHanaSystem
"SAPHanaDatabase"
SAPHanaDatabase
"SAPAseSystem"
SAPAseSystem
"SAPAseDatabase"
SAPAseDatabase

Import

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

$ pulumi import azure-native:recoveryservices:ProtectionIntent vm;iaasvmcontainerv2;chamsrgtest;chamscandel /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupFabrics/Azure/backupProtectionIntent/vm;iaasvmcontainerv2;chamsrgtest;chamscandel 

Package Details

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