pulumi-azure-native 3.8.0a1755549300__py3-none-any.whl → 3.8.0a1756942349__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/config/__init__.pyi +11 -1
- pulumi_azure_native/config/vars.py +15 -1
- pulumi_azure_native/monitor/_enums.py +1 -1
- pulumi_azure_native/monitor/_inputs.py +23 -3
- pulumi_azure_native/monitor/get_scheduled_query_rule.py +6 -6
- pulumi_azure_native/monitor/outputs.py +16 -2
- pulumi_azure_native/monitor/scheduled_query_rule.py +12 -12
- pulumi_azure_native/provider.py +43 -3
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/redisenterprise/_enums.py +82 -5
- pulumi_azure_native/redisenterprise/_inputs.py +19 -19
- pulumi_azure_native/redisenterprise/access_policy_assignment.py +7 -7
- pulumi_azure_native/redisenterprise/database.py +56 -17
- pulumi_azure_native/redisenterprise/get_access_policy_assignment.py +6 -6
- pulumi_azure_native/redisenterprise/get_database.py +40 -12
- pulumi_azure_native/redisenterprise/get_private_endpoint_connection.py +8 -8
- pulumi_azure_native/redisenterprise/get_redis_enterprise.py +54 -12
- pulumi_azure_native/redisenterprise/list_database_keys.py +8 -8
- pulumi_azure_native/redisenterprise/outputs.py +125 -14
- pulumi_azure_native/redisenterprise/private_endpoint_connection.py +7 -7
- pulumi_azure_native/redisenterprise/redis_enterprise.py +63 -14
- pulumi_azure_native/search/_enums.py +121 -10
- pulumi_azure_native/search/_inputs.py +109 -69
- pulumi_azure_native/search/get_private_endpoint_connection.py +26 -12
- pulumi_azure_native/search/get_service.py +117 -19
- pulumi_azure_native/search/get_shared_private_link_resource.py +26 -12
- pulumi_azure_native/search/list_admin_key.py +9 -9
- pulumi_azure_native/search/list_query_key_by_search_service.py +10 -10
- pulumi_azure_native/search/outputs.py +303 -57
- pulumi_azure_native/search/private_endpoint_connection.py +26 -16
- pulumi_azure_native/search/service.py +179 -33
- pulumi_azure_native/search/shared_private_link_resource.py +26 -16
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/RECORD +36 -36
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/top_level.txt +0 -0
|
@@ -7,11 +7,13 @@ import pulumi
|
|
|
7
7
|
from enum import Enum
|
|
8
8
|
|
|
9
9
|
__all__ = [
|
|
10
|
+
'AccessKeysAuthentication',
|
|
10
11
|
'AofFrequency',
|
|
11
12
|
'ClusteringPolicy',
|
|
12
13
|
'CmkIdentityType',
|
|
13
14
|
'DeferUpgradeSetting',
|
|
14
15
|
'EvictionPolicy',
|
|
16
|
+
'HighAvailability',
|
|
15
17
|
'ManagedServiceIdentityType',
|
|
16
18
|
'PrivateEndpointServiceConnectionStatus',
|
|
17
19
|
'Protocol',
|
|
@@ -21,10 +23,19 @@ __all__ = [
|
|
|
21
23
|
]
|
|
22
24
|
|
|
23
25
|
|
|
26
|
+
@pulumi.type_token("azure-native:redisenterprise:AccessKeysAuthentication")
|
|
27
|
+
class AccessKeysAuthentication(builtins.str, Enum):
|
|
28
|
+
"""
|
|
29
|
+
This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.
|
|
30
|
+
"""
|
|
31
|
+
DISABLED = "Disabled"
|
|
32
|
+
ENABLED = "Enabled"
|
|
33
|
+
|
|
34
|
+
|
|
24
35
|
@pulumi.type_token("azure-native:redisenterprise:AofFrequency")
|
|
25
36
|
class AofFrequency(builtins.str, Enum):
|
|
26
37
|
"""
|
|
27
|
-
Sets the frequency at which data is written to disk.
|
|
38
|
+
Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact.
|
|
28
39
|
"""
|
|
29
40
|
AOF_FREQUENCY_1S = "1s"
|
|
30
41
|
ALWAYS = "always"
|
|
@@ -33,10 +44,20 @@ class AofFrequency(builtins.str, Enum):
|
|
|
33
44
|
@pulumi.type_token("azure-native:redisenterprise:ClusteringPolicy")
|
|
34
45
|
class ClusteringPolicy(builtins.str, Enum):
|
|
35
46
|
"""
|
|
36
|
-
Clustering policy - default is OSSCluster.
|
|
47
|
+
Clustering policy - default is OSSCluster. This property can be updated only if the current value is NoCluster. If the value is OSSCluster or EnterpriseCluster, it cannot be updated without deleting the database.
|
|
37
48
|
"""
|
|
38
49
|
ENTERPRISE_CLUSTER = "EnterpriseCluster"
|
|
50
|
+
"""
|
|
51
|
+
Enterprise clustering policy uses only the classic redis protocol, which does not support redis cluster commands.
|
|
52
|
+
"""
|
|
39
53
|
OSS_CLUSTER = "OSSCluster"
|
|
54
|
+
"""
|
|
55
|
+
OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering.
|
|
56
|
+
"""
|
|
57
|
+
NO_CLUSTER = "NoCluster"
|
|
58
|
+
"""
|
|
59
|
+
The NoCluster policy is used for non-clustered Redis instances that do not require clustering features.
|
|
60
|
+
"""
|
|
40
61
|
|
|
41
62
|
|
|
42
63
|
@pulumi.type_token("azure-native:redisenterprise:CmkIdentityType")
|
|
@@ -51,7 +72,7 @@ class CmkIdentityType(builtins.str, Enum):
|
|
|
51
72
|
@pulumi.type_token("azure-native:redisenterprise:DeferUpgradeSetting")
|
|
52
73
|
class DeferUpgradeSetting(builtins.str, Enum):
|
|
53
74
|
"""
|
|
54
|
-
Option to defer upgrade when newest version is released - default is NotDeferred. Learn more:
|
|
75
|
+
Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade
|
|
55
76
|
"""
|
|
56
77
|
DEFERRED = "Deferred"
|
|
57
78
|
NOT_DEFERRED = "NotDeferred"
|
|
@@ -72,6 +93,15 @@ class EvictionPolicy(builtins.str, Enum):
|
|
|
72
93
|
NO_EVICTION = "NoEviction"
|
|
73
94
|
|
|
74
95
|
|
|
96
|
+
@pulumi.type_token("azure-native:redisenterprise:HighAvailability")
|
|
97
|
+
class HighAvailability(builtins.str, Enum):
|
|
98
|
+
"""
|
|
99
|
+
Enabled by default. If highAvailability is disabled, the data set is not replicated. This affects the availability SLA, and increases the risk of data loss.
|
|
100
|
+
"""
|
|
101
|
+
ENABLED = "Enabled"
|
|
102
|
+
DISABLED = "Disabled"
|
|
103
|
+
|
|
104
|
+
|
|
75
105
|
@pulumi.type_token("azure-native:redisenterprise:ManagedServiceIdentityType")
|
|
76
106
|
class ManagedServiceIdentityType(builtins.str, Enum):
|
|
77
107
|
"""
|
|
@@ -115,22 +145,69 @@ class RdbFrequency(builtins.str, Enum):
|
|
|
115
145
|
@pulumi.type_token("azure-native:redisenterprise:SkuName")
|
|
116
146
|
class SkuName(builtins.str, Enum):
|
|
117
147
|
"""
|
|
118
|
-
The
|
|
148
|
+
The level of Redis Enterprise cluster to deploy. Possible values: ('Balanced_B5', 'MemoryOptimized_M10', 'ComputeOptimized_X5', etc.). For more information on SKUs see the latest pricing documentation. Note that additional SKUs may become supported in the future.
|
|
119
149
|
"""
|
|
150
|
+
ENTERPRISE_E1 = "Enterprise_E1"
|
|
120
151
|
ENTERPRISE_E5 = "Enterprise_E5"
|
|
121
152
|
ENTERPRISE_E10 = "Enterprise_E10"
|
|
122
153
|
ENTERPRISE_E20 = "Enterprise_E20"
|
|
123
154
|
ENTERPRISE_E50 = "Enterprise_E50"
|
|
124
155
|
ENTERPRISE_E100 = "Enterprise_E100"
|
|
156
|
+
ENTERPRISE_E200 = "Enterprise_E200"
|
|
157
|
+
ENTERPRISE_E400 = "Enterprise_E400"
|
|
125
158
|
ENTERPRISE_FLASH_F300 = "EnterpriseFlash_F300"
|
|
126
159
|
ENTERPRISE_FLASH_F700 = "EnterpriseFlash_F700"
|
|
127
160
|
ENTERPRISE_FLASH_F1500 = "EnterpriseFlash_F1500"
|
|
161
|
+
BALANCED_B0 = "Balanced_B0"
|
|
162
|
+
BALANCED_B1 = "Balanced_B1"
|
|
163
|
+
BALANCED_B3 = "Balanced_B3"
|
|
164
|
+
BALANCED_B5 = "Balanced_B5"
|
|
165
|
+
BALANCED_B10 = "Balanced_B10"
|
|
166
|
+
BALANCED_B20 = "Balanced_B20"
|
|
167
|
+
BALANCED_B50 = "Balanced_B50"
|
|
168
|
+
BALANCED_B100 = "Balanced_B100"
|
|
169
|
+
BALANCED_B150 = "Balanced_B150"
|
|
170
|
+
BALANCED_B250 = "Balanced_B250"
|
|
171
|
+
BALANCED_B350 = "Balanced_B350"
|
|
172
|
+
BALANCED_B500 = "Balanced_B500"
|
|
173
|
+
BALANCED_B700 = "Balanced_B700"
|
|
174
|
+
BALANCED_B1000 = "Balanced_B1000"
|
|
175
|
+
MEMORY_OPTIMIZED_M10 = "MemoryOptimized_M10"
|
|
176
|
+
MEMORY_OPTIMIZED_M20 = "MemoryOptimized_M20"
|
|
177
|
+
MEMORY_OPTIMIZED_M50 = "MemoryOptimized_M50"
|
|
178
|
+
MEMORY_OPTIMIZED_M100 = "MemoryOptimized_M100"
|
|
179
|
+
MEMORY_OPTIMIZED_M150 = "MemoryOptimized_M150"
|
|
180
|
+
MEMORY_OPTIMIZED_M250 = "MemoryOptimized_M250"
|
|
181
|
+
MEMORY_OPTIMIZED_M350 = "MemoryOptimized_M350"
|
|
182
|
+
MEMORY_OPTIMIZED_M500 = "MemoryOptimized_M500"
|
|
183
|
+
MEMORY_OPTIMIZED_M700 = "MemoryOptimized_M700"
|
|
184
|
+
MEMORY_OPTIMIZED_M1000 = "MemoryOptimized_M1000"
|
|
185
|
+
MEMORY_OPTIMIZED_M1500 = "MemoryOptimized_M1500"
|
|
186
|
+
MEMORY_OPTIMIZED_M2000 = "MemoryOptimized_M2000"
|
|
187
|
+
COMPUTE_OPTIMIZED_X3 = "ComputeOptimized_X3"
|
|
188
|
+
COMPUTE_OPTIMIZED_X5 = "ComputeOptimized_X5"
|
|
189
|
+
COMPUTE_OPTIMIZED_X10 = "ComputeOptimized_X10"
|
|
190
|
+
COMPUTE_OPTIMIZED_X20 = "ComputeOptimized_X20"
|
|
191
|
+
COMPUTE_OPTIMIZED_X50 = "ComputeOptimized_X50"
|
|
192
|
+
COMPUTE_OPTIMIZED_X100 = "ComputeOptimized_X100"
|
|
193
|
+
COMPUTE_OPTIMIZED_X150 = "ComputeOptimized_X150"
|
|
194
|
+
COMPUTE_OPTIMIZED_X250 = "ComputeOptimized_X250"
|
|
195
|
+
COMPUTE_OPTIMIZED_X350 = "ComputeOptimized_X350"
|
|
196
|
+
COMPUTE_OPTIMIZED_X500 = "ComputeOptimized_X500"
|
|
197
|
+
COMPUTE_OPTIMIZED_X700 = "ComputeOptimized_X700"
|
|
198
|
+
FLASH_OPTIMIZED_A250 = "FlashOptimized_A250"
|
|
199
|
+
FLASH_OPTIMIZED_A500 = "FlashOptimized_A500"
|
|
200
|
+
FLASH_OPTIMIZED_A700 = "FlashOptimized_A700"
|
|
201
|
+
FLASH_OPTIMIZED_A1000 = "FlashOptimized_A1000"
|
|
202
|
+
FLASH_OPTIMIZED_A1500 = "FlashOptimized_A1500"
|
|
203
|
+
FLASH_OPTIMIZED_A2000 = "FlashOptimized_A2000"
|
|
204
|
+
FLASH_OPTIMIZED_A4500 = "FlashOptimized_A4500"
|
|
128
205
|
|
|
129
206
|
|
|
130
207
|
@pulumi.type_token("azure-native:redisenterprise:TlsVersion")
|
|
131
208
|
class TlsVersion(builtins.str, Enum):
|
|
132
209
|
"""
|
|
133
|
-
The minimum TLS version for the cluster to support, e.g. '1.2'
|
|
210
|
+
The minimum TLS version for the cluster to support, e.g. '1.2'. Newer versions can be added in the future. Note that TLS 1.0 and TLS 1.1 are now completely obsolete -- you cannot use them. They are mentioned only for the sake of consistency with old API versions.
|
|
134
211
|
"""
|
|
135
212
|
TLS_VERSION_1_0 = "1.0"
|
|
136
213
|
TLS_VERSION_1_1 = "1.1"
|
|
@@ -432,19 +432,19 @@ class ModuleArgs:
|
|
|
432
432
|
if not MYPY:
|
|
433
433
|
class PersistenceArgsDict(TypedDict):
|
|
434
434
|
"""
|
|
435
|
-
Persistence-related configuration for the
|
|
435
|
+
Persistence-related configuration for the Redis Enterprise database
|
|
436
436
|
"""
|
|
437
437
|
aof_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
438
438
|
"""
|
|
439
|
-
Sets whether AOF is enabled.
|
|
439
|
+
Sets whether AOF is enabled. Note that at most one of AOF or RDB persistence may be enabled.
|
|
440
440
|
"""
|
|
441
441
|
aof_frequency: NotRequired[pulumi.Input[Union[builtins.str, 'AofFrequency']]]
|
|
442
442
|
"""
|
|
443
|
-
Sets the frequency at which data is written to disk.
|
|
443
|
+
Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact.
|
|
444
444
|
"""
|
|
445
445
|
rdb_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
446
446
|
"""
|
|
447
|
-
Sets whether RDB is enabled.
|
|
447
|
+
Sets whether RDB is enabled. Note that at most one of AOF or RDB persistence may be enabled.
|
|
448
448
|
"""
|
|
449
449
|
rdb_frequency: NotRequired[pulumi.Input[Union[builtins.str, 'RdbFrequency']]]
|
|
450
450
|
"""
|
|
@@ -461,10 +461,10 @@ class PersistenceArgs:
|
|
|
461
461
|
rdb_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
462
462
|
rdb_frequency: Optional[pulumi.Input[Union[builtins.str, 'RdbFrequency']]] = None):
|
|
463
463
|
"""
|
|
464
|
-
Persistence-related configuration for the
|
|
465
|
-
:param pulumi.Input[builtins.bool] aof_enabled: Sets whether AOF is enabled.
|
|
466
|
-
:param pulumi.Input[Union[builtins.str, 'AofFrequency']] aof_frequency: Sets the frequency at which data is written to disk.
|
|
467
|
-
:param pulumi.Input[builtins.bool] rdb_enabled: Sets whether RDB is enabled.
|
|
464
|
+
Persistence-related configuration for the Redis Enterprise database
|
|
465
|
+
:param pulumi.Input[builtins.bool] aof_enabled: Sets whether AOF is enabled. Note that at most one of AOF or RDB persistence may be enabled.
|
|
466
|
+
:param pulumi.Input[Union[builtins.str, 'AofFrequency']] aof_frequency: Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact.
|
|
467
|
+
:param pulumi.Input[builtins.bool] rdb_enabled: Sets whether RDB is enabled. Note that at most one of AOF or RDB persistence may be enabled.
|
|
468
468
|
:param pulumi.Input[Union[builtins.str, 'RdbFrequency']] rdb_frequency: Sets the frequency at which a snapshot of the database is created.
|
|
469
469
|
"""
|
|
470
470
|
if aof_enabled is not None:
|
|
@@ -480,7 +480,7 @@ class PersistenceArgs:
|
|
|
480
480
|
@pulumi.getter(name="aofEnabled")
|
|
481
481
|
def aof_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
482
482
|
"""
|
|
483
|
-
Sets whether AOF is enabled.
|
|
483
|
+
Sets whether AOF is enabled. Note that at most one of AOF or RDB persistence may be enabled.
|
|
484
484
|
"""
|
|
485
485
|
return pulumi.get(self, "aof_enabled")
|
|
486
486
|
|
|
@@ -492,7 +492,7 @@ class PersistenceArgs:
|
|
|
492
492
|
@pulumi.getter(name="aofFrequency")
|
|
493
493
|
def aof_frequency(self) -> Optional[pulumi.Input[Union[builtins.str, 'AofFrequency']]]:
|
|
494
494
|
"""
|
|
495
|
-
Sets the frequency at which data is written to disk.
|
|
495
|
+
Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact.
|
|
496
496
|
"""
|
|
497
497
|
return pulumi.get(self, "aof_frequency")
|
|
498
498
|
|
|
@@ -504,7 +504,7 @@ class PersistenceArgs:
|
|
|
504
504
|
@pulumi.getter(name="rdbEnabled")
|
|
505
505
|
def rdb_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
506
506
|
"""
|
|
507
|
-
Sets whether RDB is enabled.
|
|
507
|
+
Sets whether RDB is enabled. Note that at most one of AOF or RDB persistence may be enabled.
|
|
508
508
|
"""
|
|
509
509
|
return pulumi.get(self, "rdb_enabled")
|
|
510
510
|
|
|
@@ -604,15 +604,15 @@ class PrivateLinkServiceConnectionStateArgs:
|
|
|
604
604
|
if not MYPY:
|
|
605
605
|
class SkuArgsDict(TypedDict):
|
|
606
606
|
"""
|
|
607
|
-
SKU parameters supplied to the create
|
|
607
|
+
SKU parameters supplied to the create Redis Enterprise cluster operation.
|
|
608
608
|
"""
|
|
609
609
|
name: pulumi.Input[Union[builtins.str, 'SkuName']]
|
|
610
610
|
"""
|
|
611
|
-
The
|
|
611
|
+
The level of Redis Enterprise cluster to deploy. Possible values: ('Balanced_B5', 'MemoryOptimized_M10', 'ComputeOptimized_X5', etc.). For more information on SKUs see the latest pricing documentation. Note that additional SKUs may become supported in the future.
|
|
612
612
|
"""
|
|
613
613
|
capacity: NotRequired[pulumi.Input[builtins.int]]
|
|
614
614
|
"""
|
|
615
|
-
|
|
615
|
+
This property is only used with Enterprise and EnterpriseFlash SKUs. Determines the size of the cluster. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for EnterpriseFlash SKUs.
|
|
616
616
|
"""
|
|
617
617
|
elif False:
|
|
618
618
|
SkuArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -623,9 +623,9 @@ class SkuArgs:
|
|
|
623
623
|
name: pulumi.Input[Union[builtins.str, 'SkuName']],
|
|
624
624
|
capacity: Optional[pulumi.Input[builtins.int]] = None):
|
|
625
625
|
"""
|
|
626
|
-
SKU parameters supplied to the create
|
|
627
|
-
:param pulumi.Input[Union[builtins.str, 'SkuName']] name: The
|
|
628
|
-
:param pulumi.Input[builtins.int] capacity:
|
|
626
|
+
SKU parameters supplied to the create Redis Enterprise cluster operation.
|
|
627
|
+
:param pulumi.Input[Union[builtins.str, 'SkuName']] name: The level of Redis Enterprise cluster to deploy. Possible values: ('Balanced_B5', 'MemoryOptimized_M10', 'ComputeOptimized_X5', etc.). For more information on SKUs see the latest pricing documentation. Note that additional SKUs may become supported in the future.
|
|
628
|
+
:param pulumi.Input[builtins.int] capacity: This property is only used with Enterprise and EnterpriseFlash SKUs. Determines the size of the cluster. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for EnterpriseFlash SKUs.
|
|
629
629
|
"""
|
|
630
630
|
pulumi.set(__self__, "name", name)
|
|
631
631
|
if capacity is not None:
|
|
@@ -635,7 +635,7 @@ class SkuArgs:
|
|
|
635
635
|
@pulumi.getter
|
|
636
636
|
def name(self) -> pulumi.Input[Union[builtins.str, 'SkuName']]:
|
|
637
637
|
"""
|
|
638
|
-
The
|
|
638
|
+
The level of Redis Enterprise cluster to deploy. Possible values: ('Balanced_B5', 'MemoryOptimized_M10', 'ComputeOptimized_X5', etc.). For more information on SKUs see the latest pricing documentation. Note that additional SKUs may become supported in the future.
|
|
639
639
|
"""
|
|
640
640
|
return pulumi.get(self, "name")
|
|
641
641
|
|
|
@@ -647,7 +647,7 @@ class SkuArgs:
|
|
|
647
647
|
@pulumi.getter
|
|
648
648
|
def capacity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
649
649
|
"""
|
|
650
|
-
|
|
650
|
+
This property is only used with Enterprise and EnterpriseFlash SKUs. Determines the size of the cluster. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for EnterpriseFlash SKUs.
|
|
651
651
|
"""
|
|
652
652
|
return pulumi.get(self, "capacity")
|
|
653
653
|
|
|
@@ -31,7 +31,7 @@ class AccessPolicyAssignmentArgs:
|
|
|
31
31
|
"""
|
|
32
32
|
The set of arguments for constructing a AccessPolicyAssignment resource.
|
|
33
33
|
:param pulumi.Input[builtins.str] access_policy_name: Name of access policy under specific access policy assignment. Only "default" policy is supported for now.
|
|
34
|
-
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster.
|
|
34
|
+
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
35
35
|
:param pulumi.Input[builtins.str] database_name: The name of the Redis Enterprise database.
|
|
36
36
|
:param pulumi.Input[builtins.str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
37
37
|
:param pulumi.Input['AccessPolicyAssignmentPropertiesUserArgs'] user: The user associated with the access policy.
|
|
@@ -61,7 +61,7 @@ class AccessPolicyAssignmentArgs:
|
|
|
61
61
|
@pulumi.getter(name="clusterName")
|
|
62
62
|
def cluster_name(self) -> pulumi.Input[builtins.str]:
|
|
63
63
|
"""
|
|
64
|
-
The name of the Redis Enterprise cluster.
|
|
64
|
+
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "cluster_name")
|
|
67
67
|
|
|
@@ -134,15 +134,15 @@ class AccessPolicyAssignment(pulumi.CustomResource):
|
|
|
134
134
|
"""
|
|
135
135
|
Describes the access policy assignment of Redis Enterprise database
|
|
136
136
|
|
|
137
|
-
Uses Azure REST API version
|
|
137
|
+
Uses Azure REST API version 2025-05-01-preview.
|
|
138
138
|
|
|
139
|
-
Other available API versions:
|
|
139
|
+
Other available API versions: 2024-09-01-preview, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redisenterprise [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
140
140
|
|
|
141
141
|
:param str resource_name: The name of the resource.
|
|
142
142
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
143
143
|
:param pulumi.Input[builtins.str] access_policy_assignment_name: The name of the Redis Enterprise database access policy assignment.
|
|
144
144
|
:param pulumi.Input[builtins.str] access_policy_name: Name of access policy under specific access policy assignment. Only "default" policy is supported for now.
|
|
145
|
-
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster.
|
|
145
|
+
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
146
146
|
:param pulumi.Input[builtins.str] database_name: The name of the Redis Enterprise database.
|
|
147
147
|
:param pulumi.Input[builtins.str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
148
148
|
:param pulumi.Input[Union['AccessPolicyAssignmentPropertiesUserArgs', 'AccessPolicyAssignmentPropertiesUserArgsDict']] user: The user associated with the access policy.
|
|
@@ -156,9 +156,9 @@ class AccessPolicyAssignment(pulumi.CustomResource):
|
|
|
156
156
|
"""
|
|
157
157
|
Describes the access policy assignment of Redis Enterprise database
|
|
158
158
|
|
|
159
|
-
Uses Azure REST API version
|
|
159
|
+
Uses Azure REST API version 2025-05-01-preview.
|
|
160
160
|
|
|
161
|
-
Other available API versions:
|
|
161
|
+
Other available API versions: 2024-09-01-preview, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redisenterprise [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
162
162
|
|
|
163
163
|
:param str resource_name: The name of the resource.
|
|
164
164
|
:param AccessPolicyAssignmentArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -25,6 +25,7 @@ class DatabaseArgs:
|
|
|
25
25
|
def __init__(__self__, *,
|
|
26
26
|
cluster_name: pulumi.Input[builtins.str],
|
|
27
27
|
resource_group_name: pulumi.Input[builtins.str],
|
|
28
|
+
access_keys_authentication: Optional[pulumi.Input[Union[builtins.str, 'AccessKeysAuthentication']]] = None,
|
|
28
29
|
client_protocol: Optional[pulumi.Input[Union[builtins.str, 'Protocol']]] = None,
|
|
29
30
|
clustering_policy: Optional[pulumi.Input[Union[builtins.str, 'ClusteringPolicy']]] = None,
|
|
30
31
|
database_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -36,12 +37,13 @@ class DatabaseArgs:
|
|
|
36
37
|
port: Optional[pulumi.Input[builtins.int]] = None):
|
|
37
38
|
"""
|
|
38
39
|
The set of arguments for constructing a Database resource.
|
|
39
|
-
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster.
|
|
40
|
+
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
40
41
|
:param pulumi.Input[builtins.str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
42
|
+
:param pulumi.Input[Union[builtins.str, 'AccessKeysAuthentication']] access_keys_authentication: This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.
|
|
41
43
|
:param pulumi.Input[Union[builtins.str, 'Protocol']] client_protocol: Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.
|
|
42
|
-
:param pulumi.Input[Union[builtins.str, 'ClusteringPolicy']] clustering_policy: Clustering policy - default is OSSCluster.
|
|
44
|
+
:param pulumi.Input[Union[builtins.str, 'ClusteringPolicy']] clustering_policy: Clustering policy - default is OSSCluster. This property can be updated only if the current value is NoCluster. If the value is OSSCluster or EnterpriseCluster, it cannot be updated without deleting the database.
|
|
43
45
|
:param pulumi.Input[builtins.str] database_name: The name of the Redis Enterprise database.
|
|
44
|
-
:param pulumi.Input[Union[builtins.str, 'DeferUpgradeSetting']] defer_upgrade: Option to defer upgrade when newest version is released - default is NotDeferred. Learn more:
|
|
46
|
+
:param pulumi.Input[Union[builtins.str, 'DeferUpgradeSetting']] defer_upgrade: Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade
|
|
45
47
|
:param pulumi.Input[Union[builtins.str, 'EvictionPolicy']] eviction_policy: Redis eviction policy - default is VolatileLRU
|
|
46
48
|
:param pulumi.Input['DatabasePropertiesGeoReplicationArgs'] geo_replication: Optional set of properties to configure geo replication for this database.
|
|
47
49
|
:param pulumi.Input[Sequence[pulumi.Input['ModuleArgs']]] modules: Optional set of redis modules to enable in this database - modules can only be added at creation time.
|
|
@@ -50,6 +52,8 @@ class DatabaseArgs:
|
|
|
50
52
|
"""
|
|
51
53
|
pulumi.set(__self__, "cluster_name", cluster_name)
|
|
52
54
|
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
55
|
+
if access_keys_authentication is not None:
|
|
56
|
+
pulumi.set(__self__, "access_keys_authentication", access_keys_authentication)
|
|
53
57
|
if client_protocol is not None:
|
|
54
58
|
pulumi.set(__self__, "client_protocol", client_protocol)
|
|
55
59
|
if clustering_policy is not None:
|
|
@@ -73,7 +77,7 @@ class DatabaseArgs:
|
|
|
73
77
|
@pulumi.getter(name="clusterName")
|
|
74
78
|
def cluster_name(self) -> pulumi.Input[builtins.str]:
|
|
75
79
|
"""
|
|
76
|
-
The name of the Redis Enterprise cluster.
|
|
80
|
+
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
77
81
|
"""
|
|
78
82
|
return pulumi.get(self, "cluster_name")
|
|
79
83
|
|
|
@@ -93,6 +97,18 @@ class DatabaseArgs:
|
|
|
93
97
|
def resource_group_name(self, value: pulumi.Input[builtins.str]):
|
|
94
98
|
pulumi.set(self, "resource_group_name", value)
|
|
95
99
|
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter(name="accessKeysAuthentication")
|
|
102
|
+
def access_keys_authentication(self) -> Optional[pulumi.Input[Union[builtins.str, 'AccessKeysAuthentication']]]:
|
|
103
|
+
"""
|
|
104
|
+
This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "access_keys_authentication")
|
|
107
|
+
|
|
108
|
+
@access_keys_authentication.setter
|
|
109
|
+
def access_keys_authentication(self, value: Optional[pulumi.Input[Union[builtins.str, 'AccessKeysAuthentication']]]):
|
|
110
|
+
pulumi.set(self, "access_keys_authentication", value)
|
|
111
|
+
|
|
96
112
|
@property
|
|
97
113
|
@pulumi.getter(name="clientProtocol")
|
|
98
114
|
def client_protocol(self) -> Optional[pulumi.Input[Union[builtins.str, 'Protocol']]]:
|
|
@@ -109,7 +125,7 @@ class DatabaseArgs:
|
|
|
109
125
|
@pulumi.getter(name="clusteringPolicy")
|
|
110
126
|
def clustering_policy(self) -> Optional[pulumi.Input[Union[builtins.str, 'ClusteringPolicy']]]:
|
|
111
127
|
"""
|
|
112
|
-
Clustering policy - default is OSSCluster.
|
|
128
|
+
Clustering policy - default is OSSCluster. This property can be updated only if the current value is NoCluster. If the value is OSSCluster or EnterpriseCluster, it cannot be updated without deleting the database.
|
|
113
129
|
"""
|
|
114
130
|
return pulumi.get(self, "clustering_policy")
|
|
115
131
|
|
|
@@ -133,7 +149,7 @@ class DatabaseArgs:
|
|
|
133
149
|
@pulumi.getter(name="deferUpgrade")
|
|
134
150
|
def defer_upgrade(self) -> Optional[pulumi.Input[Union[builtins.str, 'DeferUpgradeSetting']]]:
|
|
135
151
|
"""
|
|
136
|
-
Option to defer upgrade when newest version is released - default is NotDeferred. Learn more:
|
|
152
|
+
Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade
|
|
137
153
|
"""
|
|
138
154
|
return pulumi.get(self, "defer_upgrade")
|
|
139
155
|
|
|
@@ -208,6 +224,7 @@ class Database(pulumi.CustomResource):
|
|
|
208
224
|
def __init__(__self__,
|
|
209
225
|
resource_name: str,
|
|
210
226
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
227
|
+
access_keys_authentication: Optional[pulumi.Input[Union[builtins.str, 'AccessKeysAuthentication']]] = None,
|
|
211
228
|
client_protocol: Optional[pulumi.Input[Union[builtins.str, 'Protocol']]] = None,
|
|
212
229
|
cluster_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
213
230
|
clustering_policy: Optional[pulumi.Input[Union[builtins.str, 'ClusteringPolicy']]] = None,
|
|
@@ -221,19 +238,20 @@ class Database(pulumi.CustomResource):
|
|
|
221
238
|
resource_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
222
239
|
__props__=None):
|
|
223
240
|
"""
|
|
224
|
-
Describes a database on the
|
|
241
|
+
Describes a database on the Redis Enterprise cluster
|
|
225
242
|
|
|
226
|
-
Uses Azure REST API version
|
|
243
|
+
Uses Azure REST API version 2025-05-01-preview.
|
|
227
244
|
|
|
228
|
-
Other available API versions: 2020-10-01-preview, 2021-02-01-preview, 2021-03-01, 2021-08-01, 2022-01-01, 2022-11-01-preview, 2023-03-01-preview, 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-
|
|
245
|
+
Other available API versions: 2020-10-01-preview, 2021-02-01-preview, 2021-03-01, 2021-08-01, 2022-01-01, 2022-11-01-preview, 2023-03-01-preview, 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-03-01-preview, 2024-06-01-preview, 2024-09-01-preview, 2024-10-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redisenterprise [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
229
246
|
|
|
230
247
|
:param str resource_name: The name of the resource.
|
|
231
248
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
249
|
+
:param pulumi.Input[Union[builtins.str, 'AccessKeysAuthentication']] access_keys_authentication: This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.
|
|
232
250
|
:param pulumi.Input[Union[builtins.str, 'Protocol']] client_protocol: Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.
|
|
233
|
-
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster.
|
|
234
|
-
:param pulumi.Input[Union[builtins.str, 'ClusteringPolicy']] clustering_policy: Clustering policy - default is OSSCluster.
|
|
251
|
+
:param pulumi.Input[builtins.str] cluster_name: The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
252
|
+
:param pulumi.Input[Union[builtins.str, 'ClusteringPolicy']] clustering_policy: Clustering policy - default is OSSCluster. This property can be updated only if the current value is NoCluster. If the value is OSSCluster or EnterpriseCluster, it cannot be updated without deleting the database.
|
|
235
253
|
:param pulumi.Input[builtins.str] database_name: The name of the Redis Enterprise database.
|
|
236
|
-
:param pulumi.Input[Union[builtins.str, 'DeferUpgradeSetting']] defer_upgrade: Option to defer upgrade when newest version is released - default is NotDeferred. Learn more:
|
|
254
|
+
:param pulumi.Input[Union[builtins.str, 'DeferUpgradeSetting']] defer_upgrade: Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade
|
|
237
255
|
:param pulumi.Input[Union[builtins.str, 'EvictionPolicy']] eviction_policy: Redis eviction policy - default is VolatileLRU
|
|
238
256
|
:param pulumi.Input[Union['DatabasePropertiesGeoReplicationArgs', 'DatabasePropertiesGeoReplicationArgsDict']] geo_replication: Optional set of properties to configure geo replication for this database.
|
|
239
257
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModuleArgs', 'ModuleArgsDict']]]] modules: Optional set of redis modules to enable in this database - modules can only be added at creation time.
|
|
@@ -248,11 +266,11 @@ class Database(pulumi.CustomResource):
|
|
|
248
266
|
args: DatabaseArgs,
|
|
249
267
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
250
268
|
"""
|
|
251
|
-
Describes a database on the
|
|
269
|
+
Describes a database on the Redis Enterprise cluster
|
|
252
270
|
|
|
253
|
-
Uses Azure REST API version
|
|
271
|
+
Uses Azure REST API version 2025-05-01-preview.
|
|
254
272
|
|
|
255
|
-
Other available API versions: 2020-10-01-preview, 2021-02-01-preview, 2021-03-01, 2021-08-01, 2022-01-01, 2022-11-01-preview, 2023-03-01-preview, 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-
|
|
273
|
+
Other available API versions: 2020-10-01-preview, 2021-02-01-preview, 2021-03-01, 2021-08-01, 2022-01-01, 2022-11-01-preview, 2023-03-01-preview, 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-03-01-preview, 2024-06-01-preview, 2024-09-01-preview, 2024-10-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redisenterprise [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
256
274
|
|
|
257
275
|
:param str resource_name: The name of the resource.
|
|
258
276
|
:param DatabaseArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -269,6 +287,7 @@ class Database(pulumi.CustomResource):
|
|
|
269
287
|
def _internal_init(__self__,
|
|
270
288
|
resource_name: str,
|
|
271
289
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
290
|
+
access_keys_authentication: Optional[pulumi.Input[Union[builtins.str, 'AccessKeysAuthentication']]] = None,
|
|
272
291
|
client_protocol: Optional[pulumi.Input[Union[builtins.str, 'Protocol']]] = None,
|
|
273
292
|
cluster_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
274
293
|
clustering_policy: Optional[pulumi.Input[Union[builtins.str, 'ClusteringPolicy']]] = None,
|
|
@@ -289,6 +308,7 @@ class Database(pulumi.CustomResource):
|
|
|
289
308
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
290
309
|
__props__ = DatabaseArgs.__new__(DatabaseArgs)
|
|
291
310
|
|
|
311
|
+
__props__.__dict__["access_keys_authentication"] = access_keys_authentication
|
|
292
312
|
__props__.__dict__["client_protocol"] = client_protocol
|
|
293
313
|
if cluster_name is None and not opts.urn:
|
|
294
314
|
raise TypeError("Missing required property 'cluster_name'")
|
|
@@ -309,6 +329,7 @@ class Database(pulumi.CustomResource):
|
|
|
309
329
|
__props__.__dict__["provisioning_state"] = None
|
|
310
330
|
__props__.__dict__["redis_version"] = None
|
|
311
331
|
__props__.__dict__["resource_state"] = None
|
|
332
|
+
__props__.__dict__["system_data"] = None
|
|
312
333
|
__props__.__dict__["type"] = None
|
|
313
334
|
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cache/v20230301preview:Database"), pulumi.Alias(type_="azure-native:cache/v20230701:Database"), pulumi.Alias(type_="azure-native:cache/v20230801preview:Database"), pulumi.Alias(type_="azure-native:cache/v20231001preview:Database"), pulumi.Alias(type_="azure-native:cache/v20231101:Database"), pulumi.Alias(type_="azure-native:cache/v20240201:Database"), pulumi.Alias(type_="azure-native:cache/v20240301preview:Database"), pulumi.Alias(type_="azure-native:cache/v20240601preview:Database"), pulumi.Alias(type_="azure-native:cache/v20240901preview:Database"), pulumi.Alias(type_="azure-native:cache/v20241001:Database"), pulumi.Alias(type_="azure-native:cache:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20201001preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20210201preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20210301:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20210801:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20220101:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20221101preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20230301preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20230701:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20230801preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20231001preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20231101:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20240201:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20240301preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20240601preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20240901preview:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20241001:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20250401:Database"), pulumi.Alias(type_="azure-native:redisenterprise/v20250501preview:Database")])
|
|
314
335
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
@@ -334,6 +355,7 @@ class Database(pulumi.CustomResource):
|
|
|
334
355
|
|
|
335
356
|
__props__ = DatabaseArgs.__new__(DatabaseArgs)
|
|
336
357
|
|
|
358
|
+
__props__.__dict__["access_keys_authentication"] = None
|
|
337
359
|
__props__.__dict__["azure_api_version"] = None
|
|
338
360
|
__props__.__dict__["client_protocol"] = None
|
|
339
361
|
__props__.__dict__["clustering_policy"] = None
|
|
@@ -347,9 +369,18 @@ class Database(pulumi.CustomResource):
|
|
|
347
369
|
__props__.__dict__["provisioning_state"] = None
|
|
348
370
|
__props__.__dict__["redis_version"] = None
|
|
349
371
|
__props__.__dict__["resource_state"] = None
|
|
372
|
+
__props__.__dict__["system_data"] = None
|
|
350
373
|
__props__.__dict__["type"] = None
|
|
351
374
|
return Database(resource_name, opts=opts, __props__=__props__)
|
|
352
375
|
|
|
376
|
+
@property
|
|
377
|
+
@pulumi.getter(name="accessKeysAuthentication")
|
|
378
|
+
def access_keys_authentication(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
379
|
+
"""
|
|
380
|
+
This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.
|
|
381
|
+
"""
|
|
382
|
+
return pulumi.get(self, "access_keys_authentication")
|
|
383
|
+
|
|
353
384
|
@property
|
|
354
385
|
@pulumi.getter(name="azureApiVersion")
|
|
355
386
|
def azure_api_version(self) -> pulumi.Output[builtins.str]:
|
|
@@ -370,7 +401,7 @@ class Database(pulumi.CustomResource):
|
|
|
370
401
|
@pulumi.getter(name="clusteringPolicy")
|
|
371
402
|
def clustering_policy(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
372
403
|
"""
|
|
373
|
-
Clustering policy - default is OSSCluster.
|
|
404
|
+
Clustering policy - default is OSSCluster. This property can be updated only if the current value is NoCluster. If the value is OSSCluster or EnterpriseCluster, it cannot be updated without deleting the database.
|
|
374
405
|
"""
|
|
375
406
|
return pulumi.get(self, "clustering_policy")
|
|
376
407
|
|
|
@@ -378,7 +409,7 @@ class Database(pulumi.CustomResource):
|
|
|
378
409
|
@pulumi.getter(name="deferUpgrade")
|
|
379
410
|
def defer_upgrade(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
380
411
|
"""
|
|
381
|
-
Option to defer upgrade when newest version is released - default is NotDeferred. Learn more:
|
|
412
|
+
Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade
|
|
382
413
|
"""
|
|
383
414
|
return pulumi.get(self, "defer_upgrade")
|
|
384
415
|
|
|
@@ -454,6 +485,14 @@ class Database(pulumi.CustomResource):
|
|
|
454
485
|
"""
|
|
455
486
|
return pulumi.get(self, "resource_state")
|
|
456
487
|
|
|
488
|
+
@property
|
|
489
|
+
@pulumi.getter(name="systemData")
|
|
490
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
491
|
+
"""
|
|
492
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
493
|
+
"""
|
|
494
|
+
return pulumi.get(self, "system_data")
|
|
495
|
+
|
|
457
496
|
@property
|
|
458
497
|
@pulumi.getter
|
|
459
498
|
def type(self) -> pulumi.Output[builtins.str]:
|
|
@@ -131,13 +131,13 @@ def get_access_policy_assignment(access_policy_assignment_name: Optional[builtin
|
|
|
131
131
|
"""
|
|
132
132
|
Gets information about access policy assignment for database.
|
|
133
133
|
|
|
134
|
-
Uses Azure REST API version
|
|
134
|
+
Uses Azure REST API version 2025-05-01-preview.
|
|
135
135
|
|
|
136
|
-
Other available API versions:
|
|
136
|
+
Other available API versions: 2024-09-01-preview, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redisenterprise [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
:param builtins.str access_policy_assignment_name: The name of the Redis Enterprise database access policy assignment.
|
|
140
|
-
:param builtins.str cluster_name: The name of the Redis Enterprise cluster.
|
|
140
|
+
:param builtins.str cluster_name: The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
141
141
|
:param builtins.str database_name: The name of the Redis Enterprise database.
|
|
142
142
|
:param builtins.str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
143
143
|
"""
|
|
@@ -165,13 +165,13 @@ def get_access_policy_assignment_output(access_policy_assignment_name: Optional[
|
|
|
165
165
|
"""
|
|
166
166
|
Gets information about access policy assignment for database.
|
|
167
167
|
|
|
168
|
-
Uses Azure REST API version
|
|
168
|
+
Uses Azure REST API version 2025-05-01-preview.
|
|
169
169
|
|
|
170
|
-
Other available API versions:
|
|
170
|
+
Other available API versions: 2024-09-01-preview, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redisenterprise [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
:param builtins.str access_policy_assignment_name: The name of the Redis Enterprise database access policy assignment.
|
|
174
|
-
:param builtins.str cluster_name: The name of the Redis Enterprise cluster.
|
|
174
|
+
:param builtins.str cluster_name: The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
|
|
175
175
|
:param builtins.str database_name: The name of the Redis Enterprise database.
|
|
176
176
|
:param builtins.str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
177
177
|
"""
|