pulumi-azure-native 2.84.0a1737649952__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.0a1737649952.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/METADATA +1 -1
  94. {pulumi_azure_native-2.84.0a1737649952.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/RECORD +96 -56
  95. {pulumi_azure_native-2.84.0a1737649952.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/WHEEL +0 -0
  96. {pulumi_azure_native-2.84.0a1737649952.dist-info → pulumi_azure_native-2.84.0a1737706742.dist-info}/top_level.txt +0 -0
@@ -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/v20230601preview: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/v20230601preview: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.
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/v20230601preview: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/v20230601preview: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')))
@@ -0,0 +1,191 @@
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
+ 'GetPrivateLinkScopedResourceResult',
20
+ 'AwaitableGetPrivateLinkScopedResourceResult',
21
+ 'get_private_link_scoped_resource',
22
+ 'get_private_link_scoped_resource_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetPrivateLinkScopedResourceResult:
27
+ """
28
+ A private link scoped resource
29
+ """
30
+ def __init__(__self__, id=None, kind=None, linked_resource_id=None, name=None, provisioning_state=None, subscription_location=None, system_data=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 kind and not isinstance(kind, str):
35
+ raise TypeError("Expected argument 'kind' to be a str")
36
+ pulumi.set(__self__, "kind", kind)
37
+ if linked_resource_id and not isinstance(linked_resource_id, str):
38
+ raise TypeError("Expected argument 'linked_resource_id' to be a str")
39
+ pulumi.set(__self__, "linked_resource_id", linked_resource_id)
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 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 subscription_location and not isinstance(subscription_location, str):
47
+ raise TypeError("Expected argument 'subscription_location' to be a str")
48
+ pulumi.set(__self__, "subscription_location", subscription_location)
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 type and not isinstance(type, str):
53
+ raise TypeError("Expected argument 'type' to be a str")
54
+ pulumi.set(__self__, "type", type)
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def id(self) -> str:
59
+ """
60
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
61
+ """
62
+ return pulumi.get(self, "id")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def kind(self) -> Optional[str]:
67
+ """
68
+ The kind of scoped Azure monitor resource.
69
+ """
70
+ return pulumi.get(self, "kind")
71
+
72
+ @property
73
+ @pulumi.getter(name="linkedResourceId")
74
+ def linked_resource_id(self) -> Optional[str]:
75
+ """
76
+ The resource id of the scoped Azure monitor resource.
77
+ """
78
+ return pulumi.get(self, "linked_resource_id")
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def name(self) -> str:
83
+ """
84
+ The name of the resource
85
+ """
86
+ return pulumi.get(self, "name")
87
+
88
+ @property
89
+ @pulumi.getter(name="provisioningState")
90
+ def provisioning_state(self) -> str:
91
+ """
92
+ State of the Azure monitor resource.
93
+ """
94
+ return pulumi.get(self, "provisioning_state")
95
+
96
+ @property
97
+ @pulumi.getter(name="subscriptionLocation")
98
+ def subscription_location(self) -> Optional[str]:
99
+ """
100
+ The location of a scoped subscription. Only needs to be specified for metric dataplane subscriptions.
101
+ """
102
+ return pulumi.get(self, "subscription_location")
103
+
104
+ @property
105
+ @pulumi.getter(name="systemData")
106
+ def system_data(self) -> 'outputs.SystemDataResponse':
107
+ """
108
+ System data
109
+ """
110
+ return pulumi.get(self, "system_data")
111
+
112
+ @property
113
+ @pulumi.getter
114
+ def type(self) -> str:
115
+ """
116
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
117
+ """
118
+ return pulumi.get(self, "type")
119
+
120
+
121
+ class AwaitableGetPrivateLinkScopedResourceResult(GetPrivateLinkScopedResourceResult):
122
+ # pylint: disable=using-constant-test
123
+ def __await__(self):
124
+ if False:
125
+ yield self
126
+ return GetPrivateLinkScopedResourceResult(
127
+ id=self.id,
128
+ kind=self.kind,
129
+ linked_resource_id=self.linked_resource_id,
130
+ name=self.name,
131
+ provisioning_state=self.provisioning_state,
132
+ subscription_location=self.subscription_location,
133
+ system_data=self.system_data,
134
+ type=self.type)
135
+
136
+
137
+ def get_private_link_scoped_resource(name: Optional[str] = None,
138
+ resource_group_name: Optional[str] = None,
139
+ scope_name: Optional[str] = None,
140
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateLinkScopedResourceResult:
141
+ """
142
+ Gets a scoped resource in a private link scope.
143
+
144
+
145
+ :param str name: The name of the scoped resource object.
146
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
147
+ :param str scope_name: The name of the Azure Monitor PrivateLinkScope resource.
148
+ """
149
+ __args__ = dict()
150
+ __args__['name'] = name
151
+ __args__['resourceGroupName'] = resource_group_name
152
+ __args__['scopeName'] = scope_name
153
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke('azure-native:insights/v20230601preview:getPrivateLinkScopedResource', __args__, opts=opts, typ=GetPrivateLinkScopedResourceResult).value
155
+
156
+ return AwaitableGetPrivateLinkScopedResourceResult(
157
+ id=pulumi.get(__ret__, 'id'),
158
+ kind=pulumi.get(__ret__, 'kind'),
159
+ linked_resource_id=pulumi.get(__ret__, 'linked_resource_id'),
160
+ name=pulumi.get(__ret__, 'name'),
161
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
162
+ subscription_location=pulumi.get(__ret__, 'subscription_location'),
163
+ system_data=pulumi.get(__ret__, 'system_data'),
164
+ type=pulumi.get(__ret__, 'type'))
165
+ def get_private_link_scoped_resource_output(name: Optional[pulumi.Input[str]] = None,
166
+ resource_group_name: Optional[pulumi.Input[str]] = None,
167
+ scope_name: Optional[pulumi.Input[str]] = None,
168
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrivateLinkScopedResourceResult]:
169
+ """
170
+ Gets a scoped resource in a private link scope.
171
+
172
+
173
+ :param str name: The name of the scoped resource object.
174
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
175
+ :param str scope_name: The name of the Azure Monitor PrivateLinkScope resource.
176
+ """
177
+ __args__ = dict()
178
+ __args__['name'] = name
179
+ __args__['resourceGroupName'] = resource_group_name
180
+ __args__['scopeName'] = scope_name
181
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
182
+ __ret__ = pulumi.runtime.invoke_output('azure-native:insights/v20230601preview:getPrivateLinkScopedResource', __args__, opts=opts, typ=GetPrivateLinkScopedResourceResult)
183
+ return __ret__.apply(lambda __response__: GetPrivateLinkScopedResourceResult(
184
+ id=pulumi.get(__response__, 'id'),
185
+ kind=pulumi.get(__response__, 'kind'),
186
+ linked_resource_id=pulumi.get(__response__, 'linked_resource_id'),
187
+ name=pulumi.get(__response__, 'name'),
188
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
189
+ subscription_location=pulumi.get(__response__, 'subscription_location'),
190
+ system_data=pulumi.get(__response__, 'system_data'),
191
+ type=pulumi.get(__response__, 'type')))