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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:recoveryservices:getProtectionIntent
arguments:
# arguments dictionary
The following arguments are supported:
- Fabric
Name string - Fabric name associated with the backed up item.
- Intent
Object stringName - Backed up item name whose details are to be fetched.
- 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.
- Fabric
Name string - Fabric name associated with the backed up item.
- Intent
Object stringName - Backed up item name whose details are to be fetched.
- 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.
- fabric
Name String - Fabric name associated with the backed up item.
- intent
Object StringName - Backed up item name whose details are to be fetched.
- 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.
- fabric
Name string - Fabric name associated with the backed up item.
- intent
Object stringName - Backed up item name whose details are to be fetched.
- 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.
- 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.
- fabric
Name String - Fabric name associated with the backed up item.
- intent
Object StringName - Backed up item name whose details are to be fetched.
- 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.
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
Azure
Recovery | 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
Azure
Recovery | 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/...
- e
Tag 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
Azure
Recovery | 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/...
- e
Tag 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
Azure
Recovery | 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/...
- e
Tag String - Optional ETag.
- location String
- Resource location.
- Map<String>
- Resource tags.
Supporting Types
AzureRecoveryServiceVaultProtectionIntentResponse
- 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.
AzureResourceProtectionIntentResponse
- 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.
AzureWorkloadAutoProtectionIntentResponse
- 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.
AzureWorkloadContainerAutoProtectionIntentResponse
- 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.
AzureWorkloadSQLAutoProtectionIntentResponse
- 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
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0