pulumi-azure-native 2.84.0a1737570745__py3-none-any.whl → 2.84.0a1737706742__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.

Files changed (96) hide show
  1. pulumi_azure_native/__init__.py +39 -0
  2. pulumi_azure_native/dashboard/__init__.py +3 -0
  3. pulumi_azure_native/dashboard/get_grafana.py +2 -2
  4. pulumi_azure_native/dashboard/get_integration_fabric.py +4 -0
  5. pulumi_azure_native/dashboard/get_managed_private_endpoint.py +2 -2
  6. pulumi_azure_native/dashboard/get_private_endpoint_connection.py +2 -2
  7. pulumi_azure_native/dashboard/grafana.py +3 -3
  8. pulumi_azure_native/dashboard/integration_fabric.py +5 -1
  9. pulumi_azure_native/dashboard/managed_private_endpoint.py +3 -3
  10. pulumi_azure_native/dashboard/private_endpoint_connection.py +3 -3
  11. pulumi_azure_native/dashboard/v20210901preview/grafana.py +1 -1
  12. pulumi_azure_native/dashboard/v20220801/grafana.py +1 -1
  13. pulumi_azure_native/dashboard/v20220801/private_endpoint_connection.py +1 -1
  14. pulumi_azure_native/dashboard/v20221001preview/grafana.py +1 -1
  15. pulumi_azure_native/dashboard/v20221001preview/managed_private_endpoint.py +1 -1
  16. pulumi_azure_native/dashboard/v20221001preview/private_endpoint_connection.py +1 -1
  17. pulumi_azure_native/dashboard/v20230901/grafana.py +1 -1
  18. pulumi_azure_native/dashboard/v20230901/managed_private_endpoint.py +1 -1
  19. pulumi_azure_native/dashboard/v20230901/private_endpoint_connection.py +1 -1
  20. pulumi_azure_native/dashboard/v20231001preview/grafana.py +1 -1
  21. pulumi_azure_native/dashboard/v20231001preview/integration_fabric.py +1 -1
  22. pulumi_azure_native/dashboard/v20231001preview/managed_private_endpoint.py +1 -1
  23. pulumi_azure_native/dashboard/v20231001preview/private_endpoint_connection.py +1 -1
  24. pulumi_azure_native/dashboard/v20241001/__init__.py +18 -0
  25. pulumi_azure_native/dashboard/v20241001/_enums.py +93 -0
  26. pulumi_azure_native/dashboard/v20241001/_inputs.py +1009 -0
  27. pulumi_azure_native/dashboard/v20241001/get_grafana.py +199 -0
  28. pulumi_azure_native/dashboard/v20241001/get_integration_fabric.py +174 -0
  29. pulumi_azure_native/dashboard/v20241001/get_managed_private_endpoint.py +275 -0
  30. pulumi_azure_native/dashboard/v20241001/get_private_endpoint_connection.py +191 -0
  31. pulumi_azure_native/dashboard/v20241001/grafana.py +316 -0
  32. pulumi_azure_native/dashboard/v20241001/integration_fabric.py +270 -0
  33. pulumi_azure_native/dashboard/v20241001/managed_private_endpoint.py +423 -0
  34. pulumi_azure_native/dashboard/v20241001/outputs.py +1332 -0
  35. pulumi_azure_native/dashboard/v20241001/private_endpoint_connection.py +271 -0
  36. pulumi_azure_native/datafactory/_enums.py +8 -0
  37. pulumi_azure_native/datafactory/_inputs.py +180 -0
  38. pulumi_azure_native/datafactory/outputs.py +117 -1
  39. pulumi_azure_native/datafactory/v20180601/_enums.py +8 -0
  40. pulumi_azure_native/datafactory/v20180601/_inputs.py +180 -0
  41. pulumi_azure_native/datafactory/v20180601/outputs.py +117 -1
  42. pulumi_azure_native/insights/__init__.py +6 -0
  43. pulumi_azure_native/insights/get_private_endpoint_connection.py +2 -2
  44. pulumi_azure_native/insights/get_private_link_scope.py +2 -2
  45. pulumi_azure_native/insights/get_private_link_scoped_resource.py +4 -0
  46. pulumi_azure_native/insights/private_endpoint_connection.py +3 -3
  47. pulumi_azure_native/insights/private_link_scope.py +3 -3
  48. pulumi_azure_native/insights/private_link_scoped_resource.py +5 -1
  49. pulumi_azure_native/insights/v20191017preview/private_endpoint_connection.py +1 -1
  50. pulumi_azure_native/insights/v20191017preview/private_link_scope.py +1 -1
  51. pulumi_azure_native/insights/v20210701preview/private_endpoint_connection.py +1 -1
  52. pulumi_azure_native/insights/v20210701preview/private_link_scope.py +1 -1
  53. pulumi_azure_native/insights/v20210701preview/private_link_scoped_resource.py +1 -1
  54. pulumi_azure_native/insights/v20210901/__init__.py +16 -0
  55. pulumi_azure_native/insights/v20210901/_enums.py +27 -0
  56. pulumi_azure_native/insights/v20210901/_inputs.py +254 -0
  57. pulumi_azure_native/insights/v20210901/get_private_endpoint_connection.py +163 -0
  58. pulumi_azure_native/insights/v20210901/get_private_link_scope.py +199 -0
  59. pulumi_azure_native/insights/v20210901/get_private_link_scoped_resource.py +163 -0
  60. pulumi_azure_native/insights/v20210901/outputs.py +454 -0
  61. pulumi_azure_native/insights/v20210901/private_endpoint_connection.py +232 -0
  62. pulumi_azure_native/insights/v20210901/private_link_scope.py +279 -0
  63. pulumi_azure_native/insights/v20210901/private_link_scoped_resource.py +228 -0
  64. pulumi_azure_native/insights/v20230601preview/__init__.py +16 -0
  65. pulumi_azure_native/insights/v20230601preview/_enums.py +36 -0
  66. pulumi_azure_native/insights/v20230601preview/_inputs.py +254 -0
  67. pulumi_azure_native/insights/v20230601preview/get_private_endpoint_connection.py +163 -0
  68. pulumi_azure_native/insights/v20230601preview/get_private_link_scope.py +199 -0
  69. pulumi_azure_native/insights/v20230601preview/get_private_link_scoped_resource.py +191 -0
  70. pulumi_azure_native/insights/v20230601preview/outputs.py +454 -0
  71. pulumi_azure_native/insights/v20230601preview/private_endpoint_connection.py +232 -0
  72. pulumi_azure_native/insights/v20230601preview/private_link_scope.py +279 -0
  73. pulumi_azure_native/insights/v20230601preview/private_link_scoped_resource.py +287 -0
  74. pulumi_azure_native/pulumi-plugin.json +1 -1
  75. pulumi_azure_native/redhatopenshift/__init__.py +3 -0
  76. pulumi_azure_native/redhatopenshift/get_open_shift_cluster.py +2 -2
  77. pulumi_azure_native/redhatopenshift/list_open_shift_cluster_admin_credentials.py +2 -2
  78. pulumi_azure_native/redhatopenshift/list_open_shift_cluster_credentials.py +2 -2
  79. pulumi_azure_native/redhatopenshift/open_shift_cluster.py +3 -3
  80. pulumi_azure_native/redhatopenshift/v20220904/open_shift_cluster.py +1 -1
  81. pulumi_azure_native/redhatopenshift/v20230401/open_shift_cluster.py +1 -1
  82. pulumi_azure_native/redhatopenshift/v20230701preview/open_shift_cluster.py +1 -1
  83. pulumi_azure_native/redhatopenshift/v20230904/open_shift_cluster.py +1 -1
  84. pulumi_azure_native/redhatopenshift/v20231122/open_shift_cluster.py +1 -1
  85. pulumi_azure_native/redhatopenshift/v20240812preview/__init__.py +14 -0
  86. pulumi_azure_native/redhatopenshift/v20240812preview/_enums.py +78 -0
  87. pulumi_azure_native/redhatopenshift/v20240812preview/_inputs.py +910 -0
  88. pulumi_azure_native/redhatopenshift/v20240812preview/get_open_shift_cluster.py +325 -0
  89. pulumi_azure_native/redhatopenshift/v20240812preview/list_open_shift_cluster_admin_credentials.py +86 -0
  90. pulumi_azure_native/redhatopenshift/v20240812preview/list_open_shift_cluster_credentials.py +100 -0
  91. pulumi_azure_native/redhatopenshift/v20240812preview/open_shift_cluster.py +539 -0
  92. pulumi_azure_native/redhatopenshift/v20240812preview/outputs.py +1062 -0
  93. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/METADATA +1 -1
  94. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/RECORD +96 -56
  95. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/WHEEL +0 -0
  96. {pulumi_azure_native-2.84.0a1737570745.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,254 @@
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
+ 'AccessModeSettingsExclusionArgs',
20
+ 'AccessModeSettingsExclusionArgsDict',
21
+ 'AccessModeSettingsArgs',
22
+ 'AccessModeSettingsArgsDict',
23
+ 'PrivateLinkServiceConnectionStateArgs',
24
+ 'PrivateLinkServiceConnectionStateArgsDict',
25
+ ]
26
+
27
+ MYPY = False
28
+
29
+ if not MYPY:
30
+ class AccessModeSettingsExclusionArgsDict(TypedDict):
31
+ """
32
+ Properties that define the scope private link mode settings exclusion item. This setting applies to a specific private endpoint connection and overrides the default settings for that private endpoint connection.
33
+ """
34
+ ingestion_access_mode: NotRequired[pulumi.Input[Union[str, 'AccessMode']]]
35
+ """
36
+ Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.
37
+ """
38
+ private_endpoint_connection_name: NotRequired[pulumi.Input[str]]
39
+ """
40
+ The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings.
41
+ """
42
+ query_access_mode: NotRequired[pulumi.Input[Union[str, 'AccessMode']]]
43
+ """
44
+ Specifies the access mode of queries through the specified private endpoint connection in the exclusion.
45
+ """
46
+ elif False:
47
+ AccessModeSettingsExclusionArgsDict: TypeAlias = Mapping[str, Any]
48
+
49
+ @pulumi.input_type
50
+ class AccessModeSettingsExclusionArgs:
51
+ def __init__(__self__, *,
52
+ ingestion_access_mode: Optional[pulumi.Input[Union[str, 'AccessMode']]] = None,
53
+ private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
54
+ query_access_mode: Optional[pulumi.Input[Union[str, 'AccessMode']]] = None):
55
+ """
56
+ Properties that define the scope private link mode settings exclusion item. This setting applies to a specific private endpoint connection and overrides the default settings for that private endpoint connection.
57
+ :param pulumi.Input[Union[str, 'AccessMode']] ingestion_access_mode: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.
58
+ :param pulumi.Input[str] private_endpoint_connection_name: The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings.
59
+ :param pulumi.Input[Union[str, 'AccessMode']] query_access_mode: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.
60
+ """
61
+ if ingestion_access_mode is not None:
62
+ pulumi.set(__self__, "ingestion_access_mode", ingestion_access_mode)
63
+ if private_endpoint_connection_name is not None:
64
+ pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name)
65
+ if query_access_mode is not None:
66
+ pulumi.set(__self__, "query_access_mode", query_access_mode)
67
+
68
+ @property
69
+ @pulumi.getter(name="ingestionAccessMode")
70
+ def ingestion_access_mode(self) -> Optional[pulumi.Input[Union[str, 'AccessMode']]]:
71
+ """
72
+ Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.
73
+ """
74
+ return pulumi.get(self, "ingestion_access_mode")
75
+
76
+ @ingestion_access_mode.setter
77
+ def ingestion_access_mode(self, value: Optional[pulumi.Input[Union[str, 'AccessMode']]]):
78
+ pulumi.set(self, "ingestion_access_mode", value)
79
+
80
+ @property
81
+ @pulumi.getter(name="privateEndpointConnectionName")
82
+ def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]:
83
+ """
84
+ The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings.
85
+ """
86
+ return pulumi.get(self, "private_endpoint_connection_name")
87
+
88
+ @private_endpoint_connection_name.setter
89
+ def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]):
90
+ pulumi.set(self, "private_endpoint_connection_name", value)
91
+
92
+ @property
93
+ @pulumi.getter(name="queryAccessMode")
94
+ def query_access_mode(self) -> Optional[pulumi.Input[Union[str, 'AccessMode']]]:
95
+ """
96
+ Specifies the access mode of queries through the specified private endpoint connection in the exclusion.
97
+ """
98
+ return pulumi.get(self, "query_access_mode")
99
+
100
+ @query_access_mode.setter
101
+ def query_access_mode(self, value: Optional[pulumi.Input[Union[str, 'AccessMode']]]):
102
+ pulumi.set(self, "query_access_mode", value)
103
+
104
+
105
+ if not MYPY:
106
+ class AccessModeSettingsArgsDict(TypedDict):
107
+ """
108
+ Properties that define the scope private link mode settings.
109
+ """
110
+ ingestion_access_mode: pulumi.Input[Union[str, 'AccessMode']]
111
+ """
112
+ Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
113
+ """
114
+ query_access_mode: pulumi.Input[Union[str, 'AccessMode']]
115
+ """
116
+ Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
117
+ """
118
+ exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AccessModeSettingsExclusionArgsDict']]]]
119
+ """
120
+ List of exclusions that override the default access mode settings for specific private endpoint connections.
121
+ """
122
+ elif False:
123
+ AccessModeSettingsArgsDict: TypeAlias = Mapping[str, Any]
124
+
125
+ @pulumi.input_type
126
+ class AccessModeSettingsArgs:
127
+ def __init__(__self__, *,
128
+ ingestion_access_mode: pulumi.Input[Union[str, 'AccessMode']],
129
+ query_access_mode: pulumi.Input[Union[str, 'AccessMode']],
130
+ exclusions: Optional[pulumi.Input[Sequence[pulumi.Input['AccessModeSettingsExclusionArgs']]]] = None):
131
+ """
132
+ Properties that define the scope private link mode settings.
133
+ :param pulumi.Input[Union[str, 'AccessMode']] ingestion_access_mode: Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
134
+ :param pulumi.Input[Union[str, 'AccessMode']] query_access_mode: Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
135
+ :param pulumi.Input[Sequence[pulumi.Input['AccessModeSettingsExclusionArgs']]] exclusions: List of exclusions that override the default access mode settings for specific private endpoint connections.
136
+ """
137
+ pulumi.set(__self__, "ingestion_access_mode", ingestion_access_mode)
138
+ pulumi.set(__self__, "query_access_mode", query_access_mode)
139
+ if exclusions is not None:
140
+ pulumi.set(__self__, "exclusions", exclusions)
141
+
142
+ @property
143
+ @pulumi.getter(name="ingestionAccessMode")
144
+ def ingestion_access_mode(self) -> pulumi.Input[Union[str, 'AccessMode']]:
145
+ """
146
+ Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
147
+ """
148
+ return pulumi.get(self, "ingestion_access_mode")
149
+
150
+ @ingestion_access_mode.setter
151
+ def ingestion_access_mode(self, value: pulumi.Input[Union[str, 'AccessMode']]):
152
+ pulumi.set(self, "ingestion_access_mode", value)
153
+
154
+ @property
155
+ @pulumi.getter(name="queryAccessMode")
156
+ def query_access_mode(self) -> pulumi.Input[Union[str, 'AccessMode']]:
157
+ """
158
+ Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
159
+ """
160
+ return pulumi.get(self, "query_access_mode")
161
+
162
+ @query_access_mode.setter
163
+ def query_access_mode(self, value: pulumi.Input[Union[str, 'AccessMode']]):
164
+ pulumi.set(self, "query_access_mode", value)
165
+
166
+ @property
167
+ @pulumi.getter
168
+ def exclusions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AccessModeSettingsExclusionArgs']]]]:
169
+ """
170
+ List of exclusions that override the default access mode settings for specific private endpoint connections.
171
+ """
172
+ return pulumi.get(self, "exclusions")
173
+
174
+ @exclusions.setter
175
+ def exclusions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AccessModeSettingsExclusionArgs']]]]):
176
+ pulumi.set(self, "exclusions", value)
177
+
178
+
179
+ if not MYPY:
180
+ class PrivateLinkServiceConnectionStateArgsDict(TypedDict):
181
+ """
182
+ A collection of information about the state of the connection between service consumer and provider.
183
+ """
184
+ actions_required: NotRequired[pulumi.Input[str]]
185
+ """
186
+ A message indicating if changes on the service provider require any updates on the consumer.
187
+ """
188
+ description: NotRequired[pulumi.Input[str]]
189
+ """
190
+ The reason for approval/rejection of the connection.
191
+ """
192
+ status: NotRequired[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]
193
+ """
194
+ Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
195
+ """
196
+ elif False:
197
+ PrivateLinkServiceConnectionStateArgsDict: TypeAlias = Mapping[str, Any]
198
+
199
+ @pulumi.input_type
200
+ class PrivateLinkServiceConnectionStateArgs:
201
+ def __init__(__self__, *,
202
+ actions_required: Optional[pulumi.Input[str]] = None,
203
+ description: Optional[pulumi.Input[str]] = None,
204
+ status: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]] = None):
205
+ """
206
+ A collection of information about the state of the connection between service consumer and provider.
207
+ :param pulumi.Input[str] actions_required: A message indicating if changes on the service provider require any updates on the consumer.
208
+ :param pulumi.Input[str] description: The reason for approval/rejection of the connection.
209
+ :param pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']] status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
210
+ """
211
+ if actions_required is not None:
212
+ pulumi.set(__self__, "actions_required", actions_required)
213
+ if description is not None:
214
+ pulumi.set(__self__, "description", description)
215
+ if status is not None:
216
+ pulumi.set(__self__, "status", status)
217
+
218
+ @property
219
+ @pulumi.getter(name="actionsRequired")
220
+ def actions_required(self) -> Optional[pulumi.Input[str]]:
221
+ """
222
+ A message indicating if changes on the service provider require any updates on the consumer.
223
+ """
224
+ return pulumi.get(self, "actions_required")
225
+
226
+ @actions_required.setter
227
+ def actions_required(self, value: Optional[pulumi.Input[str]]):
228
+ pulumi.set(self, "actions_required", value)
229
+
230
+ @property
231
+ @pulumi.getter
232
+ def description(self) -> Optional[pulumi.Input[str]]:
233
+ """
234
+ The reason for approval/rejection of the connection.
235
+ """
236
+ return pulumi.get(self, "description")
237
+
238
+ @description.setter
239
+ def description(self, value: Optional[pulumi.Input[str]]):
240
+ pulumi.set(self, "description", value)
241
+
242
+ @property
243
+ @pulumi.getter
244
+ def status(self) -> Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]:
245
+ """
246
+ Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
247
+ """
248
+ return pulumi.get(self, "status")
249
+
250
+ @status.setter
251
+ def status(self, value: Optional[pulumi.Input[Union[str, 'PrivateEndpointServiceConnectionStatus']]]):
252
+ pulumi.set(self, "status", value)
253
+
254
+
@@ -0,0 +1,163 @@
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
+ The Private Endpoint Connection resource.
29
+ """
30
+ def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, type=None):
31
+ if id and not isinstance(id, str):
32
+ raise TypeError("Expected argument 'id' to be a str")
33
+ pulumi.set(__self__, "id", id)
34
+ if name and not isinstance(name, str):
35
+ raise TypeError("Expected argument 'name' to be a str")
36
+ pulumi.set(__self__, "name", name)
37
+ if private_endpoint and not isinstance(private_endpoint, dict):
38
+ raise TypeError("Expected argument 'private_endpoint' to be a dict")
39
+ pulumi.set(__self__, "private_endpoint", private_endpoint)
40
+ if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict):
41
+ raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict")
42
+ pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
43
+ if provisioning_state and not isinstance(provisioning_state, str):
44
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
45
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
46
+ if type and not isinstance(type, str):
47
+ raise TypeError("Expected argument 'type' to be a str")
48
+ pulumi.set(__self__, "type", type)
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def id(self) -> str:
53
+ """
54
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
55
+ """
56
+ return pulumi.get(self, "id")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def name(self) -> str:
61
+ """
62
+ The name of the resource
63
+ """
64
+ return pulumi.get(self, "name")
65
+
66
+ @property
67
+ @pulumi.getter(name="privateEndpoint")
68
+ def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
69
+ """
70
+ The resource of private end point.
71
+ """
72
+ return pulumi.get(self, "private_endpoint")
73
+
74
+ @property
75
+ @pulumi.getter(name="privateLinkServiceConnectionState")
76
+ def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse':
77
+ """
78
+ A collection of information about the state of the connection between service consumer and provider.
79
+ """
80
+ return pulumi.get(self, "private_link_service_connection_state")
81
+
82
+ @property
83
+ @pulumi.getter(name="provisioningState")
84
+ def provisioning_state(self) -> str:
85
+ """
86
+ The provisioning state of the private endpoint connection resource.
87
+ """
88
+ return pulumi.get(self, "provisioning_state")
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def type(self) -> str:
93
+ """
94
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
95
+ """
96
+ return pulumi.get(self, "type")
97
+
98
+
99
+ class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult):
100
+ # pylint: disable=using-constant-test
101
+ def __await__(self):
102
+ if False:
103
+ yield self
104
+ return GetPrivateEndpointConnectionResult(
105
+ id=self.id,
106
+ name=self.name,
107
+ private_endpoint=self.private_endpoint,
108
+ private_link_service_connection_state=self.private_link_service_connection_state,
109
+ provisioning_state=self.provisioning_state,
110
+ type=self.type)
111
+
112
+
113
+ def get_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None,
114
+ resource_group_name: Optional[str] = None,
115
+ scope_name: Optional[str] = None,
116
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult:
117
+ """
118
+ Gets a private endpoint connection.
119
+
120
+
121
+ :param str private_endpoint_connection_name: The name of the private endpoint connection.
122
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
123
+ :param str scope_name: The name of the Azure Monitor PrivateLinkScope resource.
124
+ """
125
+ __args__ = dict()
126
+ __args__['privateEndpointConnectionName'] = private_endpoint_connection_name
127
+ __args__['resourceGroupName'] = resource_group_name
128
+ __args__['scopeName'] = scope_name
129
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
130
+ __ret__ = pulumi.runtime.invoke('azure-native:insights/v20210901:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value
131
+
132
+ return AwaitableGetPrivateEndpointConnectionResult(
133
+ id=pulumi.get(__ret__, 'id'),
134
+ name=pulumi.get(__ret__, 'name'),
135
+ private_endpoint=pulumi.get(__ret__, 'private_endpoint'),
136
+ private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'),
137
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
138
+ type=pulumi.get(__ret__, 'type'))
139
+ def get_private_endpoint_connection_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
140
+ resource_group_name: Optional[pulumi.Input[str]] = None,
141
+ scope_name: Optional[pulumi.Input[str]] = None,
142
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]:
143
+ """
144
+ Gets a private endpoint connection.
145
+
146
+
147
+ :param str private_endpoint_connection_name: The name of the private endpoint connection.
148
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
149
+ :param str scope_name: The name of the Azure Monitor PrivateLinkScope resource.
150
+ """
151
+ __args__ = dict()
152
+ __args__['privateEndpointConnectionName'] = private_endpoint_connection_name
153
+ __args__['resourceGroupName'] = resource_group_name
154
+ __args__['scopeName'] = scope_name
155
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
+ __ret__ = pulumi.runtime.invoke_output('azure-native:insights/v20210901:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult)
157
+ return __ret__.apply(lambda __response__: GetPrivateEndpointConnectionResult(
158
+ id=pulumi.get(__response__, 'id'),
159
+ name=pulumi.get(__response__, 'name'),
160
+ private_endpoint=pulumi.get(__response__, 'private_endpoint'),
161
+ private_link_service_connection_state=pulumi.get(__response__, 'private_link_service_connection_state'),
162
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
163
+ type=pulumi.get(__response__, 'type')))
@@ -0,0 +1,199 @@
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
+ 'GetPrivateLinkScopeResult',
20
+ 'AwaitableGetPrivateLinkScopeResult',
21
+ 'get_private_link_scope',
22
+ 'get_private_link_scope_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetPrivateLinkScopeResult:
27
+ """
28
+ An Azure Monitor PrivateLinkScope definition.
29
+ """
30
+ def __init__(__self__, access_mode_settings=None, id=None, location=None, name=None, private_endpoint_connections=None, provisioning_state=None, system_data=None, tags=None, type=None):
31
+ if access_mode_settings and not isinstance(access_mode_settings, dict):
32
+ raise TypeError("Expected argument 'access_mode_settings' to be a dict")
33
+ pulumi.set(__self__, "access_mode_settings", access_mode_settings)
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 private_endpoint_connections and not isinstance(private_endpoint_connections, list):
44
+ raise TypeError("Expected argument 'private_endpoint_connections' to be a list")
45
+ pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections)
46
+ if provisioning_state and not isinstance(provisioning_state, str):
47
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
48
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
49
+ if system_data and not isinstance(system_data, dict):
50
+ raise TypeError("Expected argument 'system_data' to be a dict")
51
+ pulumi.set(__self__, "system_data", system_data)
52
+ if tags and not isinstance(tags, dict):
53
+ raise TypeError("Expected argument 'tags' to be a dict")
54
+ pulumi.set(__self__, "tags", tags)
55
+ if type and not isinstance(type, str):
56
+ raise TypeError("Expected argument 'type' to be a str")
57
+ pulumi.set(__self__, "type", type)
58
+
59
+ @property
60
+ @pulumi.getter(name="accessModeSettings")
61
+ def access_mode_settings(self) -> 'outputs.AccessModeSettingsResponse':
62
+ """
63
+ Access mode settings
64
+ """
65
+ return pulumi.get(self, "access_mode_settings")
66
+
67
+ @property
68
+ @pulumi.getter
69
+ def id(self) -> str:
70
+ """
71
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
72
+ """
73
+ return pulumi.get(self, "id")
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def location(self) -> str:
78
+ """
79
+ The geo-location where the resource lives
80
+ """
81
+ return pulumi.get(self, "location")
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def name(self) -> str:
86
+ """
87
+ The name of the resource
88
+ """
89
+ return pulumi.get(self, "name")
90
+
91
+ @property
92
+ @pulumi.getter(name="privateEndpointConnections")
93
+ def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']:
94
+ """
95
+ List of private endpoint connections.
96
+ """
97
+ return pulumi.get(self, "private_endpoint_connections")
98
+
99
+ @property
100
+ @pulumi.getter(name="provisioningState")
101
+ def provisioning_state(self) -> str:
102
+ """
103
+ Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
104
+ """
105
+ return pulumi.get(self, "provisioning_state")
106
+
107
+ @property
108
+ @pulumi.getter(name="systemData")
109
+ def system_data(self) -> 'outputs.SystemDataResponse':
110
+ """
111
+ System data
112
+ """
113
+ return pulumi.get(self, "system_data")
114
+
115
+ @property
116
+ @pulumi.getter
117
+ def tags(self) -> Optional[Mapping[str, str]]:
118
+ """
119
+ Resource tags.
120
+ """
121
+ return pulumi.get(self, "tags")
122
+
123
+ @property
124
+ @pulumi.getter
125
+ def type(self) -> str:
126
+ """
127
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
128
+ """
129
+ return pulumi.get(self, "type")
130
+
131
+
132
+ class AwaitableGetPrivateLinkScopeResult(GetPrivateLinkScopeResult):
133
+ # pylint: disable=using-constant-test
134
+ def __await__(self):
135
+ if False:
136
+ yield self
137
+ return GetPrivateLinkScopeResult(
138
+ access_mode_settings=self.access_mode_settings,
139
+ id=self.id,
140
+ location=self.location,
141
+ name=self.name,
142
+ private_endpoint_connections=self.private_endpoint_connections,
143
+ provisioning_state=self.provisioning_state,
144
+ system_data=self.system_data,
145
+ tags=self.tags,
146
+ type=self.type)
147
+
148
+
149
+ def get_private_link_scope(resource_group_name: Optional[str] = None,
150
+ scope_name: Optional[str] = None,
151
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateLinkScopeResult:
152
+ """
153
+ Returns a Azure Monitor PrivateLinkScope.
154
+
155
+
156
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
157
+ :param str scope_name: The name of the Azure Monitor PrivateLinkScope resource.
158
+ """
159
+ __args__ = dict()
160
+ __args__['resourceGroupName'] = resource_group_name
161
+ __args__['scopeName'] = scope_name
162
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
163
+ __ret__ = pulumi.runtime.invoke('azure-native:insights/v20210901:getPrivateLinkScope', __args__, opts=opts, typ=GetPrivateLinkScopeResult).value
164
+
165
+ return AwaitableGetPrivateLinkScopeResult(
166
+ access_mode_settings=pulumi.get(__ret__, 'access_mode_settings'),
167
+ id=pulumi.get(__ret__, 'id'),
168
+ location=pulumi.get(__ret__, 'location'),
169
+ name=pulumi.get(__ret__, 'name'),
170
+ private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'),
171
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
172
+ system_data=pulumi.get(__ret__, 'system_data'),
173
+ tags=pulumi.get(__ret__, 'tags'),
174
+ type=pulumi.get(__ret__, 'type'))
175
+ def get_private_link_scope_output(resource_group_name: Optional[pulumi.Input[str]] = None,
176
+ scope_name: Optional[pulumi.Input[str]] = None,
177
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrivateLinkScopeResult]:
178
+ """
179
+ Returns a Azure Monitor PrivateLinkScope.
180
+
181
+
182
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
183
+ :param str scope_name: The name of the Azure Monitor PrivateLinkScope resource.
184
+ """
185
+ __args__ = dict()
186
+ __args__['resourceGroupName'] = resource_group_name
187
+ __args__['scopeName'] = scope_name
188
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
189
+ __ret__ = pulumi.runtime.invoke_output('azure-native:insights/v20210901:getPrivateLinkScope', __args__, opts=opts, typ=GetPrivateLinkScopeResult)
190
+ return __ret__.apply(lambda __response__: GetPrivateLinkScopeResult(
191
+ access_mode_settings=pulumi.get(__response__, 'access_mode_settings'),
192
+ id=pulumi.get(__response__, 'id'),
193
+ location=pulumi.get(__response__, 'location'),
194
+ name=pulumi.get(__response__, 'name'),
195
+ private_endpoint_connections=pulumi.get(__response__, 'private_endpoint_connections'),
196
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
197
+ system_data=pulumi.get(__response__, 'system_data'),
198
+ tags=pulumi.get(__response__, 'tags'),
199
+ type=pulumi.get(__response__, 'type')))