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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceGuardProxy(name: string, args: ResourceGuardProxyArgs, opts?: CustomResourceOptions);
@overload
def ResourceGuardProxy(resource_name: str,
args: ResourceGuardProxyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResourceGuardProxy(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
vault_name: Optional[str] = None,
resource_guard_proxy_name: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var resourceGuardProxyResource = new AzureNative.Recoveryservices.ResourceGuardProxy("resourceGuardProxyResource", new()
{
ResourceGroupName = "string",
VaultName = "string",
ResourceGuardProxyName = "string",
});
example, err := recoveryservices.NewResourceGuardProxy(ctx, "resourceGuardProxyResource", &recoveryservices.ResourceGuardProxyArgs{
ResourceGroupName: "string",
VaultName: "string",
ResourceGuardProxyName: "string",
})
var resourceGuardProxyResource = new ResourceGuardProxy("resourceGuardProxyResource", ResourceGuardProxyArgs.builder()
.resourceGroupName("string")
.vaultName("string")
.resourceGuardProxyName("string")
.build());
resource_guard_proxy_resource = azure_native.recoveryservices.ResourceGuardProxy("resourceGuardProxyResource",
resource_group_name=string,
vault_name=string,
resource_guard_proxy_name=string)
const resourceGuardProxyResource = new azure_native.recoveryservices.ResourceGuardProxy("resourceGuardProxyResource", {
resourceGroupName: "string",
vaultName: "string",
resourceGuardProxyName: "string",
});
type: azure-native:recoveryservices:ResourceGuardProxy
properties:
resourceGroupName: string
resourceGuardProxyName: string
vaultName: string
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:
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Vault
Name string - The name of the recovery services vault.
- Resource
Guard stringProxy Name
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Vault
Name string - The name of the recovery services vault.
- Resource
Guard stringProxy Name
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- vault
Name String - The name of the recovery services vault.
- resource
Guard StringProxy Name
- resource
Group stringName - The name of the resource group where the recovery services vault is present.
- vault
Name string - The name of the recovery services vault.
- resource
Guard stringProxy Name
- resource_
group_ strname - 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_ strproxy_ name
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- vault
Name String - The name of the recovery services vault.
- resource
Guard StringProxy Name
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.
Azure Native. Recovery Services. Outputs. Resource Guard Proxy Base Response - ResourceGuardProxyBaseResource properties
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- ETag string
- Optional ETag.
- Location string
- Resource location.
- 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
Resource
Guard Proxy Base Response - ResourceGuardProxyBaseResource properties
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- ETag string
- Optional ETag.
- Location string
- Resource location.
- 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
Resource
Guard Proxy Base Response - ResourceGuardProxyBaseResource properties
- type String
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- e
Tag String - Optional ETag.
- location String
- Resource location.
- 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
Resource
Guard Proxy Base Response - ResourceGuardProxyBaseResource properties
- type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- e
Tag string - Optional ETag.
- location string
- Resource location.
- {[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
Resource
Guard Proxy Base Response - 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.
- 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/...
- e
Tag String - Optional ETag.
- location String
- Resource location.
- Map<String>
- Resource tags.
Supporting Types
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
ResourceGuardProxyBaseResponse, ResourceGuardProxyBaseResponseArgs
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0