1. Packages
  2. Azure Native v1
  3. API Docs
  4. recoveryservices
  5. getProtectionIntent
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.recoveryservices.getProtectionIntent

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API. API Version: 2021-02-01.

Using getProtectionIntent

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getProtectionIntent(args: GetProtectionIntentArgs, opts?: InvokeOptions): Promise<GetProtectionIntentResult>
function getProtectionIntentOutput(args: GetProtectionIntentOutputArgs, opts?: InvokeOptions): Output<GetProtectionIntentResult>
Copy
def get_protection_intent(fabric_name: Optional[str] = None,
                          intent_object_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          vault_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetProtectionIntentResult
def get_protection_intent_output(fabric_name: Optional[pulumi.Input[str]] = None,
                          intent_object_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          vault_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetProtectionIntentResult]
Copy
func LookupProtectionIntent(ctx *Context, args *LookupProtectionIntentArgs, opts ...InvokeOption) (*LookupProtectionIntentResult, error)
func LookupProtectionIntentOutput(ctx *Context, args *LookupProtectionIntentOutputArgs, opts ...InvokeOption) LookupProtectionIntentResultOutput
Copy

> Note: This function is named LookupProtectionIntent in the Go SDK.

public static class GetProtectionIntent 
{
    public static Task<GetProtectionIntentResult> InvokeAsync(GetProtectionIntentArgs args, InvokeOptions? opts = null)
    public static Output<GetProtectionIntentResult> Invoke(GetProtectionIntentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProtectionIntentResult> getProtectionIntent(GetProtectionIntentArgs args, InvokeOptions options)
public static Output<GetProtectionIntentResult> getProtectionIntent(GetProtectionIntentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:recoveryservices:getProtectionIntent
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FabricName
This property is required.
Changes to this property will trigger replacement.
string
Fabric name associated with the backed up item.
IntentObjectName
This property is required.
Changes to this property will trigger replacement.
string
Backed up item name whose details are to be fetched.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group where the recovery services vault is present.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the recovery services vault.
FabricName
This property is required.
Changes to this property will trigger replacement.
string
Fabric name associated with the backed up item.
IntentObjectName
This property is required.
Changes to this property will trigger replacement.
string
Backed up item name whose details are to be fetched.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group where the recovery services vault is present.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the recovery services vault.
fabricName
This property is required.
Changes to this property will trigger replacement.
String
Fabric name associated with the backed up item.
intentObjectName
This property is required.
Changes to this property will trigger replacement.
String
Backed up item name whose details are to be fetched.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group where the recovery services vault is present.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The name of the recovery services vault.
fabricName
This property is required.
Changes to this property will trigger replacement.
string
Fabric name associated with the backed up item.
intentObjectName
This property is required.
Changes to this property will trigger replacement.
string
Backed up item name whose details are to be fetched.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group where the recovery services vault is present.
vaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the recovery services vault.
fabric_name
This property is required.
Changes to this property will trigger replacement.
str
Fabric name associated with the backed up item.
intent_object_name
This property is required.
Changes to this property will trigger replacement.
str
Backed up item name whose details are to be fetched.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group where the recovery services vault is present.
vault_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the recovery services vault.
fabricName
This property is required.
Changes to this property will trigger replacement.
String
Fabric name associated with the backed up item.
intentObjectName
This property is required.
Changes to this property will trigger replacement.
String
Backed up item name whose details are to be fetched.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group where the recovery services vault is present.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The name of the recovery services vault.

getProtectionIntent Result

The following output properties are available:

Id string
Resource Id represents the complete path to the resource.
Name string
Resource name associated with the resource.
Properties Pulumi.AzureNative.RecoveryServices.Outputs.AzureRecoveryServiceVaultProtectionIntentResponse | Pulumi.AzureNative.RecoveryServices.Outputs.AzureResourceProtectionIntentResponse | Pulumi.AzureNative.RecoveryServices.Outputs.AzureWorkloadAutoProtectionIntentResponse | Pulumi.AzureNative.RecoveryServices.Outputs.AzureWorkloadSQLAutoProtectionIntentResponse
ProtectionIntentResource properties
Type string
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
ETag string
Optional ETag.
Location string
Resource location.
Tags Dictionary<string, string>
Resource tags.
Id string
Resource Id represents the complete path to the resource.
Name string
Resource name associated with the resource.
Properties AzureRecoveryServiceVaultProtectionIntentResponse | AzureResourceProtectionIntentResponse | AzureWorkloadAutoProtectionIntentResponse | AzureWorkloadSQLAutoProtectionIntentResponse
ProtectionIntentResource properties
Type string
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
ETag string
Optional ETag.
Location string
Resource location.
Tags map[string]string
Resource tags.
id String
Resource Id represents the complete path to the resource.
name String
Resource name associated with the resource.
properties AzureRecoveryServiceVaultProtectionIntentResponse | AzureResourceProtectionIntentResponse | AzureWorkloadAutoProtectionIntentResponse | AzureWorkloadSQLAutoProtectionIntentResponse
ProtectionIntentResource properties
type String
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
eTag String
Optional ETag.
location String
Resource location.
tags Map<String,String>
Resource tags.
id string
Resource Id represents the complete path to the resource.
name string
Resource name associated with the resource.
properties AzureRecoveryServiceVaultProtectionIntentResponse | AzureResourceProtectionIntentResponse | AzureWorkloadAutoProtectionIntentResponse | AzureWorkloadSQLAutoProtectionIntentResponse
ProtectionIntentResource properties
type string
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
eTag string
Optional ETag.
location string
Resource location.
tags {[key: string]: string}
Resource tags.
id str
Resource Id represents the complete path to the resource.
name str
Resource name associated with the resource.
properties AzureRecoveryServiceVaultProtectionIntentResponse | AzureResourceProtectionIntentResponse | AzureWorkloadAutoProtectionIntentResponse | AzureWorkloadSQLAutoProtectionIntentResponse
ProtectionIntentResource properties
type str
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
e_tag str
Optional ETag.
location str
Resource location.
tags Mapping[str, str]
Resource tags.
id String
Resource Id represents the complete path to the resource.
name String
Resource name associated with the resource.
properties Property Map | Property Map | Property Map | Property Map
ProtectionIntentResource properties
type String
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
eTag String
Optional ETag.
location String
Resource location.
tags Map<String>
Resource tags.

Supporting Types

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.

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.

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.

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

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi