1. Packages
  2. Azure Native
  3. API Docs
  4. dataprotection
  5. DppResourceGuardProxy
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.dataprotection.DppResourceGuardProxy

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs

Uses Azure REST API version 2025-01-01. In version 2.x of the Azure Native provider, it used API version 2023-01-01.

Other available API versions: 2023-01-01, 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-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dataprotection [ApiVersion]. See the version guide for details.

Example Usage

Create ResourceGuardProxy

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var dppResourceGuardProxy = new AzureNative.DataProtection.DppResourceGuardProxy("dppResourceGuardProxy", new()
    {
        Properties = new AzureNative.DataProtection.Inputs.ResourceGuardProxyBaseArgs
        {
            ResourceGuardResourceId = "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource",
        },
        ResourceGroupName = "SampleResourceGroup",
        ResourceGuardProxyName = "swaggerExample",
        VaultName = "sampleVault",
    });

});
Copy
package main

import (
	dataprotection "github.com/pulumi/pulumi-azure-native-sdk/dataprotection/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dataprotection.NewDppResourceGuardProxy(ctx, "dppResourceGuardProxy", &dataprotection.DppResourceGuardProxyArgs{
			Properties: &dataprotection.ResourceGuardProxyBaseArgs{
				ResourceGuardResourceId: pulumi.String("/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource"),
			},
			ResourceGroupName:      pulumi.String("SampleResourceGroup"),
			ResourceGuardProxyName: pulumi.String("swaggerExample"),
			VaultName:              pulumi.String("sampleVault"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dataprotection.DppResourceGuardProxy;
import com.pulumi.azurenative.dataprotection.DppResourceGuardProxyArgs;
import com.pulumi.azurenative.dataprotection.inputs.ResourceGuardProxyBaseArgs;
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 dppResourceGuardProxy = new DppResourceGuardProxy("dppResourceGuardProxy", DppResourceGuardProxyArgs.builder()
            .properties(ResourceGuardProxyBaseArgs.builder()
                .resourceGuardResourceId("/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource")
                .build())
            .resourceGroupName("SampleResourceGroup")
            .resourceGuardProxyName("swaggerExample")
            .vaultName("sampleVault")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const dppResourceGuardProxy = new azure_native.dataprotection.DppResourceGuardProxy("dppResourceGuardProxy", {
    properties: {
        resourceGuardResourceId: "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource",
    },
    resourceGroupName: "SampleResourceGroup",
    resourceGuardProxyName: "swaggerExample",
    vaultName: "sampleVault",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

dpp_resource_guard_proxy = azure_native.dataprotection.DppResourceGuardProxy("dppResourceGuardProxy",
    properties={
        "resource_guard_resource_id": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource",
    },
    resource_group_name="SampleResourceGroup",
    resource_guard_proxy_name="swaggerExample",
    vault_name="sampleVault")
Copy
resources:
  dppResourceGuardProxy:
    type: azure-native:dataprotection:DppResourceGuardProxy
    properties:
      properties:
        resourceGuardResourceId: /subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource
      resourceGroupName: SampleResourceGroup
      resourceGuardProxyName: swaggerExample
      vaultName: sampleVault
Copy

Create DppResourceGuardProxy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DppResourceGuardProxy(name: string, args: DppResourceGuardProxyArgs, opts?: CustomResourceOptions);
@overload
def DppResourceGuardProxy(resource_name: str,
                          args: DppResourceGuardProxyArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def DppResourceGuardProxy(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          resource_group_name: Optional[str] = None,
                          vault_name: Optional[str] = None,
                          properties: Optional[ResourceGuardProxyBaseArgs] = None,
                          resource_guard_proxy_name: Optional[str] = None)
func NewDppResourceGuardProxy(ctx *Context, name string, args DppResourceGuardProxyArgs, opts ...ResourceOption) (*DppResourceGuardProxy, error)
public DppResourceGuardProxy(string name, DppResourceGuardProxyArgs args, CustomResourceOptions? opts = null)
public DppResourceGuardProxy(String name, DppResourceGuardProxyArgs args)
public DppResourceGuardProxy(String name, DppResourceGuardProxyArgs args, CustomResourceOptions options)
type: azure-native:dataprotection:DppResourceGuardProxy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DppResourceGuardProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DppResourceGuardProxyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DppResourceGuardProxyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DppResourceGuardProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DppResourceGuardProxyArgs
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 dppResourceGuardProxyResource = new AzureNative.DataProtection.DppResourceGuardProxy("dppResourceGuardProxyResource", new()
{
    ResourceGroupName = "string",
    VaultName = "string",
    Properties = new AzureNative.DataProtection.Inputs.ResourceGuardProxyBaseArgs
    {
        Description = "string",
        LastUpdatedTime = "string",
        ResourceGuardOperationDetails = new[]
        {
            new AzureNative.DataProtection.Inputs.ResourceGuardOperationDetailArgs
            {
                DefaultResourceRequest = "string",
                VaultCriticalOperation = "string",
            },
        },
        ResourceGuardResourceId = "string",
    },
    ResourceGuardProxyName = "string",
});
Copy
example, err := dataprotection.NewDppResourceGuardProxy(ctx, "dppResourceGuardProxyResource", &dataprotection.DppResourceGuardProxyArgs{
	ResourceGroupName: pulumi.String("string"),
	VaultName:         pulumi.String("string"),
	Properties: &dataprotection.ResourceGuardProxyBaseArgs{
		Description:     pulumi.String("string"),
		LastUpdatedTime: pulumi.String("string"),
		ResourceGuardOperationDetails: dataprotection.ResourceGuardOperationDetailArray{
			&dataprotection.ResourceGuardOperationDetailArgs{
				DefaultResourceRequest: pulumi.String("string"),
				VaultCriticalOperation: pulumi.String("string"),
			},
		},
		ResourceGuardResourceId: pulumi.String("string"),
	},
	ResourceGuardProxyName: pulumi.String("string"),
})
Copy
var dppResourceGuardProxyResource = new DppResourceGuardProxy("dppResourceGuardProxyResource", DppResourceGuardProxyArgs.builder()
    .resourceGroupName("string")
    .vaultName("string")
    .properties(ResourceGuardProxyBaseArgs.builder()
        .description("string")
        .lastUpdatedTime("string")
        .resourceGuardOperationDetails(ResourceGuardOperationDetailArgs.builder()
            .defaultResourceRequest("string")
            .vaultCriticalOperation("string")
            .build())
        .resourceGuardResourceId("string")
        .build())
    .resourceGuardProxyName("string")
    .build());
Copy
dpp_resource_guard_proxy_resource = azure_native.dataprotection.DppResourceGuardProxy("dppResourceGuardProxyResource",
    resource_group_name="string",
    vault_name="string",
    properties={
        "description": "string",
        "last_updated_time": "string",
        "resource_guard_operation_details": [{
            "default_resource_request": "string",
            "vault_critical_operation": "string",
        }],
        "resource_guard_resource_id": "string",
    },
    resource_guard_proxy_name="string")
Copy
const dppResourceGuardProxyResource = new azure_native.dataprotection.DppResourceGuardProxy("dppResourceGuardProxyResource", {
    resourceGroupName: "string",
    vaultName: "string",
    properties: {
        description: "string",
        lastUpdatedTime: "string",
        resourceGuardOperationDetails: [{
            defaultResourceRequest: "string",
            vaultCriticalOperation: "string",
        }],
        resourceGuardResourceId: "string",
    },
    resourceGuardProxyName: "string",
});
Copy
type: azure-native:dataprotection:DppResourceGuardProxy
properties:
    properties:
        description: string
        lastUpdatedTime: string
        resourceGuardOperationDetails:
            - defaultResourceRequest: string
              vaultCriticalOperation: string
        resourceGuardResourceId: string
    resourceGroupName: string
    resourceGuardProxyName: string
    vaultName: string
Copy

DppResourceGuardProxy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DppResourceGuardProxy resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the backup vault.
Properties Pulumi.AzureNative.DataProtection.Inputs.ResourceGuardProxyBase
ResourceGuardProxyBaseResource properties
ResourceGuardProxyName Changes to this property will trigger replacement. string
name of the resource guard proxy
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the backup vault.
Properties ResourceGuardProxyBaseArgs
ResourceGuardProxyBaseResource properties
ResourceGuardProxyName Changes to this property will trigger replacement. string
name of the resource guard proxy
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The name of the backup vault.
properties ResourceGuardProxyBase
ResourceGuardProxyBaseResource properties
resourceGuardProxyName Changes to this property will trigger replacement. String
name of the resource guard proxy
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
string
The name of the backup vault.
properties ResourceGuardProxyBase
ResourceGuardProxyBaseResource properties
resourceGuardProxyName Changes to this property will trigger replacement. string
name of the resource guard proxy
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
vault_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the backup vault.
properties ResourceGuardProxyBaseArgs
ResourceGuardProxyBaseResource properties
resource_guard_proxy_name Changes to this property will trigger replacement. str
name of the resource guard proxy
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The name of the backup vault.
properties Property Map
ResourceGuardProxyBaseResource properties
resourceGuardProxyName Changes to this property will trigger replacement. String
name of the resource guard proxy

Outputs

All input properties are implicitly available as output properties. Additionally, the DppResourceGuardProxy resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name associated with the resource.
SystemData Pulumi.AzureNative.DataProtection.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name associated with the resource.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name associated with the resource.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name associated with the resource.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name associated with the resource.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name associated with the resource.
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/...

Supporting Types

ResourceGuardOperationDetail
, ResourceGuardOperationDetailArgs

ResourceGuardOperationDetailResponse
, ResourceGuardOperationDetailResponseArgs

ResourceGuardProxyBase
, ResourceGuardProxyBaseArgs

ResourceGuardProxyBaseResponse
, ResourceGuardProxyBaseResponseArgs

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
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.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
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.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
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.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
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.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:dataprotection:DppResourceGuardProxy swaggerExample /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

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 v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi