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.
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 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.
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=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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Vault
Name string - The name of the backup vault.
- Properties
Pulumi.
Azure Native. Data Protection. Inputs. Resource Guard Proxy Base - ResourceGuardProxyBaseResource properties
- Resource
Guard stringProxy Name - name of the resource guard proxy
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Vault
Name string - The name of the backup vault.
- Properties
Resource
Guard Proxy Base Args - ResourceGuardProxyBaseResource properties
- Resource
Guard stringProxy Name - name of the resource guard proxy
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- vault
Name String - The name of the backup vault.
- properties
Resource
Guard Proxy Base - ResourceGuardProxyBaseResource properties
- resource
Guard StringProxy Name - name of the resource guard proxy
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- vault
Name string - The name of the backup vault.
- properties
Resource
Guard Proxy Base - ResourceGuardProxyBaseResource properties
- resource
Guard 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
Resource
Guard Proxy Base Args - ResourceGuardProxyBaseResource properties
- resource_
guard_ strproxy_ name - name of the resource guard proxy
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- vault
Name String - The name of the backup vault.
- properties Property Map
- ResourceGuardProxyBaseResource properties
- resource
Guard 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.
- System
Data 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.
- System
Data 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.
- system
Data 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.
- system
Data 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.
- system
Data 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
- Default
Resource stringRequest - Vault
Critical stringOperation
- Default
Resource stringRequest - Vault
Critical stringOperation
- default
Resource StringRequest - vault
Critical StringOperation
- default
Resource stringRequest - vault
Critical stringOperation
- default
Resource StringRequest - vault
Critical StringOperation
ResourceGuardOperationDetailResponse, ResourceGuardOperationDetailResponseArgs
- Default
Resource stringRequest - Vault
Critical stringOperation
- Default
Resource stringRequest - Vault
Critical stringOperation
- default
Resource StringRequest - vault
Critical StringOperation
- default
Resource stringRequest - vault
Critical stringOperation
- default
Resource StringRequest - vault
Critical StringOperation
ResourceGuardProxyBase, ResourceGuardProxyBaseArgs
ResourceGuardProxyBaseResponse, ResourceGuardProxyBaseResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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