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,185 @@
|
|
|
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
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetProtectionIntentResult',
|
|
20
|
+
'AwaitableGetProtectionIntentResult',
|
|
21
|
+
'get_protection_intent',
|
|
22
|
+
'get_protection_intent_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProtectionIntentResult:
|
|
27
|
+
"""
|
|
28
|
+
Base class for backup ProtectionIntent.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, e_tag=None, id=None, location=None, name=None, properties=None, tags=None, type=None):
|
|
31
|
+
if e_tag and not isinstance(e_tag, str):
|
|
32
|
+
raise TypeError("Expected argument 'e_tag' to be a str")
|
|
33
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if location and not isinstance(location, str):
|
|
38
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
39
|
+
pulumi.set(__self__, "location", location)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if properties and not isinstance(properties, dict):
|
|
44
|
+
raise TypeError("Expected argument 'properties' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "properties", properties)
|
|
46
|
+
if tags and not isinstance(tags, dict):
|
|
47
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
48
|
+
pulumi.set(__self__, "tags", tags)
|
|
49
|
+
if type and not isinstance(type, str):
|
|
50
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
51
|
+
pulumi.set(__self__, "type", type)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter(name="eTag")
|
|
55
|
+
def e_tag(self) -> Optional[str]:
|
|
56
|
+
"""
|
|
57
|
+
Optional ETag.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "e_tag")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def id(self) -> str:
|
|
64
|
+
"""
|
|
65
|
+
Resource Id represents the complete path to the resource.
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "id")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def location(self) -> Optional[str]:
|
|
72
|
+
"""
|
|
73
|
+
Resource location.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "location")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter
|
|
79
|
+
def name(self) -> str:
|
|
80
|
+
"""
|
|
81
|
+
Resource name associated with the resource.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "name")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def properties(self) -> Any:
|
|
88
|
+
"""
|
|
89
|
+
ProtectionIntentResource properties
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "properties")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
96
|
+
"""
|
|
97
|
+
Resource tags.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "tags")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def type(self) -> str:
|
|
104
|
+
"""
|
|
105
|
+
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "type")
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class AwaitableGetProtectionIntentResult(GetProtectionIntentResult):
|
|
111
|
+
# pylint: disable=using-constant-test
|
|
112
|
+
def __await__(self):
|
|
113
|
+
if False:
|
|
114
|
+
yield self
|
|
115
|
+
return GetProtectionIntentResult(
|
|
116
|
+
e_tag=self.e_tag,
|
|
117
|
+
id=self.id,
|
|
118
|
+
location=self.location,
|
|
119
|
+
name=self.name,
|
|
120
|
+
properties=self.properties,
|
|
121
|
+
tags=self.tags,
|
|
122
|
+
type=self.type)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def get_protection_intent(fabric_name: Optional[str] = None,
|
|
126
|
+
intent_object_name: Optional[str] = None,
|
|
127
|
+
resource_group_name: Optional[str] = None,
|
|
128
|
+
vault_name: Optional[str] = None,
|
|
129
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProtectionIntentResult:
|
|
130
|
+
"""
|
|
131
|
+
Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,
|
|
132
|
+
call the GetItemOperationResult API.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param str fabric_name: Fabric name associated with the backed up item.
|
|
136
|
+
:param str intent_object_name: Backed up item name whose details are to be fetched.
|
|
137
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
138
|
+
:param str vault_name: The name of the recovery services vault.
|
|
139
|
+
"""
|
|
140
|
+
__args__ = dict()
|
|
141
|
+
__args__['fabricName'] = fabric_name
|
|
142
|
+
__args__['intentObjectName'] = intent_object_name
|
|
143
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
144
|
+
__args__['vaultName'] = vault_name
|
|
145
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
146
|
+
__ret__ = pulumi.runtime.invoke('azure-native:recoveryservices/v20241001:getProtectionIntent', __args__, opts=opts, typ=GetProtectionIntentResult).value
|
|
147
|
+
|
|
148
|
+
return AwaitableGetProtectionIntentResult(
|
|
149
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
150
|
+
id=pulumi.get(__ret__, 'id'),
|
|
151
|
+
location=pulumi.get(__ret__, 'location'),
|
|
152
|
+
name=pulumi.get(__ret__, 'name'),
|
|
153
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
154
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
155
|
+
type=pulumi.get(__ret__, 'type'))
|
|
156
|
+
def get_protection_intent_output(fabric_name: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
intent_object_name: Optional[pulumi.Input[str]] = None,
|
|
158
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
159
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
160
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProtectionIntentResult]:
|
|
161
|
+
"""
|
|
162
|
+
Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,
|
|
163
|
+
call the GetItemOperationResult API.
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
:param str fabric_name: Fabric name associated with the backed up item.
|
|
167
|
+
:param str intent_object_name: Backed up item name whose details are to be fetched.
|
|
168
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
169
|
+
:param str vault_name: The name of the recovery services vault.
|
|
170
|
+
"""
|
|
171
|
+
__args__ = dict()
|
|
172
|
+
__args__['fabricName'] = fabric_name
|
|
173
|
+
__args__['intentObjectName'] = intent_object_name
|
|
174
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
175
|
+
__args__['vaultName'] = vault_name
|
|
176
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
177
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:recoveryservices/v20241001:getProtectionIntent', __args__, opts=opts, typ=GetProtectionIntentResult)
|
|
178
|
+
return __ret__.apply(lambda __response__: GetProtectionIntentResult(
|
|
179
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
180
|
+
id=pulumi.get(__response__, 'id'),
|
|
181
|
+
location=pulumi.get(__response__, 'location'),
|
|
182
|
+
name=pulumi.get(__response__, 'name'),
|
|
183
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
184
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
185
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,179 @@
|
|
|
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
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetProtectionPolicyResult',
|
|
20
|
+
'AwaitableGetProtectionPolicyResult',
|
|
21
|
+
'get_protection_policy',
|
|
22
|
+
'get_protection_policy_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProtectionPolicyResult:
|
|
27
|
+
"""
|
|
28
|
+
Base class for backup policy. Workload-specific backup policies are derived from this class.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, e_tag=None, id=None, location=None, name=None, properties=None, tags=None, type=None):
|
|
31
|
+
if e_tag and not isinstance(e_tag, str):
|
|
32
|
+
raise TypeError("Expected argument 'e_tag' to be a str")
|
|
33
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if location and not isinstance(location, str):
|
|
38
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
39
|
+
pulumi.set(__self__, "location", location)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if properties and not isinstance(properties, dict):
|
|
44
|
+
raise TypeError("Expected argument 'properties' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "properties", properties)
|
|
46
|
+
if tags and not isinstance(tags, dict):
|
|
47
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
48
|
+
pulumi.set(__self__, "tags", tags)
|
|
49
|
+
if type and not isinstance(type, str):
|
|
50
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
51
|
+
pulumi.set(__self__, "type", type)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter(name="eTag")
|
|
55
|
+
def e_tag(self) -> Optional[str]:
|
|
56
|
+
"""
|
|
57
|
+
Optional ETag.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "e_tag")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def id(self) -> str:
|
|
64
|
+
"""
|
|
65
|
+
Resource Id represents the complete path to the resource.
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "id")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def location(self) -> Optional[str]:
|
|
72
|
+
"""
|
|
73
|
+
Resource location.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "location")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter
|
|
79
|
+
def name(self) -> str:
|
|
80
|
+
"""
|
|
81
|
+
Resource name associated with the resource.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "name")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def properties(self) -> Any:
|
|
88
|
+
"""
|
|
89
|
+
ProtectionPolicyResource properties
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "properties")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
96
|
+
"""
|
|
97
|
+
Resource tags.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "tags")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def type(self) -> str:
|
|
104
|
+
"""
|
|
105
|
+
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "type")
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class AwaitableGetProtectionPolicyResult(GetProtectionPolicyResult):
|
|
111
|
+
# pylint: disable=using-constant-test
|
|
112
|
+
def __await__(self):
|
|
113
|
+
if False:
|
|
114
|
+
yield self
|
|
115
|
+
return GetProtectionPolicyResult(
|
|
116
|
+
e_tag=self.e_tag,
|
|
117
|
+
id=self.id,
|
|
118
|
+
location=self.location,
|
|
119
|
+
name=self.name,
|
|
120
|
+
properties=self.properties,
|
|
121
|
+
tags=self.tags,
|
|
122
|
+
type=self.type)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def get_protection_policy(policy_name: Optional[str] = None,
|
|
126
|
+
resource_group_name: Optional[str] = None,
|
|
127
|
+
vault_name: Optional[str] = None,
|
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProtectionPolicyResult:
|
|
129
|
+
"""
|
|
130
|
+
Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
131
|
+
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param str policy_name: Backup policy information to be fetched.
|
|
135
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
136
|
+
:param str vault_name: The name of the recovery services vault.
|
|
137
|
+
"""
|
|
138
|
+
__args__ = dict()
|
|
139
|
+
__args__['policyName'] = policy_name
|
|
140
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
141
|
+
__args__['vaultName'] = vault_name
|
|
142
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
143
|
+
__ret__ = pulumi.runtime.invoke('azure-native:recoveryservices/v20241001:getProtectionPolicy', __args__, opts=opts, typ=GetProtectionPolicyResult).value
|
|
144
|
+
|
|
145
|
+
return AwaitableGetProtectionPolicyResult(
|
|
146
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
147
|
+
id=pulumi.get(__ret__, 'id'),
|
|
148
|
+
location=pulumi.get(__ret__, 'location'),
|
|
149
|
+
name=pulumi.get(__ret__, 'name'),
|
|
150
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
151
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
152
|
+
type=pulumi.get(__ret__, 'type'))
|
|
153
|
+
def get_protection_policy_output(policy_name: Optional[pulumi.Input[str]] = None,
|
|
154
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProtectionPolicyResult]:
|
|
157
|
+
"""
|
|
158
|
+
Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
159
|
+
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
:param str policy_name: Backup policy information to be fetched.
|
|
163
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
164
|
+
:param str vault_name: The name of the recovery services vault.
|
|
165
|
+
"""
|
|
166
|
+
__args__ = dict()
|
|
167
|
+
__args__['policyName'] = policy_name
|
|
168
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
169
|
+
__args__['vaultName'] = vault_name
|
|
170
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
171
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:recoveryservices/v20241001:getProtectionPolicy', __args__, opts=opts, typ=GetProtectionPolicyResult)
|
|
172
|
+
return __ret__.apply(lambda __response__: GetProtectionPolicyResult(
|
|
173
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
174
|
+
id=pulumi.get(__response__, 'id'),
|
|
175
|
+
location=pulumi.get(__response__, 'location'),
|
|
176
|
+
name=pulumi.get(__response__, 'name'),
|
|
177
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
178
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
179
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,172 @@
|
|
|
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
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetResourceGuardProxyResult',
|
|
20
|
+
'AwaitableGetResourceGuardProxyResult',
|
|
21
|
+
'get_resource_guard_proxy',
|
|
22
|
+
'get_resource_guard_proxy_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetResourceGuardProxyResult:
|
|
27
|
+
def __init__(__self__, e_tag=None, id=None, location=None, name=None, properties=None, tags=None, type=None):
|
|
28
|
+
if e_tag and not isinstance(e_tag, str):
|
|
29
|
+
raise TypeError("Expected argument 'e_tag' to be a str")
|
|
30
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
31
|
+
if id and not isinstance(id, str):
|
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "id", id)
|
|
34
|
+
if location and not isinstance(location, str):
|
|
35
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
36
|
+
pulumi.set(__self__, "location", location)
|
|
37
|
+
if name and not isinstance(name, str):
|
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
39
|
+
pulumi.set(__self__, "name", name)
|
|
40
|
+
if properties and not isinstance(properties, dict):
|
|
41
|
+
raise TypeError("Expected argument 'properties' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "properties", properties)
|
|
43
|
+
if tags and not isinstance(tags, dict):
|
|
44
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "tags", tags)
|
|
46
|
+
if type and not isinstance(type, str):
|
|
47
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
48
|
+
pulumi.set(__self__, "type", type)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
@pulumi.getter(name="eTag")
|
|
52
|
+
def e_tag(self) -> Optional[str]:
|
|
53
|
+
"""
|
|
54
|
+
Optional ETag.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "e_tag")
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def id(self) -> str:
|
|
61
|
+
"""
|
|
62
|
+
Resource Id represents the complete path to the resource.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "id")
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def location(self) -> Optional[str]:
|
|
69
|
+
"""
|
|
70
|
+
Resource location.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "location")
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def name(self) -> str:
|
|
77
|
+
"""
|
|
78
|
+
Resource name associated with the resource.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "name")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter
|
|
84
|
+
def properties(self) -> 'outputs.ResourceGuardProxyBaseResponse':
|
|
85
|
+
"""
|
|
86
|
+
ResourceGuardProxyBaseResource properties
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "properties")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
93
|
+
"""
|
|
94
|
+
Resource tags.
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "tags")
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter
|
|
100
|
+
def type(self) -> str:
|
|
101
|
+
"""
|
|
102
|
+
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "type")
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class AwaitableGetResourceGuardProxyResult(GetResourceGuardProxyResult):
|
|
108
|
+
# pylint: disable=using-constant-test
|
|
109
|
+
def __await__(self):
|
|
110
|
+
if False:
|
|
111
|
+
yield self
|
|
112
|
+
return GetResourceGuardProxyResult(
|
|
113
|
+
e_tag=self.e_tag,
|
|
114
|
+
id=self.id,
|
|
115
|
+
location=self.location,
|
|
116
|
+
name=self.name,
|
|
117
|
+
properties=self.properties,
|
|
118
|
+
tags=self.tags,
|
|
119
|
+
type=self.type)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
def get_resource_guard_proxy(resource_group_name: Optional[str] = None,
|
|
123
|
+
resource_guard_proxy_name: Optional[str] = None,
|
|
124
|
+
vault_name: Optional[str] = None,
|
|
125
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourceGuardProxyResult:
|
|
126
|
+
"""
|
|
127
|
+
Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
131
|
+
:param str vault_name: The name of the recovery services vault.
|
|
132
|
+
"""
|
|
133
|
+
__args__ = dict()
|
|
134
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
135
|
+
__args__['resourceGuardProxyName'] = resource_guard_proxy_name
|
|
136
|
+
__args__['vaultName'] = vault_name
|
|
137
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
138
|
+
__ret__ = pulumi.runtime.invoke('azure-native:recoveryservices/v20241001:getResourceGuardProxy', __args__, opts=opts, typ=GetResourceGuardProxyResult).value
|
|
139
|
+
|
|
140
|
+
return AwaitableGetResourceGuardProxyResult(
|
|
141
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
142
|
+
id=pulumi.get(__ret__, 'id'),
|
|
143
|
+
location=pulumi.get(__ret__, 'location'),
|
|
144
|
+
name=pulumi.get(__ret__, 'name'),
|
|
145
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
146
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
147
|
+
type=pulumi.get(__ret__, 'type'))
|
|
148
|
+
def get_resource_guard_proxy_output(resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
149
|
+
resource_guard_proxy_name: Optional[pulumi.Input[str]] = None,
|
|
150
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
151
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceGuardProxyResult]:
|
|
152
|
+
"""
|
|
153
|
+
Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
157
|
+
:param str vault_name: The name of the recovery services vault.
|
|
158
|
+
"""
|
|
159
|
+
__args__ = dict()
|
|
160
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
161
|
+
__args__['resourceGuardProxyName'] = resource_guard_proxy_name
|
|
162
|
+
__args__['vaultName'] = vault_name
|
|
163
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
164
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:recoveryservices/v20241001:getResourceGuardProxy', __args__, opts=opts, typ=GetResourceGuardProxyResult)
|
|
165
|
+
return __ret__.apply(lambda __response__: GetResourceGuardProxyResult(
|
|
166
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
167
|
+
id=pulumi.get(__response__, 'id'),
|
|
168
|
+
location=pulumi.get(__response__, 'location'),
|
|
169
|
+
name=pulumi.get(__response__, 'name'),
|
|
170
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
171
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
172
|
+
type=pulumi.get(__response__, 'type')))
|