This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.dataprotection.getResourceGuard
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Azure REST API version: 2023-01-01.
Other available API versions: 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01, 2025-01-01.
Using getResourceGuard
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 getResourceGuard(args: GetResourceGuardArgs, opts?: InvokeOptions): Promise<GetResourceGuardResult>
function getResourceGuardOutput(args: GetResourceGuardOutputArgs, opts?: InvokeOptions): Output<GetResourceGuardResult>def get_resource_guard(resource_group_name: Optional[str] = None,
                       resource_guards_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetResourceGuardResult
def get_resource_guard_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                       resource_guards_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetResourceGuardResult]func LookupResourceGuard(ctx *Context, args *LookupResourceGuardArgs, opts ...InvokeOption) (*LookupResourceGuardResult, error)
func LookupResourceGuardOutput(ctx *Context, args *LookupResourceGuardOutputArgs, opts ...InvokeOption) LookupResourceGuardResultOutput> Note: This function is named LookupResourceGuard in the Go SDK.
public static class GetResourceGuard 
{
    public static Task<GetResourceGuardResult> InvokeAsync(GetResourceGuardArgs args, InvokeOptions? opts = null)
    public static Output<GetResourceGuardResult> Invoke(GetResourceGuardInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResourceGuardResult> getResourceGuard(GetResourceGuardArgs args, InvokeOptions options)
public static Output<GetResourceGuardResult> getResourceGuard(GetResourceGuardArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:dataprotection:getResourceGuard
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceGuards stringName 
- The name of ResourceGuard
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ResourceGuards stringName 
- The name of ResourceGuard
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceGuards StringName 
- The name of ResourceGuard
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- resourceGuards stringName 
- The name of ResourceGuard
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- resource_guards_ strname 
- The name of ResourceGuard
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- resourceGuards StringName 
- The name of ResourceGuard
getResourceGuard 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 Native. Data Protection. Outputs. Resource Guard Response 
- ResourceGuardResource properties
- SystemData Pulumi.Azure Native. Data Protection. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- 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
ResourceGuard Response 
- ResourceGuardResource properties
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- 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
ResourceGuard Response 
- ResourceGuardResource properties
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- 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
ResourceGuard Response 
- ResourceGuardResource properties
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- 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
ResourceGuard Response 
- ResourceGuardResource properties
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- 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
- ResourceGuardResource properties
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- 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
ResourceGuardOperationResponse   
- RequestResource stringType 
- Type of resource request.
- VaultCritical stringOperation 
- Name of the critical operation.
- RequestResource stringType 
- Type of resource request.
- VaultCritical stringOperation 
- Name of the critical operation.
- requestResource StringType 
- Type of resource request.
- vaultCritical StringOperation 
- Name of the critical operation.
- requestResource stringType 
- Type of resource request.
- vaultCritical stringOperation 
- Name of the critical operation.
- request_resource_ strtype 
- Type of resource request.
- vault_critical_ stroperation 
- Name of the critical operation.
- requestResource StringType 
- Type of resource request.
- vaultCritical StringOperation 
- Name of the critical operation.
ResourceGuardResponse  
- AllowAuto boolApprovals 
- This flag indicates whether auto approval is allowed or not.
- Description string
- Description about the pre-req steps to perform all the critical operations.
- ProvisioningState string
- Provisioning state of the BackupVault resource
- ResourceGuard List<Pulumi.Operations Azure Native. Data Protection. Inputs. Resource Guard Operation Response> 
- {readonly} List of operation details those are protected by the ResourceGuard resource
- VaultCritical List<string>Operation Exclusion List 
- List of critical operations which are not protected by this resourceGuard
- AllowAuto boolApprovals 
- This flag indicates whether auto approval is allowed or not.
- Description string
- Description about the pre-req steps to perform all the critical operations.
- ProvisioningState string
- Provisioning state of the BackupVault resource
- ResourceGuard []ResourceOperations Guard Operation Response 
- {readonly} List of operation details those are protected by the ResourceGuard resource
- VaultCritical []stringOperation Exclusion List 
- List of critical operations which are not protected by this resourceGuard
- allowAuto BooleanApprovals 
- This flag indicates whether auto approval is allowed or not.
- description String
- Description about the pre-req steps to perform all the critical operations.
- provisioningState String
- Provisioning state of the BackupVault resource
- resourceGuard List<ResourceOperations Guard Operation Response> 
- {readonly} List of operation details those are protected by the ResourceGuard resource
- vaultCritical List<String>Operation Exclusion List 
- List of critical operations which are not protected by this resourceGuard
- allowAuto booleanApprovals 
- This flag indicates whether auto approval is allowed or not.
- description string
- Description about the pre-req steps to perform all the critical operations.
- provisioningState string
- Provisioning state of the BackupVault resource
- resourceGuard ResourceOperations Guard Operation Response[] 
- {readonly} List of operation details those are protected by the ResourceGuard resource
- vaultCritical string[]Operation Exclusion List 
- List of critical operations which are not protected by this resourceGuard
- allow_auto_ boolapprovals 
- This flag indicates whether auto approval is allowed or not.
- description str
- Description about the pre-req steps to perform all the critical operations.
- provisioning_state str
- Provisioning state of the BackupVault resource
- resource_guard_ Sequence[Resourceoperations Guard Operation Response] 
- {readonly} List of operation details those are protected by the ResourceGuard resource
- vault_critical_ Sequence[str]operation_ exclusion_ list 
- List of critical operations which are not protected by this resourceGuard
- allowAuto BooleanApprovals 
- This flag indicates whether auto approval is allowed or not.
- description String
- Description about the pre-req steps to perform all the critical operations.
- provisioningState String
- Provisioning state of the BackupVault resource
- resourceGuard List<Property Map>Operations 
- {readonly} List of operation details those are protected by the ResourceGuard resource
- vaultCritical List<String>Operation Exclusion List 
- List of critical operations which are not protected by this resourceGuard
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi