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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProtectionIntent(name: string, args: ProtectionIntentArgs, opts?: CustomResourceOptions);
@overload
def ProtectionIntent(resource_name: str,
args: ProtectionIntentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProtectionIntent(resource_name: str,
opts: Optional[ResourceOptions] = None,
fabric_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
vault_name: Optional[str] = None,
e_tag: Optional[str] = None,
intent_object_name: Optional[str] = None,
location: Optional[str] = None,
properties: Optional[Union[AzureRecoveryServiceVaultProtectionIntentArgs, AzureResourceProtectionIntentArgs, AzureWorkloadAutoProtectionIntentArgs, AzureWorkloadSQLAutoProtectionIntentArgs]] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var protectionIntentResource = new AzureNative.Recoveryservices.ProtectionIntent("protectionIntentResource", new()
{
FabricName = "string",
ResourceGroupName = "string",
VaultName = "string",
ETag = "string",
IntentObjectName = "string",
Location = "string",
Properties =
{
{ "protectionIntentItemType", "RecoveryServiceVaultItem" },
{ "backupManagementType", "string" },
{ "itemId", "string" },
{ "policyId", "string" },
{ "protectionState", "string" },
{ "sourceResourceId", "string" },
},
Tags =
{
{ "string", "string" },
},
});
example, err := recoveryservices.NewProtectionIntent(ctx, "protectionIntentResource", &recoveryservices.ProtectionIntentArgs{
FabricName: "string",
ResourceGroupName: "string",
VaultName: "string",
ETag: "string",
IntentObjectName: "string",
Location: "string",
Properties: map[string]interface{}{
"protectionIntentItemType": "RecoveryServiceVaultItem",
"backupManagementType": "string",
"itemId": "string",
"policyId": "string",
"protectionState": "string",
"sourceResourceId": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
})
var protectionIntentResource = new ProtectionIntent("protectionIntentResource", ProtectionIntentArgs.builder()
.fabricName("string")
.resourceGroupName("string")
.vaultName("string")
.eTag("string")
.intentObjectName("string")
.location("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
protection_intent_resource = azure_native.recoveryservices.ProtectionIntent("protectionIntentResource",
fabric_name=string,
resource_group_name=string,
vault_name=string,
e_tag=string,
intent_object_name=string,
location=string,
properties={
protectionIntentItemType: RecoveryServiceVaultItem,
backupManagementType: string,
itemId: string,
policyId: string,
protectionState: string,
sourceResourceId: string,
},
tags={
string: string,
})
const protectionIntentResource = new azure_native.recoveryservices.ProtectionIntent("protectionIntentResource", {
fabricName: "string",
resourceGroupName: "string",
vaultName: "string",
eTag: "string",
intentObjectName: "string",
location: "string",
properties: {
protectionIntentItemType: "RecoveryServiceVaultItem",
backupManagementType: "string",
itemId: "string",
policyId: "string",
protectionState: "string",
sourceResourceId: "string",
},
tags: {
string: "string",
},
});
type: azure-native:recoveryservices:ProtectionIntent
properties:
eTag: string
fabricName: string
intentObjectName: string
location: string
properties:
backupManagementType: string
itemId: string
policyId: string
protectionIntentItemType: RecoveryServiceVaultItem
protectionState: string
sourceResourceId: string
resourceGroupName: string
tags:
string: string
vaultName: string
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:
- Fabric
Name string - Fabric name associated with the backup item.
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Vault
Name string - The name of the recovery services vault.
- ETag string
- Optional ETag.
- Intent
Object stringName - Intent object name.
- Location string
- Resource location.
- Properties
Pulumi.
Azure | Pulumi.Native. Recovery Services. Inputs. Azure Recovery Service Vault Protection Intent Azure | Pulumi.Native. Recovery Services. Inputs. Azure Resource Protection Intent Azure | Pulumi.Native. Recovery Services. Inputs. Azure Workload Auto Protection Intent Azure Native. Recovery Services. Inputs. Azure Workload SQLAuto Protection Intent - ProtectionIntentResource properties
- Dictionary<string, string>
- Resource tags.
- Fabric
Name string - Fabric name associated with the backup item.
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Vault
Name string - The name of the recovery services vault.
- ETag string
- Optional ETag.
- Intent
Object stringName - Intent object name.
- Location string
- Resource location.
- Properties
Azure
Recovery | AzureService Vault Protection Intent Args Resource | AzureProtection Intent Args Workload | AzureAuto Protection Intent Args Workload SQLAuto Protection Intent Args - ProtectionIntentResource properties
- map[string]string
- Resource tags.
- fabric
Name String - Fabric name associated with the backup item.
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- vault
Name String - The name of the recovery services vault.
- e
Tag String - Optional ETag.
- intent
Object StringName - Intent object name.
- location String
- Resource location.
- properties
Azure
Recovery | AzureService Vault Protection Intent Resource | AzureProtection Intent Workload | AzureAuto Protection Intent Workload SQLAuto Protection Intent - ProtectionIntentResource properties
- Map<String,String>
- Resource tags.
- fabric
Name string - Fabric name associated with the backup item.
- resource
Group stringName - The name of the resource group where the recovery services vault is present.
- vault
Name string - The name of the recovery services vault.
- e
Tag string - Optional ETag.
- intent
Object stringName - Intent object name.
- location string
- Resource location.
- properties
Azure
Recovery | AzureService Vault Protection Intent Resource | AzureProtection Intent Workload | AzureAuto Protection Intent Workload SQLAuto Protection Intent - ProtectionIntentResource properties
- {[key: string]: string}
- Resource tags.
- fabric_
name str - Fabric name associated with the backup item.
- resource_
group_ strname - 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_ strname - Intent object name.
- location str
- Resource location.
- properties
Azure
Recovery | AzureService Vault Protection Intent Args Resource | AzureProtection Intent Args Workload | AzureAuto Protection Intent Args Workload SQLAuto Protection Intent Args - ProtectionIntentResource properties
- Mapping[str, str]
- Resource tags.
- fabric
Name String - Fabric name associated with the backup item.
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- vault
Name String - The name of the recovery services vault.
- e
Tag String - Optional ETag.
- intent
Object StringName - Intent object name.
- location String
- Resource location.
- properties Property Map | Property Map | Property Map | Property Map
- ProtectionIntentResource properties
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProtectionIntent resource produces the following output properties:
Supporting Types
AzureRecoveryServiceVaultProtectionIntent, AzureRecoveryServiceVaultProtectionIntentArgs
- Backup
Management string | Pulumi.Type Azure Native. Recovery Services. Backup Management Type - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | Pulumi.Azure Native. Recovery Services. Protection Status - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | ProtectionStatus - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- backup
Management String | BackupType Management Type - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | ProtectionStatus - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string | ProtectionStatus - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- backup_
management_ str | Backuptype Management Type - 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_ strid - ARM ID of the resource to be backed up.
- backup
Management String | "Invalid" | "AzureType Iaas VM" | "MAB" | "DPM" | "Azure Backup Server" | "Azure Sql" | "Azure Storage" | "Azure Workload" | "Default Backup" - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "Protection Failed" - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
AzureRecoveryServiceVaultProtectionIntentResponse, AzureRecoveryServiceVaultProtectionIntentResponseArgs
- Backup
Management stringType - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Backup
Management stringType - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- backup
Management StringType - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- backup
Management stringType - Type of backup management for the backed up item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- backup_
management_ strtype - 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_ strid - ARM ID of the resource to be backed up.
- backup
Management StringType - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
AzureResourceProtectionIntent, AzureResourceProtectionIntentArgs
- Backup
Management string | Pulumi.Type Azure Native. Recovery Services. Backup Management Type - Type of backup management for the backed up item.
- Friendly
Name string - Friendly name of the VM represented by this backup item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | Pulumi.Azure Native. Recovery Services. Protection Status - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- Friendly
Name string - Friendly name of the VM represented by this backup item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | ProtectionStatus - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- backup
Management String | BackupType Management Type - Type of backup management for the backed up item.
- friendly
Name String - Friendly name of the VM represented by this backup item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | ProtectionStatus - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- friendly
Name string - Friendly name of the VM represented by this backup item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string | ProtectionStatus - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- backup_
management_ str | Backuptype Management Type - 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_ strid - ARM ID of the resource to be backed up.
- backup
Management String | "Invalid" | "AzureType Iaas VM" | "MAB" | "DPM" | "Azure Backup Server" | "Azure Sql" | "Azure Storage" | "Azure Workload" | "Default Backup" - Type of backup management for the backed up item.
- friendly
Name String - Friendly name of the VM represented by this backup item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "Protection Failed" - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
AzureResourceProtectionIntentResponse, AzureResourceProtectionIntentResponseArgs
- Backup
Management stringType - Type of backup management for the backed up item.
- Friendly
Name string - Friendly name of the VM represented by this backup item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Backup
Management stringType - Type of backup management for the backed up item.
- Friendly
Name string - Friendly name of the VM represented by this backup item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- backup
Management StringType - Type of backup management for the backed up item.
- friendly
Name String - Friendly name of the VM represented by this backup item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- backup
Management stringType - Type of backup management for the backed up item.
- friendly
Name string - Friendly name of the VM represented by this backup item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- backup_
management_ strtype - 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_ strid - ARM ID of the resource to be backed up.
- backup
Management StringType - Type of backup management for the backed up item.
- friendly
Name String - Friendly name of the VM represented by this backup item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
AzureWorkloadAutoProtectionIntent, AzureWorkloadAutoProtectionIntentArgs
- Backup
Management string | Pulumi.Type Azure Native. Recovery Services. Backup Management Type - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | Pulumi.Azure Native. Recovery Services. Protection Status - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | ProtectionStatus - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- backup
Management String | BackupType Management Type - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | ProtectionStatus - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string | ProtectionStatus - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- backup_
management_ str | Backuptype Management Type - 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_ strid - ARM ID of the resource to be backed up.
- backup
Management String | "Invalid" | "AzureType Iaas VM" | "MAB" | "DPM" | "Azure Backup Server" | "Azure Sql" | "Azure Storage" | "Azure Workload" | "Default Backup" - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "Protection Failed" - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
AzureWorkloadAutoProtectionIntentResponse, AzureWorkloadAutoProtectionIntentResponseArgs
- Backup
Management stringType - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Backup
Management stringType - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- backup
Management StringType - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- backup
Management stringType - Type of backup management for the backed up item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- backup_
management_ strtype - 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_ strid - ARM ID of the resource to be backed up.
- backup
Management StringType - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLAutoProtectionIntentArgs
- Backup
Management string | Pulumi.Type Azure Native. Recovery Services. Backup Management Type - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | Pulumi.Azure Native. Recovery Services. Protection Status - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Workload
Item string | Pulumi.Type Azure Native. Recovery Services. Workload Item Type - Workload item type of the item for which intent is to be set
- Backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string | ProtectionStatus - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Workload
Item string | WorkloadType Item Type - Workload item type of the item for which intent is to be set
- backup
Management String | BackupType Management Type - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | ProtectionStatus - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- workload
Item String | WorkloadType Item Type - Workload item type of the item for which intent is to be set
- backup
Management string | BackupType Management Type - Type of backup management for the backed up item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string | ProtectionStatus - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- workload
Item string | WorkloadType Item Type - Workload item type of the item for which intent is to be set
- backup_
management_ str | Backuptype Management Type - 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_ strid - ARM ID of the resource to be backed up.
- workload_
item_ str | Workloadtype Item Type - Workload item type of the item for which intent is to be set
- backup
Management String | "Invalid" | "AzureType Iaas VM" | "MAB" | "DPM" | "Azure Backup Server" | "Azure Sql" | "Azure Storage" | "Azure Workload" | "Default Backup" - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String | "Invalid" | "NotProtected" | "Protecting" | "Protected" | "Protection Failed" - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- workload
Item String | "Invalid" | "SQLInstance" | "SQLDataType Base" | "SAPHana System" | "SAPHana Database" | "SAPAse System" | "SAPAse Database" - Workload item type of the item for which intent is to be set
AzureWorkloadSQLAutoProtectionIntentResponse, AzureWorkloadSQLAutoProtectionIntentResponseArgs
- Backup
Management stringType - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Workload
Item stringType - Workload item type of the item for which intent is to be set
- Backup
Management stringType - Type of backup management for the backed up item.
- Item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- Policy
Id string - ID of the backup policy with which this item is backed up.
- Protection
State string - Backup state of this backup item.
- Source
Resource stringId - ARM ID of the resource to be backed up.
- Workload
Item stringType - Workload item type of the item for which intent is to be set
- backup
Management StringType - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- workload
Item StringType - Workload item type of the item for which intent is to be set
- backup
Management stringType - Type of backup management for the backed up item.
- item
Id string - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id string - ID of the backup policy with which this item is backed up.
- protection
State string - Backup state of this backup item.
- source
Resource stringId - ARM ID of the resource to be backed up.
- workload
Item stringType - Workload item type of the item for which intent is to be set
- backup_
management_ strtype - 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_ strid - ARM ID of the resource to be backed up.
- workload_
item_ strtype - Workload item type of the item for which intent is to be set
- backup
Management StringType - Type of backup management for the backed up item.
- item
Id String - ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
- policy
Id String - ID of the backup policy with which this item is backed up.
- protection
State String - Backup state of this backup item.
- source
Resource StringId - ARM ID of the resource to be backed up.
- workload
Item StringType - Workload item type of the item for which intent is to be set
BackupManagementType, BackupManagementTypeArgs
- 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
- Backup
Management Type Invalid - Invalid
- Backup
Management Type Azure Iaas VM - AzureIaasVM
- Backup
Management Type MAB - MAB
- Backup
Management Type DPM - DPM
- Backup
Management Type Azure Backup Server - AzureBackupServer
- Backup
Management Type Azure Sql - AzureSql
- Backup
Management Type Azure Storage - AzureStorage
- Backup
Management Type Azure Workload - AzureWorkload
- Backup
Management Type Default Backup - 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
- 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
- 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
- "Azure
Iaas VM" - AzureIaasVM
- "MAB"
- MAB
- "DPM"
- DPM
- "Azure
Backup Server" - AzureBackupServer
- "Azure
Sql" - AzureSql
- "Azure
Storage" - AzureStorage
- "Azure
Workload" - AzureWorkload
- "Default
Backup" - DefaultBackup
ProtectionStatus, ProtectionStatusArgs
- Invalid
- Invalid
- Not
Protected - NotProtected
- Protecting
- Protecting
- Protected
- Protected
- Protection
Failed - ProtectionFailed
- Protection
Status Invalid - Invalid
- Protection
Status Not Protected - NotProtected
- Protection
Status Protecting - Protecting
- Protection
Status Protected - Protected
- Protection
Status Protection Failed - ProtectionFailed
- Invalid
- Invalid
- Not
Protected - NotProtected
- Protecting
- Protecting
- Protected
- Protected
- Protection
Failed - ProtectionFailed
- Invalid
- Invalid
- Not
Protected - NotProtected
- Protecting
- Protecting
- Protected
- Protected
- Protection
Failed - ProtectionFailed
- INVALID
- Invalid
- NOT_PROTECTED
- NotProtected
- PROTECTING
- Protecting
- PROTECTED
- Protected
- PROTECTION_FAILED
- ProtectionFailed
- "Invalid"
- Invalid
- "Not
Protected" - NotProtected
- "Protecting"
- Protecting
- "Protected"
- Protected
- "Protection
Failed" - ProtectionFailed
WorkloadItemType, WorkloadItemTypeArgs
- Invalid
- Invalid
- SQLInstance
- SQLInstance
- SQLData
Base - SQLDataBase
- SAPHana
System - SAPHanaSystem
- SAPHana
Database - SAPHanaDatabase
- SAPAse
System - SAPAseSystem
- SAPAse
Database - SAPAseDatabase
- Workload
Item Type Invalid - Invalid
- Workload
Item Type SQLInstance - SQLInstance
- Workload
Item Type SQLData Base - SQLDataBase
- Workload
Item Type SAPHana System - SAPHanaSystem
- Workload
Item Type SAPHana Database - SAPHanaDatabase
- Workload
Item Type SAPAse System - SAPAseSystem
- Workload
Item Type SAPAse Database - SAPAseDatabase
- Invalid
- Invalid
- SQLInstance
- SQLInstance
- SQLData
Base - SQLDataBase
- SAPHana
System - SAPHanaSystem
- SAPHana
Database - SAPHanaDatabase
- SAPAse
System - SAPAseSystem
- SAPAse
Database - SAPAseDatabase
- Invalid
- Invalid
- SQLInstance
- SQLInstance
- SQLData
Base - SQLDataBase
- SAPHana
System - SAPHanaSystem
- SAPHana
Database - SAPHanaDatabase
- SAPAse
System - SAPAseSystem
- SAPAse
Database - 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
- "SQLData
Base" - SQLDataBase
- "SAPHana
System" - SAPHanaSystem
- "SAPHana
Database" - SAPHanaDatabase
- "SAPAse
System" - SAPAseSystem
- "SAPAse
Database" - 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0