azure-native.recoveryservices.getProtectionIntent
Explore with Pulumi AI
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. Azure REST API version: 2023-04-01.
Other available API versions: 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-04-30-preview, 2024-07-30-preview, 2024-10-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>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]func LookupProtectionIntent(ctx *Context, args *LookupProtectionIntentArgs, opts ...InvokeOption) (*LookupProtectionIntentResult, error)
func LookupProtectionIntentOutput(ctx *Context, args *LookupProtectionIntentOutputArgs, opts ...InvokeOption) LookupProtectionIntentResultOutput> 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)
}public static CompletableFuture<GetProtectionIntentResult> getProtectionIntent(GetProtectionIntentArgs args, InvokeOptions options)
public static Output<GetProtectionIntentResult> getProtectionIntent(GetProtectionIntentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:recoveryservices:getProtectionIntent
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FabricName string
- Fabric name associated with the backed up item.
- IntentObject stringName 
- Backed up item name whose details are to be fetched.
- ResourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- VaultName string
- The name of the recovery services vault.
- FabricName string
- Fabric name associated with the backed up item.
- IntentObject stringName 
- Backed up item name whose details are to be fetched.
- ResourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- VaultName string
- The name of the recovery services vault.
- fabricName String
- Fabric name associated with the backed up item.
- intentObject StringName 
- Backed up item name whose details are to be fetched.
- resourceGroup StringName 
- The name of the resource group where the recovery services vault is present.
- vaultName String
- The name of the recovery services vault.
- fabricName string
- Fabric name associated with the backed up item.
- intentObject stringName 
- Backed up item name whose details are to be fetched.
- resourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- vaultName string
- The name of the recovery services vault.
- fabric_name str
- Fabric name associated with the backed up item.
- intent_object_ strname 
- Backed up item name whose details are to be fetched.
- 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.
- fabricName String
- Fabric name associated with the backed up item.
- intentObject StringName 
- Backed up item name whose details are to be fetched.
- resourceGroup StringName 
- The name of the resource group where the recovery services vault is present.
- vaultName 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.Azure | Pulumi.Native. Recovery Services. Outputs. Azure Recovery Service Vault Protection Intent Response Azure | Pulumi.Native. Recovery Services. Outputs. Azure Resource Protection Intent Response Azure | Pulumi.Native. Recovery Services. Outputs. Azure Workload Auto Protection Intent Response Azure | Pulumi.Native. Recovery Services. Outputs. Azure Workload Container Auto Protection Intent Response Azure Native. Recovery Services. Outputs. Azure Workload SQLAuto Protection Intent Response 
- ProtectionIntentResource properties
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- ETag string
- Optional ETag.
- Location string
- Resource location.
- 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
AzureRecovery | AzureService Vault Protection Intent Response Resource | AzureProtection Intent Response Workload | AzureAuto Protection Intent Response Workload | AzureContainer Auto Protection Intent Response Workload SQLAuto Protection Intent Response 
- ProtectionIntentResource properties
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- ETag string
- Optional ETag.
- Location string
- Resource location.
- 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
AzureRecovery | AzureService Vault Protection Intent Response Resource | AzureProtection Intent Response Workload | AzureAuto Protection Intent Response Workload | AzureContainer Auto Protection Intent Response Workload SQLAuto Protection Intent Response 
- ProtectionIntentResource properties
- type String
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- eTag String
- Optional ETag.
- location String
- Resource location.
- 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
AzureRecovery | AzureService Vault Protection Intent Response Resource | AzureProtection Intent Response Workload | AzureAuto Protection Intent Response Workload | AzureContainer Auto Protection Intent Response Workload SQLAuto Protection Intent Response 
- ProtectionIntentResource properties
- type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- eTag string
- Optional ETag.
- location string
- Resource location.
- {[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
AzureRecovery | AzureService Vault Protection Intent Response Resource | AzureProtection Intent Response Workload | AzureAuto Protection Intent Response Workload | AzureContainer Auto Protection Intent Response Workload SQLAuto Protection Intent Response 
- 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.
- 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 | 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.
- Map<String>
- Resource tags.
Supporting Types
AzureRecoveryServiceVaultProtectionIntentResponse      
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
- backupManagement stringType 
- 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.
- sourceResource 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.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
AzureResourceProtectionIntentResponse    
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
- backupManagement stringType 
- 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.
- sourceResource 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.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
AzureWorkloadAutoProtectionIntentResponse     
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
- backupManagement stringType 
- 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.
- sourceResource 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.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
AzureWorkloadContainerAutoProtectionIntentResponse      
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
- backupManagement stringType 
- 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.
- sourceResource 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.
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
AzureWorkloadSQLAutoProtectionIntentResponse     
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- WorkloadItem stringType 
- Workload item type of the item for which intent is to be set
- BackupManagement stringType 
- 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.
- SourceResource stringId 
- ARM ID of the resource to be backed up.
- WorkloadItem stringType 
- Workload item type of the item for which intent is to be set
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
- workloadItem StringType 
- Workload item type of the item for which intent is to be set
- backupManagement stringType 
- 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.
- sourceResource stringId 
- ARM ID of the resource to be backed up.
- workloadItem 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
- backupManagement StringType 
- 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.
- sourceResource StringId 
- ARM ID of the resource to be backed up.
- workloadItem StringType 
- Workload item type of the item for which intent is to be set
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0