pulumi-azure-native 2.39.1a1714476289__py3-none-any.whl → 2.40.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +59 -1
- pulumi_azure_native/cache/__init__.py +3 -0
- pulumi_azure_native/cache/database.py +3 -3
- pulumi_azure_native/cache/enterprise_private_endpoint_connection.py +3 -3
- pulumi_azure_native/cache/get_database.py +2 -2
- pulumi_azure_native/cache/get_enterprise_private_endpoint_connection.py +2 -2
- pulumi_azure_native/cache/get_redis_enterprise.py +2 -2
- pulumi_azure_native/cache/list_database_keys.py +2 -2
- pulumi_azure_native/cache/redis_enterprise.py +3 -3
- pulumi_azure_native/cache/v20201001preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20230301preview/database.py +1 -1
- pulumi_azure_native/cache/v20230301preview/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230301preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20230701/database.py +1 -1
- pulumi_azure_native/cache/v20230701/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230701/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20230801preview/database.py +1 -1
- pulumi_azure_native/cache/v20230801preview/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230801preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20231001preview/database.py +1 -1
- pulumi_azure_native/cache/v20231001preview/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20231001preview/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20231101/database.py +1 -1
- pulumi_azure_native/cache/v20231101/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20231101/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20240201/database.py +1 -1
- pulumi_azure_native/cache/v20240201/enterprise_private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240201/redis_enterprise.py +1 -1
- pulumi_azure_native/cache/v20240301preview/__init__.py +17 -0
- pulumi_azure_native/cache/v20240301preview/_enums.py +124 -0
- pulumi_azure_native/cache/v20240301preview/_inputs.py +438 -0
- pulumi_azure_native/cache/v20240301preview/database.py +439 -0
- pulumi_azure_native/cache/v20240301preview/enterprise_private_endpoint_connection.py +227 -0
- pulumi_azure_native/cache/v20240301preview/get_database.py +253 -0
- pulumi_azure_native/cache/v20240301preview/get_enterprise_private_endpoint_connection.py +149 -0
- pulumi_azure_native/cache/v20240301preview/get_redis_enterprise.py +261 -0
- pulumi_azure_native/cache/v20240301preview/list_database_keys.py +96 -0
- pulumi_azure_native/cache/v20240301preview/outputs.py +740 -0
- pulumi_azure_native/cache/v20240301preview/redis_enterprise.py +410 -0
- pulumi_azure_native/containerservice/__init__.py +5 -0
- pulumi_azure_native/containerservice/_enums.py +23 -0
- pulumi_azure_native/containerservice/_inputs.py +98 -0
- pulumi_azure_native/containerservice/agent_pool.py +3 -3
- pulumi_azure_native/containerservice/get_agent_pool.py +2 -2
- pulumi_azure_native/containerservice/get_load_balancer.py +203 -0
- pulumi_azure_native/containerservice/get_maintenance_configuration.py +2 -2
- pulumi_azure_native/containerservice/get_managed_cluster.py +2 -2
- pulumi_azure_native/containerservice/get_managed_cluster_snapshot.py +2 -2
- pulumi_azure_native/containerservice/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/containerservice/get_snapshot.py +2 -2
- pulumi_azure_native/containerservice/get_trusted_access_role_binding.py +2 -2
- pulumi_azure_native/containerservice/list_managed_cluster_admin_credentials.py +2 -2
- pulumi_azure_native/containerservice/list_managed_cluster_monitoring_user_credentials.py +2 -2
- pulumi_azure_native/containerservice/list_managed_cluster_user_credentials.py +2 -2
- pulumi_azure_native/containerservice/load_balancer.py +365 -0
- pulumi_azure_native/containerservice/maintenance_configuration.py +3 -3
- pulumi_azure_native/containerservice/managed_cluster.py +3 -3
- pulumi_azure_native/containerservice/managed_cluster_snapshot.py +3 -3
- pulumi_azure_native/containerservice/outputs.py +103 -0
- pulumi_azure_native/containerservice/private_endpoint_connection.py +3 -3
- pulumi_azure_native/containerservice/snapshot.py +3 -3
- pulumi_azure_native/containerservice/trusted_access_role_binding.py +3 -3
- pulumi_azure_native/containerservice/v20190601/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20200601/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20210201/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20210501/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20210801/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20220402preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230401/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230401/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230401/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230401/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230502preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230601/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230601/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230601/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230601/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230601/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230602preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230701/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230701/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230701/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230701/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230701/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230702preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230801/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230801/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230801/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230801/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230802preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230901/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230901/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230901/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230901/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230901/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230901/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20230902preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231001/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231001/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231001/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231001/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231001/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231001/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231002preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231101/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231101/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231101/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231101/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231101/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231101/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20231102preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240101/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240101/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240101/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240101/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240101/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240101/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240102preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240201/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240201/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240201/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240201/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240201/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240201/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/agent_pool.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/maintenance_configuration.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/managed_cluster.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/managed_cluster_snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/snapshot.py +1 -1
- pulumi_azure_native/containerservice/v20240202preview/trusted_access_role_binding.py +1 -1
- pulumi_azure_native/containerservice/v20240302preview/__init__.py +29 -0
- pulumi_azure_native/containerservice/v20240302preview/_enums.py +840 -0
- pulumi_azure_native/containerservice/v20240302preview/_inputs.py +6966 -0
- pulumi_azure_native/containerservice/v20240302preview/agent_pool.py +1686 -0
- pulumi_azure_native/containerservice/v20240302preview/get_agent_pool.py +812 -0
- pulumi_azure_native/containerservice/v20240302preview/get_load_balancer.py +201 -0
- pulumi_azure_native/containerservice/v20240302preview/get_maintenance_configuration.py +162 -0
- pulumi_azure_native/containerservice/v20240302preview/get_managed_cluster.py +833 -0
- pulumi_azure_native/containerservice/v20240302preview/get_managed_cluster_snapshot.py +183 -0
- pulumi_azure_native/containerservice/v20240302preview/get_private_endpoint_connection.py +149 -0
- pulumi_azure_native/containerservice/v20240302preview/get_snapshot.py +248 -0
- pulumi_azure_native/containerservice/v20240302preview/get_trusted_access_role_binding.py +162 -0
- pulumi_azure_native/containerservice/v20240302preview/list_managed_cluster_admin_credentials.py +84 -0
- pulumi_azure_native/containerservice/v20240302preview/list_managed_cluster_monitoring_user_credentials.py +84 -0
- pulumi_azure_native/containerservice/v20240302preview/list_managed_cluster_user_credentials.py +89 -0
- pulumi_azure_native/containerservice/v20240302preview/load_balancer.py +363 -0
- pulumi_azure_native/containerservice/v20240302preview/maintenance_configuration.py +274 -0
- pulumi_azure_native/containerservice/v20240302preview/managed_cluster.py +1590 -0
- pulumi_azure_native/containerservice/v20240302preview/managed_cluster_snapshot.py +292 -0
- pulumi_azure_native/containerservice/v20240302preview/outputs.py +8118 -0
- pulumi_azure_native/containerservice/v20240302preview/private_endpoint_connection.py +246 -0
- pulumi_azure_native/containerservice/v20240302preview/snapshot.py +342 -0
- pulumi_azure_native/containerservice/v20240302preview/trusted_access_role_binding.py +255 -0
- pulumi_azure_native/monitor/__init__.py +7 -0
- pulumi_azure_native/monitor/_enums.py +140 -0
- pulumi_azure_native/monitor/_inputs.py +1122 -0
- pulumi_azure_native/monitor/azure_monitor_workspace.py +5 -1
- pulumi_azure_native/monitor/get_azure_monitor_workspace.py +4 -0
- pulumi_azure_native/monitor/get_pipeline_group.py +250 -0
- pulumi_azure_native/monitor/outputs.py +1338 -182
- pulumi_azure_native/monitor/pipeline_group.py +443 -0
- pulumi_azure_native/monitor/v20230403/azure_monitor_workspace.py +1 -1
- pulumi_azure_native/monitor/v20231001preview/__init__.py +14 -0
- pulumi_azure_native/monitor/v20231001preview/_enums.py +140 -0
- pulumi_azure_native/monitor/v20231001preview/_inputs.py +1122 -0
- pulumi_azure_native/monitor/v20231001preview/azure_monitor_workspace.py +282 -0
- pulumi_azure_native/monitor/v20231001preview/get_azure_monitor_workspace.py +222 -0
- pulumi_azure_native/monitor/v20231001preview/get_pipeline_group.py +248 -0
- pulumi_azure_native/monitor/v20231001preview/outputs.py +1641 -0
- pulumi_azure_native/monitor/v20231001preview/pipeline_group.py +441 -0
- pulumi_azure_native/portalservices/__init__.py +18 -0
- pulumi_azure_native/portalservices/copilot_setting.py +165 -0
- pulumi_azure_native/portalservices/get_copilot_setting.py +132 -0
- pulumi_azure_native/portalservices/outputs.py +125 -0
- pulumi_azure_native/portalservices/v20240401preview/__init__.py +10 -0
- pulumi_azure_native/portalservices/v20240401preview/copilot_setting.py +163 -0
- pulumi_azure_native/portalservices/v20240401preview/get_copilot_setting.py +130 -0
- pulumi_azure_native/portalservices/v20240401preview/outputs.py +125 -0
- pulumi_azure_native/resources/_inputs.py +2 -2
- pulumi_azure_native/resources/deployment_stack_at_management_group.py +5 -1
- pulumi_azure_native/resources/deployment_stack_at_resource_group.py +5 -1
- pulumi_azure_native/resources/deployment_stack_at_subscription.py +5 -1
- pulumi_azure_native/resources/get_deployment_stack_at_management_group.py +4 -0
- pulumi_azure_native/resources/get_deployment_stack_at_resource_group.py +4 -0
- pulumi_azure_native/resources/get_deployment_stack_at_subscription.py +4 -0
- pulumi_azure_native/resources/outputs.py +2 -2
- pulumi_azure_native/resources/v20220801preview/_inputs.py +2 -2
- pulumi_azure_native/resources/v20220801preview/deployment_stack_at_management_group.py +1 -1
- pulumi_azure_native/resources/v20220801preview/deployment_stack_at_resource_group.py +1 -1
- pulumi_azure_native/resources/v20220801preview/deployment_stack_at_subscription.py +1 -1
- pulumi_azure_native/resources/v20220801preview/outputs.py +2 -2
- pulumi_azure_native/resources/v20240301/__init__.py +6 -0
- pulumi_azure_native/resources/v20240301/_enums.py +28 -0
- pulumi_azure_native/resources/v20240301/_inputs.py +302 -4
- pulumi_azure_native/resources/v20240301/deployment_stack_at_management_group.py +589 -0
- pulumi_azure_native/resources/v20240301/deployment_stack_at_resource_group.py +589 -0
- pulumi_azure_native/resources/v20240301/deployment_stack_at_subscription.py +568 -0
- pulumi_azure_native/resources/v20240301/get_deployment_stack_at_management_group.py +365 -0
- pulumi_azure_native/resources/v20240301/get_deployment_stack_at_resource_group.py +365 -0
- pulumi_azure_native/resources/v20240301/get_deployment_stack_at_subscription.py +360 -0
- pulumi_azure_native/resources/v20240301/outputs.py +677 -4
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/RECORD +256 -194
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.39.1a1714476289.dist-info → pulumi_azure_native-2.40.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,253 @@
|
|
|
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
|
+
'GetDatabaseResult',
|
|
15
|
+
'AwaitableGetDatabaseResult',
|
|
16
|
+
'get_database',
|
|
17
|
+
'get_database_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetDatabaseResult:
|
|
22
|
+
"""
|
|
23
|
+
Describes a database on the RedisEnterprise cluster
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, client_protocol=None, clustering_policy=None, defer_upgrade=None, eviction_policy=None, geo_replication=None, id=None, modules=None, name=None, persistence=None, port=None, provisioning_state=None, redis_version=None, resource_state=None, type=None):
|
|
26
|
+
if client_protocol and not isinstance(client_protocol, str):
|
|
27
|
+
raise TypeError("Expected argument 'client_protocol' to be a str")
|
|
28
|
+
pulumi.set(__self__, "client_protocol", client_protocol)
|
|
29
|
+
if clustering_policy and not isinstance(clustering_policy, str):
|
|
30
|
+
raise TypeError("Expected argument 'clustering_policy' to be a str")
|
|
31
|
+
pulumi.set(__self__, "clustering_policy", clustering_policy)
|
|
32
|
+
if defer_upgrade and not isinstance(defer_upgrade, str):
|
|
33
|
+
raise TypeError("Expected argument 'defer_upgrade' to be a str")
|
|
34
|
+
pulumi.set(__self__, "defer_upgrade", defer_upgrade)
|
|
35
|
+
if eviction_policy and not isinstance(eviction_policy, str):
|
|
36
|
+
raise TypeError("Expected argument 'eviction_policy' to be a str")
|
|
37
|
+
pulumi.set(__self__, "eviction_policy", eviction_policy)
|
|
38
|
+
if geo_replication and not isinstance(geo_replication, dict):
|
|
39
|
+
raise TypeError("Expected argument 'geo_replication' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "geo_replication", geo_replication)
|
|
41
|
+
if id and not isinstance(id, str):
|
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
43
|
+
pulumi.set(__self__, "id", id)
|
|
44
|
+
if modules and not isinstance(modules, list):
|
|
45
|
+
raise TypeError("Expected argument 'modules' to be a list")
|
|
46
|
+
pulumi.set(__self__, "modules", modules)
|
|
47
|
+
if name and not isinstance(name, str):
|
|
48
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
49
|
+
pulumi.set(__self__, "name", name)
|
|
50
|
+
if persistence and not isinstance(persistence, dict):
|
|
51
|
+
raise TypeError("Expected argument 'persistence' to be a dict")
|
|
52
|
+
pulumi.set(__self__, "persistence", persistence)
|
|
53
|
+
if port and not isinstance(port, int):
|
|
54
|
+
raise TypeError("Expected argument 'port' to be a int")
|
|
55
|
+
pulumi.set(__self__, "port", port)
|
|
56
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
57
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
58
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
59
|
+
if redis_version and not isinstance(redis_version, str):
|
|
60
|
+
raise TypeError("Expected argument 'redis_version' to be a str")
|
|
61
|
+
pulumi.set(__self__, "redis_version", redis_version)
|
|
62
|
+
if resource_state and not isinstance(resource_state, str):
|
|
63
|
+
raise TypeError("Expected argument 'resource_state' to be a str")
|
|
64
|
+
pulumi.set(__self__, "resource_state", resource_state)
|
|
65
|
+
if type and not isinstance(type, str):
|
|
66
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
67
|
+
pulumi.set(__self__, "type", type)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="clientProtocol")
|
|
71
|
+
def client_protocol(self) -> Optional[str]:
|
|
72
|
+
"""
|
|
73
|
+
Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "client_protocol")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="clusteringPolicy")
|
|
79
|
+
def clustering_policy(self) -> Optional[str]:
|
|
80
|
+
"""
|
|
81
|
+
Clustering policy - default is OSSCluster. Specified at create time.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "clustering_policy")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="deferUpgrade")
|
|
87
|
+
def defer_upgrade(self) -> Optional[str]:
|
|
88
|
+
"""
|
|
89
|
+
Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "defer_upgrade")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="evictionPolicy")
|
|
95
|
+
def eviction_policy(self) -> Optional[str]:
|
|
96
|
+
"""
|
|
97
|
+
Redis eviction policy - default is VolatileLRU
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "eviction_policy")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="geoReplication")
|
|
103
|
+
def geo_replication(self) -> Optional['outputs.DatabasePropertiesResponseGeoReplication']:
|
|
104
|
+
"""
|
|
105
|
+
Optional set of properties to configure geo replication for this database.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "geo_replication")
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter
|
|
111
|
+
def id(self) -> str:
|
|
112
|
+
"""
|
|
113
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "id")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter
|
|
119
|
+
def modules(self) -> Optional[Sequence['outputs.ModuleResponse']]:
|
|
120
|
+
"""
|
|
121
|
+
Optional set of redis modules to enable in this database - modules can only be added at creation time.
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "modules")
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def name(self) -> str:
|
|
128
|
+
"""
|
|
129
|
+
The name of the resource
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "name")
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def persistence(self) -> Optional['outputs.PersistenceResponse']:
|
|
136
|
+
"""
|
|
137
|
+
Persistence settings
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "persistence")
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
@pulumi.getter
|
|
143
|
+
def port(self) -> Optional[int]:
|
|
144
|
+
"""
|
|
145
|
+
TCP port of the database endpoint. Specified at create time. Defaults to an available port.
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "port")
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter(name="provisioningState")
|
|
151
|
+
def provisioning_state(self) -> str:
|
|
152
|
+
"""
|
|
153
|
+
Current provisioning status of the database
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "provisioning_state")
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter(name="redisVersion")
|
|
159
|
+
def redis_version(self) -> str:
|
|
160
|
+
"""
|
|
161
|
+
Version of Redis the database is running on, e.g. '6.0'
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "redis_version")
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter(name="resourceState")
|
|
167
|
+
def resource_state(self) -> str:
|
|
168
|
+
"""
|
|
169
|
+
Current resource status of the database
|
|
170
|
+
"""
|
|
171
|
+
return pulumi.get(self, "resource_state")
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter
|
|
175
|
+
def type(self) -> str:
|
|
176
|
+
"""
|
|
177
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "type")
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
class AwaitableGetDatabaseResult(GetDatabaseResult):
|
|
183
|
+
# pylint: disable=using-constant-test
|
|
184
|
+
def __await__(self):
|
|
185
|
+
if False:
|
|
186
|
+
yield self
|
|
187
|
+
return GetDatabaseResult(
|
|
188
|
+
client_protocol=self.client_protocol,
|
|
189
|
+
clustering_policy=self.clustering_policy,
|
|
190
|
+
defer_upgrade=self.defer_upgrade,
|
|
191
|
+
eviction_policy=self.eviction_policy,
|
|
192
|
+
geo_replication=self.geo_replication,
|
|
193
|
+
id=self.id,
|
|
194
|
+
modules=self.modules,
|
|
195
|
+
name=self.name,
|
|
196
|
+
persistence=self.persistence,
|
|
197
|
+
port=self.port,
|
|
198
|
+
provisioning_state=self.provisioning_state,
|
|
199
|
+
redis_version=self.redis_version,
|
|
200
|
+
resource_state=self.resource_state,
|
|
201
|
+
type=self.type)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
def get_database(cluster_name: Optional[str] = None,
|
|
205
|
+
database_name: Optional[str] = None,
|
|
206
|
+
resource_group_name: Optional[str] = None,
|
|
207
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseResult:
|
|
208
|
+
"""
|
|
209
|
+
Gets information about a database in a RedisEnterprise cluster.
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
:param str cluster_name: The name of the Redis Enterprise cluster.
|
|
213
|
+
:param str database_name: The name of the Redis Enterprise database.
|
|
214
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
215
|
+
"""
|
|
216
|
+
__args__ = dict()
|
|
217
|
+
__args__['clusterName'] = cluster_name
|
|
218
|
+
__args__['databaseName'] = database_name
|
|
219
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
220
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
221
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cache/v20240301preview:getDatabase', __args__, opts=opts, typ=GetDatabaseResult).value
|
|
222
|
+
|
|
223
|
+
return AwaitableGetDatabaseResult(
|
|
224
|
+
client_protocol=pulumi.get(__ret__, 'client_protocol'),
|
|
225
|
+
clustering_policy=pulumi.get(__ret__, 'clustering_policy'),
|
|
226
|
+
defer_upgrade=pulumi.get(__ret__, 'defer_upgrade'),
|
|
227
|
+
eviction_policy=pulumi.get(__ret__, 'eviction_policy'),
|
|
228
|
+
geo_replication=pulumi.get(__ret__, 'geo_replication'),
|
|
229
|
+
id=pulumi.get(__ret__, 'id'),
|
|
230
|
+
modules=pulumi.get(__ret__, 'modules'),
|
|
231
|
+
name=pulumi.get(__ret__, 'name'),
|
|
232
|
+
persistence=pulumi.get(__ret__, 'persistence'),
|
|
233
|
+
port=pulumi.get(__ret__, 'port'),
|
|
234
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
235
|
+
redis_version=pulumi.get(__ret__, 'redis_version'),
|
|
236
|
+
resource_state=pulumi.get(__ret__, 'resource_state'),
|
|
237
|
+
type=pulumi.get(__ret__, 'type'))
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
@_utilities.lift_output_func(get_database)
|
|
241
|
+
def get_database_output(cluster_name: Optional[pulumi.Input[str]] = None,
|
|
242
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
243
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
244
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]:
|
|
245
|
+
"""
|
|
246
|
+
Gets information about a database in a RedisEnterprise cluster.
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
:param str cluster_name: The name of the Redis Enterprise cluster.
|
|
250
|
+
:param str database_name: The name of the Redis Enterprise database.
|
|
251
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
252
|
+
"""
|
|
253
|
+
...
|
|
@@ -0,0 +1,149 @@
|
|
|
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
|
+
'GetEnterprisePrivateEndpointConnectionResult',
|
|
15
|
+
'AwaitableGetEnterprisePrivateEndpointConnectionResult',
|
|
16
|
+
'get_enterprise_private_endpoint_connection',
|
|
17
|
+
'get_enterprise_private_endpoint_connection_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetEnterprisePrivateEndpointConnectionResult:
|
|
22
|
+
"""
|
|
23
|
+
The Private Endpoint Connection resource.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=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 name and not isinstance(name, str):
|
|
30
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
31
|
+
pulumi.set(__self__, "name", name)
|
|
32
|
+
if private_endpoint and not isinstance(private_endpoint, dict):
|
|
33
|
+
raise TypeError("Expected argument 'private_endpoint' to be a dict")
|
|
34
|
+
pulumi.set(__self__, "private_endpoint", private_endpoint)
|
|
35
|
+
if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict):
|
|
36
|
+
raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
|
|
38
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
39
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
40
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
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 name(self) -> str:
|
|
56
|
+
"""
|
|
57
|
+
The name of the resource
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "name")
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter(name="privateEndpoint")
|
|
63
|
+
def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
|
|
64
|
+
"""
|
|
65
|
+
The resource of private end point.
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "private_endpoint")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="privateLinkServiceConnectionState")
|
|
71
|
+
def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse':
|
|
72
|
+
"""
|
|
73
|
+
A collection of information about the state of the connection between service consumer and provider.
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "private_link_service_connection_state")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="provisioningState")
|
|
79
|
+
def provisioning_state(self) -> str:
|
|
80
|
+
"""
|
|
81
|
+
The provisioning state of the private endpoint connection resource.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "provisioning_state")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def type(self) -> str:
|
|
88
|
+
"""
|
|
89
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "type")
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class AwaitableGetEnterprisePrivateEndpointConnectionResult(GetEnterprisePrivateEndpointConnectionResult):
|
|
95
|
+
# pylint: disable=using-constant-test
|
|
96
|
+
def __await__(self):
|
|
97
|
+
if False:
|
|
98
|
+
yield self
|
|
99
|
+
return GetEnterprisePrivateEndpointConnectionResult(
|
|
100
|
+
id=self.id,
|
|
101
|
+
name=self.name,
|
|
102
|
+
private_endpoint=self.private_endpoint,
|
|
103
|
+
private_link_service_connection_state=self.private_link_service_connection_state,
|
|
104
|
+
provisioning_state=self.provisioning_state,
|
|
105
|
+
type=self.type)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def get_enterprise_private_endpoint_connection(cluster_name: Optional[str] = None,
|
|
109
|
+
private_endpoint_connection_name: Optional[str] = None,
|
|
110
|
+
resource_group_name: Optional[str] = None,
|
|
111
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEnterprisePrivateEndpointConnectionResult:
|
|
112
|
+
"""
|
|
113
|
+
Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param str cluster_name: The name of the Redis Enterprise cluster.
|
|
117
|
+
:param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource
|
|
118
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
119
|
+
"""
|
|
120
|
+
__args__ = dict()
|
|
121
|
+
__args__['clusterName'] = cluster_name
|
|
122
|
+
__args__['privateEndpointConnectionName'] = private_endpoint_connection_name
|
|
123
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
124
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
125
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cache/v20240301preview:getEnterprisePrivateEndpointConnection', __args__, opts=opts, typ=GetEnterprisePrivateEndpointConnectionResult).value
|
|
126
|
+
|
|
127
|
+
return AwaitableGetEnterprisePrivateEndpointConnectionResult(
|
|
128
|
+
id=pulumi.get(__ret__, 'id'),
|
|
129
|
+
name=pulumi.get(__ret__, 'name'),
|
|
130
|
+
private_endpoint=pulumi.get(__ret__, 'private_endpoint'),
|
|
131
|
+
private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'),
|
|
132
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
133
|
+
type=pulumi.get(__ret__, 'type'))
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
@_utilities.lift_output_func(get_enterprise_private_endpoint_connection)
|
|
137
|
+
def get_enterprise_private_endpoint_connection_output(cluster_name: Optional[pulumi.Input[str]] = None,
|
|
138
|
+
private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
|
|
139
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
140
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnterprisePrivateEndpointConnectionResult]:
|
|
141
|
+
"""
|
|
142
|
+
Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:param str cluster_name: The name of the Redis Enterprise cluster.
|
|
146
|
+
:param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource
|
|
147
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
148
|
+
"""
|
|
149
|
+
...
|
|
@@ -0,0 +1,261 @@
|
|
|
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
|
+
'GetRedisEnterpriseResult',
|
|
15
|
+
'AwaitableGetRedisEnterpriseResult',
|
|
16
|
+
'get_redis_enterprise',
|
|
17
|
+
'get_redis_enterprise_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetRedisEnterpriseResult:
|
|
22
|
+
"""
|
|
23
|
+
Describes the RedisEnterprise cluster
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, encryption=None, host_name=None, id=None, identity=None, location=None, minimum_tls_version=None, name=None, private_endpoint_connections=None, provisioning_state=None, redis_version=None, resource_state=None, sku=None, tags=None, type=None, zones=None):
|
|
26
|
+
if encryption and not isinstance(encryption, dict):
|
|
27
|
+
raise TypeError("Expected argument 'encryption' to be a dict")
|
|
28
|
+
pulumi.set(__self__, "encryption", encryption)
|
|
29
|
+
if host_name and not isinstance(host_name, str):
|
|
30
|
+
raise TypeError("Expected argument 'host_name' to be a str")
|
|
31
|
+
pulumi.set(__self__, "host_name", host_name)
|
|
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 identity and not isinstance(identity, dict):
|
|
36
|
+
raise TypeError("Expected argument 'identity' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "identity", identity)
|
|
38
|
+
if location and not isinstance(location, str):
|
|
39
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
40
|
+
pulumi.set(__self__, "location", location)
|
|
41
|
+
if minimum_tls_version and not isinstance(minimum_tls_version, str):
|
|
42
|
+
raise TypeError("Expected argument 'minimum_tls_version' to be a str")
|
|
43
|
+
pulumi.set(__self__, "minimum_tls_version", minimum_tls_version)
|
|
44
|
+
if name and not isinstance(name, str):
|
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
46
|
+
pulumi.set(__self__, "name", name)
|
|
47
|
+
if private_endpoint_connections and not isinstance(private_endpoint_connections, list):
|
|
48
|
+
raise TypeError("Expected argument 'private_endpoint_connections' to be a list")
|
|
49
|
+
pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections)
|
|
50
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
51
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
52
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
53
|
+
if redis_version and not isinstance(redis_version, str):
|
|
54
|
+
raise TypeError("Expected argument 'redis_version' to be a str")
|
|
55
|
+
pulumi.set(__self__, "redis_version", redis_version)
|
|
56
|
+
if resource_state and not isinstance(resource_state, str):
|
|
57
|
+
raise TypeError("Expected argument 'resource_state' to be a str")
|
|
58
|
+
pulumi.set(__self__, "resource_state", resource_state)
|
|
59
|
+
if sku and not isinstance(sku, dict):
|
|
60
|
+
raise TypeError("Expected argument 'sku' to be a dict")
|
|
61
|
+
pulumi.set(__self__, "sku", sku)
|
|
62
|
+
if tags and not isinstance(tags, dict):
|
|
63
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
64
|
+
pulumi.set(__self__, "tags", tags)
|
|
65
|
+
if type and not isinstance(type, str):
|
|
66
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
67
|
+
pulumi.set(__self__, "type", type)
|
|
68
|
+
if zones and not isinstance(zones, list):
|
|
69
|
+
raise TypeError("Expected argument 'zones' to be a list")
|
|
70
|
+
pulumi.set(__self__, "zones", zones)
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def encryption(self) -> Optional['outputs.ClusterPropertiesResponseEncryption']:
|
|
75
|
+
"""
|
|
76
|
+
Encryption-at-rest configuration for the cluster.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "encryption")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="hostName")
|
|
82
|
+
def host_name(self) -> str:
|
|
83
|
+
"""
|
|
84
|
+
DNS name of the cluster endpoint
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "host_name")
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter
|
|
90
|
+
def id(self) -> str:
|
|
91
|
+
"""
|
|
92
|
+
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "id")
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter
|
|
98
|
+
def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']:
|
|
99
|
+
"""
|
|
100
|
+
The identity of the resource.
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "identity")
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter
|
|
106
|
+
def location(self) -> str:
|
|
107
|
+
"""
|
|
108
|
+
The geo-location where the resource lives
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "location")
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="minimumTlsVersion")
|
|
114
|
+
def minimum_tls_version(self) -> Optional[str]:
|
|
115
|
+
"""
|
|
116
|
+
The minimum TLS version for the cluster to support, e.g. '1.2'
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "minimum_tls_version")
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
@pulumi.getter
|
|
122
|
+
def name(self) -> str:
|
|
123
|
+
"""
|
|
124
|
+
The name of the resource
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "name")
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter(name="privateEndpointConnections")
|
|
130
|
+
def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']:
|
|
131
|
+
"""
|
|
132
|
+
List of private endpoint connections associated with the specified RedisEnterprise cluster
|
|
133
|
+
"""
|
|
134
|
+
return pulumi.get(self, "private_endpoint_connections")
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter(name="provisioningState")
|
|
138
|
+
def provisioning_state(self) -> str:
|
|
139
|
+
"""
|
|
140
|
+
Current provisioning status of the cluster
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "provisioning_state")
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter(name="redisVersion")
|
|
146
|
+
def redis_version(self) -> str:
|
|
147
|
+
"""
|
|
148
|
+
Version of redis the cluster supports, e.g. '6'
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "redis_version")
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
@pulumi.getter(name="resourceState")
|
|
154
|
+
def resource_state(self) -> str:
|
|
155
|
+
"""
|
|
156
|
+
Current resource status of the cluster
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "resource_state")
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
@pulumi.getter
|
|
162
|
+
def sku(self) -> 'outputs.EnterpriseSkuResponse':
|
|
163
|
+
"""
|
|
164
|
+
The SKU to create, which affects price, performance, and features.
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "sku")
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
@pulumi.getter
|
|
170
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
171
|
+
"""
|
|
172
|
+
Resource tags.
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "tags")
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
@pulumi.getter
|
|
178
|
+
def type(self) -> str:
|
|
179
|
+
"""
|
|
180
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "type")
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter
|
|
186
|
+
def zones(self) -> Optional[Sequence[str]]:
|
|
187
|
+
"""
|
|
188
|
+
The Availability Zones where this cluster will be deployed.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "zones")
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
class AwaitableGetRedisEnterpriseResult(GetRedisEnterpriseResult):
|
|
194
|
+
# pylint: disable=using-constant-test
|
|
195
|
+
def __await__(self):
|
|
196
|
+
if False:
|
|
197
|
+
yield self
|
|
198
|
+
return GetRedisEnterpriseResult(
|
|
199
|
+
encryption=self.encryption,
|
|
200
|
+
host_name=self.host_name,
|
|
201
|
+
id=self.id,
|
|
202
|
+
identity=self.identity,
|
|
203
|
+
location=self.location,
|
|
204
|
+
minimum_tls_version=self.minimum_tls_version,
|
|
205
|
+
name=self.name,
|
|
206
|
+
private_endpoint_connections=self.private_endpoint_connections,
|
|
207
|
+
provisioning_state=self.provisioning_state,
|
|
208
|
+
redis_version=self.redis_version,
|
|
209
|
+
resource_state=self.resource_state,
|
|
210
|
+
sku=self.sku,
|
|
211
|
+
tags=self.tags,
|
|
212
|
+
type=self.type,
|
|
213
|
+
zones=self.zones)
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
def get_redis_enterprise(cluster_name: Optional[str] = None,
|
|
217
|
+
resource_group_name: Optional[str] = None,
|
|
218
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisEnterpriseResult:
|
|
219
|
+
"""
|
|
220
|
+
Gets information about a RedisEnterprise cluster
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
:param str cluster_name: The name of the Redis Enterprise cluster.
|
|
224
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
225
|
+
"""
|
|
226
|
+
__args__ = dict()
|
|
227
|
+
__args__['clusterName'] = cluster_name
|
|
228
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
229
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
230
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cache/v20240301preview:getRedisEnterprise', __args__, opts=opts, typ=GetRedisEnterpriseResult).value
|
|
231
|
+
|
|
232
|
+
return AwaitableGetRedisEnterpriseResult(
|
|
233
|
+
encryption=pulumi.get(__ret__, 'encryption'),
|
|
234
|
+
host_name=pulumi.get(__ret__, 'host_name'),
|
|
235
|
+
id=pulumi.get(__ret__, 'id'),
|
|
236
|
+
identity=pulumi.get(__ret__, 'identity'),
|
|
237
|
+
location=pulumi.get(__ret__, 'location'),
|
|
238
|
+
minimum_tls_version=pulumi.get(__ret__, 'minimum_tls_version'),
|
|
239
|
+
name=pulumi.get(__ret__, 'name'),
|
|
240
|
+
private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'),
|
|
241
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
242
|
+
redis_version=pulumi.get(__ret__, 'redis_version'),
|
|
243
|
+
resource_state=pulumi.get(__ret__, 'resource_state'),
|
|
244
|
+
sku=pulumi.get(__ret__, 'sku'),
|
|
245
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
246
|
+
type=pulumi.get(__ret__, 'type'),
|
|
247
|
+
zones=pulumi.get(__ret__, 'zones'))
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
@_utilities.lift_output_func(get_redis_enterprise)
|
|
251
|
+
def get_redis_enterprise_output(cluster_name: Optional[pulumi.Input[str]] = None,
|
|
252
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
253
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisEnterpriseResult]:
|
|
254
|
+
"""
|
|
255
|
+
Gets information about a RedisEnterprise cluster
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
:param str cluster_name: The name of the Redis Enterprise cluster.
|
|
259
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
260
|
+
"""
|
|
261
|
+
...
|