pulumi-azure-native 2.70.0a1730971212__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.0a1730971212.dist-info → pulumi_azure_native-2.71.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.70.0a1730971212.dist-info → pulumi_azure_native-2.71.0.dist-info}/RECORD +125 -107
- {pulumi_azure_native-2.70.0a1730971212.dist-info → pulumi_azure_native-2.71.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.70.0a1730971212.dist-info → pulumi_azure_native-2.71.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,177 @@
|
|
|
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
|
+
'GetPrivateEndpointConnectionResult',
|
|
20
|
+
'AwaitableGetPrivateEndpointConnectionResult',
|
|
21
|
+
'get_private_endpoint_connection',
|
|
22
|
+
'get_private_endpoint_connection_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetPrivateEndpointConnectionResult:
|
|
27
|
+
"""
|
|
28
|
+
Private Endpoint Connection Response Properties
|
|
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) -> 'outputs.PrivateEndpointConnectionResponse':
|
|
88
|
+
"""
|
|
89
|
+
PrivateEndpointConnectionResource 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 AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult):
|
|
111
|
+
# pylint: disable=using-constant-test
|
|
112
|
+
def __await__(self):
|
|
113
|
+
if False:
|
|
114
|
+
yield self
|
|
115
|
+
return GetPrivateEndpointConnectionResult(
|
|
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_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None,
|
|
126
|
+
resource_group_name: Optional[str] = None,
|
|
127
|
+
vault_name: Optional[str] = None,
|
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult:
|
|
129
|
+
"""
|
|
130
|
+
Get Private Endpoint Connection. This call is made by Backup Admin.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
:param str private_endpoint_connection_name: The name of the private endpoint connection.
|
|
134
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
135
|
+
:param str vault_name: The name of the recovery services vault.
|
|
136
|
+
"""
|
|
137
|
+
__args__ = dict()
|
|
138
|
+
__args__['privateEndpointConnectionName'] = private_endpoint_connection_name
|
|
139
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
140
|
+
__args__['vaultName'] = vault_name
|
|
141
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
142
|
+
__ret__ = pulumi.runtime.invoke('azure-native:recoveryservices/v20241001:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value
|
|
143
|
+
|
|
144
|
+
return AwaitableGetPrivateEndpointConnectionResult(
|
|
145
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
146
|
+
id=pulumi.get(__ret__, 'id'),
|
|
147
|
+
location=pulumi.get(__ret__, 'location'),
|
|
148
|
+
name=pulumi.get(__ret__, 'name'),
|
|
149
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
150
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
151
|
+
type=pulumi.get(__ret__, 'type'))
|
|
152
|
+
def get_private_endpoint_connection_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
|
|
153
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
154
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]:
|
|
156
|
+
"""
|
|
157
|
+
Get Private Endpoint Connection. This call is made by Backup Admin.
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
:param str private_endpoint_connection_name: The name of the private endpoint connection.
|
|
161
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
162
|
+
:param str vault_name: The name of the recovery services vault.
|
|
163
|
+
"""
|
|
164
|
+
__args__ = dict()
|
|
165
|
+
__args__['privateEndpointConnectionName'] = private_endpoint_connection_name
|
|
166
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
167
|
+
__args__['vaultName'] = vault_name
|
|
168
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
169
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:recoveryservices/v20241001:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult)
|
|
170
|
+
return __ret__.apply(lambda __response__: GetPrivateEndpointConnectionResult(
|
|
171
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
172
|
+
id=pulumi.get(__response__, 'id'),
|
|
173
|
+
location=pulumi.get(__response__, 'location'),
|
|
174
|
+
name=pulumi.get(__response__, 'name'),
|
|
175
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
176
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
177
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,197 @@
|
|
|
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
|
+
'GetProtectedItemResult',
|
|
20
|
+
'AwaitableGetProtectedItemResult',
|
|
21
|
+
'get_protected_item',
|
|
22
|
+
'get_protected_item_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProtectedItemResult:
|
|
27
|
+
"""
|
|
28
|
+
Base class for backup items.
|
|
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
|
+
ProtectedItemResource 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 AwaitableGetProtectedItemResult(GetProtectedItemResult):
|
|
111
|
+
# pylint: disable=using-constant-test
|
|
112
|
+
def __await__(self):
|
|
113
|
+
if False:
|
|
114
|
+
yield self
|
|
115
|
+
return GetProtectedItemResult(
|
|
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_protected_item(container_name: Optional[str] = None,
|
|
126
|
+
fabric_name: Optional[str] = None,
|
|
127
|
+
filter: Optional[str] = None,
|
|
128
|
+
protected_item_name: Optional[str] = None,
|
|
129
|
+
resource_group_name: Optional[str] = None,
|
|
130
|
+
vault_name: Optional[str] = None,
|
|
131
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProtectedItemResult:
|
|
132
|
+
"""
|
|
133
|
+
Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
|
|
134
|
+
call the GetItemOperationResult API.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param str container_name: Container name associated with the backed up item.
|
|
138
|
+
:param str fabric_name: Fabric name associated with the backed up item.
|
|
139
|
+
:param str filter: OData filter options.
|
|
140
|
+
:param str protected_item_name: Backed up item name whose details are to be fetched.
|
|
141
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
142
|
+
:param str vault_name: The name of the recovery services vault.
|
|
143
|
+
"""
|
|
144
|
+
__args__ = dict()
|
|
145
|
+
__args__['containerName'] = container_name
|
|
146
|
+
__args__['fabricName'] = fabric_name
|
|
147
|
+
__args__['filter'] = filter
|
|
148
|
+
__args__['protectedItemName'] = protected_item_name
|
|
149
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
150
|
+
__args__['vaultName'] = vault_name
|
|
151
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
152
|
+
__ret__ = pulumi.runtime.invoke('azure-native:recoveryservices/v20241001:getProtectedItem', __args__, opts=opts, typ=GetProtectedItemResult).value
|
|
153
|
+
|
|
154
|
+
return AwaitableGetProtectedItemResult(
|
|
155
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
156
|
+
id=pulumi.get(__ret__, 'id'),
|
|
157
|
+
location=pulumi.get(__ret__, 'location'),
|
|
158
|
+
name=pulumi.get(__ret__, 'name'),
|
|
159
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
160
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
161
|
+
type=pulumi.get(__ret__, 'type'))
|
|
162
|
+
def get_protected_item_output(container_name: Optional[pulumi.Input[str]] = None,
|
|
163
|
+
fabric_name: Optional[pulumi.Input[str]] = None,
|
|
164
|
+
filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
165
|
+
protected_item_name: Optional[pulumi.Input[str]] = None,
|
|
166
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
167
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProtectedItemResult]:
|
|
169
|
+
"""
|
|
170
|
+
Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
|
|
171
|
+
call the GetItemOperationResult API.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param str container_name: Container name associated with the backed up item.
|
|
175
|
+
:param str fabric_name: Fabric name associated with the backed up item.
|
|
176
|
+
:param str filter: OData filter options.
|
|
177
|
+
:param str protected_item_name: Backed up item name whose details are to be fetched.
|
|
178
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
179
|
+
:param str vault_name: The name of the recovery services vault.
|
|
180
|
+
"""
|
|
181
|
+
__args__ = dict()
|
|
182
|
+
__args__['containerName'] = container_name
|
|
183
|
+
__args__['fabricName'] = fabric_name
|
|
184
|
+
__args__['filter'] = filter
|
|
185
|
+
__args__['protectedItemName'] = protected_item_name
|
|
186
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
187
|
+
__args__['vaultName'] = vault_name
|
|
188
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
189
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:recoveryservices/v20241001:getProtectedItem', __args__, opts=opts, typ=GetProtectedItemResult)
|
|
190
|
+
return __ret__.apply(lambda __response__: GetProtectedItemResult(
|
|
191
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
192
|
+
id=pulumi.get(__response__, 'id'),
|
|
193
|
+
location=pulumi.get(__response__, 'location'),
|
|
194
|
+
name=pulumi.get(__response__, 'name'),
|
|
195
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
196
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
197
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,183 @@
|
|
|
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
|
+
'GetProtectionContainerResult',
|
|
20
|
+
'AwaitableGetProtectionContainerResult',
|
|
21
|
+
'get_protection_container',
|
|
22
|
+
'get_protection_container_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProtectionContainerResult:
|
|
27
|
+
"""
|
|
28
|
+
Base class for container with backup items. Containers with specific workloads 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
|
+
ProtectionContainerResource 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 AwaitableGetProtectionContainerResult(GetProtectionContainerResult):
|
|
111
|
+
# pylint: disable=using-constant-test
|
|
112
|
+
def __await__(self):
|
|
113
|
+
if False:
|
|
114
|
+
yield self
|
|
115
|
+
return GetProtectionContainerResult(
|
|
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_container(container_name: Optional[str] = None,
|
|
126
|
+
fabric_name: Optional[str] = None,
|
|
127
|
+
resource_group_name: Optional[str] = None,
|
|
128
|
+
vault_name: Optional[str] = None,
|
|
129
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProtectionContainerResult:
|
|
130
|
+
"""
|
|
131
|
+
Gets details of the specific container registered to your Recovery Services Vault.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param str container_name: Name of the container whose details need to be fetched.
|
|
135
|
+
:param str fabric_name: Name of the fabric where the container belongs.
|
|
136
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
137
|
+
:param str vault_name: The name of the recovery services vault.
|
|
138
|
+
"""
|
|
139
|
+
__args__ = dict()
|
|
140
|
+
__args__['containerName'] = container_name
|
|
141
|
+
__args__['fabricName'] = fabric_name
|
|
142
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
143
|
+
__args__['vaultName'] = vault_name
|
|
144
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
145
|
+
__ret__ = pulumi.runtime.invoke('azure-native:recoveryservices/v20241001:getProtectionContainer', __args__, opts=opts, typ=GetProtectionContainerResult).value
|
|
146
|
+
|
|
147
|
+
return AwaitableGetProtectionContainerResult(
|
|
148
|
+
e_tag=pulumi.get(__ret__, 'e_tag'),
|
|
149
|
+
id=pulumi.get(__ret__, 'id'),
|
|
150
|
+
location=pulumi.get(__ret__, 'location'),
|
|
151
|
+
name=pulumi.get(__ret__, 'name'),
|
|
152
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
153
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
154
|
+
type=pulumi.get(__ret__, 'type'))
|
|
155
|
+
def get_protection_container_output(container_name: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
fabric_name: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
158
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
159
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProtectionContainerResult]:
|
|
160
|
+
"""
|
|
161
|
+
Gets details of the specific container registered to your Recovery Services Vault.
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:param str container_name: Name of the container whose details need to be fetched.
|
|
165
|
+
:param str fabric_name: Name of the fabric where the container belongs.
|
|
166
|
+
:param str resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
167
|
+
:param str vault_name: The name of the recovery services vault.
|
|
168
|
+
"""
|
|
169
|
+
__args__ = dict()
|
|
170
|
+
__args__['containerName'] = container_name
|
|
171
|
+
__args__['fabricName'] = fabric_name
|
|
172
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
173
|
+
__args__['vaultName'] = vault_name
|
|
174
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
175
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:recoveryservices/v20241001:getProtectionContainer', __args__, opts=opts, typ=GetProtectionContainerResult)
|
|
176
|
+
return __ret__.apply(lambda __response__: GetProtectionContainerResult(
|
|
177
|
+
e_tag=pulumi.get(__response__, 'e_tag'),
|
|
178
|
+
id=pulumi.get(__response__, 'id'),
|
|
179
|
+
location=pulumi.get(__response__, 'location'),
|
|
180
|
+
name=pulumi.get(__response__, 'name'),
|
|
181
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
182
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
183
|
+
type=pulumi.get(__response__, 'type')))
|