azure-native.dataprotection.DppResourceGuardProxy
Explore with Pulumi AI
ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs Azure REST API version: 2023-01-01.
Other available API versions: 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.
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",
    });
});
package main
import (
	dataprotection "github.com/pulumi/pulumi-azure-native-sdk/dataprotection/v2"
	"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
	})
}
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());
    }
}
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",
});
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")
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
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 string
- The unique name of the resource.
- args DppResourceGuardProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args DppResourceGuardProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DppResourceGuardProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
type: azure-native:dataprotection:DppResourceGuardProxy
properties:
    properties:
        description: string
        lastUpdatedTime: string
        resourceGuardOperationDetails:
            - defaultResourceRequest: string
              vaultCriticalOperation: string
        resourceGuardResourceId: string
    resourceGroupName: string
    resourceGuardProxyName: string
    vaultName: string
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:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- VaultName string
- The name of the backup vault.
- Properties
Pulumi.Azure Native. Data Protection. Inputs. Resource Guard Proxy Base 
- ResourceGuardProxyBaseResource properties
- ResourceGuard stringProxy Name 
- name of the resource guard proxy
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- VaultName string
- The name of the backup vault.
- Properties
ResourceGuard Proxy Base Args 
- ResourceGuardProxyBaseResource properties
- ResourceGuard stringProxy Name 
- name of the resource guard proxy
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- vaultName String
- The name of the backup vault.
- properties
ResourceGuard Proxy Base 
- ResourceGuardProxyBaseResource properties
- resourceGuard StringProxy Name 
- name of the resource guard proxy
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- vaultName string
- The name of the backup vault.
- properties
ResourceGuard Proxy Base 
- ResourceGuardProxyBaseResource properties
- resourceGuard stringProxy Name 
- name of the resource guard proxy
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- vault_name str
- The name of the backup vault.
- properties
ResourceGuard Proxy Base Args 
- ResourceGuardProxyBaseResource properties
- resource_guard_ strproxy_ name 
- name of the resource guard proxy
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- vaultName String
- The name of the backup vault.
- properties Property Map
- ResourceGuardProxyBaseResource properties
- resourceGuard StringProxy Name 
- 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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name associated with the resource.
- 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/...
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name associated with the resource.
- 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/...
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name associated with the resource.
- 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/...
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name associated with the resource.
- 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/...
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name associated with the resource.
- 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/...
- 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        
- DefaultResource stringRequest 
- VaultCritical stringOperation 
- DefaultResource stringRequest 
- VaultCritical stringOperation 
- defaultResource StringRequest 
- vaultCritical StringOperation 
- defaultResource stringRequest 
- vaultCritical stringOperation 
- defaultResource StringRequest 
- vaultCritical StringOperation 
ResourceGuardOperationDetailResponse, ResourceGuardOperationDetailResponseArgs          
- DefaultResource stringRequest 
- VaultCritical stringOperation 
- DefaultResource stringRequest 
- VaultCritical stringOperation 
- defaultResource StringRequest 
- vaultCritical StringOperation 
- defaultResource stringRequest 
- vaultCritical stringOperation 
- defaultResource StringRequest 
- vaultCritical StringOperation 
ResourceGuardProxyBase, ResourceGuardProxyBaseArgs        
ResourceGuardProxyBaseResponse, ResourceGuardProxyBaseResponseArgs          
SystemDataResponse, SystemDataResponseArgs      
- 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.
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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0