azure-native.recoveryservices.ResourceGuardProxy
Explore with Pulumi AI
Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01.
Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-04-30-preview, 2024-07-30-preview, 2024-11-01-preview, 2025-01-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native recoveryservices [ApiVersion]
. See the version guide for details.
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 = new AzureNative.RecoveryServices.Inputs.ResourceGuardProxyBaseArgs
{
ResourceGuardResourceId = "string",
Description = "string",
LastUpdatedTime = "string",
ResourceGuardOperationDetails = new[]
{
new AzureNative.RecoveryServices.Inputs.ResourceGuardOperationDetailArgs
{
DefaultResourceRequest = "string",
VaultCriticalOperation = "string",
},
},
},
ResourceGuardProxyName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := recoveryservices.NewResourceGuardProxy(ctx, "resourceGuardProxyResource", &recoveryservices.ResourceGuardProxyArgs{
ResourceGroupName: pulumi.String("string"),
VaultName: pulumi.String("string"),
ETag: pulumi.String("string"),
Location: pulumi.String("string"),
Properties: &recoveryservices.ResourceGuardProxyBaseArgs{
ResourceGuardResourceId: pulumi.String("string"),
Description: pulumi.String("string"),
LastUpdatedTime: pulumi.String("string"),
ResourceGuardOperationDetails: recoveryservices.ResourceGuardOperationDetailArray{
&recoveryservices.ResourceGuardOperationDetailArgs{
DefaultResourceRequest: pulumi.String("string"),
VaultCriticalOperation: pulumi.String("string"),
},
},
},
ResourceGuardProxyName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var resourceGuardProxyResource = new ResourceGuardProxy("resourceGuardProxyResource", ResourceGuardProxyArgs.builder()
.resourceGroupName("string")
.vaultName("string")
.eTag("string")
.location("string")
.properties(ResourceGuardProxyBaseArgs.builder()
.resourceGuardResourceId("string")
.description("string")
.lastUpdatedTime("string")
.resourceGuardOperationDetails(ResourceGuardOperationDetailArgs.builder()
.defaultResourceRequest("string")
.vaultCriticalOperation("string")
.build())
.build())
.resourceGuardProxyName("string")
.tags(Map.of("string", "string"))
.build());
resource_guard_proxy_resource = azure_native.recoveryservices.ResourceGuardProxy("resourceGuardProxyResource",
resource_group_name="string",
vault_name="string",
e_tag="string",
location="string",
properties={
"resource_guard_resource_id": "string",
"description": "string",
"last_updated_time": "string",
"resource_guard_operation_details": [{
"default_resource_request": "string",
"vault_critical_operation": "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: {
resourceGuardResourceId: "string",
description: "string",
lastUpdatedTime: "string",
resourceGuardOperationDetails: [{
defaultResourceRequest: "string",
vaultCriticalOperation: "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:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name associated with the resource.
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name associated with the resource.
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name associated with the resource.
- type String
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name associated with the resource.
- type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name associated with the resource.
- type str
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name associated with 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
- Resource
Guard Resource Id This property is required. string - Description string
- Last
Updated stringTime - Resource
Guard List<Pulumi.Operation Details Azure Native. Recovery Services. Inputs. Resource Guard Operation Detail>
- Resource
Guard Resource Id This property is required. string - Description string
- Last
Updated stringTime - Resource
Guard []ResourceOperation Details Guard Operation Detail
- resource
Guard Resource Id This property is required. String - description String
- last
Updated StringTime - resource
Guard List<ResourceOperation Details Guard Operation Detail>
- resource
Guard Resource Id This property is required. string - description string
- last
Updated stringTime - resource
Guard ResourceOperation Details Guard Operation Detail[]
- resource_
guard_ resource_ id This property is required. str - description str
- last_
updated_ strtime - resource_
guard_ Sequence[Resourceoperation_ details Guard Operation Detail]
- resource
Guard Resource Id This property is required. String - description String
- last
Updated StringTime - resource
Guard List<Property Map>Operation Details
ResourceGuardProxyBaseResponse, ResourceGuardProxyBaseResponseArgs
- Resource
Guard Resource Id This property is required. string - Description string
- Last
Updated stringTime - Resource
Guard List<Pulumi.Operation Details Azure Native. Recovery Services. Inputs. Resource Guard Operation Detail Response>
- Resource
Guard Resource Id This property is required. string - Description string
- Last
Updated stringTime - Resource
Guard []ResourceOperation Details Guard Operation Detail Response
- resource
Guard Resource Id This property is required. String - description String
- last
Updated StringTime - resource
Guard List<ResourceOperation Details Guard Operation Detail Response>
- resource
Guard Resource Id This property is required. string - description string
- last
Updated stringTime - resource
Guard ResourceOperation Details Guard Operation Detail Response[]
- resource_
guard_ resource_ id This property is required. str - description str
- last_
updated_ strtime - resource_
guard_ Sequence[Resourceoperation_ details Guard Operation Detail Response]
- resource
Guard Resource Id This property is required. String - description String
- last
Updated StringTime - resource
Guard List<Property Map>Operation Details
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 pulumi/pulumi-azure-native
- License
- Apache-2.0