pulumi-azure-native 2.68.0__py3-none-any.whl → 2.68.0a1729267188__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 (183) hide show
  1. pulumi_azure_native/__init__.py +0 -50
  2. pulumi_azure_native/awsconnector/_inputs.py +96 -132
  3. pulumi_azure_native/awsconnector/outputs.py +66 -120
  4. pulumi_azure_native/awsconnector/v20241201/_inputs.py +96 -132
  5. pulumi_azure_native/awsconnector/v20241201/outputs.py +66 -120
  6. pulumi_azure_native/cache/__init__.py +0 -3
  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/costmanagement/__init__.py +0 -3
  57. pulumi_azure_native/costmanagement/budget.py +3 -3
  58. pulumi_azure_native/costmanagement/cost_allocation_rule.py +3 -3
  59. pulumi_azure_native/costmanagement/export.py +3 -3
  60. pulumi_azure_native/costmanagement/get_budget.py +2 -2
  61. pulumi_azure_native/costmanagement/get_cost_allocation_rule.py +2 -2
  62. pulumi_azure_native/costmanagement/get_export.py +2 -2
  63. pulumi_azure_native/costmanagement/get_scheduled_action.py +2 -2
  64. pulumi_azure_native/costmanagement/get_scheduled_action_by_scope.py +2 -2
  65. pulumi_azure_native/costmanagement/get_view.py +2 -2
  66. pulumi_azure_native/costmanagement/get_view_by_scope.py +2 -2
  67. pulumi_azure_native/costmanagement/scheduled_action.py +3 -3
  68. pulumi_azure_native/costmanagement/scheduled_action_by_scope.py +3 -3
  69. pulumi_azure_native/costmanagement/tag_inheritance_setting.py +1 -1
  70. pulumi_azure_native/costmanagement/v20190401preview/budget.py +1 -1
  71. pulumi_azure_native/costmanagement/v20191001/export.py +1 -1
  72. pulumi_azure_native/costmanagement/v20191101/view.py +1 -1
  73. pulumi_azure_native/costmanagement/v20191101/view_by_scope.py +1 -1
  74. pulumi_azure_native/costmanagement/v20200301preview/cost_allocation_rule.py +1 -1
  75. pulumi_azure_native/costmanagement/v20200601/view.py +1 -1
  76. pulumi_azure_native/costmanagement/v20200601/view_by_scope.py +1 -1
  77. pulumi_azure_native/costmanagement/v20221001/view.py +1 -1
  78. pulumi_azure_native/costmanagement/v20221001/view_by_scope.py +1 -1
  79. pulumi_azure_native/costmanagement/v20221005preview/tag_inheritance_setting.py +1 -1
  80. pulumi_azure_native/costmanagement/v20221005preview/view.py +1 -1
  81. pulumi_azure_native/costmanagement/v20221005preview/view_by_scope.py +1 -1
  82. pulumi_azure_native/costmanagement/v20230301/export.py +1 -1
  83. pulumi_azure_native/costmanagement/v20230301/scheduled_action.py +1 -1
  84. pulumi_azure_native/costmanagement/v20230301/scheduled_action_by_scope.py +1 -1
  85. pulumi_azure_native/costmanagement/v20230301/view.py +1 -1
  86. pulumi_azure_native/costmanagement/v20230301/view_by_scope.py +1 -1
  87. pulumi_azure_native/costmanagement/v20230401preview/budget.py +1 -1
  88. pulumi_azure_native/costmanagement/v20230401preview/export.py +1 -1
  89. pulumi_azure_native/costmanagement/v20230401preview/scheduled_action.py +1 -1
  90. pulumi_azure_native/costmanagement/v20230401preview/scheduled_action_by_scope.py +1 -1
  91. pulumi_azure_native/costmanagement/v20230401preview/view.py +1 -1
  92. pulumi_azure_native/costmanagement/v20230401preview/view_by_scope.py +1 -1
  93. pulumi_azure_native/costmanagement/v20230701preview/export.py +1 -1
  94. pulumi_azure_native/costmanagement/v20230701preview/scheduled_action.py +1 -1
  95. pulumi_azure_native/costmanagement/v20230701preview/scheduled_action_by_scope.py +1 -1
  96. pulumi_azure_native/costmanagement/v20230701preview/view.py +1 -1
  97. pulumi_azure_native/costmanagement/v20230701preview/view_by_scope.py +1 -1
  98. pulumi_azure_native/costmanagement/v20230801/budget.py +1 -1
  99. pulumi_azure_native/costmanagement/v20230801/cost_allocation_rule.py +1 -1
  100. pulumi_azure_native/costmanagement/v20230801/export.py +1 -1
  101. pulumi_azure_native/costmanagement/v20230801/scheduled_action.py +1 -1
  102. pulumi_azure_native/costmanagement/v20230801/scheduled_action_by_scope.py +1 -1
  103. pulumi_azure_native/costmanagement/v20230801/tag_inheritance_setting.py +1 -1
  104. pulumi_azure_native/costmanagement/v20230801/view.py +1 -1
  105. pulumi_azure_native/costmanagement/v20230801/view_by_scope.py +1 -1
  106. pulumi_azure_native/costmanagement/v20230901/budget.py +1 -1
  107. pulumi_azure_native/costmanagement/v20230901/cost_allocation_rule.py +1 -1
  108. pulumi_azure_native/costmanagement/v20230901/export.py +1 -1
  109. pulumi_azure_native/costmanagement/v20230901/scheduled_action.py +1 -1
  110. pulumi_azure_native/costmanagement/v20230901/scheduled_action_by_scope.py +1 -1
  111. pulumi_azure_native/costmanagement/v20230901/tag_inheritance_setting.py +1 -1
  112. pulumi_azure_native/costmanagement/v20230901/view.py +1 -1
  113. pulumi_azure_native/costmanagement/v20230901/view_by_scope.py +1 -1
  114. pulumi_azure_native/costmanagement/v20231101/budget.py +1 -1
  115. pulumi_azure_native/costmanagement/v20231101/cost_allocation_rule.py +1 -1
  116. pulumi_azure_native/costmanagement/v20231101/export.py +1 -1
  117. pulumi_azure_native/costmanagement/v20231101/scheduled_action.py +1 -1
  118. pulumi_azure_native/costmanagement/v20231101/scheduled_action_by_scope.py +1 -1
  119. pulumi_azure_native/costmanagement/v20231101/tag_inheritance_setting.py +1 -1
  120. pulumi_azure_native/costmanagement/v20231101/view.py +1 -1
  121. pulumi_azure_native/costmanagement/v20231101/view_by_scope.py +1 -1
  122. pulumi_azure_native/costmanagement/view.py +3 -3
  123. pulumi_azure_native/costmanagement/view_by_scope.py +3 -3
  124. pulumi_azure_native/pulumi-plugin.json +1 -1
  125. {pulumi_azure_native-2.68.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/METADATA +1 -1
  126. {pulumi_azure_native-2.68.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/RECORD +128 -183
  127. pulumi_azure_native/cache/v20241101/__init__.py +0 -25
  128. pulumi_azure_native/cache/v20241101/_enums.py +0 -111
  129. pulumi_azure_native/cache/v20241101/_inputs.py +0 -646
  130. pulumi_azure_native/cache/v20241101/access_policy.py +0 -219
  131. pulumi_azure_native/cache/v20241101/access_policy_assignment.py +0 -279
  132. pulumi_azure_native/cache/v20241101/firewall_rule.py +0 -239
  133. pulumi_azure_native/cache/v20241101/get_access_policy.py +0 -148
  134. pulumi_azure_native/cache/v20241101/get_access_policy_assignment.py +0 -176
  135. pulumi_azure_native/cache/v20241101/get_firewall_rule.py +0 -148
  136. pulumi_azure_native/cache/v20241101/get_linked_server.py +0 -204
  137. pulumi_azure_native/cache/v20241101/get_patch_schedule.py +0 -149
  138. pulumi_azure_native/cache/v20241101/get_private_endpoint_connection.py +0 -163
  139. pulumi_azure_native/cache/v20241101/get_redis.py +0 -493
  140. pulumi_azure_native/cache/v20241101/linked_server.py +0 -299
  141. pulumi_azure_native/cache/v20241101/list_redis_keys.py +0 -100
  142. pulumi_azure_native/cache/v20241101/outputs.py +0 -917
  143. pulumi_azure_native/cache/v20241101/patch_schedule.py +0 -221
  144. pulumi_azure_native/cache/v20241101/private_endpoint_connection.py +0 -232
  145. pulumi_azure_native/cache/v20241101/redis.py +0 -804
  146. pulumi_azure_native/costmanagement/v20240801/__init__.py +0 -26
  147. pulumi_azure_native/costmanagement/v20240801/_enums.py +0 -538
  148. pulumi_azure_native/costmanagement/v20240801/_inputs.py +0 -2660
  149. pulumi_azure_native/costmanagement/v20240801/budget.py +0 -619
  150. pulumi_azure_native/costmanagement/v20240801/cost_allocation_rule.py +0 -190
  151. pulumi_azure_native/costmanagement/v20240801/export.py +0 -415
  152. pulumi_azure_native/costmanagement/v20240801/get_budget.py +0 -337
  153. pulumi_azure_native/costmanagement/v20240801/get_cost_allocation_rule.py +0 -129
  154. pulumi_azure_native/costmanagement/v20240801/get_export.py +0 -261
  155. pulumi_azure_native/costmanagement/v20240801/get_scheduled_action.py +0 -263
  156. pulumi_azure_native/costmanagement/v20240801/get_scheduled_action_by_scope.py +0 -269
  157. pulumi_azure_native/costmanagement/v20240801/get_tag_inheritance_setting.py +0 -144
  158. pulumi_azure_native/costmanagement/v20240801/get_view.py +0 -333
  159. pulumi_azure_native/costmanagement/v20240801/get_view_by_scope.py +0 -339
  160. pulumi_azure_native/costmanagement/v20240801/outputs.py +0 -2593
  161. pulumi_azure_native/costmanagement/v20240801/scheduled_action.py +0 -425
  162. pulumi_azure_native/costmanagement/v20240801/scheduled_action_by_scope.py +0 -426
  163. pulumi_azure_native/costmanagement/v20240801/tag_inheritance_setting.py +0 -222
  164. pulumi_azure_native/costmanagement/v20240801/view.py +0 -587
  165. pulumi_azure_native/costmanagement/v20240801/view_by_scope.py +0 -588
  166. pulumi_azure_native/secretsynccontroller/__init__.py +0 -22
  167. pulumi_azure_native/secretsynccontroller/_enums.py +0 -38
  168. pulumi_azure_native/secretsynccontroller/_inputs.py +0 -134
  169. pulumi_azure_native/secretsynccontroller/azure_key_vault_secret_provider_class.py +0 -389
  170. pulumi_azure_native/secretsynccontroller/get_azure_key_vault_secret_provider_class.py +0 -243
  171. pulumi_azure_native/secretsynccontroller/get_secret_sync.py +0 -271
  172. pulumi_azure_native/secretsynccontroller/outputs.py +0 -367
  173. pulumi_azure_native/secretsynccontroller/secret_sync.py +0 -429
  174. pulumi_azure_native/secretsynccontroller/v20240821preview/__init__.py +0 -14
  175. pulumi_azure_native/secretsynccontroller/v20240821preview/_enums.py +0 -38
  176. pulumi_azure_native/secretsynccontroller/v20240821preview/_inputs.py +0 -134
  177. pulumi_azure_native/secretsynccontroller/v20240821preview/azure_key_vault_secret_provider_class.py +0 -387
  178. pulumi_azure_native/secretsynccontroller/v20240821preview/get_azure_key_vault_secret_provider_class.py +0 -241
  179. pulumi_azure_native/secretsynccontroller/v20240821preview/get_secret_sync.py +0 -269
  180. pulumi_azure_native/secretsynccontroller/v20240821preview/outputs.py +0 -367
  181. pulumi_azure_native/secretsynccontroller/v20240821preview/secret_sync.py +0 -427
  182. {pulumi_azure_native-2.68.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/WHEEL +0 -0
  183. {pulumi_azure_native-2.68.0.dist-info → pulumi_azure_native-2.68.0a1729267188.dist-info}/top_level.txt +0 -0
@@ -1,148 +0,0 @@
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
-
17
- __all__ = [
18
- 'GetFirewallRuleResult',
19
- 'AwaitableGetFirewallRuleResult',
20
- 'get_firewall_rule',
21
- 'get_firewall_rule_output',
22
- ]
23
-
24
- @pulumi.output_type
25
- class GetFirewallRuleResult:
26
- """
27
- A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect
28
- """
29
- def __init__(__self__, end_ip=None, id=None, name=None, start_ip=None, type=None):
30
- if end_ip and not isinstance(end_ip, str):
31
- raise TypeError("Expected argument 'end_ip' to be a str")
32
- pulumi.set(__self__, "end_ip", end_ip)
33
- if id and not isinstance(id, str):
34
- raise TypeError("Expected argument 'id' to be a str")
35
- pulumi.set(__self__, "id", id)
36
- if name and not isinstance(name, str):
37
- raise TypeError("Expected argument 'name' to be a str")
38
- pulumi.set(__self__, "name", name)
39
- if start_ip and not isinstance(start_ip, str):
40
- raise TypeError("Expected argument 'start_ip' to be a str")
41
- pulumi.set(__self__, "start_ip", start_ip)
42
- if type and not isinstance(type, str):
43
- raise TypeError("Expected argument 'type' to be a str")
44
- pulumi.set(__self__, "type", type)
45
-
46
- @property
47
- @pulumi.getter(name="endIP")
48
- def end_ip(self) -> str:
49
- """
50
- highest IP address included in the range
51
- """
52
- return pulumi.get(self, "end_ip")
53
-
54
- @property
55
- @pulumi.getter
56
- def id(self) -> str:
57
- """
58
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
59
- """
60
- return pulumi.get(self, "id")
61
-
62
- @property
63
- @pulumi.getter
64
- def name(self) -> str:
65
- """
66
- The name of the resource
67
- """
68
- return pulumi.get(self, "name")
69
-
70
- @property
71
- @pulumi.getter(name="startIP")
72
- def start_ip(self) -> str:
73
- """
74
- lowest IP address included in the range
75
- """
76
- return pulumi.get(self, "start_ip")
77
-
78
- @property
79
- @pulumi.getter
80
- def type(self) -> str:
81
- """
82
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
83
- """
84
- return pulumi.get(self, "type")
85
-
86
-
87
- class AwaitableGetFirewallRuleResult(GetFirewallRuleResult):
88
- # pylint: disable=using-constant-test
89
- def __await__(self):
90
- if False:
91
- yield self
92
- return GetFirewallRuleResult(
93
- end_ip=self.end_ip,
94
- id=self.id,
95
- name=self.name,
96
- start_ip=self.start_ip,
97
- type=self.type)
98
-
99
-
100
- def get_firewall_rule(cache_name: Optional[str] = None,
101
- resource_group_name: Optional[str] = None,
102
- rule_name: Optional[str] = None,
103
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallRuleResult:
104
- """
105
- Gets a single firewall rule in a specified redis cache.
106
-
107
-
108
- :param str cache_name: The name of the Redis cache.
109
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
110
- :param str rule_name: The name of the firewall rule.
111
- """
112
- __args__ = dict()
113
- __args__['cacheName'] = cache_name
114
- __args__['resourceGroupName'] = resource_group_name
115
- __args__['ruleName'] = rule_name
116
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
117
- __ret__ = pulumi.runtime.invoke('azure-native:cache/v20241101:getFirewallRule', __args__, opts=opts, typ=GetFirewallRuleResult).value
118
-
119
- return AwaitableGetFirewallRuleResult(
120
- end_ip=pulumi.get(__ret__, 'end_ip'),
121
- id=pulumi.get(__ret__, 'id'),
122
- name=pulumi.get(__ret__, 'name'),
123
- start_ip=pulumi.get(__ret__, 'start_ip'),
124
- type=pulumi.get(__ret__, 'type'))
125
- def get_firewall_rule_output(cache_name: Optional[pulumi.Input[str]] = None,
126
- resource_group_name: Optional[pulumi.Input[str]] = None,
127
- rule_name: Optional[pulumi.Input[str]] = None,
128
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallRuleResult]:
129
- """
130
- Gets a single firewall rule in a specified redis cache.
131
-
132
-
133
- :param str cache_name: The name of the Redis cache.
134
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
135
- :param str rule_name: The name of the firewall rule.
136
- """
137
- __args__ = dict()
138
- __args__['cacheName'] = cache_name
139
- __args__['resourceGroupName'] = resource_group_name
140
- __args__['ruleName'] = rule_name
141
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
142
- __ret__ = pulumi.runtime.invoke_output('azure-native:cache/v20241101:getFirewallRule', __args__, opts=opts, typ=GetFirewallRuleResult)
143
- return __ret__.apply(lambda __response__: GetFirewallRuleResult(
144
- end_ip=pulumi.get(__response__, 'end_ip'),
145
- id=pulumi.get(__response__, 'id'),
146
- name=pulumi.get(__response__, 'name'),
147
- start_ip=pulumi.get(__response__, 'start_ip'),
148
- type=pulumi.get(__response__, 'type')))
@@ -1,204 +0,0 @@
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
-
17
- __all__ = [
18
- 'GetLinkedServerResult',
19
- 'AwaitableGetLinkedServerResult',
20
- 'get_linked_server',
21
- 'get_linked_server_output',
22
- ]
23
-
24
- @pulumi.output_type
25
- class GetLinkedServerResult:
26
- """
27
- Response to put/get linked server (with properties) for Redis cache.
28
- """
29
- def __init__(__self__, geo_replicated_primary_host_name=None, id=None, linked_redis_cache_id=None, linked_redis_cache_location=None, name=None, primary_host_name=None, provisioning_state=None, server_role=None, type=None):
30
- if geo_replicated_primary_host_name and not isinstance(geo_replicated_primary_host_name, str):
31
- raise TypeError("Expected argument 'geo_replicated_primary_host_name' to be a str")
32
- pulumi.set(__self__, "geo_replicated_primary_host_name", geo_replicated_primary_host_name)
33
- if id and not isinstance(id, str):
34
- raise TypeError("Expected argument 'id' to be a str")
35
- pulumi.set(__self__, "id", id)
36
- if linked_redis_cache_id and not isinstance(linked_redis_cache_id, str):
37
- raise TypeError("Expected argument 'linked_redis_cache_id' to be a str")
38
- pulumi.set(__self__, "linked_redis_cache_id", linked_redis_cache_id)
39
- if linked_redis_cache_location and not isinstance(linked_redis_cache_location, str):
40
- raise TypeError("Expected argument 'linked_redis_cache_location' to be a str")
41
- pulumi.set(__self__, "linked_redis_cache_location", linked_redis_cache_location)
42
- if name and not isinstance(name, str):
43
- raise TypeError("Expected argument 'name' to be a str")
44
- pulumi.set(__self__, "name", name)
45
- if primary_host_name and not isinstance(primary_host_name, str):
46
- raise TypeError("Expected argument 'primary_host_name' to be a str")
47
- pulumi.set(__self__, "primary_host_name", primary_host_name)
48
- if provisioning_state and not isinstance(provisioning_state, str):
49
- raise TypeError("Expected argument 'provisioning_state' to be a str")
50
- pulumi.set(__self__, "provisioning_state", provisioning_state)
51
- if server_role and not isinstance(server_role, str):
52
- raise TypeError("Expected argument 'server_role' to be a str")
53
- pulumi.set(__self__, "server_role", server_role)
54
- if type and not isinstance(type, str):
55
- raise TypeError("Expected argument 'type' to be a str")
56
- pulumi.set(__self__, "type", type)
57
-
58
- @property
59
- @pulumi.getter(name="geoReplicatedPrimaryHostName")
60
- def geo_replicated_primary_host_name(self) -> str:
61
- """
62
- The unchanging DNS name which will always point to current geo-primary cache among the linked redis caches for seamless Geo Failover experience.
63
- """
64
- return pulumi.get(self, "geo_replicated_primary_host_name")
65
-
66
- @property
67
- @pulumi.getter
68
- def id(self) -> str:
69
- """
70
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
71
- """
72
- return pulumi.get(self, "id")
73
-
74
- @property
75
- @pulumi.getter(name="linkedRedisCacheId")
76
- def linked_redis_cache_id(self) -> str:
77
- """
78
- Fully qualified resourceId of the linked redis cache.
79
- """
80
- return pulumi.get(self, "linked_redis_cache_id")
81
-
82
- @property
83
- @pulumi.getter(name="linkedRedisCacheLocation")
84
- def linked_redis_cache_location(self) -> str:
85
- """
86
- Location of the linked redis cache.
87
- """
88
- return pulumi.get(self, "linked_redis_cache_location")
89
-
90
- @property
91
- @pulumi.getter
92
- def name(self) -> str:
93
- """
94
- The name of the resource
95
- """
96
- return pulumi.get(self, "name")
97
-
98
- @property
99
- @pulumi.getter(name="primaryHostName")
100
- def primary_host_name(self) -> str:
101
- """
102
- The changing DNS name that resolves to the current geo-primary cache among the linked redis caches before or after the Geo Failover.
103
- """
104
- return pulumi.get(self, "primary_host_name")
105
-
106
- @property
107
- @pulumi.getter(name="provisioningState")
108
- def provisioning_state(self) -> str:
109
- """
110
- Terminal state of the link between primary and secondary redis cache.
111
- """
112
- return pulumi.get(self, "provisioning_state")
113
-
114
- @property
115
- @pulumi.getter(name="serverRole")
116
- def server_role(self) -> str:
117
- """
118
- Role of the linked server.
119
- """
120
- return pulumi.get(self, "server_role")
121
-
122
- @property
123
- @pulumi.getter
124
- def type(self) -> str:
125
- """
126
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
127
- """
128
- return pulumi.get(self, "type")
129
-
130
-
131
- class AwaitableGetLinkedServerResult(GetLinkedServerResult):
132
- # pylint: disable=using-constant-test
133
- def __await__(self):
134
- if False:
135
- yield self
136
- return GetLinkedServerResult(
137
- geo_replicated_primary_host_name=self.geo_replicated_primary_host_name,
138
- id=self.id,
139
- linked_redis_cache_id=self.linked_redis_cache_id,
140
- linked_redis_cache_location=self.linked_redis_cache_location,
141
- name=self.name,
142
- primary_host_name=self.primary_host_name,
143
- provisioning_state=self.provisioning_state,
144
- server_role=self.server_role,
145
- type=self.type)
146
-
147
-
148
- def get_linked_server(linked_server_name: Optional[str] = None,
149
- name: Optional[str] = None,
150
- resource_group_name: Optional[str] = None,
151
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLinkedServerResult:
152
- """
153
- Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
154
-
155
-
156
- :param str linked_server_name: The name of the linked server.
157
- :param str name: The name of the redis cache.
158
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
159
- """
160
- __args__ = dict()
161
- __args__['linkedServerName'] = linked_server_name
162
- __args__['name'] = name
163
- __args__['resourceGroupName'] = resource_group_name
164
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
165
- __ret__ = pulumi.runtime.invoke('azure-native:cache/v20241101:getLinkedServer', __args__, opts=opts, typ=GetLinkedServerResult).value
166
-
167
- return AwaitableGetLinkedServerResult(
168
- geo_replicated_primary_host_name=pulumi.get(__ret__, 'geo_replicated_primary_host_name'),
169
- id=pulumi.get(__ret__, 'id'),
170
- linked_redis_cache_id=pulumi.get(__ret__, 'linked_redis_cache_id'),
171
- linked_redis_cache_location=pulumi.get(__ret__, 'linked_redis_cache_location'),
172
- name=pulumi.get(__ret__, 'name'),
173
- primary_host_name=pulumi.get(__ret__, 'primary_host_name'),
174
- provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
175
- server_role=pulumi.get(__ret__, 'server_role'),
176
- type=pulumi.get(__ret__, 'type'))
177
- def get_linked_server_output(linked_server_name: Optional[pulumi.Input[str]] = None,
178
- name: Optional[pulumi.Input[str]] = None,
179
- resource_group_name: Optional[pulumi.Input[str]] = None,
180
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLinkedServerResult]:
181
- """
182
- Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
183
-
184
-
185
- :param str linked_server_name: The name of the linked server.
186
- :param str name: The name of the redis cache.
187
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
188
- """
189
- __args__ = dict()
190
- __args__['linkedServerName'] = linked_server_name
191
- __args__['name'] = name
192
- __args__['resourceGroupName'] = resource_group_name
193
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
194
- __ret__ = pulumi.runtime.invoke_output('azure-native:cache/v20241101:getLinkedServer', __args__, opts=opts, typ=GetLinkedServerResult)
195
- return __ret__.apply(lambda __response__: GetLinkedServerResult(
196
- geo_replicated_primary_host_name=pulumi.get(__response__, 'geo_replicated_primary_host_name'),
197
- id=pulumi.get(__response__, 'id'),
198
- linked_redis_cache_id=pulumi.get(__response__, 'linked_redis_cache_id'),
199
- linked_redis_cache_location=pulumi.get(__response__, 'linked_redis_cache_location'),
200
- name=pulumi.get(__response__, 'name'),
201
- primary_host_name=pulumi.get(__response__, 'primary_host_name'),
202
- provisioning_state=pulumi.get(__response__, 'provisioning_state'),
203
- server_role=pulumi.get(__response__, 'server_role'),
204
- type=pulumi.get(__response__, 'type')))
@@ -1,149 +0,0 @@
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
- 'GetPatchScheduleResult',
20
- 'AwaitableGetPatchScheduleResult',
21
- 'get_patch_schedule',
22
- 'get_patch_schedule_output',
23
- ]
24
-
25
- @pulumi.output_type
26
- class GetPatchScheduleResult:
27
- """
28
- Response to put/get patch schedules for Redis cache.
29
- """
30
- def __init__(__self__, id=None, location=None, name=None, schedule_entries=None, type=None):
31
- if id and not isinstance(id, str):
32
- raise TypeError("Expected argument 'id' to be a str")
33
- pulumi.set(__self__, "id", id)
34
- if location and not isinstance(location, str):
35
- raise TypeError("Expected argument 'location' to be a str")
36
- pulumi.set(__self__, "location", location)
37
- if name and not isinstance(name, str):
38
- raise TypeError("Expected argument 'name' to be a str")
39
- pulumi.set(__self__, "name", name)
40
- if schedule_entries and not isinstance(schedule_entries, list):
41
- raise TypeError("Expected argument 'schedule_entries' to be a list")
42
- pulumi.set(__self__, "schedule_entries", schedule_entries)
43
- if type and not isinstance(type, str):
44
- raise TypeError("Expected argument 'type' to be a str")
45
- pulumi.set(__self__, "type", type)
46
-
47
- @property
48
- @pulumi.getter
49
- def id(self) -> str:
50
- """
51
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
52
- """
53
- return pulumi.get(self, "id")
54
-
55
- @property
56
- @pulumi.getter
57
- def location(self) -> str:
58
- """
59
- The geo-location where the resource lives
60
- """
61
- return pulumi.get(self, "location")
62
-
63
- @property
64
- @pulumi.getter
65
- def name(self) -> str:
66
- """
67
- The name of the resource
68
- """
69
- return pulumi.get(self, "name")
70
-
71
- @property
72
- @pulumi.getter(name="scheduleEntries")
73
- def schedule_entries(self) -> Sequence['outputs.ScheduleEntryResponse']:
74
- """
75
- List of patch schedules for a Redis cache.
76
- """
77
- return pulumi.get(self, "schedule_entries")
78
-
79
- @property
80
- @pulumi.getter
81
- def type(self) -> str:
82
- """
83
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
84
- """
85
- return pulumi.get(self, "type")
86
-
87
-
88
- class AwaitableGetPatchScheduleResult(GetPatchScheduleResult):
89
- # pylint: disable=using-constant-test
90
- def __await__(self):
91
- if False:
92
- yield self
93
- return GetPatchScheduleResult(
94
- id=self.id,
95
- location=self.location,
96
- name=self.name,
97
- schedule_entries=self.schedule_entries,
98
- type=self.type)
99
-
100
-
101
- def get_patch_schedule(default: Optional[str] = None,
102
- name: Optional[str] = None,
103
- resource_group_name: Optional[str] = None,
104
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPatchScheduleResult:
105
- """
106
- Gets the patching schedule of a redis cache.
107
-
108
-
109
- :param str default: Default string modeled as parameter for auto generation to work correctly.
110
- :param str name: The name of the redis cache.
111
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
112
- """
113
- __args__ = dict()
114
- __args__['default'] = default
115
- __args__['name'] = name
116
- __args__['resourceGroupName'] = resource_group_name
117
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
118
- __ret__ = pulumi.runtime.invoke('azure-native:cache/v20241101:getPatchSchedule', __args__, opts=opts, typ=GetPatchScheduleResult).value
119
-
120
- return AwaitableGetPatchScheduleResult(
121
- id=pulumi.get(__ret__, 'id'),
122
- location=pulumi.get(__ret__, 'location'),
123
- name=pulumi.get(__ret__, 'name'),
124
- schedule_entries=pulumi.get(__ret__, 'schedule_entries'),
125
- type=pulumi.get(__ret__, 'type'))
126
- def get_patch_schedule_output(default: Optional[pulumi.Input[str]] = None,
127
- name: Optional[pulumi.Input[str]] = None,
128
- resource_group_name: Optional[pulumi.Input[str]] = None,
129
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPatchScheduleResult]:
130
- """
131
- Gets the patching schedule of a redis cache.
132
-
133
-
134
- :param str default: Default string modeled as parameter for auto generation to work correctly.
135
- :param str name: The name of the redis cache.
136
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
137
- """
138
- __args__ = dict()
139
- __args__['default'] = default
140
- __args__['name'] = name
141
- __args__['resourceGroupName'] = resource_group_name
142
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
143
- __ret__ = pulumi.runtime.invoke_output('azure-native:cache/v20241101:getPatchSchedule', __args__, opts=opts, typ=GetPatchScheduleResult)
144
- return __ret__.apply(lambda __response__: GetPatchScheduleResult(
145
- id=pulumi.get(__response__, 'id'),
146
- location=pulumi.get(__response__, 'location'),
147
- name=pulumi.get(__response__, 'name'),
148
- schedule_entries=pulumi.get(__response__, 'schedule_entries'),
149
- type=pulumi.get(__response__, 'type')))
@@ -1,163 +0,0 @@
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
- 'GetPrivateEndpointConnectionResult',
20
- 'AwaitableGetPrivateEndpointConnectionResult',
21
- 'get_private_endpoint_connection',
22
- 'get_private_endpoint_connection_output',
23
- ]
24
-
25
- @pulumi.output_type
26
- class GetPrivateEndpointConnectionResult:
27
- """
28
- The Private Endpoint Connection resource.
29
- """
30
- def __init__(__self__, id=None, name=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, type=None):
31
- if id and not isinstance(id, str):
32
- raise TypeError("Expected argument 'id' to be a str")
33
- pulumi.set(__self__, "id", id)
34
- if name and not isinstance(name, str):
35
- raise TypeError("Expected argument 'name' to be a str")
36
- pulumi.set(__self__, "name", name)
37
- if private_endpoint and not isinstance(private_endpoint, dict):
38
- raise TypeError("Expected argument 'private_endpoint' to be a dict")
39
- pulumi.set(__self__, "private_endpoint", private_endpoint)
40
- if private_link_service_connection_state and not isinstance(private_link_service_connection_state, dict):
41
- raise TypeError("Expected argument 'private_link_service_connection_state' to be a dict")
42
- pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
43
- if provisioning_state and not isinstance(provisioning_state, str):
44
- raise TypeError("Expected argument 'provisioning_state' to be a str")
45
- pulumi.set(__self__, "provisioning_state", provisioning_state)
46
- if type and not isinstance(type, str):
47
- raise TypeError("Expected argument 'type' to be a str")
48
- pulumi.set(__self__, "type", type)
49
-
50
- @property
51
- @pulumi.getter
52
- def id(self) -> str:
53
- """
54
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
55
- """
56
- return pulumi.get(self, "id")
57
-
58
- @property
59
- @pulumi.getter
60
- def name(self) -> str:
61
- """
62
- The name of the resource
63
- """
64
- return pulumi.get(self, "name")
65
-
66
- @property
67
- @pulumi.getter(name="privateEndpoint")
68
- def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
69
- """
70
- The resource of private end point.
71
- """
72
- return pulumi.get(self, "private_endpoint")
73
-
74
- @property
75
- @pulumi.getter(name="privateLinkServiceConnectionState")
76
- def private_link_service_connection_state(self) -> 'outputs.PrivateLinkServiceConnectionStateResponse':
77
- """
78
- A collection of information about the state of the connection between service consumer and provider.
79
- """
80
- return pulumi.get(self, "private_link_service_connection_state")
81
-
82
- @property
83
- @pulumi.getter(name="provisioningState")
84
- def provisioning_state(self) -> str:
85
- """
86
- The provisioning state of the private endpoint connection resource.
87
- """
88
- return pulumi.get(self, "provisioning_state")
89
-
90
- @property
91
- @pulumi.getter
92
- def type(self) -> str:
93
- """
94
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
95
- """
96
- return pulumi.get(self, "type")
97
-
98
-
99
- class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult):
100
- # pylint: disable=using-constant-test
101
- def __await__(self):
102
- if False:
103
- yield self
104
- return GetPrivateEndpointConnectionResult(
105
- id=self.id,
106
- name=self.name,
107
- private_endpoint=self.private_endpoint,
108
- private_link_service_connection_state=self.private_link_service_connection_state,
109
- provisioning_state=self.provisioning_state,
110
- type=self.type)
111
-
112
-
113
- def get_private_endpoint_connection(cache_name: Optional[str] = None,
114
- private_endpoint_connection_name: Optional[str] = None,
115
- resource_group_name: Optional[str] = None,
116
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult:
117
- """
118
- Gets the specified private endpoint connection associated with the redis cache.
119
-
120
-
121
- :param str cache_name: The name of the Redis cache.
122
- :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource
123
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
124
- """
125
- __args__ = dict()
126
- __args__['cacheName'] = cache_name
127
- __args__['privateEndpointConnectionName'] = private_endpoint_connection_name
128
- __args__['resourceGroupName'] = resource_group_name
129
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
130
- __ret__ = pulumi.runtime.invoke('azure-native:cache/v20241101:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value
131
-
132
- return AwaitableGetPrivateEndpointConnectionResult(
133
- id=pulumi.get(__ret__, 'id'),
134
- name=pulumi.get(__ret__, 'name'),
135
- private_endpoint=pulumi.get(__ret__, 'private_endpoint'),
136
- private_link_service_connection_state=pulumi.get(__ret__, 'private_link_service_connection_state'),
137
- provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
138
- type=pulumi.get(__ret__, 'type'))
139
- def get_private_endpoint_connection_output(cache_name: Optional[pulumi.Input[str]] = None,
140
- private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
141
- resource_group_name: Optional[pulumi.Input[str]] = None,
142
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]:
143
- """
144
- Gets the specified private endpoint connection associated with the redis cache.
145
-
146
-
147
- :param str cache_name: The name of the Redis cache.
148
- :param str private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource
149
- :param str resource_group_name: The name of the resource group. The name is case insensitive.
150
- """
151
- __args__ = dict()
152
- __args__['cacheName'] = cache_name
153
- __args__['privateEndpointConnectionName'] = private_endpoint_connection_name
154
- __args__['resourceGroupName'] = resource_group_name
155
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
- __ret__ = pulumi.runtime.invoke_output('azure-native:cache/v20241101:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult)
157
- return __ret__.apply(lambda __response__: GetPrivateEndpointConnectionResult(
158
- id=pulumi.get(__response__, 'id'),
159
- name=pulumi.get(__response__, 'name'),
160
- private_endpoint=pulumi.get(__response__, 'private_endpoint'),
161
- private_link_service_connection_state=pulumi.get(__response__, 'private_link_service_connection_state'),
162
- provisioning_state=pulumi.get(__response__, 'provisioning_state'),
163
- type=pulumi.get(__response__, 'type')))