1. Packages
  2. Azure Native
  3. API Docs
  4. dataprotection
  5. DppResourceGuardProxy
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.39.0 published on Monday, Apr 29, 2024 by Pulumi

azure-native.dataprotection.DppResourceGuardProxy

Explore with Pulumi AI

azure-native logo
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.39.0 published on Monday, Apr 29, 2024 by Pulumi

    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.

    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 (
    	"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 pulumi
    import pulumi_azure_native as azure_native
    
    dpp_resource_guard_proxy = azure_native.dataprotection.DppResourceGuardProxy("dppResourceGuardProxy",
        properties=azure_native.dataprotection.ResourceGuardProxyBaseArgs(
            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")
    
    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",
    });
    
    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.

    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=azure_native.dataprotection.ResourceGuardProxyBaseArgs(
            description="string",
            last_updated_time="string",
            resource_guard_operation_details=[azure_native.dataprotection.ResourceGuardOperationDetailArgs(
                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

    The DppResourceGuardProxy resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VaultName string
    The name of the backup vault.
    Properties Pulumi.AzureNative.DataProtection.Inputs.ResourceGuardProxyBase
    ResourceGuardProxyBaseResource properties
    ResourceGuardProxyName string
    name of the resource guard proxy
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VaultName string
    The name of the backup vault.
    Properties ResourceGuardProxyBaseArgs
    ResourceGuardProxyBaseResource properties
    ResourceGuardProxyName string
    name of the resource guard proxy
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    vaultName String
    The name of the backup vault.
    properties ResourceGuardProxyBase
    ResourceGuardProxyBaseResource properties
    resourceGuardProxyName String
    name of the resource guard proxy
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    vaultName string
    The name of the backup vault.
    properties ResourceGuardProxyBase
    ResourceGuardProxyBaseResource properties
    resourceGuardProxyName string
    name of the resource guard proxy
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    vault_name str
    The name of the backup vault.
    properties ResourceGuardProxyBaseArgs
    ResourceGuardProxyBaseResource properties
    resource_guard_proxy_name str
    name of the resource guard proxy
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    vaultName String
    The name of the backup vault.
    properties Property Map
    ResourceGuardProxyBaseResource properties
    resourceGuardProxyName 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:

    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/...
    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/...
    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/...
    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/...
    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/...
    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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.39.0 published on Monday, Apr 29, 2024 by Pulumi