pulumi-azure-native 2.83.0a1737124612__py3-none-any.whl → 2.84.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.

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.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/METADATA +1 -1
  94. {pulumi_azure_native-2.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/RECORD +96 -56
  95. {pulumi_azure_native-2.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/WHEEL +0 -0
  96. {pulumi_azure_native-2.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,232 @@
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__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection']
21
+
22
+ @pulumi.input_type
23
+ class PrivateEndpointConnectionArgs:
24
+ def __init__(__self__, *,
25
+ private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs'],
26
+ resource_group_name: pulumi.Input[str],
27
+ scope_name: pulumi.Input[str],
28
+ private_endpoint_connection_name: Optional[pulumi.Input[str]] = None):
29
+ """
30
+ The set of arguments for constructing a PrivateEndpointConnection resource.
31
+ :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider.
32
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
33
+ :param pulumi.Input[str] scope_name: The name of the Azure Monitor PrivateLinkScope resource.
34
+ :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection.
35
+ """
36
+ pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
37
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
38
+ pulumi.set(__self__, "scope_name", scope_name)
39
+ if private_endpoint_connection_name is not None:
40
+ pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name)
41
+
42
+ @property
43
+ @pulumi.getter(name="privateLinkServiceConnectionState")
44
+ def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']:
45
+ """
46
+ A collection of information about the state of the connection between service consumer and provider.
47
+ """
48
+ return pulumi.get(self, "private_link_service_connection_state")
49
+
50
+ @private_link_service_connection_state.setter
51
+ def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']):
52
+ pulumi.set(self, "private_link_service_connection_state", value)
53
+
54
+ @property
55
+ @pulumi.getter(name="resourceGroupName")
56
+ def resource_group_name(self) -> pulumi.Input[str]:
57
+ """
58
+ The name of the resource group. The name is case insensitive.
59
+ """
60
+ return pulumi.get(self, "resource_group_name")
61
+
62
+ @resource_group_name.setter
63
+ def resource_group_name(self, value: pulumi.Input[str]):
64
+ pulumi.set(self, "resource_group_name", value)
65
+
66
+ @property
67
+ @pulumi.getter(name="scopeName")
68
+ def scope_name(self) -> pulumi.Input[str]:
69
+ """
70
+ The name of the Azure Monitor PrivateLinkScope resource.
71
+ """
72
+ return pulumi.get(self, "scope_name")
73
+
74
+ @scope_name.setter
75
+ def scope_name(self, value: pulumi.Input[str]):
76
+ pulumi.set(self, "scope_name", value)
77
+
78
+ @property
79
+ @pulumi.getter(name="privateEndpointConnectionName")
80
+ def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]:
81
+ """
82
+ The name of the private endpoint connection.
83
+ """
84
+ return pulumi.get(self, "private_endpoint_connection_name")
85
+
86
+ @private_endpoint_connection_name.setter
87
+ def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]):
88
+ pulumi.set(self, "private_endpoint_connection_name", value)
89
+
90
+
91
+ class PrivateEndpointConnection(pulumi.CustomResource):
92
+ @overload
93
+ def __init__(__self__,
94
+ resource_name: str,
95
+ opts: Optional[pulumi.ResourceOptions] = None,
96
+ private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
97
+ private_link_service_connection_state: Optional[pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']]] = None,
98
+ resource_group_name: Optional[pulumi.Input[str]] = None,
99
+ scope_name: Optional[pulumi.Input[str]] = None,
100
+ __props__=None):
101
+ """
102
+ The Private Endpoint Connection resource.
103
+
104
+ :param str resource_name: The name of the resource.
105
+ :param pulumi.ResourceOptions opts: Options for the resource.
106
+ :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection.
107
+ :param pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider.
108
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
109
+ :param pulumi.Input[str] scope_name: The name of the Azure Monitor PrivateLinkScope resource.
110
+ """
111
+ ...
112
+ @overload
113
+ def __init__(__self__,
114
+ resource_name: str,
115
+ args: PrivateEndpointConnectionArgs,
116
+ opts: Optional[pulumi.ResourceOptions] = None):
117
+ """
118
+ The Private Endpoint Connection resource.
119
+
120
+ :param str resource_name: The name of the resource.
121
+ :param PrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties.
122
+ :param pulumi.ResourceOptions opts: Options for the resource.
123
+ """
124
+ ...
125
+ def __init__(__self__, resource_name: str, *args, **kwargs):
126
+ resource_args, opts = _utilities.get_resource_args_opts(PrivateEndpointConnectionArgs, pulumi.ResourceOptions, *args, **kwargs)
127
+ if resource_args is not None:
128
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
129
+ else:
130
+ __self__._internal_init(resource_name, *args, **kwargs)
131
+
132
+ def _internal_init(__self__,
133
+ resource_name: str,
134
+ opts: Optional[pulumi.ResourceOptions] = None,
135
+ private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
136
+ private_link_service_connection_state: Optional[pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']]] = None,
137
+ resource_group_name: Optional[pulumi.Input[str]] = None,
138
+ scope_name: Optional[pulumi.Input[str]] = None,
139
+ __props__=None):
140
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
141
+ if not isinstance(opts, pulumi.ResourceOptions):
142
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
143
+ if opts.id is None:
144
+ if __props__ is not None:
145
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
146
+ __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs)
147
+
148
+ __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name
149
+ if private_link_service_connection_state is None and not opts.urn:
150
+ raise TypeError("Missing required property 'private_link_service_connection_state'")
151
+ __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state
152
+ if resource_group_name is None and not opts.urn:
153
+ raise TypeError("Missing required property 'resource_group_name'")
154
+ __props__.__dict__["resource_group_name"] = resource_group_name
155
+ if scope_name is None and not opts.urn:
156
+ raise TypeError("Missing required property 'scope_name'")
157
+ __props__.__dict__["scope_name"] = scope_name
158
+ __props__.__dict__["name"] = None
159
+ __props__.__dict__["private_endpoint"] = None
160
+ __props__.__dict__["provisioning_state"] = None
161
+ __props__.__dict__["type"] = None
162
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:insights:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:insights/v20191017preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:insights/v20210701preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:insights/v20230601preview:PrivateEndpointConnection")])
163
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
164
+ super(PrivateEndpointConnection, __self__).__init__(
165
+ 'azure-native:insights/v20210901:PrivateEndpointConnection',
166
+ resource_name,
167
+ __props__,
168
+ opts)
169
+
170
+ @staticmethod
171
+ def get(resource_name: str,
172
+ id: pulumi.Input[str],
173
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection':
174
+ """
175
+ Get an existing PrivateEndpointConnection resource's state with the given name, id, and optional extra
176
+ properties used to qualify the lookup.
177
+
178
+ :param str resource_name: The unique name of the resulting resource.
179
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
180
+ :param pulumi.ResourceOptions opts: Options for the resource.
181
+ """
182
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
183
+
184
+ __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs)
185
+
186
+ __props__.__dict__["name"] = None
187
+ __props__.__dict__["private_endpoint"] = None
188
+ __props__.__dict__["private_link_service_connection_state"] = None
189
+ __props__.__dict__["provisioning_state"] = None
190
+ __props__.__dict__["type"] = None
191
+ return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__)
192
+
193
+ @property
194
+ @pulumi.getter
195
+ def name(self) -> pulumi.Output[str]:
196
+ """
197
+ The name of the resource
198
+ """
199
+ return pulumi.get(self, "name")
200
+
201
+ @property
202
+ @pulumi.getter(name="privateEndpoint")
203
+ def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]:
204
+ """
205
+ The resource of private end point.
206
+ """
207
+ return pulumi.get(self, "private_endpoint")
208
+
209
+ @property
210
+ @pulumi.getter(name="privateLinkServiceConnectionState")
211
+ def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']:
212
+ """
213
+ A collection of information about the state of the connection between service consumer and provider.
214
+ """
215
+ return pulumi.get(self, "private_link_service_connection_state")
216
+
217
+ @property
218
+ @pulumi.getter(name="provisioningState")
219
+ def provisioning_state(self) -> pulumi.Output[str]:
220
+ """
221
+ The provisioning state of the private endpoint connection resource.
222
+ """
223
+ return pulumi.get(self, "provisioning_state")
224
+
225
+ @property
226
+ @pulumi.getter
227
+ def type(self) -> pulumi.Output[str]:
228
+ """
229
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
230
+ """
231
+ return pulumi.get(self, "type")
232
+
@@ -0,0 +1,279 @@
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__ = ['PrivateLinkScopeArgs', 'PrivateLinkScope']
21
+
22
+ @pulumi.input_type
23
+ class PrivateLinkScopeArgs:
24
+ def __init__(__self__, *,
25
+ access_mode_settings: pulumi.Input['AccessModeSettingsArgs'],
26
+ resource_group_name: pulumi.Input[str],
27
+ location: Optional[pulumi.Input[str]] = None,
28
+ scope_name: Optional[pulumi.Input[str]] = None,
29
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
30
+ """
31
+ The set of arguments for constructing a PrivateLinkScope resource.
32
+ :param pulumi.Input['AccessModeSettingsArgs'] access_mode_settings: Access mode settings
33
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
34
+ :param pulumi.Input[str] location: The geo-location where the resource lives
35
+ :param pulumi.Input[str] scope_name: The name of the Azure Monitor PrivateLinkScope resource.
36
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
37
+ """
38
+ pulumi.set(__self__, "access_mode_settings", access_mode_settings)
39
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
40
+ if location is not None:
41
+ pulumi.set(__self__, "location", location)
42
+ if scope_name is not None:
43
+ pulumi.set(__self__, "scope_name", scope_name)
44
+ if tags is not None:
45
+ pulumi.set(__self__, "tags", tags)
46
+
47
+ @property
48
+ @pulumi.getter(name="accessModeSettings")
49
+ def access_mode_settings(self) -> pulumi.Input['AccessModeSettingsArgs']:
50
+ """
51
+ Access mode settings
52
+ """
53
+ return pulumi.get(self, "access_mode_settings")
54
+
55
+ @access_mode_settings.setter
56
+ def access_mode_settings(self, value: pulumi.Input['AccessModeSettingsArgs']):
57
+ pulumi.set(self, "access_mode_settings", value)
58
+
59
+ @property
60
+ @pulumi.getter(name="resourceGroupName")
61
+ def resource_group_name(self) -> pulumi.Input[str]:
62
+ """
63
+ The name of the resource group. The name is case insensitive.
64
+ """
65
+ return pulumi.get(self, "resource_group_name")
66
+
67
+ @resource_group_name.setter
68
+ def resource_group_name(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "resource_group_name", value)
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def location(self) -> Optional[pulumi.Input[str]]:
74
+ """
75
+ The geo-location where the resource lives
76
+ """
77
+ return pulumi.get(self, "location")
78
+
79
+ @location.setter
80
+ def location(self, value: Optional[pulumi.Input[str]]):
81
+ pulumi.set(self, "location", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="scopeName")
85
+ def scope_name(self) -> Optional[pulumi.Input[str]]:
86
+ """
87
+ The name of the Azure Monitor PrivateLinkScope resource.
88
+ """
89
+ return pulumi.get(self, "scope_name")
90
+
91
+ @scope_name.setter
92
+ def scope_name(self, value: Optional[pulumi.Input[str]]):
93
+ pulumi.set(self, "scope_name", value)
94
+
95
+ @property
96
+ @pulumi.getter
97
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
98
+ """
99
+ Resource tags.
100
+ """
101
+ return pulumi.get(self, "tags")
102
+
103
+ @tags.setter
104
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
105
+ pulumi.set(self, "tags", value)
106
+
107
+
108
+ class PrivateLinkScope(pulumi.CustomResource):
109
+ @overload
110
+ def __init__(__self__,
111
+ resource_name: str,
112
+ opts: Optional[pulumi.ResourceOptions] = None,
113
+ access_mode_settings: Optional[pulumi.Input[Union['AccessModeSettingsArgs', 'AccessModeSettingsArgsDict']]] = None,
114
+ location: Optional[pulumi.Input[str]] = None,
115
+ resource_group_name: Optional[pulumi.Input[str]] = None,
116
+ scope_name: Optional[pulumi.Input[str]] = None,
117
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
118
+ __props__=None):
119
+ """
120
+ An Azure Monitor PrivateLinkScope definition.
121
+
122
+ :param str resource_name: The name of the resource.
123
+ :param pulumi.ResourceOptions opts: Options for the resource.
124
+ :param pulumi.Input[Union['AccessModeSettingsArgs', 'AccessModeSettingsArgsDict']] access_mode_settings: Access mode settings
125
+ :param pulumi.Input[str] location: The geo-location where the resource lives
126
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
127
+ :param pulumi.Input[str] scope_name: The name of the Azure Monitor PrivateLinkScope resource.
128
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
129
+ """
130
+ ...
131
+ @overload
132
+ def __init__(__self__,
133
+ resource_name: str,
134
+ args: PrivateLinkScopeArgs,
135
+ opts: Optional[pulumi.ResourceOptions] = None):
136
+ """
137
+ An Azure Monitor PrivateLinkScope definition.
138
+
139
+ :param str resource_name: The name of the resource.
140
+ :param PrivateLinkScopeArgs args: The arguments to use to populate this resource's properties.
141
+ :param pulumi.ResourceOptions opts: Options for the resource.
142
+ """
143
+ ...
144
+ def __init__(__self__, resource_name: str, *args, **kwargs):
145
+ resource_args, opts = _utilities.get_resource_args_opts(PrivateLinkScopeArgs, pulumi.ResourceOptions, *args, **kwargs)
146
+ if resource_args is not None:
147
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
148
+ else:
149
+ __self__._internal_init(resource_name, *args, **kwargs)
150
+
151
+ def _internal_init(__self__,
152
+ resource_name: str,
153
+ opts: Optional[pulumi.ResourceOptions] = None,
154
+ access_mode_settings: Optional[pulumi.Input[Union['AccessModeSettingsArgs', 'AccessModeSettingsArgsDict']]] = None,
155
+ location: Optional[pulumi.Input[str]] = None,
156
+ resource_group_name: Optional[pulumi.Input[str]] = None,
157
+ scope_name: Optional[pulumi.Input[str]] = None,
158
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
159
+ __props__=None):
160
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
161
+ if not isinstance(opts, pulumi.ResourceOptions):
162
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
163
+ if opts.id is None:
164
+ if __props__ is not None:
165
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
166
+ __props__ = PrivateLinkScopeArgs.__new__(PrivateLinkScopeArgs)
167
+
168
+ if access_mode_settings is None and not opts.urn:
169
+ raise TypeError("Missing required property 'access_mode_settings'")
170
+ __props__.__dict__["access_mode_settings"] = access_mode_settings
171
+ __props__.__dict__["location"] = location
172
+ if resource_group_name is None and not opts.urn:
173
+ raise TypeError("Missing required property 'resource_group_name'")
174
+ __props__.__dict__["resource_group_name"] = resource_group_name
175
+ __props__.__dict__["scope_name"] = scope_name
176
+ __props__.__dict__["tags"] = tags
177
+ __props__.__dict__["name"] = None
178
+ __props__.__dict__["private_endpoint_connections"] = None
179
+ __props__.__dict__["provisioning_state"] = None
180
+ __props__.__dict__["system_data"] = None
181
+ __props__.__dict__["type"] = None
182
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:insights:PrivateLinkScope"), pulumi.Alias(type_="azure-native:insights/v20191017preview:PrivateLinkScope"), pulumi.Alias(type_="azure-native:insights/v20210701preview:PrivateLinkScope"), pulumi.Alias(type_="azure-native:insights/v20230601preview:PrivateLinkScope")])
183
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
184
+ super(PrivateLinkScope, __self__).__init__(
185
+ 'azure-native:insights/v20210901:PrivateLinkScope',
186
+ resource_name,
187
+ __props__,
188
+ opts)
189
+
190
+ @staticmethod
191
+ def get(resource_name: str,
192
+ id: pulumi.Input[str],
193
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateLinkScope':
194
+ """
195
+ Get an existing PrivateLinkScope resource's state with the given name, id, and optional extra
196
+ properties used to qualify the lookup.
197
+
198
+ :param str resource_name: The unique name of the resulting resource.
199
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
200
+ :param pulumi.ResourceOptions opts: Options for the resource.
201
+ """
202
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
203
+
204
+ __props__ = PrivateLinkScopeArgs.__new__(PrivateLinkScopeArgs)
205
+
206
+ __props__.__dict__["access_mode_settings"] = None
207
+ __props__.__dict__["location"] = None
208
+ __props__.__dict__["name"] = None
209
+ __props__.__dict__["private_endpoint_connections"] = None
210
+ __props__.__dict__["provisioning_state"] = None
211
+ __props__.__dict__["system_data"] = None
212
+ __props__.__dict__["tags"] = None
213
+ __props__.__dict__["type"] = None
214
+ return PrivateLinkScope(resource_name, opts=opts, __props__=__props__)
215
+
216
+ @property
217
+ @pulumi.getter(name="accessModeSettings")
218
+ def access_mode_settings(self) -> pulumi.Output['outputs.AccessModeSettingsResponse']:
219
+ """
220
+ Access mode settings
221
+ """
222
+ return pulumi.get(self, "access_mode_settings")
223
+
224
+ @property
225
+ @pulumi.getter
226
+ def location(self) -> pulumi.Output[str]:
227
+ """
228
+ The geo-location where the resource lives
229
+ """
230
+ return pulumi.get(self, "location")
231
+
232
+ @property
233
+ @pulumi.getter
234
+ def name(self) -> pulumi.Output[str]:
235
+ """
236
+ The name of the resource
237
+ """
238
+ return pulumi.get(self, "name")
239
+
240
+ @property
241
+ @pulumi.getter(name="privateEndpointConnections")
242
+ def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]:
243
+ """
244
+ List of private endpoint connections.
245
+ """
246
+ return pulumi.get(self, "private_endpoint_connections")
247
+
248
+ @property
249
+ @pulumi.getter(name="provisioningState")
250
+ def provisioning_state(self) -> pulumi.Output[str]:
251
+ """
252
+ 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.
253
+ """
254
+ return pulumi.get(self, "provisioning_state")
255
+
256
+ @property
257
+ @pulumi.getter(name="systemData")
258
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
259
+ """
260
+ System data
261
+ """
262
+ return pulumi.get(self, "system_data")
263
+
264
+ @property
265
+ @pulumi.getter
266
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
267
+ """
268
+ Resource tags.
269
+ """
270
+ return pulumi.get(self, "tags")
271
+
272
+ @property
273
+ @pulumi.getter
274
+ def type(self) -> pulumi.Output[str]:
275
+ """
276
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
277
+ """
278
+ return pulumi.get(self, "type")
279
+