pulumi-azure-native 2.68.0a1729544032__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.
- pulumi_azure_native/__init__.py +29 -0
- pulumi_azure_native/awsconnector/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/outputs.py +120 -66
- pulumi_azure_native/awsconnector/v20241201/_inputs.py +132 -96
- pulumi_azure_native/awsconnector/v20241201/outputs.py +120 -66
- pulumi_azure_native/cache/__init__.py +3 -0
- pulumi_azure_native/cache/access_policy.py +3 -3
- pulumi_azure_native/cache/access_policy_assignment.py +3 -3
- pulumi_azure_native/cache/firewall_rule.py +3 -3
- pulumi_azure_native/cache/get_access_policy.py +2 -2
- pulumi_azure_native/cache/get_access_policy_assignment.py +2 -2
- pulumi_azure_native/cache/get_firewall_rule.py +2 -2
- pulumi_azure_native/cache/get_linked_server.py +2 -2
- pulumi_azure_native/cache/get_patch_schedule.py +2 -2
- pulumi_azure_native/cache/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/cache/get_redis.py +2 -2
- pulumi_azure_native/cache/linked_server.py +3 -3
- pulumi_azure_native/cache/list_redis_keys.py +2 -2
- pulumi_azure_native/cache/patch_schedule.py +3 -3
- pulumi_azure_native/cache/private_endpoint_connection.py +3 -3
- pulumi_azure_native/cache/redis.py +3 -3
- pulumi_azure_native/cache/v20200601/redis.py +1 -1
- pulumi_azure_native/cache/v20230401/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230401/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230401/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230401/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230401/redis.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230501preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230501preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230501preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230501preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230501preview/redis.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy.py +1 -1
- pulumi_azure_native/cache/v20230801/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20230801/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20230801/linked_server.py +1 -1
- pulumi_azure_native/cache/v20230801/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20230801/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20230801/redis.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240301/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240301/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240301/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240301/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240301/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240301/redis.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy.py +1 -1
- pulumi_azure_native/cache/v20240401preview/access_policy_assignment.py +1 -1
- pulumi_azure_native/cache/v20240401preview/firewall_rule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/linked_server.py +1 -1
- pulumi_azure_native/cache/v20240401preview/patch_schedule.py +1 -1
- pulumi_azure_native/cache/v20240401preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/cache/v20240401preview/redis.py +1 -1
- pulumi_azure_native/cache/v20241101/__init__.py +25 -0
- pulumi_azure_native/cache/v20241101/_enums.py +111 -0
- pulumi_azure_native/cache/v20241101/_inputs.py +646 -0
- pulumi_azure_native/cache/v20241101/access_policy.py +219 -0
- pulumi_azure_native/cache/v20241101/access_policy_assignment.py +279 -0
- pulumi_azure_native/cache/v20241101/firewall_rule.py +239 -0
- pulumi_azure_native/cache/v20241101/get_access_policy.py +148 -0
- pulumi_azure_native/cache/v20241101/get_access_policy_assignment.py +176 -0
- pulumi_azure_native/cache/v20241101/get_firewall_rule.py +148 -0
- pulumi_azure_native/cache/v20241101/get_linked_server.py +204 -0
- pulumi_azure_native/cache/v20241101/get_patch_schedule.py +149 -0
- pulumi_azure_native/cache/v20241101/get_private_endpoint_connection.py +163 -0
- pulumi_azure_native/cache/v20241101/get_redis.py +493 -0
- pulumi_azure_native/cache/v20241101/linked_server.py +299 -0
- pulumi_azure_native/cache/v20241101/list_redis_keys.py +100 -0
- pulumi_azure_native/cache/v20241101/outputs.py +917 -0
- pulumi_azure_native/cache/v20241101/patch_schedule.py +221 -0
- pulumi_azure_native/cache/v20241101/private_endpoint_connection.py +232 -0
- pulumi_azure_native/cache/v20241101/redis.py +804 -0
- pulumi_azure_native/costmanagement/__init__.py +3 -0
- pulumi_azure_native/costmanagement/budget.py +3 -3
- pulumi_azure_native/costmanagement/cost_allocation_rule.py +3 -3
- pulumi_azure_native/costmanagement/export.py +3 -3
- pulumi_azure_native/costmanagement/get_budget.py +2 -2
- pulumi_azure_native/costmanagement/get_cost_allocation_rule.py +2 -2
- pulumi_azure_native/costmanagement/get_export.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action.py +2 -2
- pulumi_azure_native/costmanagement/get_scheduled_action_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/get_view.py +2 -2
- pulumi_azure_native/costmanagement/get_view_by_scope.py +2 -2
- pulumi_azure_native/costmanagement/scheduled_action.py +3 -3
- pulumi_azure_native/costmanagement/scheduled_action_by_scope.py +3 -3
- pulumi_azure_native/costmanagement/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20190401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20191001/export.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20191101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20200301preview/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view.py +1 -1
- pulumi_azure_native/costmanagement/v20200601/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221001/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20221005preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230301/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230401preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230701preview/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230801/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/export.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view.py +1 -1
- pulumi_azure_native/costmanagement/v20230901/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/budget.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/cost_allocation_rule.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/export.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/scheduled_action_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/tag_inheritance_setting.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view.py +1 -1
- pulumi_azure_native/costmanagement/v20231101/view_by_scope.py +1 -1
- pulumi_azure_native/costmanagement/v20240801/__init__.py +26 -0
- pulumi_azure_native/costmanagement/v20240801/_enums.py +538 -0
- pulumi_azure_native/costmanagement/v20240801/_inputs.py +2660 -0
- pulumi_azure_native/costmanagement/v20240801/budget.py +619 -0
- pulumi_azure_native/costmanagement/v20240801/cost_allocation_rule.py +190 -0
- pulumi_azure_native/costmanagement/v20240801/export.py +415 -0
- pulumi_azure_native/costmanagement/v20240801/get_budget.py +337 -0
- pulumi_azure_native/costmanagement/v20240801/get_cost_allocation_rule.py +129 -0
- pulumi_azure_native/costmanagement/v20240801/get_export.py +261 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action.py +263 -0
- pulumi_azure_native/costmanagement/v20240801/get_scheduled_action_by_scope.py +269 -0
- pulumi_azure_native/costmanagement/v20240801/get_tag_inheritance_setting.py +144 -0
- pulumi_azure_native/costmanagement/v20240801/get_view.py +333 -0
- pulumi_azure_native/costmanagement/v20240801/get_view_by_scope.py +339 -0
- pulumi_azure_native/costmanagement/v20240801/outputs.py +2593 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action.py +425 -0
- pulumi_azure_native/costmanagement/v20240801/scheduled_action_by_scope.py +426 -0
- pulumi_azure_native/costmanagement/v20240801/tag_inheritance_setting.py +222 -0
- pulumi_azure_native/costmanagement/v20240801/view.py +587 -0
- pulumi_azure_native/costmanagement/v20240801/view_by_scope.py +588 -0
- pulumi_azure_native/costmanagement/view.py +3 -3
- pulumi_azure_native/costmanagement/view_by_scope.py +3 -3
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/RECORD +167 -128
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0a1729544032.dist-info → pulumi_azure_native-2.68.0a1729615467.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,221 @@
|
|
|
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
|
+
from ._enums import *
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['PatchScheduleArgs', 'PatchSchedule']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class PatchScheduleArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
name: pulumi.Input[str],
|
|
26
|
+
resource_group_name: pulumi.Input[str],
|
|
27
|
+
schedule_entries: pulumi.Input[Sequence[pulumi.Input['ScheduleEntryArgs']]],
|
|
28
|
+
default: Optional[pulumi.Input[str]] = None):
|
|
29
|
+
"""
|
|
30
|
+
The set of arguments for constructing a PatchSchedule resource.
|
|
31
|
+
:param pulumi.Input[str] name: The name of the Redis cache.
|
|
32
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
33
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScheduleEntryArgs']]] schedule_entries: List of patch schedules for a Redis cache.
|
|
34
|
+
:param pulumi.Input[str] default: Default string modeled as parameter for auto generation to work correctly.
|
|
35
|
+
"""
|
|
36
|
+
pulumi.set(__self__, "name", name)
|
|
37
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
38
|
+
pulumi.set(__self__, "schedule_entries", schedule_entries)
|
|
39
|
+
if default is not None:
|
|
40
|
+
pulumi.set(__self__, "default", default)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
@pulumi.getter
|
|
44
|
+
def name(self) -> pulumi.Input[str]:
|
|
45
|
+
"""
|
|
46
|
+
The name of the Redis cache.
|
|
47
|
+
"""
|
|
48
|
+
return pulumi.get(self, "name")
|
|
49
|
+
|
|
50
|
+
@name.setter
|
|
51
|
+
def name(self, value: pulumi.Input[str]):
|
|
52
|
+
pulumi.set(self, "name", value)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter(name="resourceGroupName")
|
|
56
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
57
|
+
"""
|
|
58
|
+
The name of the resource group. The name is case insensitive.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "resource_group_name")
|
|
61
|
+
|
|
62
|
+
@resource_group_name.setter
|
|
63
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
64
|
+
pulumi.set(self, "resource_group_name", value)
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter(name="scheduleEntries")
|
|
68
|
+
def schedule_entries(self) -> pulumi.Input[Sequence[pulumi.Input['ScheduleEntryArgs']]]:
|
|
69
|
+
"""
|
|
70
|
+
List of patch schedules for a Redis cache.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "schedule_entries")
|
|
73
|
+
|
|
74
|
+
@schedule_entries.setter
|
|
75
|
+
def schedule_entries(self, value: pulumi.Input[Sequence[pulumi.Input['ScheduleEntryArgs']]]):
|
|
76
|
+
pulumi.set(self, "schedule_entries", value)
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def default(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
+
"""
|
|
82
|
+
Default string modeled as parameter for auto generation to work correctly.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "default")
|
|
85
|
+
|
|
86
|
+
@default.setter
|
|
87
|
+
def default(self, value: Optional[pulumi.Input[str]]):
|
|
88
|
+
pulumi.set(self, "default", value)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
class PatchSchedule(pulumi.CustomResource):
|
|
92
|
+
@overload
|
|
93
|
+
def __init__(__self__,
|
|
94
|
+
resource_name: str,
|
|
95
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
96
|
+
default: Optional[pulumi.Input[str]] = None,
|
|
97
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
schedule_entries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScheduleEntryArgs', 'ScheduleEntryArgsDict']]]]] = None,
|
|
100
|
+
__props__=None):
|
|
101
|
+
"""
|
|
102
|
+
Response to put/get patch schedules for Redis cache.
|
|
103
|
+
|
|
104
|
+
:param str resource_name: The name of the resource.
|
|
105
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
106
|
+
:param pulumi.Input[str] default: Default string modeled as parameter for auto generation to work correctly.
|
|
107
|
+
:param pulumi.Input[str] name: The name of the Redis cache.
|
|
108
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
109
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ScheduleEntryArgs', 'ScheduleEntryArgsDict']]]] schedule_entries: List of patch schedules for a Redis cache.
|
|
110
|
+
"""
|
|
111
|
+
...
|
|
112
|
+
@overload
|
|
113
|
+
def __init__(__self__,
|
|
114
|
+
resource_name: str,
|
|
115
|
+
args: PatchScheduleArgs,
|
|
116
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
117
|
+
"""
|
|
118
|
+
Response to put/get patch schedules for Redis cache.
|
|
119
|
+
|
|
120
|
+
:param str resource_name: The name of the resource.
|
|
121
|
+
:param PatchScheduleArgs args: The arguments to use to populate this resource's properties.
|
|
122
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
123
|
+
"""
|
|
124
|
+
...
|
|
125
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
126
|
+
resource_args, opts = _utilities.get_resource_args_opts(PatchScheduleArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
127
|
+
if resource_args is not None:
|
|
128
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
129
|
+
else:
|
|
130
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
131
|
+
|
|
132
|
+
def _internal_init(__self__,
|
|
133
|
+
resource_name: str,
|
|
134
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
135
|
+
default: Optional[pulumi.Input[str]] = None,
|
|
136
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
138
|
+
schedule_entries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScheduleEntryArgs', 'ScheduleEntryArgsDict']]]]] = None,
|
|
139
|
+
__props__=None):
|
|
140
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
141
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
142
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
143
|
+
if opts.id is None:
|
|
144
|
+
if __props__ is not None:
|
|
145
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
146
|
+
__props__ = PatchScheduleArgs.__new__(PatchScheduleArgs)
|
|
147
|
+
|
|
148
|
+
__props__.__dict__["default"] = default
|
|
149
|
+
if name is None and not opts.urn:
|
|
150
|
+
raise TypeError("Missing required property 'name'")
|
|
151
|
+
__props__.__dict__["name"] = name
|
|
152
|
+
if resource_group_name is None and not opts.urn:
|
|
153
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
154
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
155
|
+
if schedule_entries is None and not opts.urn:
|
|
156
|
+
raise TypeError("Missing required property 'schedule_entries'")
|
|
157
|
+
__props__.__dict__["schedule_entries"] = schedule_entries
|
|
158
|
+
__props__.__dict__["location"] = None
|
|
159
|
+
__props__.__dict__["type"] = None
|
|
160
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cache:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20171001:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20180301:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20190701:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20200601:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20201201:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20210601:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20220501:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20220601:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20230401:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20230501preview:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20230801:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20240301:PatchSchedule"), pulumi.Alias(type_="azure-native:cache/v20240401preview:PatchSchedule")])
|
|
161
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
162
|
+
super(PatchSchedule, __self__).__init__(
|
|
163
|
+
'azure-native:cache/v20241101:PatchSchedule',
|
|
164
|
+
resource_name,
|
|
165
|
+
__props__,
|
|
166
|
+
opts)
|
|
167
|
+
|
|
168
|
+
@staticmethod
|
|
169
|
+
def get(resource_name: str,
|
|
170
|
+
id: pulumi.Input[str],
|
|
171
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'PatchSchedule':
|
|
172
|
+
"""
|
|
173
|
+
Get an existing PatchSchedule resource's state with the given name, id, and optional extra
|
|
174
|
+
properties used to qualify the lookup.
|
|
175
|
+
|
|
176
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
177
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
178
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
179
|
+
"""
|
|
180
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
181
|
+
|
|
182
|
+
__props__ = PatchScheduleArgs.__new__(PatchScheduleArgs)
|
|
183
|
+
|
|
184
|
+
__props__.__dict__["location"] = None
|
|
185
|
+
__props__.__dict__["name"] = None
|
|
186
|
+
__props__.__dict__["schedule_entries"] = None
|
|
187
|
+
__props__.__dict__["type"] = None
|
|
188
|
+
return PatchSchedule(resource_name, opts=opts, __props__=__props__)
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
@pulumi.getter
|
|
192
|
+
def location(self) -> pulumi.Output[str]:
|
|
193
|
+
"""
|
|
194
|
+
The geo-location where the resource lives
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "location")
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
@pulumi.getter
|
|
200
|
+
def name(self) -> pulumi.Output[str]:
|
|
201
|
+
"""
|
|
202
|
+
The name of the resource
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "name")
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
@pulumi.getter(name="scheduleEntries")
|
|
208
|
+
def schedule_entries(self) -> pulumi.Output[Sequence['outputs.ScheduleEntryResponse']]:
|
|
209
|
+
"""
|
|
210
|
+
List of patch schedules for a Redis cache.
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "schedule_entries")
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
@pulumi.getter
|
|
216
|
+
def type(self) -> pulumi.Output[str]:
|
|
217
|
+
"""
|
|
218
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
219
|
+
"""
|
|
220
|
+
return pulumi.get(self, "type")
|
|
221
|
+
|
|
@@ -0,0 +1,232 @@
|
|
|
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
|
+
from ._enums import *
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class PrivateEndpointConnectionArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
cache_name: pulumi.Input[str],
|
|
26
|
+
private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs'],
|
|
27
|
+
resource_group_name: pulumi.Input[str],
|
|
28
|
+
private_endpoint_connection_name: Optional[pulumi.Input[str]] = None):
|
|
29
|
+
"""
|
|
30
|
+
The set of arguments for constructing a PrivateEndpointConnection resource.
|
|
31
|
+
:param pulumi.Input[str] cache_name: The name of the Redis cache.
|
|
32
|
+
:param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider.
|
|
33
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
34
|
+
:param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource
|
|
35
|
+
"""
|
|
36
|
+
pulumi.set(__self__, "cache_name", cache_name)
|
|
37
|
+
pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
|
|
38
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
39
|
+
if private_endpoint_connection_name is not None:
|
|
40
|
+
pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_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="privateLinkServiceConnectionState")
|
|
56
|
+
def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']:
|
|
57
|
+
"""
|
|
58
|
+
A collection of information about the state of the connection between service consumer and provider.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "private_link_service_connection_state")
|
|
61
|
+
|
|
62
|
+
@private_link_service_connection_state.setter
|
|
63
|
+
def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']):
|
|
64
|
+
pulumi.set(self, "private_link_service_connection_state", 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="privateEndpointConnectionName")
|
|
80
|
+
def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
+
"""
|
|
82
|
+
The name of the private endpoint connection associated with the Azure resource
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "private_endpoint_connection_name")
|
|
85
|
+
|
|
86
|
+
@private_endpoint_connection_name.setter
|
|
87
|
+
def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]):
|
|
88
|
+
pulumi.set(self, "private_endpoint_connection_name", value)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
class PrivateEndpointConnection(pulumi.CustomResource):
|
|
92
|
+
@overload
|
|
93
|
+
def __init__(__self__,
|
|
94
|
+
resource_name: str,
|
|
95
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
96
|
+
cache_name: Optional[pulumi.Input[str]] = None,
|
|
97
|
+
private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
private_link_service_connection_state: Optional[pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']]] = None,
|
|
99
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
100
|
+
__props__=None):
|
|
101
|
+
"""
|
|
102
|
+
The Private Endpoint Connection resource.
|
|
103
|
+
|
|
104
|
+
:param str resource_name: The name of the resource.
|
|
105
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
106
|
+
:param pulumi.Input[str] cache_name: The name of the Redis cache.
|
|
107
|
+
:param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection associated with the Azure resource
|
|
108
|
+
:param pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider.
|
|
109
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
110
|
+
"""
|
|
111
|
+
...
|
|
112
|
+
@overload
|
|
113
|
+
def __init__(__self__,
|
|
114
|
+
resource_name: str,
|
|
115
|
+
args: PrivateEndpointConnectionArgs,
|
|
116
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
117
|
+
"""
|
|
118
|
+
The Private Endpoint Connection resource.
|
|
119
|
+
|
|
120
|
+
:param str resource_name: The name of the resource.
|
|
121
|
+
:param PrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties.
|
|
122
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
123
|
+
"""
|
|
124
|
+
...
|
|
125
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
126
|
+
resource_args, opts = _utilities.get_resource_args_opts(PrivateEndpointConnectionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
127
|
+
if resource_args is not None:
|
|
128
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
129
|
+
else:
|
|
130
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
131
|
+
|
|
132
|
+
def _internal_init(__self__,
|
|
133
|
+
resource_name: str,
|
|
134
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
135
|
+
cache_name: Optional[pulumi.Input[str]] = None,
|
|
136
|
+
private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
private_link_service_connection_state: Optional[pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']]] = None,
|
|
138
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
139
|
+
__props__=None):
|
|
140
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
141
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
142
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
143
|
+
if opts.id is None:
|
|
144
|
+
if __props__ is not None:
|
|
145
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
146
|
+
__props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs)
|
|
147
|
+
|
|
148
|
+
if cache_name is None and not opts.urn:
|
|
149
|
+
raise TypeError("Missing required property 'cache_name'")
|
|
150
|
+
__props__.__dict__["cache_name"] = cache_name
|
|
151
|
+
__props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name
|
|
152
|
+
if private_link_service_connection_state is None and not opts.urn:
|
|
153
|
+
raise TypeError("Missing required property 'private_link_service_connection_state'")
|
|
154
|
+
__props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state
|
|
155
|
+
if resource_group_name is None and not opts.urn:
|
|
156
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
157
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
158
|
+
__props__.__dict__["name"] = None
|
|
159
|
+
__props__.__dict__["private_endpoint"] = None
|
|
160
|
+
__props__.__dict__["provisioning_state"] = None
|
|
161
|
+
__props__.__dict__["type"] = None
|
|
162
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:cache:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20200601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20201201:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20210601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20220501:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20220601:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20230401:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20230501preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20230801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20240301:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:cache/v20240401preview:PrivateEndpointConnection")])
|
|
163
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
164
|
+
super(PrivateEndpointConnection, __self__).__init__(
|
|
165
|
+
'azure-native:cache/v20241101:PrivateEndpointConnection',
|
|
166
|
+
resource_name,
|
|
167
|
+
__props__,
|
|
168
|
+
opts)
|
|
169
|
+
|
|
170
|
+
@staticmethod
|
|
171
|
+
def get(resource_name: str,
|
|
172
|
+
id: pulumi.Input[str],
|
|
173
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection':
|
|
174
|
+
"""
|
|
175
|
+
Get an existing PrivateEndpointConnection resource's state with the given name, id, and optional extra
|
|
176
|
+
properties used to qualify the lookup.
|
|
177
|
+
|
|
178
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
179
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
180
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
181
|
+
"""
|
|
182
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
183
|
+
|
|
184
|
+
__props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs)
|
|
185
|
+
|
|
186
|
+
__props__.__dict__["name"] = None
|
|
187
|
+
__props__.__dict__["private_endpoint"] = None
|
|
188
|
+
__props__.__dict__["private_link_service_connection_state"] = None
|
|
189
|
+
__props__.__dict__["provisioning_state"] = None
|
|
190
|
+
__props__.__dict__["type"] = None
|
|
191
|
+
return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__)
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
@pulumi.getter
|
|
195
|
+
def name(self) -> pulumi.Output[str]:
|
|
196
|
+
"""
|
|
197
|
+
The name of the resource
|
|
198
|
+
"""
|
|
199
|
+
return pulumi.get(self, "name")
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
@pulumi.getter(name="privateEndpoint")
|
|
203
|
+
def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]:
|
|
204
|
+
"""
|
|
205
|
+
The resource of private end point.
|
|
206
|
+
"""
|
|
207
|
+
return pulumi.get(self, "private_endpoint")
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
@pulumi.getter(name="privateLinkServiceConnectionState")
|
|
211
|
+
def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']:
|
|
212
|
+
"""
|
|
213
|
+
A collection of information about the state of the connection between service consumer and provider.
|
|
214
|
+
"""
|
|
215
|
+
return pulumi.get(self, "private_link_service_connection_state")
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
@pulumi.getter(name="provisioningState")
|
|
219
|
+
def provisioning_state(self) -> pulumi.Output[str]:
|
|
220
|
+
"""
|
|
221
|
+
The provisioning state of the private endpoint connection resource.
|
|
222
|
+
"""
|
|
223
|
+
return pulumi.get(self, "provisioning_state")
|
|
224
|
+
|
|
225
|
+
@property
|
|
226
|
+
@pulumi.getter
|
|
227
|
+
def type(self) -> pulumi.Output[str]:
|
|
228
|
+
"""
|
|
229
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
230
|
+
"""
|
|
231
|
+
return pulumi.get(self, "type")
|
|
232
|
+
|