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.
- pulumi_azure_native/__init__.py +39 -0
- pulumi_azure_native/dashboard/__init__.py +3 -0
- pulumi_azure_native/dashboard/get_grafana.py +2 -2
- pulumi_azure_native/dashboard/get_integration_fabric.py +4 -0
- pulumi_azure_native/dashboard/get_managed_private_endpoint.py +2 -2
- pulumi_azure_native/dashboard/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/dashboard/grafana.py +3 -3
- pulumi_azure_native/dashboard/integration_fabric.py +5 -1
- pulumi_azure_native/dashboard/managed_private_endpoint.py +3 -3
- pulumi_azure_native/dashboard/private_endpoint_connection.py +3 -3
- pulumi_azure_native/dashboard/v20210901preview/grafana.py +1 -1
- pulumi_azure_native/dashboard/v20220801/grafana.py +1 -1
- pulumi_azure_native/dashboard/v20220801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/dashboard/v20221001preview/grafana.py +1 -1
- pulumi_azure_native/dashboard/v20221001preview/managed_private_endpoint.py +1 -1
- pulumi_azure_native/dashboard/v20221001preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/dashboard/v20230901/grafana.py +1 -1
- pulumi_azure_native/dashboard/v20230901/managed_private_endpoint.py +1 -1
- pulumi_azure_native/dashboard/v20230901/private_endpoint_connection.py +1 -1
- pulumi_azure_native/dashboard/v20231001preview/grafana.py +1 -1
- pulumi_azure_native/dashboard/v20231001preview/integration_fabric.py +1 -1
- pulumi_azure_native/dashboard/v20231001preview/managed_private_endpoint.py +1 -1
- pulumi_azure_native/dashboard/v20231001preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/dashboard/v20241001/__init__.py +18 -0
- pulumi_azure_native/dashboard/v20241001/_enums.py +93 -0
- pulumi_azure_native/dashboard/v20241001/_inputs.py +1009 -0
- pulumi_azure_native/dashboard/v20241001/get_grafana.py +199 -0
- pulumi_azure_native/dashboard/v20241001/get_integration_fabric.py +174 -0
- pulumi_azure_native/dashboard/v20241001/get_managed_private_endpoint.py +275 -0
- pulumi_azure_native/dashboard/v20241001/get_private_endpoint_connection.py +191 -0
- pulumi_azure_native/dashboard/v20241001/grafana.py +316 -0
- pulumi_azure_native/dashboard/v20241001/integration_fabric.py +270 -0
- pulumi_azure_native/dashboard/v20241001/managed_private_endpoint.py +423 -0
- pulumi_azure_native/dashboard/v20241001/outputs.py +1332 -0
- pulumi_azure_native/dashboard/v20241001/private_endpoint_connection.py +271 -0
- pulumi_azure_native/datafactory/_enums.py +8 -0
- pulumi_azure_native/datafactory/_inputs.py +180 -0
- pulumi_azure_native/datafactory/outputs.py +117 -1
- pulumi_azure_native/datafactory/v20180601/_enums.py +8 -0
- pulumi_azure_native/datafactory/v20180601/_inputs.py +180 -0
- pulumi_azure_native/datafactory/v20180601/outputs.py +117 -1
- pulumi_azure_native/insights/__init__.py +6 -0
- pulumi_azure_native/insights/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/insights/get_private_link_scope.py +2 -2
- pulumi_azure_native/insights/get_private_link_scoped_resource.py +4 -0
- pulumi_azure_native/insights/private_endpoint_connection.py +3 -3
- pulumi_azure_native/insights/private_link_scope.py +3 -3
- pulumi_azure_native/insights/private_link_scoped_resource.py +5 -1
- pulumi_azure_native/insights/v20191017preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/insights/v20191017preview/private_link_scope.py +1 -1
- pulumi_azure_native/insights/v20210701preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/insights/v20210701preview/private_link_scope.py +1 -1
- pulumi_azure_native/insights/v20210701preview/private_link_scoped_resource.py +1 -1
- pulumi_azure_native/insights/v20210901/__init__.py +16 -0
- pulumi_azure_native/insights/v20210901/_enums.py +27 -0
- pulumi_azure_native/insights/v20210901/_inputs.py +254 -0
- pulumi_azure_native/insights/v20210901/get_private_endpoint_connection.py +163 -0
- pulumi_azure_native/insights/v20210901/get_private_link_scope.py +199 -0
- pulumi_azure_native/insights/v20210901/get_private_link_scoped_resource.py +163 -0
- pulumi_azure_native/insights/v20210901/outputs.py +454 -0
- pulumi_azure_native/insights/v20210901/private_endpoint_connection.py +232 -0
- pulumi_azure_native/insights/v20210901/private_link_scope.py +279 -0
- pulumi_azure_native/insights/v20210901/private_link_scoped_resource.py +228 -0
- pulumi_azure_native/insights/v20230601preview/__init__.py +16 -0
- pulumi_azure_native/insights/v20230601preview/_enums.py +36 -0
- pulumi_azure_native/insights/v20230601preview/_inputs.py +254 -0
- pulumi_azure_native/insights/v20230601preview/get_private_endpoint_connection.py +163 -0
- pulumi_azure_native/insights/v20230601preview/get_private_link_scope.py +199 -0
- pulumi_azure_native/insights/v20230601preview/get_private_link_scoped_resource.py +191 -0
- pulumi_azure_native/insights/v20230601preview/outputs.py +454 -0
- pulumi_azure_native/insights/v20230601preview/private_endpoint_connection.py +232 -0
- pulumi_azure_native/insights/v20230601preview/private_link_scope.py +279 -0
- pulumi_azure_native/insights/v20230601preview/private_link_scoped_resource.py +287 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/redhatopenshift/__init__.py +3 -0
- pulumi_azure_native/redhatopenshift/get_open_shift_cluster.py +2 -2
- pulumi_azure_native/redhatopenshift/list_open_shift_cluster_admin_credentials.py +2 -2
- pulumi_azure_native/redhatopenshift/list_open_shift_cluster_credentials.py +2 -2
- pulumi_azure_native/redhatopenshift/open_shift_cluster.py +3 -3
- pulumi_azure_native/redhatopenshift/v20220904/open_shift_cluster.py +1 -1
- pulumi_azure_native/redhatopenshift/v20230401/open_shift_cluster.py +1 -1
- pulumi_azure_native/redhatopenshift/v20230701preview/open_shift_cluster.py +1 -1
- pulumi_azure_native/redhatopenshift/v20230904/open_shift_cluster.py +1 -1
- pulumi_azure_native/redhatopenshift/v20231122/open_shift_cluster.py +1 -1
- pulumi_azure_native/redhatopenshift/v20240812preview/__init__.py +14 -0
- pulumi_azure_native/redhatopenshift/v20240812preview/_enums.py +78 -0
- pulumi_azure_native/redhatopenshift/v20240812preview/_inputs.py +910 -0
- pulumi_azure_native/redhatopenshift/v20240812preview/get_open_shift_cluster.py +325 -0
- pulumi_azure_native/redhatopenshift/v20240812preview/list_open_shift_cluster_admin_credentials.py +86 -0
- pulumi_azure_native/redhatopenshift/v20240812preview/list_open_shift_cluster_credentials.py +100 -0
- pulumi_azure_native/redhatopenshift/v20240812preview/open_shift_cluster.py +539 -0
- pulumi_azure_native/redhatopenshift/v20240812preview/outputs.py +1062 -0
- {pulumi_azure_native-2.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/RECORD +96 -56
- {pulumi_azure_native-2.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.83.0a1737124612.dist-info → pulumi_azure_native-2.84.0.dist-info}/top_level.txt +0 -0
|
@@ -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
|
+
'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__, group_ids=None, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, system_data=None, type=None):
|
|
31
|
+
if group_ids and not isinstance(group_ids, list):
|
|
32
|
+
raise TypeError("Expected argument 'group_ids' to be a list")
|
|
33
|
+
pulumi.set(__self__, "group_ids", group_ids)
|
|
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 name and not isinstance(name, str):
|
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
39
|
+
pulumi.set(__self__, "name", name)
|
|
40
|
+
if private_endpoint and not isinstance(private_endpoint, dict):
|
|
41
|
+
raise TypeError("Expected argument 'private_endpoint' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "private_endpoint", private_endpoint)
|
|
43
|
+
if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict):
|
|
44
|
+
raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
|
|
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 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(name="groupIds")
|
|
58
|
+
def group_ids(self) -> Optional[Sequence[str]]:
|
|
59
|
+
"""
|
|
60
|
+
The private endpoint connection group ids.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "group_ids")
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def id(self) -> str:
|
|
67
|
+
"""
|
|
68
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "id")
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def name(self) -> str:
|
|
75
|
+
"""
|
|
76
|
+
The name of the resource
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "name")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="privateEndpoint")
|
|
82
|
+
def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
|
|
83
|
+
"""
|
|
84
|
+
The resource of private end point.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "private_endpoint")
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter(name="privateLinkServiceConnectionState")
|
|
90
|
+
def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse':
|
|
91
|
+
"""
|
|
92
|
+
A collection of information about the state of the connection between service consumer and provider.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "private_link_service_connection_state")
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter(name="provisioningState")
|
|
98
|
+
def provisioning_state(self) -> str:
|
|
99
|
+
"""
|
|
100
|
+
The provisioning state of the private endpoint connection resource.
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "provisioning_state")
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter(name="systemData")
|
|
106
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
107
|
+
"""
|
|
108
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
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 AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult):
|
|
122
|
+
# pylint: disable=using-constant-test
|
|
123
|
+
def __await__(self):
|
|
124
|
+
if False:
|
|
125
|
+
yield self
|
|
126
|
+
return GetPrivateEndpointConnectionResult(
|
|
127
|
+
group_ids=self.group_ids,
|
|
128
|
+
id=self.id,
|
|
129
|
+
name=self.name,
|
|
130
|
+
private_endpoint=self.private_endpoint,
|
|
131
|
+
private_link_service_connection_state=self.private_link_service_connection_state,
|
|
132
|
+
provisioning_state=self.provisioning_state,
|
|
133
|
+
system_data=self.system_data,
|
|
134
|
+
type=self.type)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def get_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None,
|
|
138
|
+
resource_group_name: Optional[str] = None,
|
|
139
|
+
workspace_name: Optional[str] = None,
|
|
140
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult:
|
|
141
|
+
"""
|
|
142
|
+
The Private Endpoint Connection resource.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:param str private_endpoint_connection_name: The private endpoint connection name of Azure Managed Grafana.
|
|
146
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
147
|
+
:param str workspace_name: The workspace name of Azure Managed Grafana.
|
|
148
|
+
"""
|
|
149
|
+
__args__ = dict()
|
|
150
|
+
__args__['privateEndpointConnectionName'] = private_endpoint_connection_name
|
|
151
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
152
|
+
__args__['workspaceName'] = workspace_name
|
|
153
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
154
|
+
__ret__ = pulumi.runtime.invoke('azure-native:dashboard/v20241001:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value
|
|
155
|
+
|
|
156
|
+
return AwaitableGetPrivateEndpointConnectionResult(
|
|
157
|
+
group_ids=pulumi.get(__ret__, 'group_ids'),
|
|
158
|
+
id=pulumi.get(__ret__, 'id'),
|
|
159
|
+
name=pulumi.get(__ret__, 'name'),
|
|
160
|
+
private_endpoint=pulumi.get(__ret__, 'private_endpoint'),
|
|
161
|
+
private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'),
|
|
162
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
163
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
164
|
+
type=pulumi.get(__ret__, 'type'))
|
|
165
|
+
def get_private_endpoint_connection_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
|
|
166
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
167
|
+
workspace_name: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]:
|
|
169
|
+
"""
|
|
170
|
+
The Private Endpoint Connection resource.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:param str private_endpoint_connection_name: The private endpoint connection name of Azure Managed Grafana.
|
|
174
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
175
|
+
:param str workspace_name: The workspace name of Azure Managed Grafana.
|
|
176
|
+
"""
|
|
177
|
+
__args__ = dict()
|
|
178
|
+
__args__['privateEndpointConnectionName'] = private_endpoint_connection_name
|
|
179
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
180
|
+
__args__['workspaceName'] = workspace_name
|
|
181
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:dashboard/v20241001:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult)
|
|
183
|
+
return __ret__.apply(lambda __response__: GetPrivateEndpointConnectionResult(
|
|
184
|
+
group_ids=pulumi.get(__response__, 'group_ids'),
|
|
185
|
+
id=pulumi.get(__response__, 'id'),
|
|
186
|
+
name=pulumi.get(__response__, 'name'),
|
|
187
|
+
private_endpoint=pulumi.get(__response__, 'private_endpoint'),
|
|
188
|
+
private_link_service_connection_state=pulumi.get(__response__, 'private_link_service_connection_state'),
|
|
189
|
+
provisioning_state=pulumi.get(__response__, 'provisioning_state'),
|
|
190
|
+
system_data=pulumi.get(__response__, 'system_data'),
|
|
191
|
+
type=pulumi.get(__response__, 'type')))
|
|
@@ -0,0 +1,316 @@
|
|
|
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__ = ['GrafanaArgs', 'Grafana']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class GrafanaArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
resource_group_name: pulumi.Input[str],
|
|
26
|
+
identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None,
|
|
27
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
properties: Optional[pulumi.Input['ManagedGrafanaPropertiesArgs']] = None,
|
|
29
|
+
sku: Optional[pulumi.Input['ResourceSkuArgs']] = None,
|
|
30
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
31
|
+
workspace_name: Optional[pulumi.Input[str]] = None):
|
|
32
|
+
"""
|
|
33
|
+
The set of arguments for constructing a Grafana resource.
|
|
34
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
35
|
+
:param pulumi.Input['ManagedServiceIdentityArgs'] identity: The managed identity of the grafana resource.
|
|
36
|
+
:param pulumi.Input[str] location: The geo-location where the grafana resource lives
|
|
37
|
+
:param pulumi.Input['ManagedGrafanaPropertiesArgs'] properties: Properties specific to the grafana resource.
|
|
38
|
+
:param pulumi.Input['ResourceSkuArgs'] sku: The Sku of the grafana resource.
|
|
39
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags for grafana resource.
|
|
40
|
+
:param pulumi.Input[str] workspace_name: The workspace name of Azure Managed Grafana.
|
|
41
|
+
"""
|
|
42
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
43
|
+
if identity is not None:
|
|
44
|
+
pulumi.set(__self__, "identity", identity)
|
|
45
|
+
if location is not None:
|
|
46
|
+
pulumi.set(__self__, "location", location)
|
|
47
|
+
if properties is not None:
|
|
48
|
+
pulumi.set(__self__, "properties", properties)
|
|
49
|
+
if sku is not None:
|
|
50
|
+
pulumi.set(__self__, "sku", sku)
|
|
51
|
+
if tags is not None:
|
|
52
|
+
pulumi.set(__self__, "tags", tags)
|
|
53
|
+
if workspace_name is not None:
|
|
54
|
+
pulumi.set(__self__, "workspace_name", workspace_name)
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
@pulumi.getter(name="resourceGroupName")
|
|
58
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
59
|
+
"""
|
|
60
|
+
The name of the resource group. The name is case insensitive.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "resource_group_name")
|
|
63
|
+
|
|
64
|
+
@resource_group_name.setter
|
|
65
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
66
|
+
pulumi.set(self, "resource_group_name", value)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
@pulumi.getter
|
|
70
|
+
def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]:
|
|
71
|
+
"""
|
|
72
|
+
The managed identity of the grafana resource.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "identity")
|
|
75
|
+
|
|
76
|
+
@identity.setter
|
|
77
|
+
def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]):
|
|
78
|
+
pulumi.set(self, "identity", value)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter
|
|
82
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
83
|
+
"""
|
|
84
|
+
The geo-location where the grafana resource lives
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "location")
|
|
87
|
+
|
|
88
|
+
@location.setter
|
|
89
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
90
|
+
pulumi.set(self, "location", value)
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
@pulumi.getter
|
|
94
|
+
def properties(self) -> Optional[pulumi.Input['ManagedGrafanaPropertiesArgs']]:
|
|
95
|
+
"""
|
|
96
|
+
Properties specific to the grafana resource.
|
|
97
|
+
"""
|
|
98
|
+
return pulumi.get(self, "properties")
|
|
99
|
+
|
|
100
|
+
@properties.setter
|
|
101
|
+
def properties(self, value: Optional[pulumi.Input['ManagedGrafanaPropertiesArgs']]):
|
|
102
|
+
pulumi.set(self, "properties", value)
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter
|
|
106
|
+
def sku(self) -> Optional[pulumi.Input['ResourceSkuArgs']]:
|
|
107
|
+
"""
|
|
108
|
+
The Sku of the grafana resource.
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "sku")
|
|
111
|
+
|
|
112
|
+
@sku.setter
|
|
113
|
+
def sku(self, value: Optional[pulumi.Input['ResourceSkuArgs']]):
|
|
114
|
+
pulumi.set(self, "sku", value)
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter
|
|
118
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
119
|
+
"""
|
|
120
|
+
The tags for grafana resource.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "tags")
|
|
123
|
+
|
|
124
|
+
@tags.setter
|
|
125
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
126
|
+
pulumi.set(self, "tags", value)
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter(name="workspaceName")
|
|
130
|
+
def workspace_name(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
"""
|
|
132
|
+
The workspace name of Azure Managed Grafana.
|
|
133
|
+
"""
|
|
134
|
+
return pulumi.get(self, "workspace_name")
|
|
135
|
+
|
|
136
|
+
@workspace_name.setter
|
|
137
|
+
def workspace_name(self, value: Optional[pulumi.Input[str]]):
|
|
138
|
+
pulumi.set(self, "workspace_name", value)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class Grafana(pulumi.CustomResource):
|
|
142
|
+
@overload
|
|
143
|
+
def __init__(__self__,
|
|
144
|
+
resource_name: str,
|
|
145
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
146
|
+
identity: Optional[pulumi.Input[Union['ManagedServiceIdentityArgs', 'ManagedServiceIdentityArgsDict']]] = None,
|
|
147
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
148
|
+
properties: Optional[pulumi.Input[Union['ManagedGrafanaPropertiesArgs', 'ManagedGrafanaPropertiesArgsDict']]] = None,
|
|
149
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
150
|
+
sku: Optional[pulumi.Input[Union['ResourceSkuArgs', 'ResourceSkuArgsDict']]] = None,
|
|
151
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
152
|
+
workspace_name: Optional[pulumi.Input[str]] = None,
|
|
153
|
+
__props__=None):
|
|
154
|
+
"""
|
|
155
|
+
The grafana resource type.
|
|
156
|
+
|
|
157
|
+
:param str resource_name: The name of the resource.
|
|
158
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
159
|
+
:param pulumi.Input[Union['ManagedServiceIdentityArgs', 'ManagedServiceIdentityArgsDict']] identity: The managed identity of the grafana resource.
|
|
160
|
+
:param pulumi.Input[str] location: The geo-location where the grafana resource lives
|
|
161
|
+
:param pulumi.Input[Union['ManagedGrafanaPropertiesArgs', 'ManagedGrafanaPropertiesArgsDict']] properties: Properties specific to the grafana resource.
|
|
162
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
163
|
+
:param pulumi.Input[Union['ResourceSkuArgs', 'ResourceSkuArgsDict']] sku: The Sku of the grafana resource.
|
|
164
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags for grafana resource.
|
|
165
|
+
:param pulumi.Input[str] workspace_name: The workspace name of Azure Managed Grafana.
|
|
166
|
+
"""
|
|
167
|
+
...
|
|
168
|
+
@overload
|
|
169
|
+
def __init__(__self__,
|
|
170
|
+
resource_name: str,
|
|
171
|
+
args: GrafanaArgs,
|
|
172
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
173
|
+
"""
|
|
174
|
+
The grafana resource type.
|
|
175
|
+
|
|
176
|
+
:param str resource_name: The name of the resource.
|
|
177
|
+
:param GrafanaArgs args: The arguments to use to populate this resource's properties.
|
|
178
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
179
|
+
"""
|
|
180
|
+
...
|
|
181
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
182
|
+
resource_args, opts = _utilities.get_resource_args_opts(GrafanaArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
183
|
+
if resource_args is not None:
|
|
184
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
185
|
+
else:
|
|
186
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
187
|
+
|
|
188
|
+
def _internal_init(__self__,
|
|
189
|
+
resource_name: str,
|
|
190
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
191
|
+
identity: Optional[pulumi.Input[Union['ManagedServiceIdentityArgs', 'ManagedServiceIdentityArgsDict']]] = None,
|
|
192
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
193
|
+
properties: Optional[pulumi.Input[Union['ManagedGrafanaPropertiesArgs', 'ManagedGrafanaPropertiesArgsDict']]] = None,
|
|
194
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
195
|
+
sku: Optional[pulumi.Input[Union['ResourceSkuArgs', 'ResourceSkuArgsDict']]] = None,
|
|
196
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
197
|
+
workspace_name: Optional[pulumi.Input[str]] = None,
|
|
198
|
+
__props__=None):
|
|
199
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
200
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
201
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
202
|
+
if opts.id is None:
|
|
203
|
+
if __props__ is not None:
|
|
204
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
205
|
+
__props__ = GrafanaArgs.__new__(GrafanaArgs)
|
|
206
|
+
|
|
207
|
+
__props__.__dict__["identity"] = identity
|
|
208
|
+
__props__.__dict__["location"] = location
|
|
209
|
+
__props__.__dict__["properties"] = properties
|
|
210
|
+
if resource_group_name is None and not opts.urn:
|
|
211
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
212
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
213
|
+
__props__.__dict__["sku"] = sku
|
|
214
|
+
__props__.__dict__["tags"] = tags
|
|
215
|
+
__props__.__dict__["workspace_name"] = workspace_name
|
|
216
|
+
__props__.__dict__["name"] = None
|
|
217
|
+
__props__.__dict__["system_data"] = None
|
|
218
|
+
__props__.__dict__["type"] = None
|
|
219
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dashboard:Grafana"), pulumi.Alias(type_="azure-native:dashboard/v20210901preview:Grafana"), pulumi.Alias(type_="azure-native:dashboard/v20220501preview:Grafana"), pulumi.Alias(type_="azure-native:dashboard/v20220801:Grafana"), pulumi.Alias(type_="azure-native:dashboard/v20221001preview:Grafana"), pulumi.Alias(type_="azure-native:dashboard/v20230901:Grafana"), pulumi.Alias(type_="azure-native:dashboard/v20231001preview:Grafana")])
|
|
220
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
221
|
+
super(Grafana, __self__).__init__(
|
|
222
|
+
'azure-native:dashboard/v20241001:Grafana',
|
|
223
|
+
resource_name,
|
|
224
|
+
__props__,
|
|
225
|
+
opts)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def get(resource_name: str,
|
|
229
|
+
id: pulumi.Input[str],
|
|
230
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'Grafana':
|
|
231
|
+
"""
|
|
232
|
+
Get an existing Grafana resource's state with the given name, id, and optional extra
|
|
233
|
+
properties used to qualify the lookup.
|
|
234
|
+
|
|
235
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
236
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
237
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
238
|
+
"""
|
|
239
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
240
|
+
|
|
241
|
+
__props__ = GrafanaArgs.__new__(GrafanaArgs)
|
|
242
|
+
|
|
243
|
+
__props__.__dict__["identity"] = None
|
|
244
|
+
__props__.__dict__["location"] = None
|
|
245
|
+
__props__.__dict__["name"] = None
|
|
246
|
+
__props__.__dict__["properties"] = None
|
|
247
|
+
__props__.__dict__["sku"] = None
|
|
248
|
+
__props__.__dict__["system_data"] = None
|
|
249
|
+
__props__.__dict__["tags"] = None
|
|
250
|
+
__props__.__dict__["type"] = None
|
|
251
|
+
return Grafana(resource_name, opts=opts, __props__=__props__)
|
|
252
|
+
|
|
253
|
+
@property
|
|
254
|
+
@pulumi.getter
|
|
255
|
+
def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]:
|
|
256
|
+
"""
|
|
257
|
+
The managed identity of the grafana resource.
|
|
258
|
+
"""
|
|
259
|
+
return pulumi.get(self, "identity")
|
|
260
|
+
|
|
261
|
+
@property
|
|
262
|
+
@pulumi.getter
|
|
263
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
|
264
|
+
"""
|
|
265
|
+
The geo-location where the grafana resource lives
|
|
266
|
+
"""
|
|
267
|
+
return pulumi.get(self, "location")
|
|
268
|
+
|
|
269
|
+
@property
|
|
270
|
+
@pulumi.getter
|
|
271
|
+
def name(self) -> pulumi.Output[str]:
|
|
272
|
+
"""
|
|
273
|
+
Name of the grafana resource.
|
|
274
|
+
"""
|
|
275
|
+
return pulumi.get(self, "name")
|
|
276
|
+
|
|
277
|
+
@property
|
|
278
|
+
@pulumi.getter
|
|
279
|
+
def properties(self) -> pulumi.Output['outputs.ManagedGrafanaPropertiesResponse']:
|
|
280
|
+
"""
|
|
281
|
+
Properties specific to the grafana resource.
|
|
282
|
+
"""
|
|
283
|
+
return pulumi.get(self, "properties")
|
|
284
|
+
|
|
285
|
+
@property
|
|
286
|
+
@pulumi.getter
|
|
287
|
+
def sku(self) -> pulumi.Output[Optional['outputs.ResourceSkuResponse']]:
|
|
288
|
+
"""
|
|
289
|
+
The Sku of the grafana resource.
|
|
290
|
+
"""
|
|
291
|
+
return pulumi.get(self, "sku")
|
|
292
|
+
|
|
293
|
+
@property
|
|
294
|
+
@pulumi.getter(name="systemData")
|
|
295
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
296
|
+
"""
|
|
297
|
+
The system meta data relating to this grafana resource.
|
|
298
|
+
"""
|
|
299
|
+
return pulumi.get(self, "system_data")
|
|
300
|
+
|
|
301
|
+
@property
|
|
302
|
+
@pulumi.getter
|
|
303
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
304
|
+
"""
|
|
305
|
+
The tags for grafana resource.
|
|
306
|
+
"""
|
|
307
|
+
return pulumi.get(self, "tags")
|
|
308
|
+
|
|
309
|
+
@property
|
|
310
|
+
@pulumi.getter
|
|
311
|
+
def type(self) -> pulumi.Output[str]:
|
|
312
|
+
"""
|
|
313
|
+
The type of the grafana resource.
|
|
314
|
+
"""
|
|
315
|
+
return pulumi.get(self, "type")
|
|
316
|
+
|