azure-native.recoveryservices.ResourceGuardProxy

Explore with Pulumi AI

API Version: 2021-02-01-preview.

Example Usage

Create ResourceGuardProxy

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

return await Deployment.RunAsync(() => 
{
    var resourceGuardProxy = new AzureNative.RecoveryServices.ResourceGuardProxy("resourceGuardProxy", new()
    {
        ResourceGroupName = "SampleResourceGroup",
        ResourceGuardProxyName = "swaggerExample",
        VaultName = "sampleVault",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := recoveryservices.NewResourceGuardProxy(ctx, "resourceGuardProxy", &recoveryservices.ResourceGuardProxyArgs{
			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.recoveryservices.ResourceGuardProxy;
import com.pulumi.azurenative.recoveryservices.ResourceGuardProxyArgs;
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 resourceGuardProxy = new ResourceGuardProxy("resourceGuardProxy", ResourceGuardProxyArgs.builder()        
            .resourceGroupName("SampleResourceGroup")
            .resourceGuardProxyName("swaggerExample")
            .vaultName("sampleVault")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

resource_guard_proxy = azure_native.recoveryservices.ResourceGuardProxy("resourceGuardProxy",
    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 resourceGuardProxy = new azure_native.recoveryservices.ResourceGuardProxy("resourceGuardProxy", {
    resourceGroupName: "SampleResourceGroup",
    resourceGuardProxyName: "swaggerExample",
    vaultName: "sampleVault",
});
resources:
  resourceGuardProxy:
    type: azure-native:recoveryservices:ResourceGuardProxy
    properties:
      resourceGroupName: SampleResourceGroup
      resourceGuardProxyName: swaggerExample
      vaultName: sampleVault

Create ResourceGuardProxy Resource

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

name string
The unique name of the resource.
args ResourceGuardProxyArgs
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 ResourceGuardProxyArgs
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 ResourceGuardProxyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResourceGuardProxyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ResourceGuardProxyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ResourceGuardProxy 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 ResourceGuardProxy resource accepts the following input properties:

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

ResourceGuardProxyName string
ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

ResourceGuardProxyName string
resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

resourceGuardProxyName String
resourceGroupName string

The name of the resource group where the recovery services vault is present.

vaultName string

The name of the recovery services vault.

resourceGuardProxyName string
resource_group_name str

The name of the resource group where the recovery services vault is present.

vault_name str

The name of the recovery services vault.

resource_guard_proxy_name str
resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

resourceGuardProxyName String

Outputs

All input properties are implicitly available as output properties. Additionally, the ResourceGuardProxy 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.

Properties Pulumi.AzureNative.RecoveryServices.Outputs.ResourceGuardProxyBaseResponse

ResourceGuardProxyBaseResource properties

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

ETag string

Optional ETag.

Location string

Resource location.

Tags Dictionary<string, string>

Resource tags.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name associated with the resource.

Properties ResourceGuardProxyBaseResponse

ResourceGuardProxyBaseResource properties

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

ETag string

Optional ETag.

Location string

Resource location.

Tags map[string]string

Resource tags.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name associated with the resource.

properties ResourceGuardProxyBaseResponse

ResourceGuardProxyBaseResource properties

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

eTag String

Optional ETag.

location String

Resource location.

tags Map<String,String>

Resource tags.

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name associated with the resource.

properties ResourceGuardProxyBaseResponse

ResourceGuardProxyBaseResource properties

type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

eTag string

Optional ETag.

location string

Resource location.

tags {[key: string]: string}

Resource tags.

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name associated with the resource.

properties ResourceGuardProxyBaseResponse

ResourceGuardProxyBaseResource properties

type str

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

e_tag str

Optional ETag.

location str

Resource location.

tags Mapping[str, str]

Resource tags.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name associated with the resource.

properties Property Map

ResourceGuardProxyBaseResource properties

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

eTag String

Optional ETag.

location String

Resource location.

tags Map<String>

Resource tags.

Supporting Types

ResourceGuardOperationDetailResponse

ResourceGuardProxyBaseResponse

Import

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

$ pulumi import azure-native:recoveryservices:ResourceGuardProxy swaggerExample /backupmanagement/resources/sampleVault/backupResourceGuardProxies/swaggerExample 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0