pulumi-azure-native 2.68.0a1729519840__py3-none-any.whl → 2.68.0a1729615467__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-azure-native might be problematic. Click here for more details.

Files changed (167) hide show
  1. pulumi_azure_native/__init__.py +29 -0
  2. pulumi_azure_native/awsconnector/_inputs.py +132 -96
  3. pulumi_azure_native/awsconnector/outputs.py +120 -66
  4. pulumi_azure_native/awsconnector/v20241201/_inputs.py +132 -96
  5. pulumi_azure_native/awsconnector/v20241201/outputs.py +120 -66
  6. pulumi_azure_native/cache/__init__.py +3 -0
  7. pulumi_azure_native/cache/access_policy.py +3 -3
  8. pulumi_azure_native/cache/access_policy_assignment.py +3 -3
  9. pulumi_azure_native/cache/firewall_rule.py +3 -3
  10. pulumi_azure_native/cache/get_access_policy.py +2 -2
  11. pulumi_azure_native/cache/get_access_policy_assignment.py +2 -2
  12. pulumi_azure_native/cache/get_firewall_rule.py +2 -2
  13. pulumi_azure_native/cache/get_linked_server.py +2 -2
  14. pulumi_azure_native/cache/get_patch_schedule.py +2 -2
  15. pulumi_azure_native/cache/get_private_endpoint_connection.py +2 -2
  16. pulumi_azure_native/cache/get_redis.py +2 -2
  17. pulumi_azure_native/cache/linked_server.py +3 -3
  18. pulumi_azure_native/cache/list_redis_keys.py +2 -2
  19. pulumi_azure_native/cache/patch_schedule.py +3 -3
  20. pulumi_azure_native/cache/private_endpoint_connection.py +3 -3
  21. pulumi_azure_native/cache/redis.py +3 -3
  22. pulumi_azure_native/cache/v20200601/redis.py +1 -1
  23. pulumi_azure_native/cache/v20230401/firewall_rule.py +1 -1
  24. pulumi_azure_native/cache/v20230401/linked_server.py +1 -1
  25. pulumi_azure_native/cache/v20230401/patch_schedule.py +1 -1
  26. pulumi_azure_native/cache/v20230401/private_endpoint_connection.py +1 -1
  27. pulumi_azure_native/cache/v20230401/redis.py +1 -1
  28. pulumi_azure_native/cache/v20230501preview/access_policy.py +1 -1
  29. pulumi_azure_native/cache/v20230501preview/access_policy_assignment.py +1 -1
  30. pulumi_azure_native/cache/v20230501preview/firewall_rule.py +1 -1
  31. pulumi_azure_native/cache/v20230501preview/linked_server.py +1 -1
  32. pulumi_azure_native/cache/v20230501preview/patch_schedule.py +1 -1
  33. pulumi_azure_native/cache/v20230501preview/private_endpoint_connection.py +1 -1
  34. pulumi_azure_native/cache/v20230501preview/redis.py +1 -1
  35. pulumi_azure_native/cache/v20230801/access_policy.py +1 -1
  36. pulumi_azure_native/cache/v20230801/access_policy_assignment.py +1 -1
  37. pulumi_azure_native/cache/v20230801/firewall_rule.py +1 -1
  38. pulumi_azure_native/cache/v20230801/linked_server.py +1 -1
  39. pulumi_azure_native/cache/v20230801/patch_schedule.py +1 -1
  40. pulumi_azure_native/cache/v20230801/private_endpoint_connection.py +1 -1
  41. pulumi_azure_native/cache/v20230801/redis.py +1 -1
  42. pulumi_azure_native/cache/v20240301/access_policy.py +1 -1
  43. pulumi_azure_native/cache/v20240301/access_policy_assignment.py +1 -1
  44. pulumi_azure_native/cache/v20240301/firewall_rule.py +1 -1
  45. pulumi_azure_native/cache/v20240301/linked_server.py +1 -1
  46. pulumi_azure_native/cache/v20240301/patch_schedule.py +1 -1
  47. pulumi_azure_native/cache/v20240301/private_endpoint_connection.py +1 -1
  48. pulumi_azure_native/cache/v20240301/redis.py +1 -1
  49. pulumi_azure_native/cache/v20240401preview/access_policy.py +1 -1
  50. pulumi_azure_native/cache/v20240401preview/access_policy_assignment.py +1 -1
  51. pulumi_azure_native/cache/v20240401preview/firewall_rule.py +1 -1
  52. pulumi_azure_native/cache/v20240401preview/linked_server.py +1 -1
  53. pulumi_azure_native/cache/v20240401preview/patch_schedule.py +1 -1
  54. pulumi_azure_native/cache/v20240401preview/private_endpoint_connection.py +1 -1
  55. pulumi_azure_native/cache/v20240401preview/redis.py +1 -1
  56. pulumi_azure_native/cache/v20241101/__init__.py +25 -0
  57. pulumi_azure_native/cache/v20241101/_enums.py +111 -0
  58. pulumi_azure_native/cache/v20241101/_inputs.py +646 -0
  59. pulumi_azure_native/cache/v20241101/access_policy.py +219 -0
  60. pulumi_azure_native/cache/v20241101/access_policy_assignment.py +279 -0
  61. pulumi_azure_native/cache/v20241101/firewall_rule.py +239 -0
  62. pulumi_azure_native/cache/v20241101/get_access_policy.py +148 -0
  63. pulumi_azure_native/cache/v20241101/get_access_policy_assignment.py +176 -0
  64. pulumi_azure_native/cache/v20241101/get_firewall_rule.py +148 -0
  65. pulumi_azure_native/cache/v20241101/get_linked_server.py +204 -0
  66. pulumi_azure_native/cache/v20241101/get_patch_schedule.py +149 -0
  67. pulumi_azure_native/cache/v20241101/get_private_endpoint_connection.py +163 -0
  68. pulumi_azure_native/cache/v20241101/get_redis.py +493 -0
  69. pulumi_azure_native/cache/v20241101/linked_server.py +299 -0
  70. pulumi_azure_native/cache/v20241101/list_redis_keys.py +100 -0
  71. pulumi_azure_native/cache/v20241101/outputs.py +917 -0
  72. pulumi_azure_native/cache/v20241101/patch_schedule.py +221 -0
  73. pulumi_azure_native/cache/v20241101/private_endpoint_connection.py +232 -0
  74. pulumi_azure_native/cache/v20241101/redis.py +804 -0
  75. pulumi_azure_native/costmanagement/__init__.py +3 -0
  76. pulumi_azure_native/costmanagement/budget.py +3 -3
  77. pulumi_azure_native/costmanagement/cost_allocation_rule.py +3 -3
  78. pulumi_azure_native/costmanagement/export.py +3 -3
  79. pulumi_azure_native/costmanagement/get_budget.py +2 -2
  80. pulumi_azure_native/costmanagement/get_cost_allocation_rule.py +2 -2
  81. pulumi_azure_native/costmanagement/get_export.py +2 -2
  82. pulumi_azure_native/costmanagement/get_scheduled_action.py +2 -2
  83. pulumi_azure_native/costmanagement/get_scheduled_action_by_scope.py +2 -2
  84. pulumi_azure_native/costmanagement/get_view.py +2 -2
  85. pulumi_azure_native/costmanagement/get_view_by_scope.py +2 -2
  86. pulumi_azure_native/costmanagement/scheduled_action.py +3 -3
  87. pulumi_azure_native/costmanagement/scheduled_action_by_scope.py +3 -3
  88. pulumi_azure_native/costmanagement/tag_inheritance_setting.py +1 -1
  89. pulumi_azure_native/costmanagement/v20190401preview/budget.py +1 -1
  90. pulumi_azure_native/costmanagement/v20191001/export.py +1 -1
  91. pulumi_azure_native/costmanagement/v20191101/view.py +1 -1
  92. pulumi_azure_native/costmanagement/v20191101/view_by_scope.py +1 -1
  93. pulumi_azure_native/costmanagement/v20200301preview/cost_allocation_rule.py +1 -1
  94. pulumi_azure_native/costmanagement/v20200601/view.py +1 -1
  95. pulumi_azure_native/costmanagement/v20200601/view_by_scope.py +1 -1
  96. pulumi_azure_native/costmanagement/v20221001/view.py +1 -1
  97. pulumi_azure_native/costmanagement/v20221001/view_by_scope.py +1 -1
  98. pulumi_azure_native/costmanagement/v20221005preview/tag_inheritance_setting.py +1 -1
  99. pulumi_azure_native/costmanagement/v20221005preview/view.py +1 -1
  100. pulumi_azure_native/costmanagement/v20221005preview/view_by_scope.py +1 -1
  101. pulumi_azure_native/costmanagement/v20230301/export.py +1 -1
  102. pulumi_azure_native/costmanagement/v20230301/scheduled_action.py +1 -1
  103. pulumi_azure_native/costmanagement/v20230301/scheduled_action_by_scope.py +1 -1
  104. pulumi_azure_native/costmanagement/v20230301/view.py +1 -1
  105. pulumi_azure_native/costmanagement/v20230301/view_by_scope.py +1 -1
  106. pulumi_azure_native/costmanagement/v20230401preview/budget.py +1 -1
  107. pulumi_azure_native/costmanagement/v20230401preview/export.py +1 -1
  108. pulumi_azure_native/costmanagement/v20230401preview/scheduled_action.py +1 -1
  109. pulumi_azure_native/costmanagement/v20230401preview/scheduled_action_by_scope.py +1 -1
  110. pulumi_azure_native/costmanagement/v20230401preview/view.py +1 -1
  111. pulumi_azure_native/costmanagement/v20230401preview/view_by_scope.py +1 -1
  112. pulumi_azure_native/costmanagement/v20230701preview/export.py +1 -1
  113. pulumi_azure_native/costmanagement/v20230701preview/scheduled_action.py +1 -1
  114. pulumi_azure_native/costmanagement/v20230701preview/scheduled_action_by_scope.py +1 -1
  115. pulumi_azure_native/costmanagement/v20230701preview/view.py +1 -1
  116. pulumi_azure_native/costmanagement/v20230701preview/view_by_scope.py +1 -1
  117. pulumi_azure_native/costmanagement/v20230801/budget.py +1 -1
  118. pulumi_azure_native/costmanagement/v20230801/cost_allocation_rule.py +1 -1
  119. pulumi_azure_native/costmanagement/v20230801/export.py +1 -1
  120. pulumi_azure_native/costmanagement/v20230801/scheduled_action.py +1 -1
  121. pulumi_azure_native/costmanagement/v20230801/scheduled_action_by_scope.py +1 -1
  122. pulumi_azure_native/costmanagement/v20230801/tag_inheritance_setting.py +1 -1
  123. pulumi_azure_native/costmanagement/v20230801/view.py +1 -1
  124. pulumi_azure_native/costmanagement/v20230801/view_by_scope.py +1 -1
  125. pulumi_azure_native/costmanagement/v20230901/budget.py +1 -1
  126. pulumi_azure_native/costmanagement/v20230901/cost_allocation_rule.py +1 -1
  127. pulumi_azure_native/costmanagement/v20230901/export.py +1 -1
  128. pulumi_azure_native/costmanagement/v20230901/scheduled_action.py +1 -1
  129. pulumi_azure_native/costmanagement/v20230901/scheduled_action_by_scope.py +1 -1
  130. pulumi_azure_native/costmanagement/v20230901/tag_inheritance_setting.py +1 -1
  131. pulumi_azure_native/costmanagement/v20230901/view.py +1 -1
  132. pulumi_azure_native/costmanagement/v20230901/view_by_scope.py +1 -1
  133. pulumi_azure_native/costmanagement/v20231101/budget.py +1 -1
  134. pulumi_azure_native/costmanagement/v20231101/cost_allocation_rule.py +1 -1
  135. pulumi_azure_native/costmanagement/v20231101/export.py +1 -1
  136. pulumi_azure_native/costmanagement/v20231101/scheduled_action.py +1 -1
  137. pulumi_azure_native/costmanagement/v20231101/scheduled_action_by_scope.py +1 -1
  138. pulumi_azure_native/costmanagement/v20231101/tag_inheritance_setting.py +1 -1
  139. pulumi_azure_native/costmanagement/v20231101/view.py +1 -1
  140. pulumi_azure_native/costmanagement/v20231101/view_by_scope.py +1 -1
  141. pulumi_azure_native/costmanagement/v20240801/__init__.py +26 -0
  142. pulumi_azure_native/costmanagement/v20240801/_enums.py +538 -0
  143. pulumi_azure_native/costmanagement/v20240801/_inputs.py +2660 -0
  144. pulumi_azure_native/costmanagement/v20240801/budget.py +619 -0
  145. pulumi_azure_native/costmanagement/v20240801/cost_allocation_rule.py +190 -0
  146. pulumi_azure_native/costmanagement/v20240801/export.py +415 -0
  147. pulumi_azure_native/costmanagement/v20240801/get_budget.py +337 -0
  148. pulumi_azure_native/costmanagement/v20240801/get_cost_allocation_rule.py +129 -0
  149. pulumi_azure_native/costmanagement/v20240801/get_export.py +261 -0
  150. pulumi_azure_native/costmanagement/v20240801/get_scheduled_action.py +263 -0
  151. pulumi_azure_native/costmanagement/v20240801/get_scheduled_action_by_scope.py +269 -0
  152. pulumi_azure_native/costmanagement/v20240801/get_tag_inheritance_setting.py +144 -0
  153. pulumi_azure_native/costmanagement/v20240801/get_view.py +333 -0
  154. pulumi_azure_native/costmanagement/v20240801/get_view_by_scope.py +339 -0
  155. pulumi_azure_native/costmanagement/v20240801/outputs.py +2593 -0
  156. pulumi_azure_native/costmanagement/v20240801/scheduled_action.py +425 -0
  157. pulumi_azure_native/costmanagement/v20240801/scheduled_action_by_scope.py +426 -0
  158. pulumi_azure_native/costmanagement/v20240801/tag_inheritance_setting.py +222 -0
  159. pulumi_azure_native/costmanagement/v20240801/view.py +587 -0
  160. pulumi_azure_native/costmanagement/v20240801/view_by_scope.py +588 -0
  161. pulumi_azure_native/costmanagement/view.py +3 -3
  162. pulumi_azure_native/costmanagement/view_by_scope.py +3 -3
  163. pulumi_azure_native/pulumi-plugin.json +1 -1
  164. {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/METADATA +1 -1
  165. {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/RECORD +167 -128
  166. {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/WHEEL +0 -0
  167. {pulumi_azure_native-2.68.0a1729519840.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,493 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from ... import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetRedisResult',
20
+ 'AwaitableGetRedisResult',
21
+ 'get_redis',
22
+ 'get_redis_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetRedisResult:
27
+ """
28
+ A single Redis item in List or Get Operation.
29
+ """
30
+ def __init__(__self__, access_keys=None, disable_access_key_authentication=None, enable_non_ssl_port=None, host_name=None, id=None, identity=None, instances=None, linked_servers=None, location=None, minimum_tls_version=None, name=None, port=None, private_endpoint_connections=None, provisioning_state=None, public_network_access=None, redis_configuration=None, redis_version=None, replicas_per_master=None, replicas_per_primary=None, shard_count=None, sku=None, ssl_port=None, static_ip=None, subnet_id=None, tags=None, tenant_settings=None, type=None, update_channel=None, zonal_allocation_policy=None, zones=None):
31
+ if access_keys and not isinstance(access_keys, dict):
32
+ raise TypeError("Expected argument 'access_keys' to be a dict")
33
+ pulumi.set(__self__, "access_keys", access_keys)
34
+ if disable_access_key_authentication and not isinstance(disable_access_key_authentication, bool):
35
+ raise TypeError("Expected argument 'disable_access_key_authentication' to be a bool")
36
+ pulumi.set(__self__, "disable_access_key_authentication", disable_access_key_authentication)
37
+ if enable_non_ssl_port and not isinstance(enable_non_ssl_port, bool):
38
+ raise TypeError("Expected argument 'enable_non_ssl_port' to be a bool")
39
+ pulumi.set(__self__, "enable_non_ssl_port", enable_non_ssl_port)
40
+ if host_name and not isinstance(host_name, str):
41
+ raise TypeError("Expected argument 'host_name' to be a str")
42
+ pulumi.set(__self__, "host_name", host_name)
43
+ if id and not isinstance(id, str):
44
+ raise TypeError("Expected argument 'id' to be a str")
45
+ pulumi.set(__self__, "id", id)
46
+ if identity and not isinstance(identity, dict):
47
+ raise TypeError("Expected argument 'identity' to be a dict")
48
+ pulumi.set(__self__, "identity", identity)
49
+ if instances and not isinstance(instances, list):
50
+ raise TypeError("Expected argument 'instances' to be a list")
51
+ pulumi.set(__self__, "instances", instances)
52
+ if linked_servers and not isinstance(linked_servers, list):
53
+ raise TypeError("Expected argument 'linked_servers' to be a list")
54
+ pulumi.set(__self__, "linked_servers", linked_servers)
55
+ if location and not isinstance(location, str):
56
+ raise TypeError("Expected argument 'location' to be a str")
57
+ pulumi.set(__self__, "location", location)
58
+ if minimum_tls_version and not isinstance(minimum_tls_version, str):
59
+ raise TypeError("Expected argument 'minimum_tls_version' to be a str")
60
+ pulumi.set(__self__, "minimum_tls_version", minimum_tls_version)
61
+ if name and not isinstance(name, str):
62
+ raise TypeError("Expected argument 'name' to be a str")
63
+ pulumi.set(__self__, "name", name)
64
+ if port and not isinstance(port, int):
65
+ raise TypeError("Expected argument 'port' to be a int")
66
+ pulumi.set(__self__, "port", port)
67
+ if private_endpoint_connections and not isinstance(private_endpoint_connections, list):
68
+ raise TypeError("Expected argument 'private_endpoint_connections' to be a list")
69
+ pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections)
70
+ if provisioning_state and not isinstance(provisioning_state, str):
71
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
72
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
73
+ if public_network_access and not isinstance(public_network_access, str):
74
+ raise TypeError("Expected argument 'public_network_access' to be a str")
75
+ pulumi.set(__self__, "public_network_access", public_network_access)
76
+ if redis_configuration and not isinstance(redis_configuration, dict):
77
+ raise TypeError("Expected argument 'redis_configuration' to be a dict")
78
+ pulumi.set(__self__, "redis_configuration", redis_configuration)
79
+ if redis_version and not isinstance(redis_version, str):
80
+ raise TypeError("Expected argument 'redis_version' to be a str")
81
+ pulumi.set(__self__, "redis_version", redis_version)
82
+ if replicas_per_master and not isinstance(replicas_per_master, int):
83
+ raise TypeError("Expected argument 'replicas_per_master' to be a int")
84
+ pulumi.set(__self__, "replicas_per_master", replicas_per_master)
85
+ if replicas_per_primary and not isinstance(replicas_per_primary, int):
86
+ raise TypeError("Expected argument 'replicas_per_primary' to be a int")
87
+ pulumi.set(__self__, "replicas_per_primary", replicas_per_primary)
88
+ if shard_count and not isinstance(shard_count, int):
89
+ raise TypeError("Expected argument 'shard_count' to be a int")
90
+ pulumi.set(__self__, "shard_count", shard_count)
91
+ if sku and not isinstance(sku, dict):
92
+ raise TypeError("Expected argument 'sku' to be a dict")
93
+ pulumi.set(__self__, "sku", sku)
94
+ if ssl_port and not isinstance(ssl_port, int):
95
+ raise TypeError("Expected argument 'ssl_port' to be a int")
96
+ pulumi.set(__self__, "ssl_port", ssl_port)
97
+ if static_ip and not isinstance(static_ip, str):
98
+ raise TypeError("Expected argument 'static_ip' to be a str")
99
+ pulumi.set(__self__, "static_ip", static_ip)
100
+ if subnet_id and not isinstance(subnet_id, str):
101
+ raise TypeError("Expected argument 'subnet_id' to be a str")
102
+ pulumi.set(__self__, "subnet_id", subnet_id)
103
+ if tags and not isinstance(tags, dict):
104
+ raise TypeError("Expected argument 'tags' to be a dict")
105
+ pulumi.set(__self__, "tags", tags)
106
+ if tenant_settings and not isinstance(tenant_settings, dict):
107
+ raise TypeError("Expected argument 'tenant_settings' to be a dict")
108
+ pulumi.set(__self__, "tenant_settings", tenant_settings)
109
+ if type and not isinstance(type, str):
110
+ raise TypeError("Expected argument 'type' to be a str")
111
+ pulumi.set(__self__, "type", type)
112
+ if update_channel and not isinstance(update_channel, str):
113
+ raise TypeError("Expected argument 'update_channel' to be a str")
114
+ pulumi.set(__self__, "update_channel", update_channel)
115
+ if zonal_allocation_policy and not isinstance(zonal_allocation_policy, str):
116
+ raise TypeError("Expected argument 'zonal_allocation_policy' to be a str")
117
+ pulumi.set(__self__, "zonal_allocation_policy", zonal_allocation_policy)
118
+ if zones and not isinstance(zones, list):
119
+ raise TypeError("Expected argument 'zones' to be a list")
120
+ pulumi.set(__self__, "zones", zones)
121
+
122
+ @property
123
+ @pulumi.getter(name="accessKeys")
124
+ def access_keys(self) -> 'outputs.RedisAccessKeysResponse':
125
+ """
126
+ The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
127
+ """
128
+ return pulumi.get(self, "access_keys")
129
+
130
+ @property
131
+ @pulumi.getter(name="disableAccessKeyAuthentication")
132
+ def disable_access_key_authentication(self) -> Optional[bool]:
133
+ """
134
+ Authentication to Redis through access keys is disabled when set as true. Default value is false.
135
+ """
136
+ return pulumi.get(self, "disable_access_key_authentication")
137
+
138
+ @property
139
+ @pulumi.getter(name="enableNonSslPort")
140
+ def enable_non_ssl_port(self) -> Optional[bool]:
141
+ """
142
+ Specifies whether the non-ssl Redis server port (6379) is enabled.
143
+ """
144
+ return pulumi.get(self, "enable_non_ssl_port")
145
+
146
+ @property
147
+ @pulumi.getter(name="hostName")
148
+ def host_name(self) -> str:
149
+ """
150
+ Redis host name.
151
+ """
152
+ return pulumi.get(self, "host_name")
153
+
154
+ @property
155
+ @pulumi.getter
156
+ def id(self) -> str:
157
+ """
158
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
159
+ """
160
+ return pulumi.get(self, "id")
161
+
162
+ @property
163
+ @pulumi.getter
164
+ def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']:
165
+ """
166
+ The identity of the resource.
167
+ """
168
+ return pulumi.get(self, "identity")
169
+
170
+ @property
171
+ @pulumi.getter
172
+ def instances(self) -> Sequence['outputs.RedisInstanceDetailsResponse']:
173
+ """
174
+ List of the Redis instances associated with the cache
175
+ """
176
+ return pulumi.get(self, "instances")
177
+
178
+ @property
179
+ @pulumi.getter(name="linkedServers")
180
+ def linked_servers(self) -> Sequence['outputs.RedisLinkedServerResponse']:
181
+ """
182
+ List of the linked servers associated with the cache
183
+ """
184
+ return pulumi.get(self, "linked_servers")
185
+
186
+ @property
187
+ @pulumi.getter
188
+ def location(self) -> str:
189
+ """
190
+ The geo-location where the resource lives
191
+ """
192
+ return pulumi.get(self, "location")
193
+
194
+ @property
195
+ @pulumi.getter(name="minimumTlsVersion")
196
+ def minimum_tls_version(self) -> Optional[str]:
197
+ """
198
+ Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
199
+ """
200
+ return pulumi.get(self, "minimum_tls_version")
201
+
202
+ @property
203
+ @pulumi.getter
204
+ def name(self) -> str:
205
+ """
206
+ The name of the resource
207
+ """
208
+ return pulumi.get(self, "name")
209
+
210
+ @property
211
+ @pulumi.getter
212
+ def port(self) -> int:
213
+ """
214
+ Redis non-SSL port.
215
+ """
216
+ return pulumi.get(self, "port")
217
+
218
+ @property
219
+ @pulumi.getter(name="privateEndpointConnections")
220
+ def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']:
221
+ """
222
+ List of private endpoint connection associated with the specified redis cache
223
+ """
224
+ return pulumi.get(self, "private_endpoint_connections")
225
+
226
+ @property
227
+ @pulumi.getter(name="provisioningState")
228
+ def provisioning_state(self) -> str:
229
+ """
230
+ Redis instance provisioning status.
231
+ """
232
+ return pulumi.get(self, "provisioning_state")
233
+
234
+ @property
235
+ @pulumi.getter(name="publicNetworkAccess")
236
+ def public_network_access(self) -> Optional[str]:
237
+ """
238
+ Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
239
+ """
240
+ return pulumi.get(self, "public_network_access")
241
+
242
+ @property
243
+ @pulumi.getter(name="redisConfiguration")
244
+ def redis_configuration(self) -> Optional['outputs.RedisCommonPropertiesResponseRedisConfiguration']:
245
+ """
246
+ All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
247
+ """
248
+ return pulumi.get(self, "redis_configuration")
249
+
250
+ @property
251
+ @pulumi.getter(name="redisVersion")
252
+ def redis_version(self) -> Optional[str]:
253
+ """
254
+ Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.
255
+ """
256
+ return pulumi.get(self, "redis_version")
257
+
258
+ @property
259
+ @pulumi.getter(name="replicasPerMaster")
260
+ def replicas_per_master(self) -> Optional[int]:
261
+ """
262
+ The number of replicas to be created per primary.
263
+ """
264
+ return pulumi.get(self, "replicas_per_master")
265
+
266
+ @property
267
+ @pulumi.getter(name="replicasPerPrimary")
268
+ def replicas_per_primary(self) -> Optional[int]:
269
+ """
270
+ The number of replicas to be created per primary.
271
+ """
272
+ return pulumi.get(self, "replicas_per_primary")
273
+
274
+ @property
275
+ @pulumi.getter(name="shardCount")
276
+ def shard_count(self) -> Optional[int]:
277
+ """
278
+ The number of shards to be created on a Premium Cluster Cache.
279
+ """
280
+ return pulumi.get(self, "shard_count")
281
+
282
+ @property
283
+ @pulumi.getter
284
+ def sku(self) -> 'outputs.SkuResponse':
285
+ """
286
+ The SKU of the Redis cache to deploy.
287
+ """
288
+ return pulumi.get(self, "sku")
289
+
290
+ @property
291
+ @pulumi.getter(name="sslPort")
292
+ def ssl_port(self) -> int:
293
+ """
294
+ Redis SSL port.
295
+ """
296
+ return pulumi.get(self, "ssl_port")
297
+
298
+ @property
299
+ @pulumi.getter(name="staticIP")
300
+ def static_ip(self) -> Optional[str]:
301
+ """
302
+ Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
303
+ """
304
+ return pulumi.get(self, "static_ip")
305
+
306
+ @property
307
+ @pulumi.getter(name="subnetId")
308
+ def subnet_id(self) -> Optional[str]:
309
+ """
310
+ The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
311
+ """
312
+ return pulumi.get(self, "subnet_id")
313
+
314
+ @property
315
+ @pulumi.getter
316
+ def tags(self) -> Optional[Mapping[str, str]]:
317
+ """
318
+ Resource tags.
319
+ """
320
+ return pulumi.get(self, "tags")
321
+
322
+ @property
323
+ @pulumi.getter(name="tenantSettings")
324
+ def tenant_settings(self) -> Optional[Mapping[str, str]]:
325
+ """
326
+ A dictionary of tenant settings
327
+ """
328
+ return pulumi.get(self, "tenant_settings")
329
+
330
+ @property
331
+ @pulumi.getter
332
+ def type(self) -> str:
333
+ """
334
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
335
+ """
336
+ return pulumi.get(self, "type")
337
+
338
+ @property
339
+ @pulumi.getter(name="updateChannel")
340
+ def update_channel(self) -> Optional[str]:
341
+ """
342
+ Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
343
+ """
344
+ return pulumi.get(self, "update_channel")
345
+
346
+ @property
347
+ @pulumi.getter(name="zonalAllocationPolicy")
348
+ def zonal_allocation_policy(self) -> Optional[str]:
349
+ """
350
+ Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
351
+ """
352
+ return pulumi.get(self, "zonal_allocation_policy")
353
+
354
+ @property
355
+ @pulumi.getter
356
+ def zones(self) -> Optional[Sequence[str]]:
357
+ """
358
+ A list of availability zones denoting where the resource needs to come from.
359
+ """
360
+ return pulumi.get(self, "zones")
361
+
362
+
363
+ class AwaitableGetRedisResult(GetRedisResult):
364
+ # pylint: disable=using-constant-test
365
+ def __await__(self):
366
+ if False:
367
+ yield self
368
+ return GetRedisResult(
369
+ access_keys=self.access_keys,
370
+ disable_access_key_authentication=self.disable_access_key_authentication,
371
+ enable_non_ssl_port=self.enable_non_ssl_port,
372
+ host_name=self.host_name,
373
+ id=self.id,
374
+ identity=self.identity,
375
+ instances=self.instances,
376
+ linked_servers=self.linked_servers,
377
+ location=self.location,
378
+ minimum_tls_version=self.minimum_tls_version,
379
+ name=self.name,
380
+ port=self.port,
381
+ private_endpoint_connections=self.private_endpoint_connections,
382
+ provisioning_state=self.provisioning_state,
383
+ public_network_access=self.public_network_access,
384
+ redis_configuration=self.redis_configuration,
385
+ redis_version=self.redis_version,
386
+ replicas_per_master=self.replicas_per_master,
387
+ replicas_per_primary=self.replicas_per_primary,
388
+ shard_count=self.shard_count,
389
+ sku=self.sku,
390
+ ssl_port=self.ssl_port,
391
+ static_ip=self.static_ip,
392
+ subnet_id=self.subnet_id,
393
+ tags=self.tags,
394
+ tenant_settings=self.tenant_settings,
395
+ type=self.type,
396
+ update_channel=self.update_channel,
397
+ zonal_allocation_policy=self.zonal_allocation_policy,
398
+ zones=self.zones)
399
+
400
+
401
+ def get_redis(name: Optional[str] = None,
402
+ resource_group_name: Optional[str] = None,
403
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisResult:
404
+ """
405
+ Gets a Redis cache (resource description).
406
+
407
+
408
+ :param str name: The name of the Redis cache.
409
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
410
+ """
411
+ __args__ = dict()
412
+ __args__['name'] = name
413
+ __args__['resourceGroupName'] = resource_group_name
414
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
415
+ __ret__ = pulumi.runtime.invoke('azure-native:cache/v20241101:getRedis', __args__, opts=opts, typ=GetRedisResult).value
416
+
417
+ return AwaitableGetRedisResult(
418
+ access_keys=pulumi.get(__ret__, 'access_keys'),
419
+ disable_access_key_authentication=pulumi.get(__ret__, 'disable_access_key_authentication'),
420
+ enable_non_ssl_port=pulumi.get(__ret__, 'enable_non_ssl_port'),
421
+ host_name=pulumi.get(__ret__, 'host_name'),
422
+ id=pulumi.get(__ret__, 'id'),
423
+ identity=pulumi.get(__ret__, 'identity'),
424
+ instances=pulumi.get(__ret__, 'instances'),
425
+ linked_servers=pulumi.get(__ret__, 'linked_servers'),
426
+ location=pulumi.get(__ret__, 'location'),
427
+ minimum_tls_version=pulumi.get(__ret__, 'minimum_tls_version'),
428
+ name=pulumi.get(__ret__, 'name'),
429
+ port=pulumi.get(__ret__, 'port'),
430
+ private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'),
431
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
432
+ public_network_access=pulumi.get(__ret__, 'public_network_access'),
433
+ redis_configuration=pulumi.get(__ret__, 'redis_configuration'),
434
+ redis_version=pulumi.get(__ret__, 'redis_version'),
435
+ replicas_per_master=pulumi.get(__ret__, 'replicas_per_master'),
436
+ replicas_per_primary=pulumi.get(__ret__, 'replicas_per_primary'),
437
+ shard_count=pulumi.get(__ret__, 'shard_count'),
438
+ sku=pulumi.get(__ret__, 'sku'),
439
+ ssl_port=pulumi.get(__ret__, 'ssl_port'),
440
+ static_ip=pulumi.get(__ret__, 'static_ip'),
441
+ subnet_id=pulumi.get(__ret__, 'subnet_id'),
442
+ tags=pulumi.get(__ret__, 'tags'),
443
+ tenant_settings=pulumi.get(__ret__, 'tenant_settings'),
444
+ type=pulumi.get(__ret__, 'type'),
445
+ update_channel=pulumi.get(__ret__, 'update_channel'),
446
+ zonal_allocation_policy=pulumi.get(__ret__, 'zonal_allocation_policy'),
447
+ zones=pulumi.get(__ret__, 'zones'))
448
+ def get_redis_output(name: Optional[pulumi.Input[str]] = None,
449
+ resource_group_name: Optional[pulumi.Input[str]] = None,
450
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisResult]:
451
+ """
452
+ Gets a Redis cache (resource description).
453
+
454
+
455
+ :param str name: The name of the Redis cache.
456
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
457
+ """
458
+ __args__ = dict()
459
+ __args__['name'] = name
460
+ __args__['resourceGroupName'] = resource_group_name
461
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
462
+ __ret__ = pulumi.runtime.invoke_output('azure-native:cache/v20241101:getRedis', __args__, opts=opts, typ=GetRedisResult)
463
+ return __ret__.apply(lambda __response__: GetRedisResult(
464
+ access_keys=pulumi.get(__response__, 'access_keys'),
465
+ disable_access_key_authentication=pulumi.get(__response__, 'disable_access_key_authentication'),
466
+ enable_non_ssl_port=pulumi.get(__response__, 'enable_non_ssl_port'),
467
+ host_name=pulumi.get(__response__, 'host_name'),
468
+ id=pulumi.get(__response__, 'id'),
469
+ identity=pulumi.get(__response__, 'identity'),
470
+ instances=pulumi.get(__response__, 'instances'),
471
+ linked_servers=pulumi.get(__response__, 'linked_servers'),
472
+ location=pulumi.get(__response__, 'location'),
473
+ minimum_tls_version=pulumi.get(__response__, 'minimum_tls_version'),
474
+ name=pulumi.get(__response__, 'name'),
475
+ port=pulumi.get(__response__, 'port'),
476
+ private_endpoint_connections=pulumi.get(__response__, 'private_endpoint_connections'),
477
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
478
+ public_network_access=pulumi.get(__response__, 'public_network_access'),
479
+ redis_configuration=pulumi.get(__response__, 'redis_configuration'),
480
+ redis_version=pulumi.get(__response__, 'redis_version'),
481
+ replicas_per_master=pulumi.get(__response__, 'replicas_per_master'),
482
+ replicas_per_primary=pulumi.get(__response__, 'replicas_per_primary'),
483
+ shard_count=pulumi.get(__response__, 'shard_count'),
484
+ sku=pulumi.get(__response__, 'sku'),
485
+ ssl_port=pulumi.get(__response__, 'ssl_port'),
486
+ static_ip=pulumi.get(__response__, 'static_ip'),
487
+ subnet_id=pulumi.get(__response__, 'subnet_id'),
488
+ tags=pulumi.get(__response__, 'tags'),
489
+ tenant_settings=pulumi.get(__response__, 'tenant_settings'),
490
+ type=pulumi.get(__response__, 'type'),
491
+ update_channel=pulumi.get(__response__, 'update_channel'),
492
+ zonal_allocation_policy=pulumi.get(__response__, 'zonal_allocation_policy'),
493
+ zones=pulumi.get(__response__, 'zones')))