pulumi-azure-native 3.2.0a1744649622__py3-none-any.whl → 3.3.0a1745626403__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 +11 -0
- pulumi_azure_native/advisor/assessment.py +5 -1
- pulumi_azure_native/advisor/get_assessment.py +4 -0
- pulumi_azure_native/advisor/get_suppression.py +2 -2
- pulumi_azure_native/advisor/suppression.py +3 -3
- pulumi_azure_native/containerregistry/cache_rule.py +3 -3
- pulumi_azure_native/containerregistry/connected_registry.py +3 -3
- pulumi_azure_native/containerregistry/credential_set.py +3 -3
- pulumi_azure_native/containerregistry/get_cache_rule.py +2 -2
- pulumi_azure_native/containerregistry/get_connected_registry.py +2 -2
- pulumi_azure_native/containerregistry/get_credential_set.py +2 -2
- pulumi_azure_native/containerregistry/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/containerregistry/get_registry.py +2 -2
- pulumi_azure_native/containerregistry/get_replication.py +2 -2
- pulumi_azure_native/containerregistry/get_scope_map.py +2 -2
- pulumi_azure_native/containerregistry/get_token.py +2 -2
- pulumi_azure_native/containerregistry/get_webhook.py +2 -2
- pulumi_azure_native/containerregistry/get_webhook_callback_config.py +2 -2
- pulumi_azure_native/containerregistry/list_registry_credentials.py +2 -2
- pulumi_azure_native/containerregistry/list_webhook_events.py +2 -2
- pulumi_azure_native/containerregistry/private_endpoint_connection.py +3 -3
- pulumi_azure_native/containerregistry/registry.py +3 -3
- pulumi_azure_native/containerregistry/replication.py +3 -3
- pulumi_azure_native/containerregistry/scope_map.py +3 -3
- pulumi_azure_native/containerregistry/token.py +3 -3
- pulumi_azure_native/containerregistry/webhook.py +3 -3
- pulumi_azure_native/dbforpostgresql/_inputs.py +274 -50
- pulumi_azure_native/dbforpostgresql/get_server_group_cluster.py +3 -3
- pulumi_azure_native/dbforpostgresql/outputs.py +229 -28
- pulumi_azure_native/dbforpostgresql/server_group_cluster.py +24 -24
- pulumi_azure_native/durabletask/_enums.py +1 -1
- pulumi_azure_native/loadtestservice/_inputs.py +3 -3
- pulumi_azure_native/loadtestservice/outputs.py +2 -2
- pulumi_azure_native/migrate/_enums.py +23 -0
- pulumi_azure_native/migrate/_inputs.py +20 -0
- pulumi_azure_native/migrate/outputs.py +14 -0
- pulumi_azure_native/monitor/_enums.py +9 -0
- pulumi_azure_native/monitor/azure_monitor_workspace.py +38 -18
- pulumi_azure_native/monitor/get_azure_monitor_workspace.py +18 -18
- pulumi_azure_native/monitor/outputs.py +106 -106
- pulumi_azure_native/onlineexperimentation/__init__.py +12 -0
- pulumi_azure_native/onlineexperimentation/_enums.py +57 -0
- pulumi_azure_native/onlineexperimentation/_inputs.py +385 -0
- pulumi_azure_native/onlineexperimentation/get_online_experiment_workspace.py +217 -0
- pulumi_azure_native/onlineexperimentation/online_experiment_workspace.py +330 -0
- pulumi_azure_native/onlineexperimentation/outputs.py +577 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-3.2.0a1744649622.dist-info → pulumi_azure_native-3.3.0a1745626403.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.2.0a1744649622.dist-info → pulumi_azure_native-3.3.0a1745626403.dist-info}/RECORD +51 -45
- {pulumi_azure_native-3.2.0a1744649622.dist-info → pulumi_azure_native-3.3.0a1745626403.dist-info}/WHEEL +1 -1
- {pulumi_azure_native-3.2.0a1744649622.dist-info → pulumi_azure_native-3.3.0a1745626403.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,385 @@
|
|
|
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 ._enums import *
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'CustomerManagedKeyEncryptionArgs',
|
|
20
|
+
'CustomerManagedKeyEncryptionArgsDict',
|
|
21
|
+
'KeyEncryptionKeyIdentityArgs',
|
|
22
|
+
'KeyEncryptionKeyIdentityArgsDict',
|
|
23
|
+
'ManagedServiceIdentityArgs',
|
|
24
|
+
'ManagedServiceIdentityArgsDict',
|
|
25
|
+
'OnlineExperimentWorkspacePropertiesArgs',
|
|
26
|
+
'OnlineExperimentWorkspacePropertiesArgsDict',
|
|
27
|
+
'OnlineExperimentationWorkspaceSkuArgs',
|
|
28
|
+
'OnlineExperimentationWorkspaceSkuArgsDict',
|
|
29
|
+
'ResourceEncryptionConfigurationArgs',
|
|
30
|
+
'ResourceEncryptionConfigurationArgsDict',
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
MYPY = False
|
|
34
|
+
|
|
35
|
+
if not MYPY:
|
|
36
|
+
class CustomerManagedKeyEncryptionArgsDict(TypedDict):
|
|
37
|
+
"""
|
|
38
|
+
Customer-managed key encryption properties for the resource.
|
|
39
|
+
"""
|
|
40
|
+
key_encryption_key_identity: NotRequired[pulumi.Input['KeyEncryptionKeyIdentityArgsDict']]
|
|
41
|
+
"""
|
|
42
|
+
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
|
|
43
|
+
"""
|
|
44
|
+
key_encryption_key_url: NotRequired[pulumi.Input[str]]
|
|
45
|
+
"""
|
|
46
|
+
key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
|
|
47
|
+
"""
|
|
48
|
+
elif False:
|
|
49
|
+
CustomerManagedKeyEncryptionArgsDict: TypeAlias = Mapping[str, Any]
|
|
50
|
+
|
|
51
|
+
@pulumi.input_type
|
|
52
|
+
class CustomerManagedKeyEncryptionArgs:
|
|
53
|
+
def __init__(__self__, *,
|
|
54
|
+
key_encryption_key_identity: Optional[pulumi.Input['KeyEncryptionKeyIdentityArgs']] = None,
|
|
55
|
+
key_encryption_key_url: Optional[pulumi.Input[str]] = None):
|
|
56
|
+
"""
|
|
57
|
+
Customer-managed key encryption properties for the resource.
|
|
58
|
+
:param pulumi.Input['KeyEncryptionKeyIdentityArgs'] key_encryption_key_identity: All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
|
|
59
|
+
:param pulumi.Input[str] key_encryption_key_url: key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
|
|
60
|
+
"""
|
|
61
|
+
if key_encryption_key_identity is not None:
|
|
62
|
+
pulumi.set(__self__, "key_encryption_key_identity", key_encryption_key_identity)
|
|
63
|
+
if key_encryption_key_url is not None:
|
|
64
|
+
pulumi.set(__self__, "key_encryption_key_url", key_encryption_key_url)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter(name="keyEncryptionKeyIdentity")
|
|
68
|
+
def key_encryption_key_identity(self) -> Optional[pulumi.Input['KeyEncryptionKeyIdentityArgs']]:
|
|
69
|
+
"""
|
|
70
|
+
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "key_encryption_key_identity")
|
|
73
|
+
|
|
74
|
+
@key_encryption_key_identity.setter
|
|
75
|
+
def key_encryption_key_identity(self, value: Optional[pulumi.Input['KeyEncryptionKeyIdentityArgs']]):
|
|
76
|
+
pulumi.set(self, "key_encryption_key_identity", value)
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter(name="keyEncryptionKeyUrl")
|
|
80
|
+
def key_encryption_key_url(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
+
"""
|
|
82
|
+
key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "key_encryption_key_url")
|
|
85
|
+
|
|
86
|
+
@key_encryption_key_url.setter
|
|
87
|
+
def key_encryption_key_url(self, value: Optional[pulumi.Input[str]]):
|
|
88
|
+
pulumi.set(self, "key_encryption_key_url", value)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
if not MYPY:
|
|
92
|
+
class KeyEncryptionKeyIdentityArgsDict(TypedDict):
|
|
93
|
+
"""
|
|
94
|
+
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
|
|
95
|
+
"""
|
|
96
|
+
federated_client_id: NotRequired[pulumi.Input[str]]
|
|
97
|
+
"""
|
|
98
|
+
application client identity to use for accessing key encryption key Url in a different tenant. Ex: f83c6b1b-4d34-47e4-bb34-9d83df58b540
|
|
99
|
+
"""
|
|
100
|
+
identity_type: NotRequired[pulumi.Input[Union[str, 'KeyEncryptionKeyIdentityType']]]
|
|
101
|
+
"""
|
|
102
|
+
The type of identity to use. Values can be systemAssignedIdentity, userAssignedIdentity, or delegatedResourceIdentity.
|
|
103
|
+
"""
|
|
104
|
+
user_assigned_identity_resource_id: NotRequired[pulumi.Input[str]]
|
|
105
|
+
"""
|
|
106
|
+
User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity.
|
|
107
|
+
"""
|
|
108
|
+
elif False:
|
|
109
|
+
KeyEncryptionKeyIdentityArgsDict: TypeAlias = Mapping[str, Any]
|
|
110
|
+
|
|
111
|
+
@pulumi.input_type
|
|
112
|
+
class KeyEncryptionKeyIdentityArgs:
|
|
113
|
+
def __init__(__self__, *,
|
|
114
|
+
federated_client_id: Optional[pulumi.Input[str]] = None,
|
|
115
|
+
identity_type: Optional[pulumi.Input[Union[str, 'KeyEncryptionKeyIdentityType']]] = None,
|
|
116
|
+
user_assigned_identity_resource_id: Optional[pulumi.Input[str]] = None):
|
|
117
|
+
"""
|
|
118
|
+
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
|
|
119
|
+
:param pulumi.Input[str] federated_client_id: application client identity to use for accessing key encryption key Url in a different tenant. Ex: f83c6b1b-4d34-47e4-bb34-9d83df58b540
|
|
120
|
+
:param pulumi.Input[Union[str, 'KeyEncryptionKeyIdentityType']] identity_type: The type of identity to use. Values can be systemAssignedIdentity, userAssignedIdentity, or delegatedResourceIdentity.
|
|
121
|
+
:param pulumi.Input[str] user_assigned_identity_resource_id: User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity.
|
|
122
|
+
"""
|
|
123
|
+
if federated_client_id is not None:
|
|
124
|
+
pulumi.set(__self__, "federated_client_id", federated_client_id)
|
|
125
|
+
if identity_type is not None:
|
|
126
|
+
pulumi.set(__self__, "identity_type", identity_type)
|
|
127
|
+
if user_assigned_identity_resource_id is not None:
|
|
128
|
+
pulumi.set(__self__, "user_assigned_identity_resource_id", user_assigned_identity_resource_id)
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter(name="federatedClientId")
|
|
132
|
+
def federated_client_id(self) -> Optional[pulumi.Input[str]]:
|
|
133
|
+
"""
|
|
134
|
+
application client identity to use for accessing key encryption key Url in a different tenant. Ex: f83c6b1b-4d34-47e4-bb34-9d83df58b540
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "federated_client_id")
|
|
137
|
+
|
|
138
|
+
@federated_client_id.setter
|
|
139
|
+
def federated_client_id(self, value: Optional[pulumi.Input[str]]):
|
|
140
|
+
pulumi.set(self, "federated_client_id", value)
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter(name="identityType")
|
|
144
|
+
def identity_type(self) -> Optional[pulumi.Input[Union[str, 'KeyEncryptionKeyIdentityType']]]:
|
|
145
|
+
"""
|
|
146
|
+
The type of identity to use. Values can be systemAssignedIdentity, userAssignedIdentity, or delegatedResourceIdentity.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "identity_type")
|
|
149
|
+
|
|
150
|
+
@identity_type.setter
|
|
151
|
+
def identity_type(self, value: Optional[pulumi.Input[Union[str, 'KeyEncryptionKeyIdentityType']]]):
|
|
152
|
+
pulumi.set(self, "identity_type", value)
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter(name="userAssignedIdentityResourceId")
|
|
156
|
+
def user_assigned_identity_resource_id(self) -> Optional[pulumi.Input[str]]:
|
|
157
|
+
"""
|
|
158
|
+
User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "user_assigned_identity_resource_id")
|
|
161
|
+
|
|
162
|
+
@user_assigned_identity_resource_id.setter
|
|
163
|
+
def user_assigned_identity_resource_id(self, value: Optional[pulumi.Input[str]]):
|
|
164
|
+
pulumi.set(self, "user_assigned_identity_resource_id", value)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
if not MYPY:
|
|
168
|
+
class ManagedServiceIdentityArgsDict(TypedDict):
|
|
169
|
+
"""
|
|
170
|
+
Managed service identity (system assigned and/or user assigned identities)
|
|
171
|
+
"""
|
|
172
|
+
type: pulumi.Input[Union[str, 'ManagedServiceIdentityType']]
|
|
173
|
+
"""
|
|
174
|
+
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
|
|
175
|
+
"""
|
|
176
|
+
user_assigned_identities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
177
|
+
"""
|
|
178
|
+
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
|
|
179
|
+
"""
|
|
180
|
+
elif False:
|
|
181
|
+
ManagedServiceIdentityArgsDict: TypeAlias = Mapping[str, Any]
|
|
182
|
+
|
|
183
|
+
@pulumi.input_type
|
|
184
|
+
class ManagedServiceIdentityArgs:
|
|
185
|
+
def __init__(__self__, *,
|
|
186
|
+
type: pulumi.Input[Union[str, 'ManagedServiceIdentityType']],
|
|
187
|
+
user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
188
|
+
"""
|
|
189
|
+
Managed service identity (system assigned and/or user assigned identities)
|
|
190
|
+
:param pulumi.Input[Union[str, 'ManagedServiceIdentityType']] type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
|
|
191
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
|
|
192
|
+
"""
|
|
193
|
+
pulumi.set(__self__, "type", type)
|
|
194
|
+
if user_assigned_identities is not None:
|
|
195
|
+
pulumi.set(__self__, "user_assigned_identities", user_assigned_identities)
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
@pulumi.getter
|
|
199
|
+
def type(self) -> pulumi.Input[Union[str, 'ManagedServiceIdentityType']]:
|
|
200
|
+
"""
|
|
201
|
+
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
|
|
202
|
+
"""
|
|
203
|
+
return pulumi.get(self, "type")
|
|
204
|
+
|
|
205
|
+
@type.setter
|
|
206
|
+
def type(self, value: pulumi.Input[Union[str, 'ManagedServiceIdentityType']]):
|
|
207
|
+
pulumi.set(self, "type", value)
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
@pulumi.getter(name="userAssignedIdentities")
|
|
211
|
+
def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
212
|
+
"""
|
|
213
|
+
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
|
|
214
|
+
"""
|
|
215
|
+
return pulumi.get(self, "user_assigned_identities")
|
|
216
|
+
|
|
217
|
+
@user_assigned_identities.setter
|
|
218
|
+
def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
219
|
+
pulumi.set(self, "user_assigned_identities", value)
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
if not MYPY:
|
|
223
|
+
class OnlineExperimentWorkspacePropertiesArgsDict(TypedDict):
|
|
224
|
+
"""
|
|
225
|
+
The properties of an online experiment workspace.
|
|
226
|
+
"""
|
|
227
|
+
app_configuration_resource_id: pulumi.Input[str]
|
|
228
|
+
"""
|
|
229
|
+
The resource identifier of App Configuration with which this online experiment workspace is tied for experimentation. This is a required field for creating an online experiment workspace.
|
|
230
|
+
"""
|
|
231
|
+
log_analytics_workspace_resource_id: pulumi.Input[str]
|
|
232
|
+
"""
|
|
233
|
+
The resource identifier of the Log Analytics workspace which online experiment workspace uses for generating experiment analysis results.
|
|
234
|
+
"""
|
|
235
|
+
logs_exporter_storage_account_resource_id: pulumi.Input[str]
|
|
236
|
+
"""
|
|
237
|
+
The resource identifier of storage account where logs are exported from Log Analytics workspace. Online Experiment workspace uses it generating experiment analysis results.
|
|
238
|
+
"""
|
|
239
|
+
encryption: NotRequired[pulumi.Input['ResourceEncryptionConfigurationArgsDict']]
|
|
240
|
+
"""
|
|
241
|
+
The encryption configuration for the online experiment workspace resource.
|
|
242
|
+
"""
|
|
243
|
+
elif False:
|
|
244
|
+
OnlineExperimentWorkspacePropertiesArgsDict: TypeAlias = Mapping[str, Any]
|
|
245
|
+
|
|
246
|
+
@pulumi.input_type
|
|
247
|
+
class OnlineExperimentWorkspacePropertiesArgs:
|
|
248
|
+
def __init__(__self__, *,
|
|
249
|
+
app_configuration_resource_id: pulumi.Input[str],
|
|
250
|
+
log_analytics_workspace_resource_id: pulumi.Input[str],
|
|
251
|
+
logs_exporter_storage_account_resource_id: pulumi.Input[str],
|
|
252
|
+
encryption: Optional[pulumi.Input['ResourceEncryptionConfigurationArgs']] = None):
|
|
253
|
+
"""
|
|
254
|
+
The properties of an online experiment workspace.
|
|
255
|
+
:param pulumi.Input[str] app_configuration_resource_id: The resource identifier of App Configuration with which this online experiment workspace is tied for experimentation. This is a required field for creating an online experiment workspace.
|
|
256
|
+
:param pulumi.Input[str] log_analytics_workspace_resource_id: The resource identifier of the Log Analytics workspace which online experiment workspace uses for generating experiment analysis results.
|
|
257
|
+
:param pulumi.Input[str] logs_exporter_storage_account_resource_id: The resource identifier of storage account where logs are exported from Log Analytics workspace. Online Experiment workspace uses it generating experiment analysis results.
|
|
258
|
+
:param pulumi.Input['ResourceEncryptionConfigurationArgs'] encryption: The encryption configuration for the online experiment workspace resource.
|
|
259
|
+
"""
|
|
260
|
+
pulumi.set(__self__, "app_configuration_resource_id", app_configuration_resource_id)
|
|
261
|
+
pulumi.set(__self__, "log_analytics_workspace_resource_id", log_analytics_workspace_resource_id)
|
|
262
|
+
pulumi.set(__self__, "logs_exporter_storage_account_resource_id", logs_exporter_storage_account_resource_id)
|
|
263
|
+
if encryption is not None:
|
|
264
|
+
pulumi.set(__self__, "encryption", encryption)
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
@pulumi.getter(name="appConfigurationResourceId")
|
|
268
|
+
def app_configuration_resource_id(self) -> pulumi.Input[str]:
|
|
269
|
+
"""
|
|
270
|
+
The resource identifier of App Configuration with which this online experiment workspace is tied for experimentation. This is a required field for creating an online experiment workspace.
|
|
271
|
+
"""
|
|
272
|
+
return pulumi.get(self, "app_configuration_resource_id")
|
|
273
|
+
|
|
274
|
+
@app_configuration_resource_id.setter
|
|
275
|
+
def app_configuration_resource_id(self, value: pulumi.Input[str]):
|
|
276
|
+
pulumi.set(self, "app_configuration_resource_id", value)
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter(name="logAnalyticsWorkspaceResourceId")
|
|
280
|
+
def log_analytics_workspace_resource_id(self) -> pulumi.Input[str]:
|
|
281
|
+
"""
|
|
282
|
+
The resource identifier of the Log Analytics workspace which online experiment workspace uses for generating experiment analysis results.
|
|
283
|
+
"""
|
|
284
|
+
return pulumi.get(self, "log_analytics_workspace_resource_id")
|
|
285
|
+
|
|
286
|
+
@log_analytics_workspace_resource_id.setter
|
|
287
|
+
def log_analytics_workspace_resource_id(self, value: pulumi.Input[str]):
|
|
288
|
+
pulumi.set(self, "log_analytics_workspace_resource_id", value)
|
|
289
|
+
|
|
290
|
+
@property
|
|
291
|
+
@pulumi.getter(name="logsExporterStorageAccountResourceId")
|
|
292
|
+
def logs_exporter_storage_account_resource_id(self) -> pulumi.Input[str]:
|
|
293
|
+
"""
|
|
294
|
+
The resource identifier of storage account where logs are exported from Log Analytics workspace. Online Experiment workspace uses it generating experiment analysis results.
|
|
295
|
+
"""
|
|
296
|
+
return pulumi.get(self, "logs_exporter_storage_account_resource_id")
|
|
297
|
+
|
|
298
|
+
@logs_exporter_storage_account_resource_id.setter
|
|
299
|
+
def logs_exporter_storage_account_resource_id(self, value: pulumi.Input[str]):
|
|
300
|
+
pulumi.set(self, "logs_exporter_storage_account_resource_id", value)
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter
|
|
304
|
+
def encryption(self) -> Optional[pulumi.Input['ResourceEncryptionConfigurationArgs']]:
|
|
305
|
+
"""
|
|
306
|
+
The encryption configuration for the online experiment workspace resource.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "encryption")
|
|
309
|
+
|
|
310
|
+
@encryption.setter
|
|
311
|
+
def encryption(self, value: Optional[pulumi.Input['ResourceEncryptionConfigurationArgs']]):
|
|
312
|
+
pulumi.set(self, "encryption", value)
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
if not MYPY:
|
|
316
|
+
class OnlineExperimentationWorkspaceSkuArgsDict(TypedDict):
|
|
317
|
+
"""
|
|
318
|
+
The SKU (Stock Keeping Unit) assigned to this resource.
|
|
319
|
+
"""
|
|
320
|
+
name: pulumi.Input[Union[str, 'OnlineExperimentationWorkspaceSkuName']]
|
|
321
|
+
"""
|
|
322
|
+
The name of the SKU. Ex - F0, P0. It is typically a letter+number code
|
|
323
|
+
"""
|
|
324
|
+
elif False:
|
|
325
|
+
OnlineExperimentationWorkspaceSkuArgsDict: TypeAlias = Mapping[str, Any]
|
|
326
|
+
|
|
327
|
+
@pulumi.input_type
|
|
328
|
+
class OnlineExperimentationWorkspaceSkuArgs:
|
|
329
|
+
def __init__(__self__, *,
|
|
330
|
+
name: pulumi.Input[Union[str, 'OnlineExperimentationWorkspaceSkuName']]):
|
|
331
|
+
"""
|
|
332
|
+
The SKU (Stock Keeping Unit) assigned to this resource.
|
|
333
|
+
:param pulumi.Input[Union[str, 'OnlineExperimentationWorkspaceSkuName']] name: The name of the SKU. Ex - F0, P0. It is typically a letter+number code
|
|
334
|
+
"""
|
|
335
|
+
pulumi.set(__self__, "name", name)
|
|
336
|
+
|
|
337
|
+
@property
|
|
338
|
+
@pulumi.getter
|
|
339
|
+
def name(self) -> pulumi.Input[Union[str, 'OnlineExperimentationWorkspaceSkuName']]:
|
|
340
|
+
"""
|
|
341
|
+
The name of the SKU. Ex - F0, P0. It is typically a letter+number code
|
|
342
|
+
"""
|
|
343
|
+
return pulumi.get(self, "name")
|
|
344
|
+
|
|
345
|
+
@name.setter
|
|
346
|
+
def name(self, value: pulumi.Input[Union[str, 'OnlineExperimentationWorkspaceSkuName']]):
|
|
347
|
+
pulumi.set(self, "name", value)
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
if not MYPY:
|
|
351
|
+
class ResourceEncryptionConfigurationArgsDict(TypedDict):
|
|
352
|
+
"""
|
|
353
|
+
The encryption configuration for the online experiment workspace resource.
|
|
354
|
+
"""
|
|
355
|
+
customer_managed_key_encryption: NotRequired[pulumi.Input['CustomerManagedKeyEncryptionArgsDict']]
|
|
356
|
+
"""
|
|
357
|
+
All Customer-managed key encryption properties for the resource.
|
|
358
|
+
"""
|
|
359
|
+
elif False:
|
|
360
|
+
ResourceEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
|
361
|
+
|
|
362
|
+
@pulumi.input_type
|
|
363
|
+
class ResourceEncryptionConfigurationArgs:
|
|
364
|
+
def __init__(__self__, *,
|
|
365
|
+
customer_managed_key_encryption: Optional[pulumi.Input['CustomerManagedKeyEncryptionArgs']] = None):
|
|
366
|
+
"""
|
|
367
|
+
The encryption configuration for the online experiment workspace resource.
|
|
368
|
+
:param pulumi.Input['CustomerManagedKeyEncryptionArgs'] customer_managed_key_encryption: All Customer-managed key encryption properties for the resource.
|
|
369
|
+
"""
|
|
370
|
+
if customer_managed_key_encryption is not None:
|
|
371
|
+
pulumi.set(__self__, "customer_managed_key_encryption", customer_managed_key_encryption)
|
|
372
|
+
|
|
373
|
+
@property
|
|
374
|
+
@pulumi.getter(name="customerManagedKeyEncryption")
|
|
375
|
+
def customer_managed_key_encryption(self) -> Optional[pulumi.Input['CustomerManagedKeyEncryptionArgs']]:
|
|
376
|
+
"""
|
|
377
|
+
All Customer-managed key encryption properties for the resource.
|
|
378
|
+
"""
|
|
379
|
+
return pulumi.get(self, "customer_managed_key_encryption")
|
|
380
|
+
|
|
381
|
+
@customer_managed_key_encryption.setter
|
|
382
|
+
def customer_managed_key_encryption(self, value: Optional[pulumi.Input['CustomerManagedKeyEncryptionArgs']]):
|
|
383
|
+
pulumi.set(self, "customer_managed_key_encryption", value)
|
|
384
|
+
|
|
385
|
+
|
|
@@ -0,0 +1,217 @@
|
|
|
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
|
+
'GetOnlineExperimentWorkspaceResult',
|
|
20
|
+
'AwaitableGetOnlineExperimentWorkspaceResult',
|
|
21
|
+
'get_online_experiment_workspace',
|
|
22
|
+
'get_online_experiment_workspace_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetOnlineExperimentWorkspaceResult:
|
|
27
|
+
"""
|
|
28
|
+
An online experiment workspace resource.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, azure_api_version=None, id=None, identity=None, location=None, name=None, properties=None, sku=None, system_data=None, tags=None, type=None):
|
|
31
|
+
if azure_api_version and not isinstance(azure_api_version, str):
|
|
32
|
+
raise TypeError("Expected argument 'azure_api_version' to be a str")
|
|
33
|
+
pulumi.set(__self__, "azure_api_version", azure_api_version)
|
|
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 identity and not isinstance(identity, dict):
|
|
38
|
+
raise TypeError("Expected argument 'identity' to be a dict")
|
|
39
|
+
pulumi.set(__self__, "identity", identity)
|
|
40
|
+
if location and not isinstance(location, str):
|
|
41
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
42
|
+
pulumi.set(__self__, "location", location)
|
|
43
|
+
if name and not isinstance(name, str):
|
|
44
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
45
|
+
pulumi.set(__self__, "name", name)
|
|
46
|
+
if properties and not isinstance(properties, dict):
|
|
47
|
+
raise TypeError("Expected argument 'properties' to be a dict")
|
|
48
|
+
pulumi.set(__self__, "properties", properties)
|
|
49
|
+
if sku and not isinstance(sku, dict):
|
|
50
|
+
raise TypeError("Expected argument 'sku' to be a dict")
|
|
51
|
+
pulumi.set(__self__, "sku", sku)
|
|
52
|
+
if system_data and not isinstance(system_data, dict):
|
|
53
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
54
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
55
|
+
if tags and not isinstance(tags, dict):
|
|
56
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
57
|
+
pulumi.set(__self__, "tags", tags)
|
|
58
|
+
if type and not isinstance(type, str):
|
|
59
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
60
|
+
pulumi.set(__self__, "type", type)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter(name="azureApiVersion")
|
|
64
|
+
def azure_api_version(self) -> str:
|
|
65
|
+
"""
|
|
66
|
+
The Azure API version of the resource.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "azure_api_version")
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter
|
|
72
|
+
def id(self) -> str:
|
|
73
|
+
"""
|
|
74
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "id")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']:
|
|
81
|
+
"""
|
|
82
|
+
The managed service identities assigned to this resource.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "identity")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def location(self) -> str:
|
|
89
|
+
"""
|
|
90
|
+
The geo-location where the resource lives
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "location")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def name(self) -> str:
|
|
97
|
+
"""
|
|
98
|
+
The name of the resource
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "name")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter
|
|
104
|
+
def properties(self) -> 'outputs.OnlineExperimentWorkspacePropertiesResponse':
|
|
105
|
+
"""
|
|
106
|
+
The resource-specific properties for this resource.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "properties")
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter
|
|
112
|
+
def sku(self) -> Optional['outputs.OnlineExperimentationWorkspaceSkuResponse']:
|
|
113
|
+
"""
|
|
114
|
+
The SKU (Stock Keeping Unit) assigned to this resource.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "sku")
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter(name="systemData")
|
|
120
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
121
|
+
"""
|
|
122
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "system_data")
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter
|
|
128
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
129
|
+
"""
|
|
130
|
+
Resource tags.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "tags")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter
|
|
136
|
+
def type(self) -> str:
|
|
137
|
+
"""
|
|
138
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "type")
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
class AwaitableGetOnlineExperimentWorkspaceResult(GetOnlineExperimentWorkspaceResult):
|
|
144
|
+
# pylint: disable=using-constant-test
|
|
145
|
+
def __await__(self):
|
|
146
|
+
if False:
|
|
147
|
+
yield self
|
|
148
|
+
return GetOnlineExperimentWorkspaceResult(
|
|
149
|
+
azure_api_version=self.azure_api_version,
|
|
150
|
+
id=self.id,
|
|
151
|
+
identity=self.identity,
|
|
152
|
+
location=self.location,
|
|
153
|
+
name=self.name,
|
|
154
|
+
properties=self.properties,
|
|
155
|
+
sku=self.sku,
|
|
156
|
+
system_data=self.system_data,
|
|
157
|
+
tags=self.tags,
|
|
158
|
+
type=self.type)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def get_online_experiment_workspace(resource_group_name: Optional[str] = None,
|
|
162
|
+
workspace_name: Optional[str] = None,
|
|
163
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOnlineExperimentWorkspaceResult:
|
|
164
|
+
"""
|
|
165
|
+
Gets an experiment workspace
|
|
166
|
+
|
|
167
|
+
Uses Azure REST API version 2025-05-31-preview.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
171
|
+
:param str workspace_name: The name of the OnlineExperimentWorkspace
|
|
172
|
+
"""
|
|
173
|
+
__args__ = dict()
|
|
174
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
175
|
+
__args__['workspaceName'] = workspace_name
|
|
176
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
177
|
+
__ret__ = pulumi.runtime.invoke('azure-native:onlineexperimentation:getOnlineExperimentWorkspace', __args__, opts=opts, typ=GetOnlineExperimentWorkspaceResult).value
|
|
178
|
+
|
|
179
|
+
return AwaitableGetOnlineExperimentWorkspaceResult(
|
|
180
|
+
azure_api_version=pulumi.get(__ret__, 'azure_api_version'),
|
|
181
|
+
id=pulumi.get(__ret__, 'id'),
|
|
182
|
+
identity=pulumi.get(__ret__, 'identity'),
|
|
183
|
+
location=pulumi.get(__ret__, 'location'),
|
|
184
|
+
name=pulumi.get(__ret__, 'name'),
|
|
185
|
+
properties=pulumi.get(__ret__, 'properties'),
|
|
186
|
+
sku=pulumi.get(__ret__, 'sku'),
|
|
187
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
188
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
189
|
+
type=pulumi.get(__ret__, 'type'))
|
|
190
|
+
def get_online_experiment_workspace_output(resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
191
|
+
workspace_name: Optional[pulumi.Input[str]] = None,
|
|
192
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOnlineExperimentWorkspaceResult]:
|
|
193
|
+
"""
|
|
194
|
+
Gets an experiment workspace
|
|
195
|
+
|
|
196
|
+
Uses Azure REST API version 2025-05-31-preview.
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
200
|
+
:param str workspace_name: The name of the OnlineExperimentWorkspace
|
|
201
|
+
"""
|
|
202
|
+
__args__ = dict()
|
|
203
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
204
|
+
__args__['workspaceName'] = workspace_name
|
|
205
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
206
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:onlineexperimentation:getOnlineExperimentWorkspace', __args__, opts=opts, typ=GetOnlineExperimentWorkspaceResult)
|
|
207
|
+
return __ret__.apply(lambda __response__: GetOnlineExperimentWorkspaceResult(
|
|
208
|
+
azure_api_version=pulumi.get(__response__, 'azure_api_version'),
|
|
209
|
+
id=pulumi.get(__response__, 'id'),
|
|
210
|
+
identity=pulumi.get(__response__, 'identity'),
|
|
211
|
+
location=pulumi.get(__response__, 'location'),
|
|
212
|
+
name=pulumi.get(__response__, 'name'),
|
|
213
|
+
properties=pulumi.get(__response__, 'properties'),
|
|
214
|
+
sku=pulumi.get(__response__, 'sku'),
|
|
215
|
+
system_data=pulumi.get(__response__, 'system_data'),
|
|
216
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
217
|
+
type=pulumi.get(__response__, 'type')))
|