azure-native-v2.recoveryservices.ResourceGuardProxy
Explore with Pulumi AI
Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2021-02-01-preview.
Other available API versions: 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-04-30-preview, 2024-07-30-preview, 2024-10-01.
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,
e_tag: Optional[str] = None,
location: Optional[str] = None,
properties: Optional[ResourceGuardProxyBaseArgs] = None,
resource_guard_proxy_name: Optional[str] = None,
tags: Optional[Mapping[str, 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
This property is required. string - The unique name of the resource.
- args
This property is required. ResourceGuardProxyArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ResourceGuardProxyArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ResourceGuardProxyArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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",
ETag = "string",
Location = "string",
Properties =
{
{ "description", "string" },
{ "lastUpdatedTime", "string" },
{ "resourceGuardOperationDetails", new[]
{
{
{ "defaultResourceRequest", "string" },
{ "vaultCriticalOperation", "string" },
},
} },
{ "resourceGuardResourceId", "string" },
},
ResourceGuardProxyName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := recoveryservices.NewResourceGuardProxy(ctx, "resourceGuardProxyResource", &recoveryservices.ResourceGuardProxyArgs{
ResourceGroupName: "string",
VaultName: "string",
ETag: "string",
Location: "string",
Properties: map[string]interface{}{
"description": "string",
"lastUpdatedTime": "string",
"resourceGuardOperationDetails": []map[string]interface{}{
map[string]interface{}{
"defaultResourceRequest": "string",
"vaultCriticalOperation": "string",
},
},
"resourceGuardResourceId": "string",
},
ResourceGuardProxyName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var resourceGuardProxyResource = new ResourceGuardProxy("resourceGuardProxyResource", ResourceGuardProxyArgs.builder()
.resourceGroupName("string")
.vaultName("string")
.eTag("string")
.location("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGuardProxyName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
resource_guard_proxy_resource = azure_native.recoveryservices.ResourceGuardProxy("resourceGuardProxyResource",
resource_group_name=string,
vault_name=string,
e_tag=string,
location=string,
properties={
description: string,
lastUpdatedTime: string,
resourceGuardOperationDetails: [{
defaultResourceRequest: string,
vaultCriticalOperation: string,
}],
resourceGuardResourceId: string,
},
resource_guard_proxy_name=string,
tags={
string: string,
})
const resourceGuardProxyResource = new azure_native.recoveryservices.ResourceGuardProxy("resourceGuardProxyResource", {
resourceGroupName: "string",
vaultName: "string",
eTag: "string",
location: "string",
properties: {
description: "string",
lastUpdatedTime: "string",
resourceGuardOperationDetails: [{
defaultResourceRequest: "string",
vaultCriticalOperation: "string",
}],
resourceGuardResourceId: "string",
},
resourceGuardProxyName: "string",
tags: {
string: "string",
},
});
type: azure-native:recoveryservices:ResourceGuardProxy
properties:
eTag: string
location: string
properties:
description: string
lastUpdatedTime: string
resourceGuardOperationDetails:
- defaultResourceRequest: string
vaultCriticalOperation: string
resourceGuardResourceId: string
resourceGroupName: string
resourceGuardProxyName: string
tags:
string: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ResourceGuardProxy resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the recovery services vault is present.
- Vault
Name This property is required. Changes to this property will trigger replacement.
- The name of the recovery services vault.
- ETag string
- Optional ETag.
- Location string
- Resource location.
- Properties
Pulumi.
Azure Native. Recovery Services. Inputs. Resource Guard Proxy Base - ResourceGuardProxyBaseResource properties
- Resource
Guard Proxy Name Changes to this property will trigger replacement.
- Dictionary<string, string>
- Resource tags.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the recovery services vault is present.
- Vault
Name This property is required. Changes to this property will trigger replacement.
- The name of the recovery services vault.
- ETag string
- Optional ETag.
- Location string
- Resource location.
- Properties
Resource
Guard Proxy Base Args - ResourceGuardProxyBaseResource properties
- Resource
Guard Proxy Name Changes to this property will trigger replacement.
- map[string]string
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the recovery services vault is present.
- vault
Name This property is required. Changes to this property will trigger replacement.
- The name of the recovery services vault.
- e
Tag String - Optional ETag.
- location String
- Resource location.
- properties
Resource
Guard Proxy Base - ResourceGuardProxyBaseResource properties
- resource
Guard Proxy Name Changes to this property will trigger replacement.
- Map<String,String>
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the recovery services vault is present.
- vault
Name This property is required. Changes to this property will trigger replacement.
- The name of the recovery services vault.
- e
Tag string - Optional ETag.
- location string
- Resource location.
- properties
Resource
Guard Proxy Base - ResourceGuardProxyBaseResource properties
- resource
Guard Proxy Name Changes to this property will trigger replacement.
- {[key: string]: string}
- Resource tags.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the recovery services vault is present.
- vault_
name This property is required. Changes to this property will trigger replacement.
- The name of the recovery services vault.
- e_
tag str - Optional ETag.
- location str
- Resource location.
- properties
Resource
Guard Proxy Base Args - ResourceGuardProxyBaseResource properties
- resource_
guard_ proxy_ name Changes to this property will trigger replacement.
- Mapping[str, str]
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the recovery services vault is present.
- vault
Name This property is required. Changes to this property will trigger replacement.
- The name of the recovery services vault.
- e
Tag String - Optional ETag.
- location String
- Resource location.
- properties Property Map
- ResourceGuardProxyBaseResource properties
- resource
Guard Proxy Name Changes to this property will trigger replacement.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceGuardProxy resource produces the following output properties:
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
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:recoveryservices:ResourceGuardProxy swaggerExample /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0