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,319 @@
|
|
|
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__ = ['ProtectionContainerArgs', 'ProtectionContainer']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class ProtectionContainerArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
fabric_name: pulumi.Input[str],
|
|
26
|
+
resource_group_name: pulumi.Input[str],
|
|
27
|
+
vault_name: pulumi.Input[str],
|
|
28
|
+
container_name: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
properties: Optional[pulumi.Input[Union['AzureBackupServerContainerArgs', 'AzureIaaSClassicComputeVMContainerArgs', 'AzureIaaSComputeVMContainerArgs', 'AzureSQLAGWorkloadContainerProtectionContainerArgs', 'AzureSqlContainerArgs', 'AzureStorageContainerArgs', 'AzureVMAppContainerProtectionContainerArgs', 'AzureWorkloadContainerArgs', 'DpmContainerArgs', 'GenericContainerArgs', 'IaaSVMContainerArgs', 'MabContainerArgs']]] = None,
|
|
32
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
33
|
+
"""
|
|
34
|
+
The set of arguments for constructing a ProtectionContainer resource.
|
|
35
|
+
:param pulumi.Input[str] fabric_name: Fabric name associated with the container.
|
|
36
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
37
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
38
|
+
:param pulumi.Input[str] container_name: Name of the container to be registered.
|
|
39
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
40
|
+
:param pulumi.Input[str] location: Resource location.
|
|
41
|
+
:param pulumi.Input[Union['AzureBackupServerContainerArgs', 'AzureIaaSClassicComputeVMContainerArgs', 'AzureIaaSComputeVMContainerArgs', 'AzureSQLAGWorkloadContainerProtectionContainerArgs', 'AzureSqlContainerArgs', 'AzureStorageContainerArgs', 'AzureVMAppContainerProtectionContainerArgs', 'AzureWorkloadContainerArgs', 'DpmContainerArgs', 'GenericContainerArgs', 'IaaSVMContainerArgs', 'MabContainerArgs']] properties: ProtectionContainerResource properties
|
|
42
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
43
|
+
"""
|
|
44
|
+
pulumi.set(__self__, "fabric_name", fabric_name)
|
|
45
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
46
|
+
pulumi.set(__self__, "vault_name", vault_name)
|
|
47
|
+
if container_name is not None:
|
|
48
|
+
pulumi.set(__self__, "container_name", container_name)
|
|
49
|
+
if e_tag is not None:
|
|
50
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
51
|
+
if location is not None:
|
|
52
|
+
pulumi.set(__self__, "location", location)
|
|
53
|
+
if properties is not None:
|
|
54
|
+
pulumi.set(__self__, "properties", properties)
|
|
55
|
+
if tags is not None:
|
|
56
|
+
pulumi.set(__self__, "tags", tags)
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter(name="fabricName")
|
|
60
|
+
def fabric_name(self) -> pulumi.Input[str]:
|
|
61
|
+
"""
|
|
62
|
+
Fabric name associated with the container.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "fabric_name")
|
|
65
|
+
|
|
66
|
+
@fabric_name.setter
|
|
67
|
+
def fabric_name(self, value: pulumi.Input[str]):
|
|
68
|
+
pulumi.set(self, "fabric_name", value)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="resourceGroupName")
|
|
72
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
73
|
+
"""
|
|
74
|
+
The name of the resource group where the recovery services vault is present.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "resource_group_name")
|
|
77
|
+
|
|
78
|
+
@resource_group_name.setter
|
|
79
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
80
|
+
pulumi.set(self, "resource_group_name", value)
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="vaultName")
|
|
84
|
+
def vault_name(self) -> pulumi.Input[str]:
|
|
85
|
+
"""
|
|
86
|
+
The name of the recovery services vault.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "vault_name")
|
|
89
|
+
|
|
90
|
+
@vault_name.setter
|
|
91
|
+
def vault_name(self, value: pulumi.Input[str]):
|
|
92
|
+
pulumi.set(self, "vault_name", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter(name="containerName")
|
|
96
|
+
def container_name(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
"""
|
|
98
|
+
Name of the container to be registered.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "container_name")
|
|
101
|
+
|
|
102
|
+
@container_name.setter
|
|
103
|
+
def container_name(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
pulumi.set(self, "container_name", value)
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter(name="eTag")
|
|
108
|
+
def e_tag(self) -> Optional[pulumi.Input[str]]:
|
|
109
|
+
"""
|
|
110
|
+
Optional ETag.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "e_tag")
|
|
113
|
+
|
|
114
|
+
@e_tag.setter
|
|
115
|
+
def e_tag(self, value: Optional[pulumi.Input[str]]):
|
|
116
|
+
pulumi.set(self, "e_tag", value)
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter
|
|
120
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
121
|
+
"""
|
|
122
|
+
Resource location.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "location")
|
|
125
|
+
|
|
126
|
+
@location.setter
|
|
127
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
128
|
+
pulumi.set(self, "location", value)
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter
|
|
132
|
+
def properties(self) -> Optional[pulumi.Input[Union['AzureBackupServerContainerArgs', 'AzureIaaSClassicComputeVMContainerArgs', 'AzureIaaSComputeVMContainerArgs', 'AzureSQLAGWorkloadContainerProtectionContainerArgs', 'AzureSqlContainerArgs', 'AzureStorageContainerArgs', 'AzureVMAppContainerProtectionContainerArgs', 'AzureWorkloadContainerArgs', 'DpmContainerArgs', 'GenericContainerArgs', 'IaaSVMContainerArgs', 'MabContainerArgs']]]:
|
|
133
|
+
"""
|
|
134
|
+
ProtectionContainerResource properties
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "properties")
|
|
137
|
+
|
|
138
|
+
@properties.setter
|
|
139
|
+
def properties(self, value: Optional[pulumi.Input[Union['AzureBackupServerContainerArgs', 'AzureIaaSClassicComputeVMContainerArgs', 'AzureIaaSComputeVMContainerArgs', 'AzureSQLAGWorkloadContainerProtectionContainerArgs', 'AzureSqlContainerArgs', 'AzureStorageContainerArgs', 'AzureVMAppContainerProtectionContainerArgs', 'AzureWorkloadContainerArgs', 'DpmContainerArgs', 'GenericContainerArgs', 'IaaSVMContainerArgs', 'MabContainerArgs']]]):
|
|
140
|
+
pulumi.set(self, "properties", value)
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter
|
|
144
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
145
|
+
"""
|
|
146
|
+
Resource tags.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "tags")
|
|
149
|
+
|
|
150
|
+
@tags.setter
|
|
151
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
152
|
+
pulumi.set(self, "tags", value)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class ProtectionContainer(pulumi.CustomResource):
|
|
156
|
+
@overload
|
|
157
|
+
def __init__(__self__,
|
|
158
|
+
resource_name: str,
|
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
160
|
+
container_name: Optional[pulumi.Input[str]] = None,
|
|
161
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
162
|
+
fabric_name: Optional[pulumi.Input[str]] = None,
|
|
163
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
164
|
+
properties: Optional[pulumi.Input[Union[Union['AzureBackupServerContainerArgs', 'AzureBackupServerContainerArgsDict'], Union['AzureIaaSClassicComputeVMContainerArgs', 'AzureIaaSClassicComputeVMContainerArgsDict'], Union['AzureIaaSComputeVMContainerArgs', 'AzureIaaSComputeVMContainerArgsDict'], Union['AzureSQLAGWorkloadContainerProtectionContainerArgs', 'AzureSQLAGWorkloadContainerProtectionContainerArgsDict'], Union['AzureSqlContainerArgs', 'AzureSqlContainerArgsDict'], Union['AzureStorageContainerArgs', 'AzureStorageContainerArgsDict'], Union['AzureVMAppContainerProtectionContainerArgs', 'AzureVMAppContainerProtectionContainerArgsDict'], Union['AzureWorkloadContainerArgs', 'AzureWorkloadContainerArgsDict'], Union['DpmContainerArgs', 'DpmContainerArgsDict'], Union['GenericContainerArgs', 'GenericContainerArgsDict'], Union['IaaSVMContainerArgs', 'IaaSVMContainerArgsDict'], Union['MabContainerArgs', 'MabContainerArgsDict']]]] = None,
|
|
165
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
166
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
167
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
__props__=None):
|
|
169
|
+
"""
|
|
170
|
+
Base class for container with backup items. Containers with specific workloads are derived from this class.
|
|
171
|
+
|
|
172
|
+
:param str resource_name: The name of the resource.
|
|
173
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
174
|
+
:param pulumi.Input[str] container_name: Name of the container to be registered.
|
|
175
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
176
|
+
:param pulumi.Input[str] fabric_name: Fabric name associated with the container.
|
|
177
|
+
:param pulumi.Input[str] location: Resource location.
|
|
178
|
+
:param pulumi.Input[Union[Union['AzureBackupServerContainerArgs', 'AzureBackupServerContainerArgsDict'], Union['AzureIaaSClassicComputeVMContainerArgs', 'AzureIaaSClassicComputeVMContainerArgsDict'], Union['AzureIaaSComputeVMContainerArgs', 'AzureIaaSComputeVMContainerArgsDict'], Union['AzureSQLAGWorkloadContainerProtectionContainerArgs', 'AzureSQLAGWorkloadContainerProtectionContainerArgsDict'], Union['AzureSqlContainerArgs', 'AzureSqlContainerArgsDict'], Union['AzureStorageContainerArgs', 'AzureStorageContainerArgsDict'], Union['AzureVMAppContainerProtectionContainerArgs', 'AzureVMAppContainerProtectionContainerArgsDict'], Union['AzureWorkloadContainerArgs', 'AzureWorkloadContainerArgsDict'], Union['DpmContainerArgs', 'DpmContainerArgsDict'], Union['GenericContainerArgs', 'GenericContainerArgsDict'], Union['IaaSVMContainerArgs', 'IaaSVMContainerArgsDict'], Union['MabContainerArgs', 'MabContainerArgsDict']]] properties: ProtectionContainerResource properties
|
|
179
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
180
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
181
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
182
|
+
"""
|
|
183
|
+
...
|
|
184
|
+
@overload
|
|
185
|
+
def __init__(__self__,
|
|
186
|
+
resource_name: str,
|
|
187
|
+
args: ProtectionContainerArgs,
|
|
188
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
189
|
+
"""
|
|
190
|
+
Base class for container with backup items. Containers with specific workloads are derived from this class.
|
|
191
|
+
|
|
192
|
+
:param str resource_name: The name of the resource.
|
|
193
|
+
:param ProtectionContainerArgs args: The arguments to use to populate this resource's properties.
|
|
194
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
195
|
+
"""
|
|
196
|
+
...
|
|
197
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
198
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProtectionContainerArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
199
|
+
if resource_args is not None:
|
|
200
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
201
|
+
else:
|
|
202
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
203
|
+
|
|
204
|
+
def _internal_init(__self__,
|
|
205
|
+
resource_name: str,
|
|
206
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
207
|
+
container_name: Optional[pulumi.Input[str]] = None,
|
|
208
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
209
|
+
fabric_name: Optional[pulumi.Input[str]] = None,
|
|
210
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
211
|
+
properties: Optional[pulumi.Input[Union[Union['AzureBackupServerContainerArgs', 'AzureBackupServerContainerArgsDict'], Union['AzureIaaSClassicComputeVMContainerArgs', 'AzureIaaSClassicComputeVMContainerArgsDict'], Union['AzureIaaSComputeVMContainerArgs', 'AzureIaaSComputeVMContainerArgsDict'], Union['AzureSQLAGWorkloadContainerProtectionContainerArgs', 'AzureSQLAGWorkloadContainerProtectionContainerArgsDict'], Union['AzureSqlContainerArgs', 'AzureSqlContainerArgsDict'], Union['AzureStorageContainerArgs', 'AzureStorageContainerArgsDict'], Union['AzureVMAppContainerProtectionContainerArgs', 'AzureVMAppContainerProtectionContainerArgsDict'], Union['AzureWorkloadContainerArgs', 'AzureWorkloadContainerArgsDict'], Union['DpmContainerArgs', 'DpmContainerArgsDict'], Union['GenericContainerArgs', 'GenericContainerArgsDict'], Union['IaaSVMContainerArgs', 'IaaSVMContainerArgsDict'], Union['MabContainerArgs', 'MabContainerArgsDict']]]] = None,
|
|
212
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
213
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
214
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
215
|
+
__props__=None):
|
|
216
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
217
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
218
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
219
|
+
if opts.id is None:
|
|
220
|
+
if __props__ is not None:
|
|
221
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
222
|
+
__props__ = ProtectionContainerArgs.__new__(ProtectionContainerArgs)
|
|
223
|
+
|
|
224
|
+
__props__.__dict__["container_name"] = container_name
|
|
225
|
+
__props__.__dict__["e_tag"] = e_tag
|
|
226
|
+
if fabric_name is None and not opts.urn:
|
|
227
|
+
raise TypeError("Missing required property 'fabric_name'")
|
|
228
|
+
__props__.__dict__["fabric_name"] = fabric_name
|
|
229
|
+
__props__.__dict__["location"] = location
|
|
230
|
+
__props__.__dict__["properties"] = properties
|
|
231
|
+
if resource_group_name is None and not opts.urn:
|
|
232
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
233
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
234
|
+
__props__.__dict__["tags"] = tags
|
|
235
|
+
if vault_name is None and not opts.urn:
|
|
236
|
+
raise TypeError("Missing required property 'vault_name'")
|
|
237
|
+
__props__.__dict__["vault_name"] = vault_name
|
|
238
|
+
__props__.__dict__["name"] = None
|
|
239
|
+
__props__.__dict__["type"] = None
|
|
240
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20161201:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20201001:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20201201:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210101:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210201:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210201preview:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20211001:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20220601preview:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20220901preview:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20230601:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20230801:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20240101:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20240201:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20240401:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20240430preview:ProtectionContainer"), pulumi.Alias(type_="azure-native:recoveryservices/v20240730preview:ProtectionContainer")])
|
|
241
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
242
|
+
super(ProtectionContainer, __self__).__init__(
|
|
243
|
+
'azure-native:recoveryservices/v20241001:ProtectionContainer',
|
|
244
|
+
resource_name,
|
|
245
|
+
__props__,
|
|
246
|
+
opts)
|
|
247
|
+
|
|
248
|
+
@staticmethod
|
|
249
|
+
def get(resource_name: str,
|
|
250
|
+
id: pulumi.Input[str],
|
|
251
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'ProtectionContainer':
|
|
252
|
+
"""
|
|
253
|
+
Get an existing ProtectionContainer resource's state with the given name, id, and optional extra
|
|
254
|
+
properties used to qualify the lookup.
|
|
255
|
+
|
|
256
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
257
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
258
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
|
+
"""
|
|
260
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
261
|
+
|
|
262
|
+
__props__ = ProtectionContainerArgs.__new__(ProtectionContainerArgs)
|
|
263
|
+
|
|
264
|
+
__props__.__dict__["e_tag"] = None
|
|
265
|
+
__props__.__dict__["location"] = None
|
|
266
|
+
__props__.__dict__["name"] = None
|
|
267
|
+
__props__.__dict__["properties"] = None
|
|
268
|
+
__props__.__dict__["tags"] = None
|
|
269
|
+
__props__.__dict__["type"] = None
|
|
270
|
+
return ProtectionContainer(resource_name, opts=opts, __props__=__props__)
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
@pulumi.getter(name="eTag")
|
|
274
|
+
def e_tag(self) -> pulumi.Output[Optional[str]]:
|
|
275
|
+
"""
|
|
276
|
+
Optional ETag.
|
|
277
|
+
"""
|
|
278
|
+
return pulumi.get(self, "e_tag")
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter
|
|
282
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
|
283
|
+
"""
|
|
284
|
+
Resource location.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "location")
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
@pulumi.getter
|
|
290
|
+
def name(self) -> pulumi.Output[str]:
|
|
291
|
+
"""
|
|
292
|
+
Resource name associated with the resource.
|
|
293
|
+
"""
|
|
294
|
+
return pulumi.get(self, "name")
|
|
295
|
+
|
|
296
|
+
@property
|
|
297
|
+
@pulumi.getter
|
|
298
|
+
def properties(self) -> pulumi.Output[Any]:
|
|
299
|
+
"""
|
|
300
|
+
ProtectionContainerResource properties
|
|
301
|
+
"""
|
|
302
|
+
return pulumi.get(self, "properties")
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
@pulumi.getter
|
|
306
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
307
|
+
"""
|
|
308
|
+
Resource tags.
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "tags")
|
|
311
|
+
|
|
312
|
+
@property
|
|
313
|
+
@pulumi.getter
|
|
314
|
+
def type(self) -> pulumi.Output[str]:
|
|
315
|
+
"""
|
|
316
|
+
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
317
|
+
"""
|
|
318
|
+
return pulumi.get(self, "type")
|
|
319
|
+
|
|
@@ -0,0 +1,319 @@
|
|
|
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__ = ['ProtectionIntentArgs', 'ProtectionIntent']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class ProtectionIntentArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
fabric_name: pulumi.Input[str],
|
|
26
|
+
resource_group_name: pulumi.Input[str],
|
|
27
|
+
vault_name: pulumi.Input[str],
|
|
28
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
intent_object_name: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
properties: Optional[pulumi.Input[Union['AzureRecoveryServiceVaultProtectionIntentArgs', 'AzureResourceProtectionIntentArgs', 'AzureWorkloadAutoProtectionIntentArgs', 'AzureWorkloadContainerAutoProtectionIntentArgs', 'AzureWorkloadSQLAutoProtectionIntentArgs']]] = None,
|
|
32
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
33
|
+
"""
|
|
34
|
+
The set of arguments for constructing a ProtectionIntent resource.
|
|
35
|
+
:param pulumi.Input[str] fabric_name: Fabric name associated with the backup item.
|
|
36
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
37
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
38
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
39
|
+
:param pulumi.Input[str] intent_object_name: Intent object name.
|
|
40
|
+
:param pulumi.Input[str] location: Resource location.
|
|
41
|
+
:param pulumi.Input[Union['AzureRecoveryServiceVaultProtectionIntentArgs', 'AzureResourceProtectionIntentArgs', 'AzureWorkloadAutoProtectionIntentArgs', 'AzureWorkloadContainerAutoProtectionIntentArgs', 'AzureWorkloadSQLAutoProtectionIntentArgs']] properties: ProtectionIntentResource properties
|
|
42
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
43
|
+
"""
|
|
44
|
+
pulumi.set(__self__, "fabric_name", fabric_name)
|
|
45
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
46
|
+
pulumi.set(__self__, "vault_name", vault_name)
|
|
47
|
+
if e_tag is not None:
|
|
48
|
+
pulumi.set(__self__, "e_tag", e_tag)
|
|
49
|
+
if intent_object_name is not None:
|
|
50
|
+
pulumi.set(__self__, "intent_object_name", intent_object_name)
|
|
51
|
+
if location is not None:
|
|
52
|
+
pulumi.set(__self__, "location", location)
|
|
53
|
+
if properties is not None:
|
|
54
|
+
pulumi.set(__self__, "properties", properties)
|
|
55
|
+
if tags is not None:
|
|
56
|
+
pulumi.set(__self__, "tags", tags)
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter(name="fabricName")
|
|
60
|
+
def fabric_name(self) -> pulumi.Input[str]:
|
|
61
|
+
"""
|
|
62
|
+
Fabric name associated with the backup item.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "fabric_name")
|
|
65
|
+
|
|
66
|
+
@fabric_name.setter
|
|
67
|
+
def fabric_name(self, value: pulumi.Input[str]):
|
|
68
|
+
pulumi.set(self, "fabric_name", value)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="resourceGroupName")
|
|
72
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
73
|
+
"""
|
|
74
|
+
The name of the resource group where the recovery services vault is present.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "resource_group_name")
|
|
77
|
+
|
|
78
|
+
@resource_group_name.setter
|
|
79
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
80
|
+
pulumi.set(self, "resource_group_name", value)
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="vaultName")
|
|
84
|
+
def vault_name(self) -> pulumi.Input[str]:
|
|
85
|
+
"""
|
|
86
|
+
The name of the recovery services vault.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "vault_name")
|
|
89
|
+
|
|
90
|
+
@vault_name.setter
|
|
91
|
+
def vault_name(self, value: pulumi.Input[str]):
|
|
92
|
+
pulumi.set(self, "vault_name", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter(name="eTag")
|
|
96
|
+
def e_tag(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
"""
|
|
98
|
+
Optional ETag.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "e_tag")
|
|
101
|
+
|
|
102
|
+
@e_tag.setter
|
|
103
|
+
def e_tag(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
pulumi.set(self, "e_tag", value)
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter(name="intentObjectName")
|
|
108
|
+
def intent_object_name(self) -> Optional[pulumi.Input[str]]:
|
|
109
|
+
"""
|
|
110
|
+
Intent object name.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "intent_object_name")
|
|
113
|
+
|
|
114
|
+
@intent_object_name.setter
|
|
115
|
+
def intent_object_name(self, value: Optional[pulumi.Input[str]]):
|
|
116
|
+
pulumi.set(self, "intent_object_name", value)
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter
|
|
120
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
121
|
+
"""
|
|
122
|
+
Resource location.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "location")
|
|
125
|
+
|
|
126
|
+
@location.setter
|
|
127
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
128
|
+
pulumi.set(self, "location", value)
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter
|
|
132
|
+
def properties(self) -> Optional[pulumi.Input[Union['AzureRecoveryServiceVaultProtectionIntentArgs', 'AzureResourceProtectionIntentArgs', 'AzureWorkloadAutoProtectionIntentArgs', 'AzureWorkloadContainerAutoProtectionIntentArgs', 'AzureWorkloadSQLAutoProtectionIntentArgs']]]:
|
|
133
|
+
"""
|
|
134
|
+
ProtectionIntentResource properties
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "properties")
|
|
137
|
+
|
|
138
|
+
@properties.setter
|
|
139
|
+
def properties(self, value: Optional[pulumi.Input[Union['AzureRecoveryServiceVaultProtectionIntentArgs', 'AzureResourceProtectionIntentArgs', 'AzureWorkloadAutoProtectionIntentArgs', 'AzureWorkloadContainerAutoProtectionIntentArgs', 'AzureWorkloadSQLAutoProtectionIntentArgs']]]):
|
|
140
|
+
pulumi.set(self, "properties", value)
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter
|
|
144
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
145
|
+
"""
|
|
146
|
+
Resource tags.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "tags")
|
|
149
|
+
|
|
150
|
+
@tags.setter
|
|
151
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
152
|
+
pulumi.set(self, "tags", value)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class ProtectionIntent(pulumi.CustomResource):
|
|
156
|
+
@overload
|
|
157
|
+
def __init__(__self__,
|
|
158
|
+
resource_name: str,
|
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
160
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
161
|
+
fabric_name: Optional[pulumi.Input[str]] = None,
|
|
162
|
+
intent_object_name: Optional[pulumi.Input[str]] = None,
|
|
163
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
164
|
+
properties: Optional[pulumi.Input[Union[Union['AzureRecoveryServiceVaultProtectionIntentArgs', 'AzureRecoveryServiceVaultProtectionIntentArgsDict'], Union['AzureResourceProtectionIntentArgs', 'AzureResourceProtectionIntentArgsDict'], Union['AzureWorkloadAutoProtectionIntentArgs', 'AzureWorkloadAutoProtectionIntentArgsDict'], Union['AzureWorkloadContainerAutoProtectionIntentArgs', 'AzureWorkloadContainerAutoProtectionIntentArgsDict'], Union['AzureWorkloadSQLAutoProtectionIntentArgs', 'AzureWorkloadSQLAutoProtectionIntentArgsDict']]]] = None,
|
|
165
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
166
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
167
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
__props__=None):
|
|
169
|
+
"""
|
|
170
|
+
Base class for backup ProtectionIntent.
|
|
171
|
+
|
|
172
|
+
:param str resource_name: The name of the resource.
|
|
173
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
174
|
+
:param pulumi.Input[str] e_tag: Optional ETag.
|
|
175
|
+
:param pulumi.Input[str] fabric_name: Fabric name associated with the backup item.
|
|
176
|
+
:param pulumi.Input[str] intent_object_name: Intent object name.
|
|
177
|
+
:param pulumi.Input[str] location: Resource location.
|
|
178
|
+
:param pulumi.Input[Union[Union['AzureRecoveryServiceVaultProtectionIntentArgs', 'AzureRecoveryServiceVaultProtectionIntentArgsDict'], Union['AzureResourceProtectionIntentArgs', 'AzureResourceProtectionIntentArgsDict'], Union['AzureWorkloadAutoProtectionIntentArgs', 'AzureWorkloadAutoProtectionIntentArgsDict'], Union['AzureWorkloadContainerAutoProtectionIntentArgs', 'AzureWorkloadContainerAutoProtectionIntentArgsDict'], Union['AzureWorkloadSQLAutoProtectionIntentArgs', 'AzureWorkloadSQLAutoProtectionIntentArgsDict']]] properties: ProtectionIntentResource properties
|
|
179
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group where the recovery services vault is present.
|
|
180
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
181
|
+
:param pulumi.Input[str] vault_name: The name of the recovery services vault.
|
|
182
|
+
"""
|
|
183
|
+
...
|
|
184
|
+
@overload
|
|
185
|
+
def __init__(__self__,
|
|
186
|
+
resource_name: str,
|
|
187
|
+
args: ProtectionIntentArgs,
|
|
188
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
189
|
+
"""
|
|
190
|
+
Base class for backup ProtectionIntent.
|
|
191
|
+
|
|
192
|
+
:param str resource_name: The name of the resource.
|
|
193
|
+
:param ProtectionIntentArgs args: The arguments to use to populate this resource's properties.
|
|
194
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
195
|
+
"""
|
|
196
|
+
...
|
|
197
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
198
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProtectionIntentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
199
|
+
if resource_args is not None:
|
|
200
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
201
|
+
else:
|
|
202
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
203
|
+
|
|
204
|
+
def _internal_init(__self__,
|
|
205
|
+
resource_name: str,
|
|
206
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
207
|
+
e_tag: Optional[pulumi.Input[str]] = None,
|
|
208
|
+
fabric_name: Optional[pulumi.Input[str]] = None,
|
|
209
|
+
intent_object_name: Optional[pulumi.Input[str]] = None,
|
|
210
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
211
|
+
properties: Optional[pulumi.Input[Union[Union['AzureRecoveryServiceVaultProtectionIntentArgs', 'AzureRecoveryServiceVaultProtectionIntentArgsDict'], Union['AzureResourceProtectionIntentArgs', 'AzureResourceProtectionIntentArgsDict'], Union['AzureWorkloadAutoProtectionIntentArgs', 'AzureWorkloadAutoProtectionIntentArgsDict'], Union['AzureWorkloadContainerAutoProtectionIntentArgs', 'AzureWorkloadContainerAutoProtectionIntentArgsDict'], Union['AzureWorkloadSQLAutoProtectionIntentArgs', 'AzureWorkloadSQLAutoProtectionIntentArgsDict']]]] = None,
|
|
212
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
213
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
214
|
+
vault_name: Optional[pulumi.Input[str]] = None,
|
|
215
|
+
__props__=None):
|
|
216
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
217
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
218
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
219
|
+
if opts.id is None:
|
|
220
|
+
if __props__ is not None:
|
|
221
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
222
|
+
__props__ = ProtectionIntentArgs.__new__(ProtectionIntentArgs)
|
|
223
|
+
|
|
224
|
+
__props__.__dict__["e_tag"] = e_tag
|
|
225
|
+
if fabric_name is None and not opts.urn:
|
|
226
|
+
raise TypeError("Missing required property 'fabric_name'")
|
|
227
|
+
__props__.__dict__["fabric_name"] = fabric_name
|
|
228
|
+
__props__.__dict__["intent_object_name"] = intent_object_name
|
|
229
|
+
__props__.__dict__["location"] = location
|
|
230
|
+
__props__.__dict__["properties"] = properties
|
|
231
|
+
if resource_group_name is None and not opts.urn:
|
|
232
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
233
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
234
|
+
__props__.__dict__["tags"] = tags
|
|
235
|
+
if vault_name is None and not opts.urn:
|
|
236
|
+
raise TypeError("Missing required property 'vault_name'")
|
|
237
|
+
__props__.__dict__["vault_name"] = vault_name
|
|
238
|
+
__props__.__dict__["name"] = None
|
|
239
|
+
__props__.__dict__["type"] = None
|
|
240
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:recoveryservices:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20170701:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210201:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210201preview:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210210:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210301:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210401:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210601:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210701:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20210801:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20211001:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20211201:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20220101:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20220201:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20220301:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20220401:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20220601preview:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20220901preview:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20220930preview:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20221001:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20230101:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20230201:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20230401:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20230601:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20230801:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20240101:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20240201:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20240401:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20240430preview:ProtectionIntent"), pulumi.Alias(type_="azure-native:recoveryservices/v20240730preview:ProtectionIntent")])
|
|
241
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
242
|
+
super(ProtectionIntent, __self__).__init__(
|
|
243
|
+
'azure-native:recoveryservices/v20241001:ProtectionIntent',
|
|
244
|
+
resource_name,
|
|
245
|
+
__props__,
|
|
246
|
+
opts)
|
|
247
|
+
|
|
248
|
+
@staticmethod
|
|
249
|
+
def get(resource_name: str,
|
|
250
|
+
id: pulumi.Input[str],
|
|
251
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'ProtectionIntent':
|
|
252
|
+
"""
|
|
253
|
+
Get an existing ProtectionIntent resource's state with the given name, id, and optional extra
|
|
254
|
+
properties used to qualify the lookup.
|
|
255
|
+
|
|
256
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
257
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
258
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
|
+
"""
|
|
260
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
261
|
+
|
|
262
|
+
__props__ = ProtectionIntentArgs.__new__(ProtectionIntentArgs)
|
|
263
|
+
|
|
264
|
+
__props__.__dict__["e_tag"] = None
|
|
265
|
+
__props__.__dict__["location"] = None
|
|
266
|
+
__props__.__dict__["name"] = None
|
|
267
|
+
__props__.__dict__["properties"] = None
|
|
268
|
+
__props__.__dict__["tags"] = None
|
|
269
|
+
__props__.__dict__["type"] = None
|
|
270
|
+
return ProtectionIntent(resource_name, opts=opts, __props__=__props__)
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
@pulumi.getter(name="eTag")
|
|
274
|
+
def e_tag(self) -> pulumi.Output[Optional[str]]:
|
|
275
|
+
"""
|
|
276
|
+
Optional ETag.
|
|
277
|
+
"""
|
|
278
|
+
return pulumi.get(self, "e_tag")
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter
|
|
282
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
|
283
|
+
"""
|
|
284
|
+
Resource location.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "location")
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
@pulumi.getter
|
|
290
|
+
def name(self) -> pulumi.Output[str]:
|
|
291
|
+
"""
|
|
292
|
+
Resource name associated with the resource.
|
|
293
|
+
"""
|
|
294
|
+
return pulumi.get(self, "name")
|
|
295
|
+
|
|
296
|
+
@property
|
|
297
|
+
@pulumi.getter
|
|
298
|
+
def properties(self) -> pulumi.Output[Any]:
|
|
299
|
+
"""
|
|
300
|
+
ProtectionIntentResource properties
|
|
301
|
+
"""
|
|
302
|
+
return pulumi.get(self, "properties")
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
@pulumi.getter
|
|
306
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
307
|
+
"""
|
|
308
|
+
Resource tags.
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "tags")
|
|
311
|
+
|
|
312
|
+
@property
|
|
313
|
+
@pulumi.getter
|
|
314
|
+
def type(self) -> pulumi.Output[str]:
|
|
315
|
+
"""
|
|
316
|
+
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
317
|
+
"""
|
|
318
|
+
return pulumi.get(self, "type")
|
|
319
|
+
|