pulumi-azure-native 2.18.0__py3-none-any.whl → 2.18.1a1700572187__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 +54 -0
- pulumi_azure_native/config/__init__.pyi +83 -0
- pulumi_azure_native/eventhub/__init__.py +3 -0
- pulumi_azure_native/eventhub/application_group.py +3 -3
- pulumi_azure_native/eventhub/cluster.py +3 -3
- pulumi_azure_native/eventhub/consumer_group.py +3 -3
- pulumi_azure_native/eventhub/disaster_recovery_config.py +3 -3
- pulumi_azure_native/eventhub/event_hub.py +3 -3
- pulumi_azure_native/eventhub/event_hub_authorization_rule.py +3 -3
- pulumi_azure_native/eventhub/get_application_group.py +2 -2
- pulumi_azure_native/eventhub/get_cluster.py +2 -2
- pulumi_azure_native/eventhub/get_consumer_group.py +2 -2
- pulumi_azure_native/eventhub/get_disaster_recovery_config.py +2 -2
- pulumi_azure_native/eventhub/get_event_hub.py +2 -2
- pulumi_azure_native/eventhub/get_event_hub_authorization_rule.py +2 -2
- pulumi_azure_native/eventhub/get_namespace.py +2 -2
- pulumi_azure_native/eventhub/get_namespace_authorization_rule.py +2 -2
- pulumi_azure_native/eventhub/get_namespace_network_rule_set.py +2 -2
- pulumi_azure_native/eventhub/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/eventhub/get_schema_registry.py +2 -2
- pulumi_azure_native/eventhub/list_disaster_recovery_config_keys.py +2 -2
- pulumi_azure_native/eventhub/list_event_hub_keys.py +2 -2
- pulumi_azure_native/eventhub/list_namespace_keys.py +2 -2
- pulumi_azure_native/eventhub/namespace.py +3 -3
- pulumi_azure_native/eventhub/namespace_authorization_rule.py +3 -3
- pulumi_azure_native/eventhub/namespace_network_rule_set.py +3 -3
- pulumi_azure_native/eventhub/private_endpoint_connection.py +3 -3
- pulumi_azure_native/eventhub/schema_registry.py +3 -3
- pulumi_azure_native/eventhub/v20221001preview/application_group.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/cluster.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/consumer_group.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/disaster_recovery_config.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/event_hub.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/event_hub_authorization_rule.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/namespace.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/namespace_authorization_rule.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/namespace_network_rule_set.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/eventhub/v20221001preview/schema_registry.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/application_group.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/cluster.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/consumer_group.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/disaster_recovery_config.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/event_hub.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/event_hub_authorization_rule.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/namespace.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/namespace_authorization_rule.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/namespace_network_rule_set.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/eventhub/v20230101preview/schema_registry.py +1 -1
- pulumi_azure_native/eventhub/v20240101/__init__.py +35 -0
- pulumi_azure_native/eventhub/v20240101/_enums.py +223 -0
- pulumi_azure_native/eventhub/v20240101/_inputs.py +986 -0
- pulumi_azure_native/eventhub/v20240101/application_group.py +285 -0
- pulumi_azure_native/eventhub/v20240101/cluster.py +361 -0
- pulumi_azure_native/eventhub/v20240101/consumer_group.py +265 -0
- pulumi_azure_native/eventhub/v20240101/disaster_recovery_config.py +283 -0
- pulumi_azure_native/eventhub/v20240101/event_hub.py +372 -0
- pulumi_azure_native/eventhub/v20240101/event_hub_authorization_rule.py +247 -0
- pulumi_azure_native/eventhub/v20240101/get_application_group.py +175 -0
- pulumi_azure_native/eventhub/v20240101/get_cluster.py +248 -0
- pulumi_azure_native/eventhub/v20240101/get_consumer_group.py +180 -0
- pulumi_azure_native/eventhub/v20240101/get_disaster_recovery_config.py +201 -0
- pulumi_azure_native/eventhub/v20240101/get_event_hub.py +240 -0
- pulumi_azure_native/eventhub/v20240101/get_event_hub_authorization_rule.py +154 -0
- pulumi_azure_native/eventhub/v20240101/get_namespace.py +391 -0
- pulumi_azure_native/eventhub/v20240101/get_namespace_authorization_rule.py +149 -0
- pulumi_azure_native/eventhub/v20240101/get_namespace_network_rule_set.py +196 -0
- pulumi_azure_native/eventhub/v20240101/get_private_endpoint_connection.py +175 -0
- pulumi_azure_native/eventhub/v20240101/get_schema_registry.py +208 -0
- pulumi_azure_native/eventhub/v20240101/list_disaster_recovery_config_keys.py +166 -0
- pulumi_azure_native/eventhub/v20240101/list_event_hub_keys.py +166 -0
- pulumi_azure_native/eventhub/v20240101/list_namespace_keys.py +161 -0
- pulumi_azure_native/eventhub/v20240101/namespace.py +668 -0
- pulumi_azure_native/eventhub/v20240101/namespace_authorization_rule.py +226 -0
- pulumi_azure_native/eventhub/v20240101/namespace_network_rule_set.py +326 -0
- pulumi_azure_native/eventhub/v20240101/outputs.py +1336 -0
- pulumi_azure_native/eventhub/v20240101/private_endpoint_connection.py +284 -0
- pulumi_azure_native/eventhub/v20240101/schema_registry.py +297 -0
- pulumi_azure_native/healthcareapis/__init__.py +3 -0
- pulumi_azure_native/healthcareapis/dicom_service.py +3 -3
- pulumi_azure_native/healthcareapis/fhir_service.py +3 -3
- pulumi_azure_native/healthcareapis/get_dicom_service.py +2 -2
- pulumi_azure_native/healthcareapis/get_fhir_service.py +2 -2
- pulumi_azure_native/healthcareapis/get_iot_connector.py +2 -2
- pulumi_azure_native/healthcareapis/get_iot_connector_fhir_destination.py +2 -2
- pulumi_azure_native/healthcareapis/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/healthcareapis/get_service.py +2 -2
- pulumi_azure_native/healthcareapis/get_workspace.py +2 -2
- pulumi_azure_native/healthcareapis/get_workspace_private_endpoint_connection.py +2 -2
- pulumi_azure_native/healthcareapis/iot_connector.py +3 -3
- pulumi_azure_native/healthcareapis/iot_connector_fhir_destination.py +3 -3
- pulumi_azure_native/healthcareapis/private_endpoint_connection.py +3 -3
- pulumi_azure_native/healthcareapis/service.py +3 -3
- pulumi_azure_native/healthcareapis/v20230228/dicom_service.py +1 -1
- pulumi_azure_native/healthcareapis/v20230228/fhir_service.py +1 -1
- pulumi_azure_native/healthcareapis/v20230228/iot_connector.py +1 -1
- pulumi_azure_native/healthcareapis/v20230228/iot_connector_fhir_destination.py +1 -1
- pulumi_azure_native/healthcareapis/v20230228/private_endpoint_connection.py +1 -1
- pulumi_azure_native/healthcareapis/v20230228/service.py +1 -1
- pulumi_azure_native/healthcareapis/v20230228/workspace.py +1 -1
- pulumi_azure_native/healthcareapis/v20230228/workspace_private_endpoint_connection.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/dicom_service.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/fhir_service.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/iot_connector.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/iot_connector_fhir_destination.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/private_endpoint_connection.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/service.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/workspace.py +1 -1
- pulumi_azure_native/healthcareapis/v20230906/workspace_private_endpoint_connection.py +1 -1
- pulumi_azure_native/healthcareapis/v20231101/__init__.py +26 -0
- pulumi_azure_native/healthcareapis/v20231101/_enums.py +85 -0
- pulumi_azure_native/healthcareapis/v20231101/_inputs.py +1277 -0
- pulumi_azure_native/healthcareapis/v20231101/dicom_service.py +402 -0
- pulumi_azure_native/healthcareapis/v20231101/fhir_service.py +585 -0
- pulumi_azure_native/healthcareapis/v20231101/get_dicom_service.py +279 -0
- pulumi_azure_native/healthcareapis/v20231101/get_fhir_service.py +344 -0
- pulumi_azure_native/healthcareapis/v20231101/get_iot_connector.py +214 -0
- pulumi_azure_native/healthcareapis/v20231101/get_iot_connector_fhir_destination.py +193 -0
- pulumi_azure_native/healthcareapis/v20231101/get_private_endpoint_connection.py +162 -0
- pulumi_azure_native/healthcareapis/v20231101/get_service.py +196 -0
- pulumi_azure_native/healthcareapis/v20231101/get_workspace.py +170 -0
- pulumi_azure_native/healthcareapis/v20231101/get_workspace_private_endpoint_connection.py +162 -0
- pulumi_azure_native/healthcareapis/v20231101/iot_connector.py +352 -0
- pulumi_azure_native/healthcareapis/v20231101/iot_connector_fhir_destination.py +337 -0
- pulumi_azure_native/healthcareapis/v20231101/outputs.py +1951 -0
- pulumi_azure_native/healthcareapis/v20231101/private_endpoint_connection.py +237 -0
- pulumi_azure_native/healthcareapis/v20231101/service.py +322 -0
- pulumi_azure_native/healthcareapis/v20231101/workspace.py +242 -0
- pulumi_azure_native/healthcareapis/v20231101/workspace_private_endpoint_connection.py +237 -0
- pulumi_azure_native/healthcareapis/workspace.py +3 -3
- pulumi_azure_native/healthcareapis/workspace_private_endpoint_connection.py +3 -3
- pulumi_azure_native/offazurespringboot/__init__.py +22 -0
- pulumi_azure_native/offazurespringboot/_enums.py +22 -0
- pulumi_azure_native/offazurespringboot/_inputs.py +402 -0
- pulumi_azure_native/offazurespringboot/get_springbootserver.py +151 -0
- pulumi_azure_native/offazurespringboot/get_springbootsite.py +172 -0
- pulumi_azure_native/offazurespringboot/outputs.py +509 -0
- pulumi_azure_native/offazurespringboot/springbootserver.py +247 -0
- pulumi_azure_native/offazurespringboot/springbootsite.py +284 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/__init__.py +14 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/_enums.py +22 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/_inputs.py +402 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/get_springbootserver.py +149 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/get_springbootsite.py +170 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/outputs.py +509 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/springbootserver.py +245 -0
- pulumi_azure_native/offazurespringboot/v20230101preview/springbootsite.py +282 -0
- pulumi_azure_native/security/alerts_suppression_rule.py +4 -4
- pulumi_azure_native/security/get_alerts_suppression_rule.py +1 -1
- pulumi_azure_native/security/v20190101preview/alerts_suppression_rule.py +4 -4
- pulumi_azure_native/security/v20190101preview/get_alerts_suppression_rule.py +1 -1
- {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/RECORD +156 -90
- {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.18.0.dist-info → pulumi_azure_native-2.18.1a1700572187.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'GetApplicationGroupResult',
|
|
15
|
+
'AwaitableGetApplicationGroupResult',
|
|
16
|
+
'get_application_group',
|
|
17
|
+
'get_application_group_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetApplicationGroupResult:
|
|
22
|
+
"""
|
|
23
|
+
The Application Group object
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, client_app_group_identifier=None, id=None, is_enabled=None, location=None, name=None, policies=None, system_data=None, type=None):
|
|
26
|
+
if client_app_group_identifier and not isinstance(client_app_group_identifier, str):
|
|
27
|
+
raise TypeError("Expected argument 'client_app_group_identifier' to be a str")
|
|
28
|
+
pulumi.set(__self__, "client_app_group_identifier", client_app_group_identifier)
|
|
29
|
+
if id and not isinstance(id, str):
|
|
30
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
31
|
+
pulumi.set(__self__, "id", id)
|
|
32
|
+
if is_enabled and not isinstance(is_enabled, bool):
|
|
33
|
+
raise TypeError("Expected argument 'is_enabled' to be a bool")
|
|
34
|
+
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
35
|
+
if location and not isinstance(location, str):
|
|
36
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
37
|
+
pulumi.set(__self__, "location", location)
|
|
38
|
+
if name and not isinstance(name, str):
|
|
39
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
40
|
+
pulumi.set(__self__, "name", name)
|
|
41
|
+
if policies and not isinstance(policies, list):
|
|
42
|
+
raise TypeError("Expected argument 'policies' to be a list")
|
|
43
|
+
pulumi.set(__self__, "policies", policies)
|
|
44
|
+
if system_data and not isinstance(system_data, dict):
|
|
45
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
47
|
+
if type and not isinstance(type, str):
|
|
48
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
49
|
+
pulumi.set(__self__, "type", type)
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter(name="clientAppGroupIdentifier")
|
|
53
|
+
def client_app_group_identifier(self) -> str:
|
|
54
|
+
"""
|
|
55
|
+
The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid)
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "client_app_group_identifier")
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def id(self) -> str:
|
|
62
|
+
"""
|
|
63
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "id")
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter(name="isEnabled")
|
|
69
|
+
def is_enabled(self) -> Optional[bool]:
|
|
70
|
+
"""
|
|
71
|
+
Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "is_enabled")
|
|
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
|
|
93
|
+
def policies(self) -> Optional[Sequence['outputs.ThrottlingPolicyResponse']]:
|
|
94
|
+
"""
|
|
95
|
+
List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "policies")
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
@pulumi.getter(name="systemData")
|
|
101
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
102
|
+
"""
|
|
103
|
+
The system meta data relating to this resource.
|
|
104
|
+
"""
|
|
105
|
+
return pulumi.get(self, "system_data")
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter
|
|
109
|
+
def type(self) -> str:
|
|
110
|
+
"""
|
|
111
|
+
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "type")
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class AwaitableGetApplicationGroupResult(GetApplicationGroupResult):
|
|
117
|
+
# pylint: disable=using-constant-test
|
|
118
|
+
def __await__(self):
|
|
119
|
+
if False:
|
|
120
|
+
yield self
|
|
121
|
+
return GetApplicationGroupResult(
|
|
122
|
+
client_app_group_identifier=self.client_app_group_identifier,
|
|
123
|
+
id=self.id,
|
|
124
|
+
is_enabled=self.is_enabled,
|
|
125
|
+
location=self.location,
|
|
126
|
+
name=self.name,
|
|
127
|
+
policies=self.policies,
|
|
128
|
+
system_data=self.system_data,
|
|
129
|
+
type=self.type)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def get_application_group(application_group_name: Optional[str] = None,
|
|
133
|
+
namespace_name: Optional[str] = None,
|
|
134
|
+
resource_group_name: Optional[str] = None,
|
|
135
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApplicationGroupResult:
|
|
136
|
+
"""
|
|
137
|
+
Gets an ApplicationGroup for a Namespace.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:param str application_group_name: The Application Group name
|
|
141
|
+
:param str namespace_name: The Namespace name
|
|
142
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
143
|
+
"""
|
|
144
|
+
__args__ = dict()
|
|
145
|
+
__args__['applicationGroupName'] = application_group_name
|
|
146
|
+
__args__['namespaceName'] = namespace_name
|
|
147
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
148
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
149
|
+
__ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:getApplicationGroup', __args__, opts=opts, typ=GetApplicationGroupResult).value
|
|
150
|
+
|
|
151
|
+
return AwaitableGetApplicationGroupResult(
|
|
152
|
+
client_app_group_identifier=pulumi.get(__ret__, 'client_app_group_identifier'),
|
|
153
|
+
id=pulumi.get(__ret__, 'id'),
|
|
154
|
+
is_enabled=pulumi.get(__ret__, 'is_enabled'),
|
|
155
|
+
location=pulumi.get(__ret__, 'location'),
|
|
156
|
+
name=pulumi.get(__ret__, 'name'),
|
|
157
|
+
policies=pulumi.get(__ret__, 'policies'),
|
|
158
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
159
|
+
type=pulumi.get(__ret__, 'type'))
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
@_utilities.lift_output_func(get_application_group)
|
|
163
|
+
def get_application_group_output(application_group_name: Optional[pulumi.Input[str]] = None,
|
|
164
|
+
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
165
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
166
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationGroupResult]:
|
|
167
|
+
"""
|
|
168
|
+
Gets an ApplicationGroup for a Namespace.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
:param str application_group_name: The Application Group name
|
|
172
|
+
:param str namespace_name: The Namespace name
|
|
173
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
174
|
+
"""
|
|
175
|
+
...
|
|
@@ -0,0 +1,248 @@
|
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'GetClusterResult',
|
|
15
|
+
'AwaitableGetClusterResult',
|
|
16
|
+
'get_cluster',
|
|
17
|
+
'get_cluster_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetClusterResult:
|
|
22
|
+
"""
|
|
23
|
+
Single Event Hubs Cluster resource in List or Get operations.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, created_at=None, id=None, location=None, metric_id=None, name=None, provisioning_state=None, sku=None, status=None, supports_scaling=None, system_data=None, tags=None, type=None, updated_at=None, upgrade_preferences=None):
|
|
26
|
+
if created_at and not isinstance(created_at, str):
|
|
27
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
28
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
29
|
+
if id and not isinstance(id, str):
|
|
30
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
31
|
+
pulumi.set(__self__, "id", id)
|
|
32
|
+
if location and not isinstance(location, str):
|
|
33
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
34
|
+
pulumi.set(__self__, "location", location)
|
|
35
|
+
if metric_id and not isinstance(metric_id, str):
|
|
36
|
+
raise TypeError("Expected argument 'metric_id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "metric_id", metric_id)
|
|
38
|
+
if name and not isinstance(name, str):
|
|
39
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
40
|
+
pulumi.set(__self__, "name", name)
|
|
41
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
42
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
43
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
44
|
+
if sku and not isinstance(sku, dict):
|
|
45
|
+
raise TypeError("Expected argument 'sku' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "sku", sku)
|
|
47
|
+
if status and not isinstance(status, str):
|
|
48
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
49
|
+
pulumi.set(__self__, "status", status)
|
|
50
|
+
if supports_scaling and not isinstance(supports_scaling, bool):
|
|
51
|
+
raise TypeError("Expected argument 'supports_scaling' to be a bool")
|
|
52
|
+
pulumi.set(__self__, "supports_scaling", supports_scaling)
|
|
53
|
+
if system_data and not isinstance(system_data, dict):
|
|
54
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
55
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
56
|
+
if tags and not isinstance(tags, dict):
|
|
57
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
58
|
+
pulumi.set(__self__, "tags", tags)
|
|
59
|
+
if type and not isinstance(type, str):
|
|
60
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
61
|
+
pulumi.set(__self__, "type", type)
|
|
62
|
+
if updated_at and not isinstance(updated_at, str):
|
|
63
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
64
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
65
|
+
if upgrade_preferences and not isinstance(upgrade_preferences, dict):
|
|
66
|
+
raise TypeError("Expected argument 'upgrade_preferences' to be a dict")
|
|
67
|
+
pulumi.set(__self__, "upgrade_preferences", upgrade_preferences)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="createdAt")
|
|
71
|
+
def created_at(self) -> str:
|
|
72
|
+
"""
|
|
73
|
+
The UTC time when the Event Hubs Cluster was created.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "created_at")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter
|
|
79
|
+
def id(self) -> str:
|
|
80
|
+
"""
|
|
81
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "id")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def location(self) -> Optional[str]:
|
|
88
|
+
"""
|
|
89
|
+
Resource location.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "location")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="metricId")
|
|
95
|
+
def metric_id(self) -> str:
|
|
96
|
+
"""
|
|
97
|
+
The metric ID of the cluster resource. Provided by the service and not modifiable by the user.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "metric_id")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def name(self) -> str:
|
|
104
|
+
"""
|
|
105
|
+
The name of the resource
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "name")
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter(name="provisioningState")
|
|
111
|
+
def provisioning_state(self) -> str:
|
|
112
|
+
"""
|
|
113
|
+
Provisioning state of the Cluster.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "provisioning_state")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter
|
|
119
|
+
def sku(self) -> Optional['outputs.ClusterSkuResponse']:
|
|
120
|
+
"""
|
|
121
|
+
Properties of the cluster SKU.
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "sku")
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def status(self) -> str:
|
|
128
|
+
"""
|
|
129
|
+
Status of the Cluster resource
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "status")
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter(name="supportsScaling")
|
|
135
|
+
def supports_scaling(self) -> Optional[bool]:
|
|
136
|
+
"""
|
|
137
|
+
A value that indicates whether Scaling is Supported.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "supports_scaling")
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
@pulumi.getter(name="systemData")
|
|
143
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
144
|
+
"""
|
|
145
|
+
The system meta data relating to this resource.
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "system_data")
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter
|
|
151
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
152
|
+
"""
|
|
153
|
+
Resource tags.
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "tags")
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter
|
|
159
|
+
def type(self) -> str:
|
|
160
|
+
"""
|
|
161
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "type")
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter(name="updatedAt")
|
|
167
|
+
def updated_at(self) -> str:
|
|
168
|
+
"""
|
|
169
|
+
The UTC time when the Event Hubs Cluster was last updated.
|
|
170
|
+
"""
|
|
171
|
+
return pulumi.get(self, "updated_at")
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter(name="upgradePreferences")
|
|
175
|
+
def upgrade_preferences(self) -> Optional['outputs.UpgradePreferencesResponse']:
|
|
176
|
+
"""
|
|
177
|
+
Properties of the cluster upgrade preferences.
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "upgrade_preferences")
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
class AwaitableGetClusterResult(GetClusterResult):
|
|
183
|
+
# pylint: disable=using-constant-test
|
|
184
|
+
def __await__(self):
|
|
185
|
+
if False:
|
|
186
|
+
yield self
|
|
187
|
+
return GetClusterResult(
|
|
188
|
+
created_at=self.created_at,
|
|
189
|
+
id=self.id,
|
|
190
|
+
location=self.location,
|
|
191
|
+
metric_id=self.metric_id,
|
|
192
|
+
name=self.name,
|
|
193
|
+
provisioning_state=self.provisioning_state,
|
|
194
|
+
sku=self.sku,
|
|
195
|
+
status=self.status,
|
|
196
|
+
supports_scaling=self.supports_scaling,
|
|
197
|
+
system_data=self.system_data,
|
|
198
|
+
tags=self.tags,
|
|
199
|
+
type=self.type,
|
|
200
|
+
updated_at=self.updated_at,
|
|
201
|
+
upgrade_preferences=self.upgrade_preferences)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
def get_cluster(cluster_name: Optional[str] = None,
|
|
205
|
+
resource_group_name: Optional[str] = None,
|
|
206
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterResult:
|
|
207
|
+
"""
|
|
208
|
+
Gets the resource description of the specified Event Hubs Cluster.
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
:param str cluster_name: The name of the Event Hubs Cluster.
|
|
212
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
213
|
+
"""
|
|
214
|
+
__args__ = dict()
|
|
215
|
+
__args__['clusterName'] = cluster_name
|
|
216
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
217
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
218
|
+
__ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:getCluster', __args__, opts=opts, typ=GetClusterResult).value
|
|
219
|
+
|
|
220
|
+
return AwaitableGetClusterResult(
|
|
221
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
222
|
+
id=pulumi.get(__ret__, 'id'),
|
|
223
|
+
location=pulumi.get(__ret__, 'location'),
|
|
224
|
+
metric_id=pulumi.get(__ret__, 'metric_id'),
|
|
225
|
+
name=pulumi.get(__ret__, 'name'),
|
|
226
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
227
|
+
sku=pulumi.get(__ret__, 'sku'),
|
|
228
|
+
status=pulumi.get(__ret__, 'status'),
|
|
229
|
+
supports_scaling=pulumi.get(__ret__, 'supports_scaling'),
|
|
230
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
231
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
232
|
+
type=pulumi.get(__ret__, 'type'),
|
|
233
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
234
|
+
upgrade_preferences=pulumi.get(__ret__, 'upgrade_preferences'))
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
@_utilities.lift_output_func(get_cluster)
|
|
238
|
+
def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None,
|
|
239
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
240
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]:
|
|
241
|
+
"""
|
|
242
|
+
Gets the resource description of the specified Event Hubs Cluster.
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
:param str cluster_name: The name of the Event Hubs Cluster.
|
|
246
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
247
|
+
"""
|
|
248
|
+
...
|
|
@@ -0,0 +1,180 @@
|
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'GetConsumerGroupResult',
|
|
15
|
+
'AwaitableGetConsumerGroupResult',
|
|
16
|
+
'get_consumer_group',
|
|
17
|
+
'get_consumer_group_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetConsumerGroupResult:
|
|
22
|
+
"""
|
|
23
|
+
Single item in List or Get Consumer group operation
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, created_at=None, id=None, location=None, name=None, system_data=None, type=None, updated_at=None, user_metadata=None):
|
|
26
|
+
if created_at and not isinstance(created_at, str):
|
|
27
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
28
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
29
|
+
if id and not isinstance(id, str):
|
|
30
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
31
|
+
pulumi.set(__self__, "id", id)
|
|
32
|
+
if location and not isinstance(location, str):
|
|
33
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
34
|
+
pulumi.set(__self__, "location", location)
|
|
35
|
+
if name and not isinstance(name, str):
|
|
36
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
37
|
+
pulumi.set(__self__, "name", name)
|
|
38
|
+
if system_data and not isinstance(system_data, dict):
|
|
39
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
41
|
+
if type and not isinstance(type, str):
|
|
42
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
43
|
+
pulumi.set(__self__, "type", type)
|
|
44
|
+
if updated_at and not isinstance(updated_at, str):
|
|
45
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
46
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
47
|
+
if user_metadata and not isinstance(user_metadata, str):
|
|
48
|
+
raise TypeError("Expected argument 'user_metadata' to be a str")
|
|
49
|
+
pulumi.set(__self__, "user_metadata", user_metadata)
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter(name="createdAt")
|
|
53
|
+
def created_at(self) -> str:
|
|
54
|
+
"""
|
|
55
|
+
Exact time the message was created.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "created_at")
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def id(self) -> str:
|
|
62
|
+
"""
|
|
63
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "id")
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def location(self) -> str:
|
|
70
|
+
"""
|
|
71
|
+
The geo-location where the resource lives
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "location")
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def name(self) -> str:
|
|
78
|
+
"""
|
|
79
|
+
The name of the resource
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "name")
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
@pulumi.getter(name="systemData")
|
|
85
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
86
|
+
"""
|
|
87
|
+
The system meta data relating to this resource.
|
|
88
|
+
"""
|
|
89
|
+
return pulumi.get(self, "system_data")
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def type(self) -> str:
|
|
94
|
+
"""
|
|
95
|
+
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "type")
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
@pulumi.getter(name="updatedAt")
|
|
101
|
+
def updated_at(self) -> str:
|
|
102
|
+
"""
|
|
103
|
+
The exact time the message was updated.
|
|
104
|
+
"""
|
|
105
|
+
return pulumi.get(self, "updated_at")
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="userMetadata")
|
|
109
|
+
def user_metadata(self) -> Optional[str]:
|
|
110
|
+
"""
|
|
111
|
+
User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "user_metadata")
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class AwaitableGetConsumerGroupResult(GetConsumerGroupResult):
|
|
117
|
+
# pylint: disable=using-constant-test
|
|
118
|
+
def __await__(self):
|
|
119
|
+
if False:
|
|
120
|
+
yield self
|
|
121
|
+
return GetConsumerGroupResult(
|
|
122
|
+
created_at=self.created_at,
|
|
123
|
+
id=self.id,
|
|
124
|
+
location=self.location,
|
|
125
|
+
name=self.name,
|
|
126
|
+
system_data=self.system_data,
|
|
127
|
+
type=self.type,
|
|
128
|
+
updated_at=self.updated_at,
|
|
129
|
+
user_metadata=self.user_metadata)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def get_consumer_group(consumer_group_name: Optional[str] = None,
|
|
133
|
+
event_hub_name: Optional[str] = None,
|
|
134
|
+
namespace_name: Optional[str] = None,
|
|
135
|
+
resource_group_name: Optional[str] = None,
|
|
136
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConsumerGroupResult:
|
|
137
|
+
"""
|
|
138
|
+
Gets a description for the specified consumer group.
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
:param str consumer_group_name: The consumer group name
|
|
142
|
+
:param str event_hub_name: The Event Hub name
|
|
143
|
+
:param str namespace_name: The Namespace name
|
|
144
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
145
|
+
"""
|
|
146
|
+
__args__ = dict()
|
|
147
|
+
__args__['consumerGroupName'] = consumer_group_name
|
|
148
|
+
__args__['eventHubName'] = event_hub_name
|
|
149
|
+
__args__['namespaceName'] = namespace_name
|
|
150
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
151
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
152
|
+
__ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:getConsumerGroup', __args__, opts=opts, typ=GetConsumerGroupResult).value
|
|
153
|
+
|
|
154
|
+
return AwaitableGetConsumerGroupResult(
|
|
155
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
156
|
+
id=pulumi.get(__ret__, 'id'),
|
|
157
|
+
location=pulumi.get(__ret__, 'location'),
|
|
158
|
+
name=pulumi.get(__ret__, 'name'),
|
|
159
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
160
|
+
type=pulumi.get(__ret__, 'type'),
|
|
161
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
162
|
+
user_metadata=pulumi.get(__ret__, 'user_metadata'))
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
@_utilities.lift_output_func(get_consumer_group)
|
|
166
|
+
def get_consumer_group_output(consumer_group_name: Optional[pulumi.Input[str]] = None,
|
|
167
|
+
event_hub_name: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
169
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
170
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConsumerGroupResult]:
|
|
171
|
+
"""
|
|
172
|
+
Gets a description for the specified consumer group.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param str consumer_group_name: The consumer group name
|
|
176
|
+
:param str event_hub_name: The Event Hub name
|
|
177
|
+
:param str namespace_name: The Namespace name
|
|
178
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
179
|
+
"""
|
|
180
|
+
...
|