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,239 @@
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__ = ['FirewallRuleArgs', 'FirewallRule']
18
+
19
+ @pulumi.input_type
20
+ class FirewallRuleArgs:
21
+ def __init__(__self__, *,
22
+ cache_name: pulumi.Input[str],
23
+ end_ip: pulumi.Input[str],
24
+ resource_group_name: pulumi.Input[str],
25
+ start_ip: pulumi.Input[str],
26
+ rule_name: Optional[pulumi.Input[str]] = None):
27
+ """
28
+ The set of arguments for constructing a FirewallRule resource.
29
+ :param pulumi.Input[str] cache_name: The name of the Redis cache.
30
+ :param pulumi.Input[str] end_ip: highest IP address included in the range
31
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
32
+ :param pulumi.Input[str] start_ip: lowest IP address included in the range
33
+ :param pulumi.Input[str] rule_name: The name of the firewall rule.
34
+ """
35
+ pulumi.set(__self__, "cache_name", cache_name)
36
+ pulumi.set(__self__, "end_ip", end_ip)
37
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
38
+ pulumi.set(__self__, "start_ip", start_ip)
39
+ if rule_name is not None:
40
+ pulumi.set(__self__, "rule_name", rule_name)
41
+
42
+ @property
43
+ @pulumi.getter(name="cacheName")
44
+ def cache_name(self) -> pulumi.Input[str]:
45
+ """
46
+ The name of the Redis cache.
47
+ """
48
+ return pulumi.get(self, "cache_name")
49
+
50
+ @cache_name.setter
51
+ def cache_name(self, value: pulumi.Input[str]):
52
+ pulumi.set(self, "cache_name", value)
53
+
54
+ @property
55
+ @pulumi.getter(name="endIP")
56
+ def end_ip(self) -> pulumi.Input[str]:
57
+ """
58
+ highest IP address included in the range
59
+ """
60
+ return pulumi.get(self, "end_ip")
61
+
62
+ @end_ip.setter
63
+ def end_ip(self, value: pulumi.Input[str]):
64
+ pulumi.set(self, "end_ip", value)
65
+
66
+ @property
67
+ @pulumi.getter(name="resourceGroupName")
68
+ def resource_group_name(self) -> pulumi.Input[str]:
69
+ """
70
+ The name of the resource group. The name is case insensitive.
71
+ """
72
+ return pulumi.get(self, "resource_group_name")
73
+
74
+ @resource_group_name.setter
75
+ def resource_group_name(self, value: pulumi.Input[str]):
76
+ pulumi.set(self, "resource_group_name", value)
77
+
78
+ @property
79
+ @pulumi.getter(name="startIP")
80
+ def start_ip(self) -> pulumi.Input[str]:
81
+ """
82
+ lowest IP address included in the range
83
+ """
84
+ return pulumi.get(self, "start_ip")
85
+
86
+ @start_ip.setter
87
+ def start_ip(self, value: pulumi.Input[str]):
88
+ pulumi.set(self, "start_ip", value)
89
+
90
+ @property
91
+ @pulumi.getter(name="ruleName")
92
+ def rule_name(self) -> Optional[pulumi.Input[str]]:
93
+ """
94
+ The name of the firewall rule.
95
+ """
96
+ return pulumi.get(self, "rule_name")
97
+
98
+ @rule_name.setter
99
+ def rule_name(self, value: Optional[pulumi.Input[str]]):
100
+ pulumi.set(self, "rule_name", value)
101
+
102
+
103
+ class FirewallRule(pulumi.CustomResource):
104
+ @overload
105
+ def __init__(__self__,
106
+ resource_name: str,
107
+ opts: Optional[pulumi.ResourceOptions] = None,
108
+ cache_name: Optional[pulumi.Input[str]] = None,
109
+ end_ip: Optional[pulumi.Input[str]] = None,
110
+ resource_group_name: Optional[pulumi.Input[str]] = None,
111
+ rule_name: Optional[pulumi.Input[str]] = None,
112
+ start_ip: Optional[pulumi.Input[str]] = None,
113
+ __props__=None):
114
+ """
115
+ A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect
116
+
117
+ :param str resource_name: The name of the resource.
118
+ :param pulumi.ResourceOptions opts: Options for the resource.
119
+ :param pulumi.Input[str] cache_name: The name of the Redis cache.
120
+ :param pulumi.Input[str] end_ip: highest IP address included in the range
121
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
122
+ :param pulumi.Input[str] rule_name: The name of the firewall rule.
123
+ :param pulumi.Input[str] start_ip: lowest IP address included in the range
124
+ """
125
+ ...
126
+ @overload
127
+ def __init__(__self__,
128
+ resource_name: str,
129
+ args: FirewallRuleArgs,
130
+ opts: Optional[pulumi.ResourceOptions] = None):
131
+ """
132
+ A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect
133
+
134
+ :param str resource_name: The name of the resource.
135
+ :param FirewallRuleArgs args: The arguments to use to populate this resource's properties.
136
+ :param pulumi.ResourceOptions opts: Options for the resource.
137
+ """
138
+ ...
139
+ def __init__(__self__, resource_name: str, *args, **kwargs):
140
+ resource_args, opts = _utilities.get_resource_args_opts(FirewallRuleArgs, pulumi.ResourceOptions, *args, **kwargs)
141
+ if resource_args is not None:
142
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
143
+ else:
144
+ __self__._internal_init(resource_name, *args, **kwargs)
145
+
146
+ def _internal_init(__self__,
147
+ resource_name: str,
148
+ opts: Optional[pulumi.ResourceOptions] = None,
149
+ cache_name: Optional[pulumi.Input[str]] = None,
150
+ end_ip: Optional[pulumi.Input[str]] = None,
151
+ resource_group_name: Optional[pulumi.Input[str]] = None,
152
+ rule_name: Optional[pulumi.Input[str]] = None,
153
+ start_ip: Optional[pulumi.Input[str]] = None,
154
+ __props__=None):
155
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
156
+ if not isinstance(opts, pulumi.ResourceOptions):
157
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
158
+ if opts.id is None:
159
+ if __props__ is not None:
160
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
161
+ __props__ = FirewallRuleArgs.__new__(FirewallRuleArgs)
162
+
163
+ if cache_name is None and not opts.urn:
164
+ raise TypeError("Missing required property 'cache_name'")
165
+ __props__.__dict__["cache_name"] = cache_name
166
+ if end_ip is None and not opts.urn:
167
+ raise TypeError("Missing required property 'end_ip'")
168
+ __props__.__dict__["end_ip"] = end_ip
169
+ if resource_group_name is None and not opts.urn:
170
+ raise TypeError("Missing required property 'resource_group_name'")
171
+ __props__.__dict__["resource_group_name"] = resource_group_name
172
+ __props__.__dict__["rule_name"] = rule_name
173
+ if start_ip is None and not opts.urn:
174
+ raise TypeError("Missing required property 'start_ip'")
175
+ __props__.__dict__["start_ip"] = start_ip
176
+ __props__.__dict__["name"] = None
177
+ __props__.__dict__["type"] = None
178
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cache:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20160401:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20170201:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20171001:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20180301:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20190701:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20200601:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20201201:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20210601:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20220501:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20220601:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20230401:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20230501preview:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20230801:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20240301:FirewallRule"), pulumi.Alias(type_="azure-native:cache/v20240401preview:FirewallRule")])
179
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
180
+ super(FirewallRule, __self__).__init__(
181
+ 'azure-native:cache/v20241101:FirewallRule',
182
+ resource_name,
183
+ __props__,
184
+ opts)
185
+
186
+ @staticmethod
187
+ def get(resource_name: str,
188
+ id: pulumi.Input[str],
189
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'FirewallRule':
190
+ """
191
+ Get an existing FirewallRule resource's state with the given name, id, and optional extra
192
+ properties used to qualify the lookup.
193
+
194
+ :param str resource_name: The unique name of the resulting resource.
195
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
196
+ :param pulumi.ResourceOptions opts: Options for the resource.
197
+ """
198
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
199
+
200
+ __props__ = FirewallRuleArgs.__new__(FirewallRuleArgs)
201
+
202
+ __props__.__dict__["end_ip"] = None
203
+ __props__.__dict__["name"] = None
204
+ __props__.__dict__["start_ip"] = None
205
+ __props__.__dict__["type"] = None
206
+ return FirewallRule(resource_name, opts=opts, __props__=__props__)
207
+
208
+ @property
209
+ @pulumi.getter(name="endIP")
210
+ def end_ip(self) -> pulumi.Output[str]:
211
+ """
212
+ highest IP address included in the range
213
+ """
214
+ return pulumi.get(self, "end_ip")
215
+
216
+ @property
217
+ @pulumi.getter
218
+ def name(self) -> pulumi.Output[str]:
219
+ """
220
+ The name of the resource
221
+ """
222
+ return pulumi.get(self, "name")
223
+
224
+ @property
225
+ @pulumi.getter(name="startIP")
226
+ def start_ip(self) -> pulumi.Output[str]:
227
+ """
228
+ lowest IP address included in the range
229
+ """
230
+ return pulumi.get(self, "start_ip")
231
+
232
+ @property
233
+ @pulumi.getter
234
+ def type(self) -> pulumi.Output[str]:
235
+ """
236
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
237
+ """
238
+ return pulumi.get(self, "type")
239
+
@@ -0,0 +1,148 @@
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
+ 'GetAccessPolicyResult',
19
+ 'AwaitableGetAccessPolicyResult',
20
+ 'get_access_policy',
21
+ 'get_access_policy_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAccessPolicyResult:
26
+ """
27
+ Response to get/put access policy.
28
+ """
29
+ def __init__(__self__, id=None, name=None, permissions=None, provisioning_state=None, type=None):
30
+ if id and not isinstance(id, str):
31
+ raise TypeError("Expected argument 'id' to be a str")
32
+ pulumi.set(__self__, "id", id)
33
+ if name and not isinstance(name, str):
34
+ raise TypeError("Expected argument 'name' to be a str")
35
+ pulumi.set(__self__, "name", name)
36
+ if permissions and not isinstance(permissions, str):
37
+ raise TypeError("Expected argument 'permissions' to be a str")
38
+ pulumi.set(__self__, "permissions", permissions)
39
+ if provisioning_state and not isinstance(provisioning_state, str):
40
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
41
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
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
48
+ def id(self) -> str:
49
+ """
50
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
51
+ """
52
+ return pulumi.get(self, "id")
53
+
54
+ @property
55
+ @pulumi.getter
56
+ def name(self) -> str:
57
+ """
58
+ The name of the resource
59
+ """
60
+ return pulumi.get(self, "name")
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def permissions(self) -> str:
65
+ """
66
+ Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites
67
+ """
68
+ return pulumi.get(self, "permissions")
69
+
70
+ @property
71
+ @pulumi.getter(name="provisioningState")
72
+ def provisioning_state(self) -> str:
73
+ """
74
+ Provisioning state of access policy
75
+ """
76
+ return pulumi.get(self, "provisioning_state")
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 AwaitableGetAccessPolicyResult(GetAccessPolicyResult):
88
+ # pylint: disable=using-constant-test
89
+ def __await__(self):
90
+ if False:
91
+ yield self
92
+ return GetAccessPolicyResult(
93
+ id=self.id,
94
+ name=self.name,
95
+ permissions=self.permissions,
96
+ provisioning_state=self.provisioning_state,
97
+ type=self.type)
98
+
99
+
100
+ def get_access_policy(access_policy_name: Optional[str] = None,
101
+ cache_name: Optional[str] = None,
102
+ resource_group_name: Optional[str] = None,
103
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessPolicyResult:
104
+ """
105
+ Gets the detailed information about an access policy of a redis cache
106
+
107
+
108
+ :param str access_policy_name: The name of the access policy that is being added to the Redis cache.
109
+ :param str cache_name: The name of the Redis cache.
110
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
111
+ """
112
+ __args__ = dict()
113
+ __args__['accessPolicyName'] = access_policy_name
114
+ __args__['cacheName'] = cache_name
115
+ __args__['resourceGroupName'] = resource_group_name
116
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
117
+ __ret__ = pulumi.runtime.invoke('azure-native:cache/v20241101:getAccessPolicy', __args__, opts=opts, typ=GetAccessPolicyResult).value
118
+
119
+ return AwaitableGetAccessPolicyResult(
120
+ id=pulumi.get(__ret__, 'id'),
121
+ name=pulumi.get(__ret__, 'name'),
122
+ permissions=pulumi.get(__ret__, 'permissions'),
123
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
124
+ type=pulumi.get(__ret__, 'type'))
125
+ def get_access_policy_output(access_policy_name: Optional[pulumi.Input[str]] = None,
126
+ cache_name: Optional[pulumi.Input[str]] = None,
127
+ resource_group_name: Optional[pulumi.Input[str]] = None,
128
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPolicyResult]:
129
+ """
130
+ Gets the detailed information about an access policy of a redis cache
131
+
132
+
133
+ :param str access_policy_name: The name of the access policy that is being added to the Redis cache.
134
+ :param str cache_name: The name of the Redis cache.
135
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
136
+ """
137
+ __args__ = dict()
138
+ __args__['accessPolicyName'] = access_policy_name
139
+ __args__['cacheName'] = cache_name
140
+ __args__['resourceGroupName'] = resource_group_name
141
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
142
+ __ret__ = pulumi.runtime.invoke_output('azure-native:cache/v20241101:getAccessPolicy', __args__, opts=opts, typ=GetAccessPolicyResult)
143
+ return __ret__.apply(lambda __response__: GetAccessPolicyResult(
144
+ id=pulumi.get(__response__, 'id'),
145
+ name=pulumi.get(__response__, 'name'),
146
+ permissions=pulumi.get(__response__, 'permissions'),
147
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
148
+ type=pulumi.get(__response__, 'type')))
@@ -0,0 +1,176 @@
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
+ 'GetAccessPolicyAssignmentResult',
19
+ 'AwaitableGetAccessPolicyAssignmentResult',
20
+ 'get_access_policy_assignment',
21
+ 'get_access_policy_assignment_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAccessPolicyAssignmentResult:
26
+ """
27
+ Response to an operation on access policy assignment
28
+ """
29
+ def __init__(__self__, access_policy_name=None, id=None, name=None, object_id=None, object_id_alias=None, provisioning_state=None, type=None):
30
+ if access_policy_name and not isinstance(access_policy_name, str):
31
+ raise TypeError("Expected argument 'access_policy_name' to be a str")
32
+ pulumi.set(__self__, "access_policy_name", access_policy_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 name and not isinstance(name, str):
37
+ raise TypeError("Expected argument 'name' to be a str")
38
+ pulumi.set(__self__, "name", name)
39
+ if object_id and not isinstance(object_id, str):
40
+ raise TypeError("Expected argument 'object_id' to be a str")
41
+ pulumi.set(__self__, "object_id", object_id)
42
+ if object_id_alias and not isinstance(object_id_alias, str):
43
+ raise TypeError("Expected argument 'object_id_alias' to be a str")
44
+ pulumi.set(__self__, "object_id_alias", object_id_alias)
45
+ if provisioning_state and not isinstance(provisioning_state, str):
46
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
47
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
48
+ if type and not isinstance(type, str):
49
+ raise TypeError("Expected argument 'type' to be a str")
50
+ pulumi.set(__self__, "type", type)
51
+
52
+ @property
53
+ @pulumi.getter(name="accessPolicyName")
54
+ def access_policy_name(self) -> str:
55
+ """
56
+ The name of the access policy that is being assigned
57
+ """
58
+ return pulumi.get(self, "access_policy_name")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def id(self) -> str:
63
+ """
64
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
65
+ """
66
+ return pulumi.get(self, "id")
67
+
68
+ @property
69
+ @pulumi.getter
70
+ def name(self) -> str:
71
+ """
72
+ The name of the resource
73
+ """
74
+ return pulumi.get(self, "name")
75
+
76
+ @property
77
+ @pulumi.getter(name="objectId")
78
+ def object_id(self) -> str:
79
+ """
80
+ Object Id to assign access policy to
81
+ """
82
+ return pulumi.get(self, "object_id")
83
+
84
+ @property
85
+ @pulumi.getter(name="objectIdAlias")
86
+ def object_id_alias(self) -> str:
87
+ """
88
+ User friendly name for object id. Also represents username for token based authentication
89
+ """
90
+ return pulumi.get(self, "object_id_alias")
91
+
92
+ @property
93
+ @pulumi.getter(name="provisioningState")
94
+ def provisioning_state(self) -> str:
95
+ """
96
+ Provisioning state of an access policy assignment set
97
+ """
98
+ return pulumi.get(self, "provisioning_state")
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def type(self) -> str:
103
+ """
104
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
105
+ """
106
+ return pulumi.get(self, "type")
107
+
108
+
109
+ class AwaitableGetAccessPolicyAssignmentResult(GetAccessPolicyAssignmentResult):
110
+ # pylint: disable=using-constant-test
111
+ def __await__(self):
112
+ if False:
113
+ yield self
114
+ return GetAccessPolicyAssignmentResult(
115
+ access_policy_name=self.access_policy_name,
116
+ id=self.id,
117
+ name=self.name,
118
+ object_id=self.object_id,
119
+ object_id_alias=self.object_id_alias,
120
+ provisioning_state=self.provisioning_state,
121
+ type=self.type)
122
+
123
+
124
+ def get_access_policy_assignment(access_policy_assignment_name: Optional[str] = None,
125
+ cache_name: Optional[str] = None,
126
+ resource_group_name: Optional[str] = None,
127
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessPolicyAssignmentResult:
128
+ """
129
+ Gets the list of assignments for an access policy of a redis cache
130
+
131
+
132
+ :param str access_policy_assignment_name: The name of the access policy assignment.
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
+ """
136
+ __args__ = dict()
137
+ __args__['accessPolicyAssignmentName'] = access_policy_assignment_name
138
+ __args__['cacheName'] = cache_name
139
+ __args__['resourceGroupName'] = resource_group_name
140
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
141
+ __ret__ = pulumi.runtime.invoke('azure-native:cache/v20241101:getAccessPolicyAssignment', __args__, opts=opts, typ=GetAccessPolicyAssignmentResult).value
142
+
143
+ return AwaitableGetAccessPolicyAssignmentResult(
144
+ access_policy_name=pulumi.get(__ret__, 'access_policy_name'),
145
+ id=pulumi.get(__ret__, 'id'),
146
+ name=pulumi.get(__ret__, 'name'),
147
+ object_id=pulumi.get(__ret__, 'object_id'),
148
+ object_id_alias=pulumi.get(__ret__, 'object_id_alias'),
149
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
150
+ type=pulumi.get(__ret__, 'type'))
151
+ def get_access_policy_assignment_output(access_policy_assignment_name: Optional[pulumi.Input[str]] = None,
152
+ cache_name: Optional[pulumi.Input[str]] = None,
153
+ resource_group_name: Optional[pulumi.Input[str]] = None,
154
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPolicyAssignmentResult]:
155
+ """
156
+ Gets the list of assignments for an access policy of a redis cache
157
+
158
+
159
+ :param str access_policy_assignment_name: The name of the access policy assignment.
160
+ :param str cache_name: The name of the Redis cache.
161
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
162
+ """
163
+ __args__ = dict()
164
+ __args__['accessPolicyAssignmentName'] = access_policy_assignment_name
165
+ __args__['cacheName'] = cache_name
166
+ __args__['resourceGroupName'] = resource_group_name
167
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
168
+ __ret__ = pulumi.runtime.invoke_output('azure-native:cache/v20241101:getAccessPolicyAssignment', __args__, opts=opts, typ=GetAccessPolicyAssignmentResult)
169
+ return __ret__.apply(lambda __response__: GetAccessPolicyAssignmentResult(
170
+ access_policy_name=pulumi.get(__response__, 'access_policy_name'),
171
+ id=pulumi.get(__response__, 'id'),
172
+ name=pulumi.get(__response__, 'name'),
173
+ object_id=pulumi.get(__response__, 'object_id'),
174
+ object_id_alias=pulumi.get(__response__, 'object_id_alias'),
175
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
176
+ type=pulumi.get(__response__, 'type')))