pulumi-azure-native 2.79.0a1734933929__py3-none-any.whl → 2.80.0a1735629569__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 (43) hide show
  1. pulumi_azure_native/__init__.py +12 -0
  2. pulumi_azure_native/confluent/__init__.py +3 -0
  3. pulumi_azure_native/confluent/get_organization.py +2 -2
  4. pulumi_azure_native/confluent/list_access_clusters.py +2 -2
  5. pulumi_azure_native/confluent/list_access_environments.py +2 -2
  6. pulumi_azure_native/confluent/list_access_invitations.py +2 -2
  7. pulumi_azure_native/confluent/list_access_role_binding_name.py +4 -0
  8. pulumi_azure_native/confluent/list_access_role_bindings.py +2 -2
  9. pulumi_azure_native/confluent/list_access_service_accounts.py +2 -2
  10. pulumi_azure_native/confluent/list_access_users.py +2 -2
  11. pulumi_azure_native/confluent/list_organization_regions.py +4 -0
  12. pulumi_azure_native/confluent/organization.py +3 -3
  13. pulumi_azure_native/confluent/v20200301preview/organization.py +1 -1
  14. pulumi_azure_native/confluent/v20211201/organization.py +1 -1
  15. pulumi_azure_native/confluent/v20230822/organization.py +1 -1
  16. pulumi_azure_native/confluent/v20240213/organization.py +1 -1
  17. pulumi_azure_native/confluent/v20240701/__init__.py +28 -0
  18. pulumi_azure_native/confluent/v20240701/_enums.py +108 -0
  19. pulumi_azure_native/confluent/v20240701/_inputs.py +3187 -0
  20. pulumi_azure_native/confluent/v20240701/connector.py +319 -0
  21. pulumi_azure_native/confluent/v20240701/get_connector.py +189 -0
  22. pulumi_azure_native/confluent/v20240701/get_organization.py +241 -0
  23. pulumi_azure_native/confluent/v20240701/get_organization_cluster_by_id.py +183 -0
  24. pulumi_azure_native/confluent/v20240701/get_organization_environment_by_id.py +163 -0
  25. pulumi_azure_native/confluent/v20240701/get_topic.py +259 -0
  26. pulumi_azure_native/confluent/v20240701/list_access_clusters.py +121 -0
  27. pulumi_azure_native/confluent/v20240701/list_access_environments.py +121 -0
  28. pulumi_azure_native/confluent/v20240701/list_access_invitations.py +121 -0
  29. pulumi_azure_native/confluent/v20240701/list_access_role_binding_name.py +121 -0
  30. pulumi_azure_native/confluent/v20240701/list_access_role_bindings.py +121 -0
  31. pulumi_azure_native/confluent/v20240701/list_access_service_accounts.py +121 -0
  32. pulumi_azure_native/confluent/v20240701/list_access_users.py +121 -0
  33. pulumi_azure_native/confluent/v20240701/list_organization_regions.py +93 -0
  34. pulumi_azure_native/confluent/v20240701/organization.py +349 -0
  35. pulumi_azure_native/confluent/v20240701/organization_cluster_by_id.py +375 -0
  36. pulumi_azure_native/confluent/v20240701/organization_environment_by_id.py +325 -0
  37. pulumi_azure_native/confluent/v20240701/outputs.py +3590 -0
  38. pulumi_azure_native/confluent/v20240701/topic.py +482 -0
  39. pulumi_azure_native/pulumi-plugin.json +1 -1
  40. {pulumi_azure_native-2.79.0a1734933929.dist-info → pulumi_azure_native-2.80.0a1735629569.dist-info}/METADATA +1 -1
  41. {pulumi_azure_native-2.79.0a1734933929.dist-info → pulumi_azure_native-2.80.0a1735629569.dist-info}/RECORD +43 -21
  42. {pulumi_azure_native-2.79.0a1734933929.dist-info → pulumi_azure_native-2.80.0a1735629569.dist-info}/WHEEL +0 -0
  43. {pulumi_azure_native-2.79.0a1734933929.dist-info → pulumi_azure_native-2.80.0a1735629569.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,241 @@
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
+ 'GetOrganizationResult',
20
+ 'AwaitableGetOrganizationResult',
21
+ 'get_organization',
22
+ 'get_organization_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetOrganizationResult:
27
+ """
28
+ Organization resource.
29
+ """
30
+ def __init__(__self__, created_time=None, id=None, location=None, name=None, offer_detail=None, organization_id=None, provisioning_state=None, sso_url=None, system_data=None, tags=None, type=None, user_detail=None):
31
+ if created_time and not isinstance(created_time, str):
32
+ raise TypeError("Expected argument 'created_time' to be a str")
33
+ pulumi.set(__self__, "created_time", created_time)
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 offer_detail and not isinstance(offer_detail, dict):
44
+ raise TypeError("Expected argument 'offer_detail' to be a dict")
45
+ pulumi.set(__self__, "offer_detail", offer_detail)
46
+ if organization_id and not isinstance(organization_id, str):
47
+ raise TypeError("Expected argument 'organization_id' to be a str")
48
+ pulumi.set(__self__, "organization_id", organization_id)
49
+ if provisioning_state and not isinstance(provisioning_state, str):
50
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
51
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
52
+ if sso_url and not isinstance(sso_url, str):
53
+ raise TypeError("Expected argument 'sso_url' to be a str")
54
+ pulumi.set(__self__, "sso_url", sso_url)
55
+ if system_data and not isinstance(system_data, dict):
56
+ raise TypeError("Expected argument 'system_data' to be a dict")
57
+ pulumi.set(__self__, "system_data", system_data)
58
+ if tags and not isinstance(tags, dict):
59
+ raise TypeError("Expected argument 'tags' to be a dict")
60
+ pulumi.set(__self__, "tags", tags)
61
+ if type and not isinstance(type, str):
62
+ raise TypeError("Expected argument 'type' to be a str")
63
+ pulumi.set(__self__, "type", type)
64
+ if user_detail and not isinstance(user_detail, dict):
65
+ raise TypeError("Expected argument 'user_detail' to be a dict")
66
+ pulumi.set(__self__, "user_detail", user_detail)
67
+
68
+ @property
69
+ @pulumi.getter(name="createdTime")
70
+ def created_time(self) -> str:
71
+ """
72
+ The creation time of the resource.
73
+ """
74
+ return pulumi.get(self, "created_time")
75
+
76
+ @property
77
+ @pulumi.getter
78
+ def id(self) -> str:
79
+ """
80
+ The ARM id of the resource.
81
+ """
82
+ return pulumi.get(self, "id")
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def location(self) -> Optional[str]:
87
+ """
88
+ Location of Organization resource
89
+ """
90
+ return pulumi.get(self, "location")
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def name(self) -> str:
95
+ """
96
+ The name of the resource.
97
+ """
98
+ return pulumi.get(self, "name")
99
+
100
+ @property
101
+ @pulumi.getter(name="offerDetail")
102
+ def offer_detail(self) -> 'outputs.OfferDetailResponse':
103
+ """
104
+ Confluent offer detail
105
+ """
106
+ return pulumi.get(self, "offer_detail")
107
+
108
+ @property
109
+ @pulumi.getter(name="organizationId")
110
+ def organization_id(self) -> str:
111
+ """
112
+ Id of the Confluent organization.
113
+ """
114
+ return pulumi.get(self, "organization_id")
115
+
116
+ @property
117
+ @pulumi.getter(name="provisioningState")
118
+ def provisioning_state(self) -> str:
119
+ """
120
+ Provision states for confluent RP
121
+ """
122
+ return pulumi.get(self, "provisioning_state")
123
+
124
+ @property
125
+ @pulumi.getter(name="ssoUrl")
126
+ def sso_url(self) -> str:
127
+ """
128
+ SSO url for the Confluent organization.
129
+ """
130
+ return pulumi.get(self, "sso_url")
131
+
132
+ @property
133
+ @pulumi.getter(name="systemData")
134
+ def system_data(self) -> 'outputs.SystemDataResponse':
135
+ """
136
+ Metadata pertaining to creation and last modification of the resource
137
+ """
138
+ return pulumi.get(self, "system_data")
139
+
140
+ @property
141
+ @pulumi.getter
142
+ def tags(self) -> Optional[Mapping[str, str]]:
143
+ """
144
+ Organization resource tags
145
+ """
146
+ return pulumi.get(self, "tags")
147
+
148
+ @property
149
+ @pulumi.getter
150
+ def type(self) -> str:
151
+ """
152
+ The type of the resource.
153
+ """
154
+ return pulumi.get(self, "type")
155
+
156
+ @property
157
+ @pulumi.getter(name="userDetail")
158
+ def user_detail(self) -> 'outputs.UserDetailResponse':
159
+ """
160
+ Subscriber detail
161
+ """
162
+ return pulumi.get(self, "user_detail")
163
+
164
+
165
+ class AwaitableGetOrganizationResult(GetOrganizationResult):
166
+ # pylint: disable=using-constant-test
167
+ def __await__(self):
168
+ if False:
169
+ yield self
170
+ return GetOrganizationResult(
171
+ created_time=self.created_time,
172
+ id=self.id,
173
+ location=self.location,
174
+ name=self.name,
175
+ offer_detail=self.offer_detail,
176
+ organization_id=self.organization_id,
177
+ provisioning_state=self.provisioning_state,
178
+ sso_url=self.sso_url,
179
+ system_data=self.system_data,
180
+ tags=self.tags,
181
+ type=self.type,
182
+ user_detail=self.user_detail)
183
+
184
+
185
+ def get_organization(organization_name: Optional[str] = None,
186
+ resource_group_name: Optional[str] = None,
187
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationResult:
188
+ """
189
+ Organization resource.
190
+
191
+
192
+ :param str organization_name: Organization resource name
193
+ :param str resource_group_name: Resource group name
194
+ """
195
+ __args__ = dict()
196
+ __args__['organizationName'] = organization_name
197
+ __args__['resourceGroupName'] = resource_group_name
198
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
199
+ __ret__ = pulumi.runtime.invoke('azure-native:confluent/v20240701:getOrganization', __args__, opts=opts, typ=GetOrganizationResult).value
200
+
201
+ return AwaitableGetOrganizationResult(
202
+ created_time=pulumi.get(__ret__, 'created_time'),
203
+ id=pulumi.get(__ret__, 'id'),
204
+ location=pulumi.get(__ret__, 'location'),
205
+ name=pulumi.get(__ret__, 'name'),
206
+ offer_detail=pulumi.get(__ret__, 'offer_detail'),
207
+ organization_id=pulumi.get(__ret__, 'organization_id'),
208
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
209
+ sso_url=pulumi.get(__ret__, 'sso_url'),
210
+ system_data=pulumi.get(__ret__, 'system_data'),
211
+ tags=pulumi.get(__ret__, 'tags'),
212
+ type=pulumi.get(__ret__, 'type'),
213
+ user_detail=pulumi.get(__ret__, 'user_detail'))
214
+ def get_organization_output(organization_name: Optional[pulumi.Input[str]] = None,
215
+ resource_group_name: Optional[pulumi.Input[str]] = None,
216
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationResult]:
217
+ """
218
+ Organization resource.
219
+
220
+
221
+ :param str organization_name: Organization resource name
222
+ :param str resource_group_name: Resource group name
223
+ """
224
+ __args__ = dict()
225
+ __args__['organizationName'] = organization_name
226
+ __args__['resourceGroupName'] = resource_group_name
227
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
228
+ __ret__ = pulumi.runtime.invoke_output('azure-native:confluent/v20240701:getOrganization', __args__, opts=opts, typ=GetOrganizationResult)
229
+ return __ret__.apply(lambda __response__: GetOrganizationResult(
230
+ created_time=pulumi.get(__response__, 'created_time'),
231
+ id=pulumi.get(__response__, 'id'),
232
+ location=pulumi.get(__response__, 'location'),
233
+ name=pulumi.get(__response__, 'name'),
234
+ offer_detail=pulumi.get(__response__, 'offer_detail'),
235
+ organization_id=pulumi.get(__response__, 'organization_id'),
236
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
237
+ sso_url=pulumi.get(__response__, 'sso_url'),
238
+ system_data=pulumi.get(__response__, 'system_data'),
239
+ tags=pulumi.get(__response__, 'tags'),
240
+ type=pulumi.get(__response__, 'type'),
241
+ user_detail=pulumi.get(__response__, 'user_detail')))
@@ -0,0 +1,183 @@
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
+ 'GetOrganizationClusterByIdResult',
20
+ 'AwaitableGetOrganizationClusterByIdResult',
21
+ 'get_organization_cluster_by_id',
22
+ 'get_organization_cluster_by_id_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetOrganizationClusterByIdResult:
27
+ """
28
+ Details of cluster record
29
+ """
30
+ def __init__(__self__, id=None, kind=None, metadata=None, name=None, spec=None, status=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 metadata and not isinstance(metadata, dict):
38
+ raise TypeError("Expected argument 'metadata' to be a dict")
39
+ pulumi.set(__self__, "metadata", metadata)
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 spec and not isinstance(spec, dict):
44
+ raise TypeError("Expected argument 'spec' to be a dict")
45
+ pulumi.set(__self__, "spec", spec)
46
+ if status and not isinstance(status, dict):
47
+ raise TypeError("Expected argument 'status' to be a dict")
48
+ pulumi.set(__self__, "status", status)
49
+ if type and not isinstance(type, str):
50
+ raise TypeError("Expected argument 'type' to be a str")
51
+ pulumi.set(__self__, "type", type)
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def id(self) -> Optional[str]:
56
+ """
57
+ Id of the cluster
58
+ """
59
+ return pulumi.get(self, "id")
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def kind(self) -> Optional[str]:
64
+ """
65
+ Type of cluster
66
+ """
67
+ return pulumi.get(self, "kind")
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def metadata(self) -> Optional['outputs.SCMetadataEntityResponse']:
72
+ """
73
+ Metadata of the record
74
+ """
75
+ return pulumi.get(self, "metadata")
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def name(self) -> Optional[str]:
80
+ """
81
+ Display name of the cluster
82
+ """
83
+ return pulumi.get(self, "name")
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def spec(self) -> Optional['outputs.SCClusterSpecEntityResponse']:
88
+ """
89
+ Specification of the cluster
90
+ """
91
+ return pulumi.get(self, "spec")
92
+
93
+ @property
94
+ @pulumi.getter
95
+ def status(self) -> Optional['outputs.ClusterStatusEntityResponse']:
96
+ """
97
+ Specification of the cluster status
98
+ """
99
+ return pulumi.get(self, "status")
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def type(self) -> Optional[str]:
104
+ """
105
+ Type of the resource
106
+ """
107
+ return pulumi.get(self, "type")
108
+
109
+
110
+ class AwaitableGetOrganizationClusterByIdResult(GetOrganizationClusterByIdResult):
111
+ # pylint: disable=using-constant-test
112
+ def __await__(self):
113
+ if False:
114
+ yield self
115
+ return GetOrganizationClusterByIdResult(
116
+ id=self.id,
117
+ kind=self.kind,
118
+ metadata=self.metadata,
119
+ name=self.name,
120
+ spec=self.spec,
121
+ status=self.status,
122
+ type=self.type)
123
+
124
+
125
+ def get_organization_cluster_by_id(cluster_id: Optional[str] = None,
126
+ environment_id: Optional[str] = None,
127
+ organization_name: Optional[str] = None,
128
+ resource_group_name: Optional[str] = None,
129
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationClusterByIdResult:
130
+ """
131
+ Details of cluster record
132
+
133
+
134
+ :param str cluster_id: Confluent kafka or schema registry cluster id
135
+ :param str environment_id: Confluent environment id
136
+ :param str organization_name: Organization resource name
137
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
138
+ """
139
+ __args__ = dict()
140
+ __args__['clusterId'] = cluster_id
141
+ __args__['environmentId'] = environment_id
142
+ __args__['organizationName'] = organization_name
143
+ __args__['resourceGroupName'] = resource_group_name
144
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
145
+ __ret__ = pulumi.runtime.invoke('azure-native:confluent/v20240701:getOrganizationClusterById', __args__, opts=opts, typ=GetOrganizationClusterByIdResult).value
146
+
147
+ return AwaitableGetOrganizationClusterByIdResult(
148
+ id=pulumi.get(__ret__, 'id'),
149
+ kind=pulumi.get(__ret__, 'kind'),
150
+ metadata=pulumi.get(__ret__, 'metadata'),
151
+ name=pulumi.get(__ret__, 'name'),
152
+ spec=pulumi.get(__ret__, 'spec'),
153
+ status=pulumi.get(__ret__, 'status'),
154
+ type=pulumi.get(__ret__, 'type'))
155
+ def get_organization_cluster_by_id_output(cluster_id: Optional[pulumi.Input[str]] = None,
156
+ environment_id: Optional[pulumi.Input[str]] = None,
157
+ organization_name: Optional[pulumi.Input[str]] = None,
158
+ resource_group_name: Optional[pulumi.Input[str]] = None,
159
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationClusterByIdResult]:
160
+ """
161
+ Details of cluster record
162
+
163
+
164
+ :param str cluster_id: Confluent kafka or schema registry cluster id
165
+ :param str environment_id: Confluent environment id
166
+ :param str organization_name: Organization resource name
167
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
168
+ """
169
+ __args__ = dict()
170
+ __args__['clusterId'] = cluster_id
171
+ __args__['environmentId'] = environment_id
172
+ __args__['organizationName'] = organization_name
173
+ __args__['resourceGroupName'] = resource_group_name
174
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
175
+ __ret__ = pulumi.runtime.invoke_output('azure-native:confluent/v20240701:getOrganizationClusterById', __args__, opts=opts, typ=GetOrganizationClusterByIdResult)
176
+ return __ret__.apply(lambda __response__: GetOrganizationClusterByIdResult(
177
+ id=pulumi.get(__response__, 'id'),
178
+ kind=pulumi.get(__response__, 'kind'),
179
+ metadata=pulumi.get(__response__, 'metadata'),
180
+ name=pulumi.get(__response__, 'name'),
181
+ spec=pulumi.get(__response__, 'spec'),
182
+ status=pulumi.get(__response__, 'status'),
183
+ type=pulumi.get(__response__, 'type')))
@@ -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
+ 'GetOrganizationEnvironmentByIdResult',
20
+ 'AwaitableGetOrganizationEnvironmentByIdResult',
21
+ 'get_organization_environment_by_id',
22
+ 'get_organization_environment_by_id_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetOrganizationEnvironmentByIdResult:
27
+ """
28
+ Details about environment name, metadata and environment id of an environment
29
+ """
30
+ def __init__(__self__, id=None, kind=None, metadata=None, name=None, stream_governance_config=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 metadata and not isinstance(metadata, dict):
38
+ raise TypeError("Expected argument 'metadata' to be a dict")
39
+ pulumi.set(__self__, "metadata", metadata)
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 stream_governance_config and not isinstance(stream_governance_config, dict):
44
+ raise TypeError("Expected argument 'stream_governance_config' to be a dict")
45
+ pulumi.set(__self__, "stream_governance_config", stream_governance_config)
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) -> Optional[str]:
53
+ """
54
+ Id of the environment
55
+ """
56
+ return pulumi.get(self, "id")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def kind(self) -> Optional[str]:
61
+ """
62
+ Type of environment
63
+ """
64
+ return pulumi.get(self, "kind")
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def metadata(self) -> Optional['outputs.SCMetadataEntityResponse']:
69
+ """
70
+ Metadata of the record
71
+ """
72
+ return pulumi.get(self, "metadata")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def name(self) -> Optional[str]:
77
+ """
78
+ Display name of the environment
79
+ """
80
+ return pulumi.get(self, "name")
81
+
82
+ @property
83
+ @pulumi.getter(name="streamGovernanceConfig")
84
+ def stream_governance_config(self) -> Optional['outputs.StreamGovernanceConfigResponse']:
85
+ """
86
+ Stream governance configuration
87
+ """
88
+ return pulumi.get(self, "stream_governance_config")
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def type(self) -> Optional[str]:
93
+ """
94
+ Type of the resource
95
+ """
96
+ return pulumi.get(self, "type")
97
+
98
+
99
+ class AwaitableGetOrganizationEnvironmentByIdResult(GetOrganizationEnvironmentByIdResult):
100
+ # pylint: disable=using-constant-test
101
+ def __await__(self):
102
+ if False:
103
+ yield self
104
+ return GetOrganizationEnvironmentByIdResult(
105
+ id=self.id,
106
+ kind=self.kind,
107
+ metadata=self.metadata,
108
+ name=self.name,
109
+ stream_governance_config=self.stream_governance_config,
110
+ type=self.type)
111
+
112
+
113
+ def get_organization_environment_by_id(environment_id: Optional[str] = None,
114
+ organization_name: Optional[str] = None,
115
+ resource_group_name: Optional[str] = None,
116
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationEnvironmentByIdResult:
117
+ """
118
+ Details about environment name, metadata and environment id of an environment
119
+
120
+
121
+ :param str environment_id: Confluent environment id
122
+ :param str organization_name: Organization resource name
123
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
124
+ """
125
+ __args__ = dict()
126
+ __args__['environmentId'] = environment_id
127
+ __args__['organizationName'] = organization_name
128
+ __args__['resourceGroupName'] = resource_group_name
129
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
130
+ __ret__ = pulumi.runtime.invoke('azure-native:confluent/v20240701:getOrganizationEnvironmentById', __args__, opts=opts, typ=GetOrganizationEnvironmentByIdResult).value
131
+
132
+ return AwaitableGetOrganizationEnvironmentByIdResult(
133
+ id=pulumi.get(__ret__, 'id'),
134
+ kind=pulumi.get(__ret__, 'kind'),
135
+ metadata=pulumi.get(__ret__, 'metadata'),
136
+ name=pulumi.get(__ret__, 'name'),
137
+ stream_governance_config=pulumi.get(__ret__, 'stream_governance_config'),
138
+ type=pulumi.get(__ret__, 'type'))
139
+ def get_organization_environment_by_id_output(environment_id: Optional[pulumi.Input[str]] = None,
140
+ organization_name: Optional[pulumi.Input[str]] = None,
141
+ resource_group_name: Optional[pulumi.Input[str]] = None,
142
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationEnvironmentByIdResult]:
143
+ """
144
+ Details about environment name, metadata and environment id of an environment
145
+
146
+
147
+ :param str environment_id: Confluent environment id
148
+ :param str organization_name: Organization resource name
149
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
150
+ """
151
+ __args__ = dict()
152
+ __args__['environmentId'] = environment_id
153
+ __args__['organizationName'] = organization_name
154
+ __args__['resourceGroupName'] = resource_group_name
155
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
+ __ret__ = pulumi.runtime.invoke_output('azure-native:confluent/v20240701:getOrganizationEnvironmentById', __args__, opts=opts, typ=GetOrganizationEnvironmentByIdResult)
157
+ return __ret__.apply(lambda __response__: GetOrganizationEnvironmentByIdResult(
158
+ id=pulumi.get(__response__, 'id'),
159
+ kind=pulumi.get(__response__, 'kind'),
160
+ metadata=pulumi.get(__response__, 'metadata'),
161
+ name=pulumi.get(__response__, 'name'),
162
+ stream_governance_config=pulumi.get(__response__, 'stream_governance_config'),
163
+ type=pulumi.get(__response__, 'type')))