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,201 @@
|
|
|
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
|
+
'GetDisasterRecoveryConfigResult',
|
|
15
|
+
'AwaitableGetDisasterRecoveryConfigResult',
|
|
16
|
+
'get_disaster_recovery_config',
|
|
17
|
+
'get_disaster_recovery_config_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetDisasterRecoveryConfigResult:
|
|
22
|
+
"""
|
|
23
|
+
Single item in List or Get Alias(Disaster Recovery configuration) operation
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, alternate_name=None, id=None, location=None, name=None, partner_namespace=None, pending_replication_operations_count=None, provisioning_state=None, role=None, system_data=None, type=None):
|
|
26
|
+
if alternate_name and not isinstance(alternate_name, str):
|
|
27
|
+
raise TypeError("Expected argument 'alternate_name' to be a str")
|
|
28
|
+
pulumi.set(__self__, "alternate_name", alternate_name)
|
|
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 partner_namespace and not isinstance(partner_namespace, str):
|
|
39
|
+
raise TypeError("Expected argument 'partner_namespace' to be a str")
|
|
40
|
+
pulumi.set(__self__, "partner_namespace", partner_namespace)
|
|
41
|
+
if pending_replication_operations_count and not isinstance(pending_replication_operations_count, float):
|
|
42
|
+
raise TypeError("Expected argument 'pending_replication_operations_count' to be a float")
|
|
43
|
+
pulumi.set(__self__, "pending_replication_operations_count", pending_replication_operations_count)
|
|
44
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
45
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
46
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
47
|
+
if role and not isinstance(role, str):
|
|
48
|
+
raise TypeError("Expected argument 'role' to be a str")
|
|
49
|
+
pulumi.set(__self__, "role", role)
|
|
50
|
+
if system_data and not isinstance(system_data, dict):
|
|
51
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
52
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
53
|
+
if type and not isinstance(type, str):
|
|
54
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
55
|
+
pulumi.set(__self__, "type", type)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter(name="alternateName")
|
|
59
|
+
def alternate_name(self) -> Optional[str]:
|
|
60
|
+
"""
|
|
61
|
+
Alternate name specified when alias and namespace names are same.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "alternate_name")
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter
|
|
67
|
+
def id(self) -> str:
|
|
68
|
+
"""
|
|
69
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "id")
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter
|
|
75
|
+
def location(self) -> str:
|
|
76
|
+
"""
|
|
77
|
+
The geo-location where the resource lives
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "location")
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter
|
|
83
|
+
def name(self) -> str:
|
|
84
|
+
"""
|
|
85
|
+
The name of the resource
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "name")
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter(name="partnerNamespace")
|
|
91
|
+
def partner_namespace(self) -> Optional[str]:
|
|
92
|
+
"""
|
|
93
|
+
ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "partner_namespace")
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter(name="pendingReplicationOperationsCount")
|
|
99
|
+
def pending_replication_operations_count(self) -> float:
|
|
100
|
+
"""
|
|
101
|
+
Number of entities pending to be replicated.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "pending_replication_operations_count")
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
@pulumi.getter(name="provisioningState")
|
|
107
|
+
def provisioning_state(self) -> str:
|
|
108
|
+
"""
|
|
109
|
+
Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "provisioning_state")
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter
|
|
115
|
+
def role(self) -> str:
|
|
116
|
+
"""
|
|
117
|
+
role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "role")
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter(name="systemData")
|
|
123
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
124
|
+
"""
|
|
125
|
+
The system meta data relating to this resource.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "system_data")
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
@pulumi.getter
|
|
131
|
+
def type(self) -> str:
|
|
132
|
+
"""
|
|
133
|
+
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
|
|
134
|
+
"""
|
|
135
|
+
return pulumi.get(self, "type")
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class AwaitableGetDisasterRecoveryConfigResult(GetDisasterRecoveryConfigResult):
|
|
139
|
+
# pylint: disable=using-constant-test
|
|
140
|
+
def __await__(self):
|
|
141
|
+
if False:
|
|
142
|
+
yield self
|
|
143
|
+
return GetDisasterRecoveryConfigResult(
|
|
144
|
+
alternate_name=self.alternate_name,
|
|
145
|
+
id=self.id,
|
|
146
|
+
location=self.location,
|
|
147
|
+
name=self.name,
|
|
148
|
+
partner_namespace=self.partner_namespace,
|
|
149
|
+
pending_replication_operations_count=self.pending_replication_operations_count,
|
|
150
|
+
provisioning_state=self.provisioning_state,
|
|
151
|
+
role=self.role,
|
|
152
|
+
system_data=self.system_data,
|
|
153
|
+
type=self.type)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
def get_disaster_recovery_config(alias: Optional[str] = None,
|
|
157
|
+
namespace_name: Optional[str] = None,
|
|
158
|
+
resource_group_name: Optional[str] = None,
|
|
159
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDisasterRecoveryConfigResult:
|
|
160
|
+
"""
|
|
161
|
+
Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:param str alias: The Disaster Recovery configuration name
|
|
165
|
+
:param str namespace_name: The Namespace name
|
|
166
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
167
|
+
"""
|
|
168
|
+
__args__ = dict()
|
|
169
|
+
__args__['alias'] = alias
|
|
170
|
+
__args__['namespaceName'] = namespace_name
|
|
171
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
172
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
173
|
+
__ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:getDisasterRecoveryConfig', __args__, opts=opts, typ=GetDisasterRecoveryConfigResult).value
|
|
174
|
+
|
|
175
|
+
return AwaitableGetDisasterRecoveryConfigResult(
|
|
176
|
+
alternate_name=pulumi.get(__ret__, 'alternate_name'),
|
|
177
|
+
id=pulumi.get(__ret__, 'id'),
|
|
178
|
+
location=pulumi.get(__ret__, 'location'),
|
|
179
|
+
name=pulumi.get(__ret__, 'name'),
|
|
180
|
+
partner_namespace=pulumi.get(__ret__, 'partner_namespace'),
|
|
181
|
+
pending_replication_operations_count=pulumi.get(__ret__, 'pending_replication_operations_count'),
|
|
182
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
183
|
+
role=pulumi.get(__ret__, 'role'),
|
|
184
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
185
|
+
type=pulumi.get(__ret__, 'type'))
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
@_utilities.lift_output_func(get_disaster_recovery_config)
|
|
189
|
+
def get_disaster_recovery_config_output(alias: Optional[pulumi.Input[str]] = None,
|
|
190
|
+
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
191
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
192
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDisasterRecoveryConfigResult]:
|
|
193
|
+
"""
|
|
194
|
+
Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
:param str alias: The Disaster Recovery configuration name
|
|
198
|
+
:param str namespace_name: The Namespace name
|
|
199
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
200
|
+
"""
|
|
201
|
+
...
|
|
@@ -0,0 +1,240 @@
|
|
|
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
|
+
'GetEventHubResult',
|
|
15
|
+
'AwaitableGetEventHubResult',
|
|
16
|
+
'get_event_hub',
|
|
17
|
+
'get_event_hub_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetEventHubResult:
|
|
22
|
+
"""
|
|
23
|
+
Single item in List or Get Event Hub operation
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, capture_description=None, created_at=None, id=None, location=None, message_retention_in_days=None, name=None, partition_count=None, partition_ids=None, retention_description=None, status=None, system_data=None, type=None, updated_at=None):
|
|
26
|
+
if capture_description and not isinstance(capture_description, dict):
|
|
27
|
+
raise TypeError("Expected argument 'capture_description' to be a dict")
|
|
28
|
+
pulumi.set(__self__, "capture_description", capture_description)
|
|
29
|
+
if created_at and not isinstance(created_at, str):
|
|
30
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
31
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
32
|
+
if id and not isinstance(id, str):
|
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "id", id)
|
|
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 message_retention_in_days and not isinstance(message_retention_in_days, float):
|
|
39
|
+
raise TypeError("Expected argument 'message_retention_in_days' to be a float")
|
|
40
|
+
pulumi.set(__self__, "message_retention_in_days", message_retention_in_days)
|
|
41
|
+
if name and not isinstance(name, str):
|
|
42
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
43
|
+
pulumi.set(__self__, "name", name)
|
|
44
|
+
if partition_count and not isinstance(partition_count, float):
|
|
45
|
+
raise TypeError("Expected argument 'partition_count' to be a float")
|
|
46
|
+
pulumi.set(__self__, "partition_count", partition_count)
|
|
47
|
+
if partition_ids and not isinstance(partition_ids, list):
|
|
48
|
+
raise TypeError("Expected argument 'partition_ids' to be a list")
|
|
49
|
+
pulumi.set(__self__, "partition_ids", partition_ids)
|
|
50
|
+
if retention_description and not isinstance(retention_description, dict):
|
|
51
|
+
raise TypeError("Expected argument 'retention_description' to be a dict")
|
|
52
|
+
pulumi.set(__self__, "retention_description", retention_description)
|
|
53
|
+
if status and not isinstance(status, str):
|
|
54
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
55
|
+
pulumi.set(__self__, "status", status)
|
|
56
|
+
if system_data and not isinstance(system_data, dict):
|
|
57
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
58
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
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
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter(name="captureDescription")
|
|
68
|
+
def capture_description(self) -> Optional['outputs.CaptureDescriptionResponse']:
|
|
69
|
+
"""
|
|
70
|
+
Properties of capture description
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "capture_description")
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter(name="createdAt")
|
|
76
|
+
def created_at(self) -> str:
|
|
77
|
+
"""
|
|
78
|
+
Exact time the Event Hub was created.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "created_at")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter
|
|
84
|
+
def id(self) -> str:
|
|
85
|
+
"""
|
|
86
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "id")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def location(self) -> str:
|
|
93
|
+
"""
|
|
94
|
+
The geo-location where the resource lives
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "location")
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter(name="messageRetentionInDays")
|
|
100
|
+
def message_retention_in_days(self) -> Optional[float]:
|
|
101
|
+
"""
|
|
102
|
+
Number of days to retain the events for this Event Hub, value should be 1 to 7 days
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "message_retention_in_days")
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def name(self) -> str:
|
|
109
|
+
"""
|
|
110
|
+
The name of the resource
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "name")
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
@pulumi.getter(name="partitionCount")
|
|
116
|
+
def partition_count(self) -> Optional[float]:
|
|
117
|
+
"""
|
|
118
|
+
Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "partition_count")
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="partitionIds")
|
|
124
|
+
def partition_ids(self) -> Sequence[str]:
|
|
125
|
+
"""
|
|
126
|
+
Current number of shards on the Event Hub.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "partition_ids")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter(name="retentionDescription")
|
|
132
|
+
def retention_description(self) -> Optional['outputs.RetentionDescriptionResponse']:
|
|
133
|
+
"""
|
|
134
|
+
Event Hub retention settings
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "retention_description")
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
@pulumi.getter
|
|
140
|
+
def status(self) -> Optional[str]:
|
|
141
|
+
"""
|
|
142
|
+
Enumerates the possible values for the status of the Event Hub.
|
|
143
|
+
"""
|
|
144
|
+
return pulumi.get(self, "status")
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter(name="systemData")
|
|
148
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
149
|
+
"""
|
|
150
|
+
The system meta data relating to this resource.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "system_data")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter
|
|
156
|
+
def type(self) -> str:
|
|
157
|
+
"""
|
|
158
|
+
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "type")
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter(name="updatedAt")
|
|
164
|
+
def updated_at(self) -> str:
|
|
165
|
+
"""
|
|
166
|
+
The exact time the message was updated.
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "updated_at")
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
class AwaitableGetEventHubResult(GetEventHubResult):
|
|
172
|
+
# pylint: disable=using-constant-test
|
|
173
|
+
def __await__(self):
|
|
174
|
+
if False:
|
|
175
|
+
yield self
|
|
176
|
+
return GetEventHubResult(
|
|
177
|
+
capture_description=self.capture_description,
|
|
178
|
+
created_at=self.created_at,
|
|
179
|
+
id=self.id,
|
|
180
|
+
location=self.location,
|
|
181
|
+
message_retention_in_days=self.message_retention_in_days,
|
|
182
|
+
name=self.name,
|
|
183
|
+
partition_count=self.partition_count,
|
|
184
|
+
partition_ids=self.partition_ids,
|
|
185
|
+
retention_description=self.retention_description,
|
|
186
|
+
status=self.status,
|
|
187
|
+
system_data=self.system_data,
|
|
188
|
+
type=self.type,
|
|
189
|
+
updated_at=self.updated_at)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
def get_event_hub(event_hub_name: Optional[str] = None,
|
|
193
|
+
namespace_name: Optional[str] = None,
|
|
194
|
+
resource_group_name: Optional[str] = None,
|
|
195
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEventHubResult:
|
|
196
|
+
"""
|
|
197
|
+
Gets an Event Hubs description for the specified Event Hub.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param str event_hub_name: The Event Hub name
|
|
201
|
+
:param str namespace_name: The Namespace name
|
|
202
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
203
|
+
"""
|
|
204
|
+
__args__ = dict()
|
|
205
|
+
__args__['eventHubName'] = event_hub_name
|
|
206
|
+
__args__['namespaceName'] = namespace_name
|
|
207
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
208
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
209
|
+
__ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:getEventHub', __args__, opts=opts, typ=GetEventHubResult).value
|
|
210
|
+
|
|
211
|
+
return AwaitableGetEventHubResult(
|
|
212
|
+
capture_description=pulumi.get(__ret__, 'capture_description'),
|
|
213
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
214
|
+
id=pulumi.get(__ret__, 'id'),
|
|
215
|
+
location=pulumi.get(__ret__, 'location'),
|
|
216
|
+
message_retention_in_days=pulumi.get(__ret__, 'message_retention_in_days'),
|
|
217
|
+
name=pulumi.get(__ret__, 'name'),
|
|
218
|
+
partition_count=pulumi.get(__ret__, 'partition_count'),
|
|
219
|
+
partition_ids=pulumi.get(__ret__, 'partition_ids'),
|
|
220
|
+
retention_description=pulumi.get(__ret__, 'retention_description'),
|
|
221
|
+
status=pulumi.get(__ret__, 'status'),
|
|
222
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
223
|
+
type=pulumi.get(__ret__, 'type'),
|
|
224
|
+
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
@_utilities.lift_output_func(get_event_hub)
|
|
228
|
+
def get_event_hub_output(event_hub_name: Optional[pulumi.Input[str]] = None,
|
|
229
|
+
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
230
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
231
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventHubResult]:
|
|
232
|
+
"""
|
|
233
|
+
Gets an Event Hubs description for the specified Event Hub.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:param str event_hub_name: The Event Hub name
|
|
237
|
+
:param str namespace_name: The Namespace name
|
|
238
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
239
|
+
"""
|
|
240
|
+
...
|
|
@@ -0,0 +1,154 @@
|
|
|
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
|
+
'GetEventHubAuthorizationRuleResult',
|
|
15
|
+
'AwaitableGetEventHubAuthorizationRuleResult',
|
|
16
|
+
'get_event_hub_authorization_rule',
|
|
17
|
+
'get_event_hub_authorization_rule_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetEventHubAuthorizationRuleResult:
|
|
22
|
+
"""
|
|
23
|
+
Single item in a List or Get AuthorizationRule operation
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, id=None, location=None, name=None, rights=None, system_data=None, type=None):
|
|
26
|
+
if id and not isinstance(id, str):
|
|
27
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
28
|
+
pulumi.set(__self__, "id", id)
|
|
29
|
+
if location and not isinstance(location, str):
|
|
30
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
31
|
+
pulumi.set(__self__, "location", location)
|
|
32
|
+
if name and not isinstance(name, str):
|
|
33
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
34
|
+
pulumi.set(__self__, "name", name)
|
|
35
|
+
if rights and not isinstance(rights, list):
|
|
36
|
+
raise TypeError("Expected argument 'rights' to be a list")
|
|
37
|
+
pulumi.set(__self__, "rights", rights)
|
|
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
|
+
|
|
45
|
+
@property
|
|
46
|
+
@pulumi.getter
|
|
47
|
+
def id(self) -> str:
|
|
48
|
+
"""
|
|
49
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "id")
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter
|
|
55
|
+
def location(self) -> str:
|
|
56
|
+
"""
|
|
57
|
+
The geo-location where the resource lives
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "location")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def name(self) -> str:
|
|
64
|
+
"""
|
|
65
|
+
The name of the resource
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "name")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def rights(self) -> Sequence[str]:
|
|
72
|
+
"""
|
|
73
|
+
The rights associated with the rule.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "rights")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="systemData")
|
|
79
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
80
|
+
"""
|
|
81
|
+
The system meta data relating to this resource.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "system_data")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def type(self) -> str:
|
|
88
|
+
"""
|
|
89
|
+
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "type")
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class AwaitableGetEventHubAuthorizationRuleResult(GetEventHubAuthorizationRuleResult):
|
|
95
|
+
# pylint: disable=using-constant-test
|
|
96
|
+
def __await__(self):
|
|
97
|
+
if False:
|
|
98
|
+
yield self
|
|
99
|
+
return GetEventHubAuthorizationRuleResult(
|
|
100
|
+
id=self.id,
|
|
101
|
+
location=self.location,
|
|
102
|
+
name=self.name,
|
|
103
|
+
rights=self.rights,
|
|
104
|
+
system_data=self.system_data,
|
|
105
|
+
type=self.type)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def get_event_hub_authorization_rule(authorization_rule_name: Optional[str] = None,
|
|
109
|
+
event_hub_name: Optional[str] = None,
|
|
110
|
+
namespace_name: Optional[str] = None,
|
|
111
|
+
resource_group_name: Optional[str] = None,
|
|
112
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEventHubAuthorizationRuleResult:
|
|
113
|
+
"""
|
|
114
|
+
Gets an AuthorizationRule for an Event Hub by rule name.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:param str authorization_rule_name: The authorization rule name.
|
|
118
|
+
:param str event_hub_name: The Event Hub name
|
|
119
|
+
:param str namespace_name: The Namespace name
|
|
120
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
121
|
+
"""
|
|
122
|
+
__args__ = dict()
|
|
123
|
+
__args__['authorizationRuleName'] = authorization_rule_name
|
|
124
|
+
__args__['eventHubName'] = event_hub_name
|
|
125
|
+
__args__['namespaceName'] = namespace_name
|
|
126
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
127
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
|
+
__ret__ = pulumi.runtime.invoke('azure-native:eventhub/v20240101:getEventHubAuthorizationRule', __args__, opts=opts, typ=GetEventHubAuthorizationRuleResult).value
|
|
129
|
+
|
|
130
|
+
return AwaitableGetEventHubAuthorizationRuleResult(
|
|
131
|
+
id=pulumi.get(__ret__, 'id'),
|
|
132
|
+
location=pulumi.get(__ret__, 'location'),
|
|
133
|
+
name=pulumi.get(__ret__, 'name'),
|
|
134
|
+
rights=pulumi.get(__ret__, 'rights'),
|
|
135
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
136
|
+
type=pulumi.get(__ret__, 'type'))
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
@_utilities.lift_output_func(get_event_hub_authorization_rule)
|
|
140
|
+
def get_event_hub_authorization_rule_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
|
|
141
|
+
event_hub_name: Optional[pulumi.Input[str]] = None,
|
|
142
|
+
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
144
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventHubAuthorizationRuleResult]:
|
|
145
|
+
"""
|
|
146
|
+
Gets an AuthorizationRule for an Event Hub by rule name.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
:param str authorization_rule_name: The authorization rule name.
|
|
150
|
+
:param str event_hub_name: The Event Hub name
|
|
151
|
+
:param str namespace_name: The Namespace name
|
|
152
|
+
:param str resource_group_name: Name of the resource group within the azure subscription.
|
|
153
|
+
"""
|
|
154
|
+
...
|