pulumi-azure-native 2.70.0a1730967751__py3-none-any.whl → 2.71.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +14 -0
- pulumi_azure_native/datafactory/_inputs.py +360 -0
- pulumi_azure_native/datafactory/outputs.py +240 -2
- pulumi_azure_native/datafactory/v20180601/_inputs.py +360 -0
- pulumi_azure_native/datafactory/v20180601/outputs.py +240 -2
- pulumi_azure_native/machinelearningservices/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20230401/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20230401/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20230401preview/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20230401preview/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20230601preview/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20230601preview/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20230801preview/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20230801preview/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20231001/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20231001/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20240101preview/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20240101preview/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20240401/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20240401/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20240401preview/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20240401preview/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +2 -110
- pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +2 -104
- pulumi_azure_native/machinelearningservices/v20241001/_enums.py +1 -1
- pulumi_azure_native/machinelearningservices/v20241001/_inputs.py +16 -12
- pulumi_azure_native/machinelearningservices/v20241001/outputs.py +12 -8
- pulumi_azure_native/machinelearningservices/v20241001preview/_enums.py +1 -1
- pulumi_azure_native/machinelearningservices/v20241001preview/_inputs.py +16 -12
- pulumi_azure_native/machinelearningservices/v20241001preview/outputs.py +12 -8
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/recoveryservices/__init__.py +3 -0
- pulumi_azure_native/recoveryservices/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/recoveryservices/get_protected_item.py +2 -2
- pulumi_azure_native/recoveryservices/get_protection_container.py +2 -2
- pulumi_azure_native/recoveryservices/get_protection_intent.py +2 -2
- pulumi_azure_native/recoveryservices/get_protection_policy.py +2 -2
- pulumi_azure_native/recoveryservices/get_resource_guard_proxy.py +2 -2
- pulumi_azure_native/recoveryservices/get_vault.py +2 -2
- pulumi_azure_native/recoveryservices/private_endpoint_connection.py +3 -3
- pulumi_azure_native/recoveryservices/protected_item.py +3 -3
- pulumi_azure_native/recoveryservices/protection_container.py +3 -3
- pulumi_azure_native/recoveryservices/protection_intent.py +3 -3
- pulumi_azure_native/recoveryservices/protection_policy.py +3 -3
- pulumi_azure_native/recoveryservices/resource_guard_proxy.py +3 -3
- pulumi_azure_native/recoveryservices/v20200202/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230401/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230601/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20230801/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240101/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240201/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20240401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20240401/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20240401/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20240401/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20240401/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240401/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240401/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20240430preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20240430preview/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20240430preview/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20240430preview/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20240430preview/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240430preview/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240430preview/vault.py +1 -1
- pulumi_azure_native/recoveryservices/v20240730preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/recoveryservices/v20240730preview/protected_item.py +1 -1
- pulumi_azure_native/recoveryservices/v20240730preview/protection_container.py +1 -1
- pulumi_azure_native/recoveryservices/v20240730preview/protection_intent.py +1 -1
- pulumi_azure_native/recoveryservices/v20240730preview/protection_policy.py +1 -1
- pulumi_azure_native/recoveryservices/v20240730preview/resource_guard_proxy.py +1 -1
- pulumi_azure_native/recoveryservices/v20241001/__init__.py +24 -0
- pulumi_azure_native/recoveryservices/v20241001/_enums.py +470 -0
- pulumi_azure_native/recoveryservices/v20241001/_inputs.py +15874 -0
- pulumi_azure_native/recoveryservices/v20241001/get_private_endpoint_connection.py +177 -0
- pulumi_azure_native/recoveryservices/v20241001/get_protected_item.py +197 -0
- pulumi_azure_native/recoveryservices/v20241001/get_protection_container.py +183 -0
- pulumi_azure_native/recoveryservices/v20241001/get_protection_intent.py +185 -0
- pulumi_azure_native/recoveryservices/v20241001/get_protection_policy.py +179 -0
- pulumi_azure_native/recoveryservices/v20241001/get_resource_guard_proxy.py +172 -0
- pulumi_azure_native/recoveryservices/v20241001/get_vault.py +213 -0
- pulumi_azure_native/recoveryservices/v20241001/outputs.py +14414 -0
- pulumi_azure_native/recoveryservices/v20241001/private_endpoint_connection.py +298 -0
- pulumi_azure_native/recoveryservices/v20241001/protected_item.py +340 -0
- pulumi_azure_native/recoveryservices/v20241001/protection_container.py +319 -0
- pulumi_azure_native/recoveryservices/v20241001/protection_intent.py +319 -0
- pulumi_azure_native/recoveryservices/v20241001/protection_policy.py +298 -0
- pulumi_azure_native/recoveryservices/v20241001/resource_guard_proxy.py +290 -0
- pulumi_azure_native/recoveryservices/v20241001/vault.py +326 -0
- pulumi_azure_native/recoveryservices/vault.py +3 -3
- {pulumi_azure_native-2.70.0a1730967751.dist-info → pulumi_azure_native-2.71.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.70.0a1730967751.dist-info → pulumi_azure_native-2.71.0.dist-info}/RECORD +125 -107
- {pulumi_azure_native-2.70.0a1730967751.dist-info → pulumi_azure_native-2.71.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.70.0a1730967751.dist-info → pulumi_azure_native-2.71.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._enums import *
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['ProtectionPolicyArgs', 'ProtectionPolicy']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class ProtectionPolicyArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
resource_group_name: pulumi.Input[str],
|
|
26
|
+
vault_name: pulumi.Input[str],
|
|
27
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
policy_name: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
properties: Optional[pulumi.Input[Union['AzureFileShareProtectionPolicyArgs', 'AzureIaaSVMProtectionPolicyArgs', 'AzureSqlProtectionPolicyArgs', 'AzureVmWorkloadProtectionPolicyArgs', 'GenericProtectionPolicyArgs', 'MabProtectionPolicyArgs']]] = None,
|
|
31
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
32
|
+
"""
|
|
33
|
+
The set of arguments for constructing a ProtectionPolicy resource.
|
|
34
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
35
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
36
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
37
|
+
:param pulumi.Input[str] location: Resource location.
|
|
38
|
+
:param pulumi.Input[str] policy_name: Backup policy to be created.
|
|
39
|
+
:param pulumi.Input[Union['AzureFileShareProtectionPolicyArgs', 'AzureIaaSVMProtectionPolicyArgs', 'AzureSqlProtectionPolicyArgs', 'AzureVmWorkloadProtectionPolicyArgs', 'GenericProtectionPolicyArgs', 'MabProtectionPolicyArgs']] properties: ProtectionPolicyResource properties
|
|
40
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
41
|
+
"""
|
|
42
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
43
|
+
pulumi.set(__self__, "vault_name", vault_name)
|
|
44
|
+
if e_tag is not None:
|
|
45
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
46
|
+
if location is not None:
|
|
47
|
+
pulumi.set(__self__, "location", location)
|
|
48
|
+
if policy_name is not None:
|
|
49
|
+
pulumi.set(__self__, "policy_name", policy_name)
|
|
50
|
+
if properties is not None:
|
|
51
|
+
pulumi.set(__self__, "properties", properties)
|
|
52
|
+
if tags is not None:
|
|
53
|
+
pulumi.set(__self__, "tags", tags)
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter(name="resourceGroupName")
|
|
57
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
58
|
+
"""
|
|
59
|
+
The name of the resource group where the recovery services vault is present.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "resource_group_name")
|
|
62
|
+
|
|
63
|
+
@resource_group_name.setter
|
|
64
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
65
|
+
pulumi.set(self, "resource_group_name", value)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter(name="vaultName")
|
|
69
|
+
def vault_name(self) -> pulumi.Input[str]:
|
|
70
|
+
"""
|
|
71
|
+
The name of the recovery services vault.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "vault_name")
|
|
74
|
+
|
|
75
|
+
@vault_name.setter
|
|
76
|
+
def vault_name(self, value: pulumi.Input[str]):
|
|
77
|
+
pulumi.set(self, "vault_name", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="eTag")
|
|
81
|
+
def e_tag(self) -> Optional[pulumi.Input[str]]:
|
|
82
|
+
"""
|
|
83
|
+
Optional ETag.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "e_tag")
|
|
86
|
+
|
|
87
|
+
@e_tag.setter
|
|
88
|
+
def e_tag(self, value: Optional[pulumi.Input[str]]):
|
|
89
|
+
pulumi.set(self, "e_tag", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
94
|
+
"""
|
|
95
|
+
Resource location.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "location")
|
|
98
|
+
|
|
99
|
+
@location.setter
|
|
100
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
101
|
+
pulumi.set(self, "location", value)
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="policyName")
|
|
105
|
+
def policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
106
|
+
"""
|
|
107
|
+
Backup policy to be created.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "policy_name")
|
|
110
|
+
|
|
111
|
+
@policy_name.setter
|
|
112
|
+
def policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
113
|
+
pulumi.set(self, "policy_name", value)
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter
|
|
117
|
+
def properties(self) -> Optional[pulumi.Input[Union['AzureFileShareProtectionPolicyArgs', 'AzureIaaSVMProtectionPolicyArgs', 'AzureSqlProtectionPolicyArgs', 'AzureVmWorkloadProtectionPolicyArgs', 'GenericProtectionPolicyArgs', 'MabProtectionPolicyArgs']]]:
|
|
118
|
+
"""
|
|
119
|
+
ProtectionPolicyResource properties
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "properties")
|
|
122
|
+
|
|
123
|
+
@properties.setter
|
|
124
|
+
def properties(self, value: Optional[pulumi.Input[Union['AzureFileShareProtectionPolicyArgs', 'AzureIaaSVMProtectionPolicyArgs', 'AzureSqlProtectionPolicyArgs', 'AzureVmWorkloadProtectionPolicyArgs', 'GenericProtectionPolicyArgs', 'MabProtectionPolicyArgs']]]):
|
|
125
|
+
pulumi.set(self, "properties", value)
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter
|
|
129
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
130
|
+
"""
|
|
131
|
+
Resource tags.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "tags")
|
|
134
|
+
|
|
135
|
+
@tags.setter
|
|
136
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
137
|
+
pulumi.set(self, "tags", value)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class ProtectionPolicy(pulumi.CustomResource):
|
|
141
|
+
@overload
|
|
142
|
+
def __init__(__self__,
|
|
143
|
+
resource_name: str,
|
|
144
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
145
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
146
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
policy_name: Optional[pulumi.Input[str]] = None,
|
|
148
|
+
properties: Optional[pulumi.Input[Union[Union['AzureFileShareProtectionPolicyArgs', 'AzureFileShareProtectionPolicyArgsDict'], Union['AzureIaaSVMProtectionPolicyArgs', 'AzureIaaSVMProtectionPolicyArgsDict'], Union['AzureSqlProtectionPolicyArgs', 'AzureSqlProtectionPolicyArgsDict'], Union['AzureVmWorkloadProtectionPolicyArgs', 'AzureVmWorkloadProtectionPolicyArgsDict'], Union['GenericProtectionPolicyArgs', 'GenericProtectionPolicyArgsDict'], Union['MabProtectionPolicyArgs', 'MabProtectionPolicyArgsDict']]]] = None,
|
|
149
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
150
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
151
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
152
|
+
__props__=None):
|
|
153
|
+
"""
|
|
154
|
+
Base class for backup policy. Workload-specific backup policies are derived from this class.
|
|
155
|
+
|
|
156
|
+
:param str resource_name: The name of the resource.
|
|
157
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
158
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
159
|
+
:param pulumi.Input[str] location: Resource location.
|
|
160
|
+
:param pulumi.Input[str] policy_name: Backup policy to be created.
|
|
161
|
+
:param pulumi.Input[Union[Union['AzureFileShareProtectionPolicyArgs', 'AzureFileShareProtectionPolicyArgsDict'], Union['AzureIaaSVMProtectionPolicyArgs', 'AzureIaaSVMProtectionPolicyArgsDict'], Union['AzureSqlProtectionPolicyArgs', 'AzureSqlProtectionPolicyArgsDict'], Union['AzureVmWorkloadProtectionPolicyArgs', 'AzureVmWorkloadProtectionPolicyArgsDict'], Union['GenericProtectionPolicyArgs', 'GenericProtectionPolicyArgsDict'], Union['MabProtectionPolicyArgs', 'MabProtectionPolicyArgsDict']]] properties: ProtectionPolicyResource properties
|
|
162
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
163
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
164
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
165
|
+
"""
|
|
166
|
+
...
|
|
167
|
+
@overload
|
|
168
|
+
def __init__(__self__,
|
|
169
|
+
resource_name: str,
|
|
170
|
+
args: ProtectionPolicyArgs,
|
|
171
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
172
|
+
"""
|
|
173
|
+
Base class for backup policy. Workload-specific backup policies are derived from this class.
|
|
174
|
+
|
|
175
|
+
:param str resource_name: The name of the resource.
|
|
176
|
+
:param ProtectionPolicyArgs args: The arguments to use to populate this resource's properties.
|
|
177
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
178
|
+
"""
|
|
179
|
+
...
|
|
180
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
181
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProtectionPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
182
|
+
if resource_args is not None:
|
|
183
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
184
|
+
else:
|
|
185
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
186
|
+
|
|
187
|
+
def _internal_init(__self__,
|
|
188
|
+
resource_name: str,
|
|
189
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
190
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
191
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
192
|
+
policy_name: Optional[pulumi.Input[str]] = None,
|
|
193
|
+
properties: Optional[pulumi.Input[Union[Union['AzureFileShareProtectionPolicyArgs', 'AzureFileShareProtectionPolicyArgsDict'], Union['AzureIaaSVMProtectionPolicyArgs', 'AzureIaaSVMProtectionPolicyArgsDict'], Union['AzureSqlProtectionPolicyArgs', 'AzureSqlProtectionPolicyArgsDict'], Union['AzureVmWorkloadProtectionPolicyArgs', 'AzureVmWorkloadProtectionPolicyArgsDict'], Union['GenericProtectionPolicyArgs', 'GenericProtectionPolicyArgsDict'], Union['MabProtectionPolicyArgs', 'MabProtectionPolicyArgsDict']]]] = None,
|
|
194
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
195
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
196
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
197
|
+
__props__=None):
|
|
198
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
199
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
200
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
201
|
+
if opts.id is None:
|
|
202
|
+
if __props__ is not None:
|
|
203
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
204
|
+
__props__ = ProtectionPolicyArgs.__new__(ProtectionPolicyArgs)
|
|
205
|
+
|
|
206
|
+
__props__.__dict__["e_tag"] = e_tag
|
|
207
|
+
__props__.__dict__["location"] = location
|
|
208
|
+
__props__.__dict__["policy_name"] = policy_name
|
|
209
|
+
__props__.__dict__["properties"] = properties
|
|
210
|
+
if resource_group_name is None and not opts.urn:
|
|
211
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
212
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
213
|
+
__props__.__dict__["tags"] = tags
|
|
214
|
+
if vault_name is None and not opts.urn:
|
|
215
|
+
raise TypeError("Missing required property 'vault_name'")
|
|
216
|
+
__props__.__dict__["vault_name"] = vault_name
|
|
217
|
+
__props__.__dict__["name"] = None
|
|
218
|
+
__props__.__dict__["type"] = None
|
|
219
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20160601:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20201201:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210201:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210201preview:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20211001:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220601preview:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220901preview:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230601:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230801:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240101:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240201:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240401:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240430preview:ProtectionPolicy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240730preview:ProtectionPolicy")])
|
|
220
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
221
|
+
super(ProtectionPolicy, __self__).__init__(
|
|
222
|
+
'azure-native:recoveryservices/v20241001:ProtectionPolicy',
|
|
223
|
+
resource_name,
|
|
224
|
+
__props__,
|
|
225
|
+
opts)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def get(resource_name: str,
|
|
229
|
+
id: pulumi.Input[str],
|
|
230
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'ProtectionPolicy':
|
|
231
|
+
"""
|
|
232
|
+
Get an existing ProtectionPolicy resource's state with the given name, id, and optional extra
|
|
233
|
+
properties used to qualify the lookup.
|
|
234
|
+
|
|
235
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
236
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
237
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
238
|
+
"""
|
|
239
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
240
|
+
|
|
241
|
+
__props__ = ProtectionPolicyArgs.__new__(ProtectionPolicyArgs)
|
|
242
|
+
|
|
243
|
+
__props__.__dict__["e_tag"] = None
|
|
244
|
+
__props__.__dict__["location"] = None
|
|
245
|
+
__props__.__dict__["name"] = None
|
|
246
|
+
__props__.__dict__["properties"] = None
|
|
247
|
+
__props__.__dict__["tags"] = None
|
|
248
|
+
__props__.__dict__["type"] = None
|
|
249
|
+
return ProtectionPolicy(resource_name, opts=opts, __props__=__props__)
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
@pulumi.getter(name="eTag")
|
|
253
|
+
def e_tag(self) -> pulumi.Output[Optional[str]]:
|
|
254
|
+
"""
|
|
255
|
+
Optional ETag.
|
|
256
|
+
"""
|
|
257
|
+
return pulumi.get(self, "e_tag")
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
@pulumi.getter
|
|
261
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
|
262
|
+
"""
|
|
263
|
+
Resource location.
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "location")
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
@pulumi.getter
|
|
269
|
+
def name(self) -> pulumi.Output[str]:
|
|
270
|
+
"""
|
|
271
|
+
Resource name associated with the resource.
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "name")
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
@pulumi.getter
|
|
277
|
+
def properties(self) -> pulumi.Output[Any]:
|
|
278
|
+
"""
|
|
279
|
+
ProtectionPolicyResource properties
|
|
280
|
+
"""
|
|
281
|
+
return pulumi.get(self, "properties")
|
|
282
|
+
|
|
283
|
+
@property
|
|
284
|
+
@pulumi.getter
|
|
285
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
286
|
+
"""
|
|
287
|
+
Resource tags.
|
|
288
|
+
"""
|
|
289
|
+
return pulumi.get(self, "tags")
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
@pulumi.getter
|
|
293
|
+
def type(self) -> pulumi.Output[str]:
|
|
294
|
+
"""
|
|
295
|
+
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
296
|
+
"""
|
|
297
|
+
return pulumi.get(self, "type")
|
|
298
|
+
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['ResourceGuardProxyArgs', 'ResourceGuardProxy']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class ResourceGuardProxyArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
resource_group_name: pulumi.Input[str],
|
|
25
|
+
vault_name: pulumi.Input[str],
|
|
26
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
properties: Optional[pulumi.Input['ResourceGuardProxyBaseArgs']] = None,
|
|
29
|
+
resource_guard_proxy_name: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
31
|
+
"""
|
|
32
|
+
The set of arguments for constructing a ResourceGuardProxy resource.
|
|
33
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
34
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
35
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
36
|
+
:param pulumi.Input[str] location: Resource location.
|
|
37
|
+
:param pulumi.Input['ResourceGuardProxyBaseArgs'] properties: ResourceGuardProxyBaseResource properties
|
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
39
|
+
"""
|
|
40
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
41
|
+
pulumi.set(__self__, "vault_name", vault_name)
|
|
42
|
+
if e_tag is not None:
|
|
43
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
44
|
+
if location is not None:
|
|
45
|
+
pulumi.set(__self__, "location", location)
|
|
46
|
+
if properties is not None:
|
|
47
|
+
pulumi.set(__self__, "properties", properties)
|
|
48
|
+
if resource_guard_proxy_name is not None:
|
|
49
|
+
pulumi.set(__self__, "resource_guard_proxy_name", resource_guard_proxy_name)
|
|
50
|
+
if tags is not None:
|
|
51
|
+
pulumi.set(__self__, "tags", tags)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter(name="resourceGroupName")
|
|
55
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
56
|
+
"""
|
|
57
|
+
The name of the resource group where the recovery services vault is present.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "resource_group_name")
|
|
60
|
+
|
|
61
|
+
@resource_group_name.setter
|
|
62
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
63
|
+
pulumi.set(self, "resource_group_name", value)
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter(name="vaultName")
|
|
67
|
+
def vault_name(self) -> pulumi.Input[str]:
|
|
68
|
+
"""
|
|
69
|
+
The name of the recovery services vault.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "vault_name")
|
|
72
|
+
|
|
73
|
+
@vault_name.setter
|
|
74
|
+
def vault_name(self, value: pulumi.Input[str]):
|
|
75
|
+
pulumi.set(self, "vault_name", value)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="eTag")
|
|
79
|
+
def e_tag(self) -> Optional[pulumi.Input[str]]:
|
|
80
|
+
"""
|
|
81
|
+
Optional ETag.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "e_tag")
|
|
84
|
+
|
|
85
|
+
@e_tag.setter
|
|
86
|
+
def e_tag(self, value: Optional[pulumi.Input[str]]):
|
|
87
|
+
pulumi.set(self, "e_tag", value)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter
|
|
91
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
92
|
+
"""
|
|
93
|
+
Resource location.
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "location")
|
|
96
|
+
|
|
97
|
+
@location.setter
|
|
98
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
99
|
+
pulumi.set(self, "location", value)
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def properties(self) -> Optional[pulumi.Input['ResourceGuardProxyBaseArgs']]:
|
|
104
|
+
"""
|
|
105
|
+
ResourceGuardProxyBaseResource properties
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "properties")
|
|
108
|
+
|
|
109
|
+
@properties.setter
|
|
110
|
+
def properties(self, value: Optional[pulumi.Input['ResourceGuardProxyBaseArgs']]):
|
|
111
|
+
pulumi.set(self, "properties", value)
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter(name="resourceGuardProxyName")
|
|
115
|
+
def resource_guard_proxy_name(self) -> Optional[pulumi.Input[str]]:
|
|
116
|
+
return pulumi.get(self, "resource_guard_proxy_name")
|
|
117
|
+
|
|
118
|
+
@resource_guard_proxy_name.setter
|
|
119
|
+
def resource_guard_proxy_name(self, value: Optional[pulumi.Input[str]]):
|
|
120
|
+
pulumi.set(self, "resource_guard_proxy_name", value)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter
|
|
124
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
125
|
+
"""
|
|
126
|
+
Resource tags.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "tags")
|
|
129
|
+
|
|
130
|
+
@tags.setter
|
|
131
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
132
|
+
pulumi.set(self, "tags", value)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
class ResourceGuardProxy(pulumi.CustomResource):
|
|
136
|
+
@overload
|
|
137
|
+
def __init__(__self__,
|
|
138
|
+
resource_name: str,
|
|
139
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
140
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
141
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
142
|
+
properties: Optional[pulumi.Input[Union['ResourceGuardProxyBaseArgs', 'ResourceGuardProxyBaseArgsDict']]] = None,
|
|
143
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
144
|
+
resource_guard_proxy_name: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
146
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
__props__=None):
|
|
148
|
+
"""
|
|
149
|
+
Create a ResourceGuardProxy resource with the given unique name, props, and options.
|
|
150
|
+
:param str resource_name: The name of the resource.
|
|
151
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
152
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
153
|
+
:param pulumi.Input[str] location: Resource location.
|
|
154
|
+
:param pulumi.Input[Union['ResourceGuardProxyBaseArgs', 'ResourceGuardProxyBaseArgsDict']] properties: ResourceGuardProxyBaseResource properties
|
|
155
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
156
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
157
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
158
|
+
"""
|
|
159
|
+
...
|
|
160
|
+
@overload
|
|
161
|
+
def __init__(__self__,
|
|
162
|
+
resource_name: str,
|
|
163
|
+
args: ResourceGuardProxyArgs,
|
|
164
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
165
|
+
"""
|
|
166
|
+
Create a ResourceGuardProxy resource with the given unique name, props, and options.
|
|
167
|
+
:param str resource_name: The name of the resource.
|
|
168
|
+
:param ResourceGuardProxyArgs args: The arguments to use to populate this resource's properties.
|
|
169
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
170
|
+
"""
|
|
171
|
+
...
|
|
172
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
173
|
+
resource_args, opts = _utilities.get_resource_args_opts(ResourceGuardProxyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
174
|
+
if resource_args is not None:
|
|
175
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
176
|
+
else:
|
|
177
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
178
|
+
|
|
179
|
+
def _internal_init(__self__,
|
|
180
|
+
resource_name: str,
|
|
181
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
182
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
183
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
184
|
+
properties: Optional[pulumi.Input[Union['ResourceGuardProxyBaseArgs', 'ResourceGuardProxyBaseArgsDict']]] = None,
|
|
185
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
186
|
+
resource_guard_proxy_name: Optional[pulumi.Input[str]] = None,
|
|
187
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
188
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
189
|
+
__props__=None):
|
|
190
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
191
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
192
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
193
|
+
if opts.id is None:
|
|
194
|
+
if __props__ is not None:
|
|
195
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
196
|
+
__props__ = ResourceGuardProxyArgs.__new__(ResourceGuardProxyArgs)
|
|
197
|
+
|
|
198
|
+
__props__.__dict__["e_tag"] = e_tag
|
|
199
|
+
__props__.__dict__["location"] = location
|
|
200
|
+
__props__.__dict__["properties"] = properties
|
|
201
|
+
if resource_group_name is None and not opts.urn:
|
|
202
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
203
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
204
|
+
__props__.__dict__["resource_guard_proxy_name"] = resource_guard_proxy_name
|
|
205
|
+
__props__.__dict__["tags"] = tags
|
|
206
|
+
if vault_name is None and not opts.urn:
|
|
207
|
+
raise TypeError("Missing required property 'vault_name'")
|
|
208
|
+
__props__.__dict__["vault_name"] = vault_name
|
|
209
|
+
__props__.__dict__["name"] = None
|
|
210
|
+
__props__.__dict__["type"] = None
|
|
211
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210201preview:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20211001:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220601preview:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220901preview:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230601:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20230801:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240101:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240201:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240401:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240430preview:ResourceGuardProxy"), pulumi.Alias(type_="azure-native:recoveryservices/v20240730preview:ResourceGuardProxy")])
|
|
212
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
213
|
+
super(ResourceGuardProxy, __self__).__init__(
|
|
214
|
+
'azure-native:recoveryservices/v20241001:ResourceGuardProxy',
|
|
215
|
+
resource_name,
|
|
216
|
+
__props__,
|
|
217
|
+
opts)
|
|
218
|
+
|
|
219
|
+
@staticmethod
|
|
220
|
+
def get(resource_name: str,
|
|
221
|
+
id: pulumi.Input[str],
|
|
222
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'ResourceGuardProxy':
|
|
223
|
+
"""
|
|
224
|
+
Get an existing ResourceGuardProxy resource's state with the given name, id, and optional extra
|
|
225
|
+
properties used to qualify the lookup.
|
|
226
|
+
|
|
227
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
228
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
229
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
230
|
+
"""
|
|
231
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
232
|
+
|
|
233
|
+
__props__ = ResourceGuardProxyArgs.__new__(ResourceGuardProxyArgs)
|
|
234
|
+
|
|
235
|
+
__props__.__dict__["e_tag"] = None
|
|
236
|
+
__props__.__dict__["location"] = None
|
|
237
|
+
__props__.__dict__["name"] = None
|
|
238
|
+
__props__.__dict__["properties"] = None
|
|
239
|
+
__props__.__dict__["tags"] = None
|
|
240
|
+
__props__.__dict__["type"] = None
|
|
241
|
+
return ResourceGuardProxy(resource_name, opts=opts, __props__=__props__)
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
@pulumi.getter(name="eTag")
|
|
245
|
+
def e_tag(self) -> pulumi.Output[Optional[str]]:
|
|
246
|
+
"""
|
|
247
|
+
Optional ETag.
|
|
248
|
+
"""
|
|
249
|
+
return pulumi.get(self, "e_tag")
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
@pulumi.getter
|
|
253
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
|
254
|
+
"""
|
|
255
|
+
Resource location.
|
|
256
|
+
"""
|
|
257
|
+
return pulumi.get(self, "location")
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
@pulumi.getter
|
|
261
|
+
def name(self) -> pulumi.Output[str]:
|
|
262
|
+
"""
|
|
263
|
+
Resource name associated with the resource.
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "name")
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
@pulumi.getter
|
|
269
|
+
def properties(self) -> pulumi.Output['outputs.ResourceGuardProxyBaseResponse']:
|
|
270
|
+
"""
|
|
271
|
+
ResourceGuardProxyBaseResource properties
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "properties")
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
@pulumi.getter
|
|
277
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
278
|
+
"""
|
|
279
|
+
Resource tags.
|
|
280
|
+
"""
|
|
281
|
+
return pulumi.get(self, "tags")
|
|
282
|
+
|
|
283
|
+
@property
|
|
284
|
+
@pulumi.getter
|
|
285
|
+
def type(self) -> pulumi.Output[str]:
|
|
286
|
+
"""
|
|
287
|
+
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
288
|
+
"""
|
|
289
|
+
return pulumi.get(self, "type")
|
|
290
|
+
|