pulumi-gcp 8.25.1__py3-none-any.whl → 8.26.0__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.
- pulumi_gcp/__init__.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +117 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +81 -26
- pulumi_gcp/accesscontextmanager/outputs.py +95 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/control_plane_access.py +419 -0
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +2876 -1314
- pulumi_gcp/clouddeploy/automation.py +64 -2
- pulumi_gcp/clouddeploy/deploy_policy.py +1179 -0
- pulumi_gcp/clouddeploy/outputs.py +1130 -5
- pulumi_gcp/cloudrunv2/service.py +2 -2
- pulumi_gcp/compute/_inputs.py +20 -0
- pulumi_gcp/compute/outputs.py +25 -0
- pulumi_gcp/compute/resource_policy.py +30 -0
- pulumi_gcp/datastream/_inputs.py +506 -0
- pulumi_gcp/datastream/outputs.py +376 -0
- pulumi_gcp/datastream/stream.py +0 -2
- pulumi_gcp/firebase/hosting_version.py +34 -14
- pulumi_gcp/folder/__init__.py +1 -0
- pulumi_gcp/folder/service_identity.py +340 -0
- pulumi_gcp/gemini/__init__.py +2 -0
- pulumi_gcp/gemini/_inputs.py +176 -0
- pulumi_gcp/gemini/code_tools_setting.py +601 -0
- pulumi_gcp/gemini/code_tools_setting_binding.py +753 -0
- pulumi_gcp/gemini/outputs.py +124 -0
- pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +28 -0
- pulumi_gcp/memorystore/_inputs.py +136 -0
- pulumi_gcp/memorystore/get_instance.py +12 -1
- pulumi_gcp/memorystore/instance.py +54 -0
- pulumi_gcp/memorystore/outputs.py +190 -0
- pulumi_gcp/netapp/_inputs.py +89 -3
- pulumi_gcp/netapp/outputs.py +75 -2
- pulumi_gcp/netapp/volume_replication.py +12 -2
- pulumi_gcp/networkconnectivity/service_connection_policy.py +4 -2
- pulumi_gcp/osconfig/__init__.py +1 -0
- pulumi_gcp/osconfig/_inputs.py +5439 -0
- pulumi_gcp/osconfig/outputs.py +3978 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +1047 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +12 -1
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +15 -1
- pulumi_gcp/parametermanager/outputs.py +11 -0
- pulumi_gcp/parametermanager/regional_parameter.py +78 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +66 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/spanner/database.py +0 -34
- pulumi_gcp/storage/bucket_object.py +28 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/workbench/_inputs.py +60 -0
- pulumi_gcp/workbench/instance.py +48 -0
- pulumi_gcp/workbench/outputs.py +55 -0
- {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/RECORD +57 -51
- {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,7 @@ class InstanceArgs:
|
|
26
26
|
location: pulumi.Input[builtins.str],
|
27
27
|
shard_count: pulumi.Input[builtins.int],
|
28
28
|
authorization_mode: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
automated_backup_config: Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']] = None,
|
29
30
|
cross_instance_replication_config: Optional[pulumi.Input['InstanceCrossInstanceReplicationConfigArgs']] = None,
|
30
31
|
deletion_protection_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
31
32
|
desired_psc_auto_connections: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDesiredPscAutoConnectionArgs']]]] = None,
|
@@ -58,6 +59,8 @@ class InstanceArgs:
|
|
58
59
|
:param pulumi.Input[builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
59
60
|
AUTH_DISABLED
|
60
61
|
IAM_AUTH
|
62
|
+
:param pulumi.Input['InstanceAutomatedBackupConfigArgs'] automated_backup_config: The automated backup config for a instance.
|
63
|
+
Structure is documented below.
|
61
64
|
:param pulumi.Input['InstanceCrossInstanceReplicationConfigArgs'] cross_instance_replication_config: Cross instance replication config
|
62
65
|
Structure is documented below.
|
63
66
|
:param pulumi.Input[builtins.bool] deletion_protection_enabled: Optional. If set to true deletion of the instance will fail.
|
@@ -97,6 +100,8 @@ class InstanceArgs:
|
|
97
100
|
pulumi.set(__self__, "shard_count", shard_count)
|
98
101
|
if authorization_mode is not None:
|
99
102
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
103
|
+
if automated_backup_config is not None:
|
104
|
+
pulumi.set(__self__, "automated_backup_config", automated_backup_config)
|
100
105
|
if cross_instance_replication_config is not None:
|
101
106
|
pulumi.set(__self__, "cross_instance_replication_config", cross_instance_replication_config)
|
102
107
|
if deletion_protection_enabled is not None:
|
@@ -186,6 +191,19 @@ class InstanceArgs:
|
|
186
191
|
def authorization_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
187
192
|
pulumi.set(self, "authorization_mode", value)
|
188
193
|
|
194
|
+
@property
|
195
|
+
@pulumi.getter(name="automatedBackupConfig")
|
196
|
+
def automated_backup_config(self) -> Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']]:
|
197
|
+
"""
|
198
|
+
The automated backup config for a instance.
|
199
|
+
Structure is documented below.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "automated_backup_config")
|
202
|
+
|
203
|
+
@automated_backup_config.setter
|
204
|
+
def automated_backup_config(self, value: Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']]):
|
205
|
+
pulumi.set(self, "automated_backup_config", value)
|
206
|
+
|
189
207
|
@property
|
190
208
|
@pulumi.getter(name="crossInstanceReplicationConfig")
|
191
209
|
def cross_instance_replication_config(self) -> Optional[pulumi.Input['InstanceCrossInstanceReplicationConfigArgs']]:
|
@@ -378,6 +396,7 @@ class InstanceArgs:
|
|
378
396
|
class _InstanceState:
|
379
397
|
def __init__(__self__, *,
|
380
398
|
authorization_mode: Optional[pulumi.Input[builtins.str]] = None,
|
399
|
+
automated_backup_config: Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']] = None,
|
381
400
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
382
401
|
cross_instance_replication_config: Optional[pulumi.Input['InstanceCrossInstanceReplicationConfigArgs']] = None,
|
383
402
|
deletion_protection_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
@@ -414,6 +433,8 @@ class _InstanceState:
|
|
414
433
|
:param pulumi.Input[builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
415
434
|
AUTH_DISABLED
|
416
435
|
IAM_AUTH
|
436
|
+
:param pulumi.Input['InstanceAutomatedBackupConfigArgs'] automated_backup_config: The automated backup config for a instance.
|
437
|
+
Structure is documented below.
|
417
438
|
:param pulumi.Input[builtins.str] create_time: Output only. Creation timestamp of the instance.
|
418
439
|
:param pulumi.Input['InstanceCrossInstanceReplicationConfigArgs'] cross_instance_replication_config: Cross instance replication config
|
419
440
|
Structure is documented below.
|
@@ -492,6 +513,8 @@ class _InstanceState:
|
|
492
513
|
"""
|
493
514
|
if authorization_mode is not None:
|
494
515
|
pulumi.set(__self__, "authorization_mode", authorization_mode)
|
516
|
+
if automated_backup_config is not None:
|
517
|
+
pulumi.set(__self__, "automated_backup_config", automated_backup_config)
|
495
518
|
if create_time is not None:
|
496
519
|
pulumi.set(__self__, "create_time", create_time)
|
497
520
|
if cross_instance_replication_config is not None:
|
@@ -569,6 +592,19 @@ class _InstanceState:
|
|
569
592
|
def authorization_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
570
593
|
pulumi.set(self, "authorization_mode", value)
|
571
594
|
|
595
|
+
@property
|
596
|
+
@pulumi.getter(name="automatedBackupConfig")
|
597
|
+
def automated_backup_config(self) -> Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']]:
|
598
|
+
"""
|
599
|
+
The automated backup config for a instance.
|
600
|
+
Structure is documented below.
|
601
|
+
"""
|
602
|
+
return pulumi.get(self, "automated_backup_config")
|
603
|
+
|
604
|
+
@automated_backup_config.setter
|
605
|
+
def automated_backup_config(self, value: Optional[pulumi.Input['InstanceAutomatedBackupConfigArgs']]):
|
606
|
+
pulumi.set(self, "automated_backup_config", value)
|
607
|
+
|
572
608
|
@property
|
573
609
|
@pulumi.getter(name="createTime")
|
574
610
|
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -992,6 +1028,7 @@ class Instance(pulumi.CustomResource):
|
|
992
1028
|
resource_name: str,
|
993
1029
|
opts: Optional[pulumi.ResourceOptions] = None,
|
994
1030
|
authorization_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1031
|
+
automated_backup_config: Optional[pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']]] = None,
|
995
1032
|
cross_instance_replication_config: Optional[pulumi.Input[Union['InstanceCrossInstanceReplicationConfigArgs', 'InstanceCrossInstanceReplicationConfigArgsDict']]] = None,
|
996
1033
|
deletion_protection_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
997
1034
|
desired_psc_auto_connections: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDesiredPscAutoConnectionArgs', 'InstanceDesiredPscAutoConnectionArgsDict']]]]] = None,
|
@@ -1319,6 +1356,8 @@ class Instance(pulumi.CustomResource):
|
|
1319
1356
|
:param pulumi.Input[builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
1320
1357
|
AUTH_DISABLED
|
1321
1358
|
IAM_AUTH
|
1359
|
+
:param pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']] automated_backup_config: The automated backup config for a instance.
|
1360
|
+
Structure is documented below.
|
1322
1361
|
:param pulumi.Input[Union['InstanceCrossInstanceReplicationConfigArgs', 'InstanceCrossInstanceReplicationConfigArgsDict']] cross_instance_replication_config: Cross instance replication config
|
1323
1362
|
Structure is documented below.
|
1324
1363
|
:param pulumi.Input[builtins.bool] deletion_protection_enabled: Optional. If set to true deletion of the instance will fail.
|
@@ -1692,6 +1731,7 @@ class Instance(pulumi.CustomResource):
|
|
1692
1731
|
resource_name: str,
|
1693
1732
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1694
1733
|
authorization_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1734
|
+
automated_backup_config: Optional[pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']]] = None,
|
1695
1735
|
cross_instance_replication_config: Optional[pulumi.Input[Union['InstanceCrossInstanceReplicationConfigArgs', 'InstanceCrossInstanceReplicationConfigArgsDict']]] = None,
|
1696
1736
|
deletion_protection_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1697
1737
|
desired_psc_auto_connections: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDesiredPscAutoConnectionArgs', 'InstanceDesiredPscAutoConnectionArgsDict']]]]] = None,
|
@@ -1719,6 +1759,7 @@ class Instance(pulumi.CustomResource):
|
|
1719
1759
|
__props__ = InstanceArgs.__new__(InstanceArgs)
|
1720
1760
|
|
1721
1761
|
__props__.__dict__["authorization_mode"] = authorization_mode
|
1762
|
+
__props__.__dict__["automated_backup_config"] = automated_backup_config
|
1722
1763
|
__props__.__dict__["cross_instance_replication_config"] = cross_instance_replication_config
|
1723
1764
|
__props__.__dict__["deletion_protection_enabled"] = deletion_protection_enabled
|
1724
1765
|
__props__.__dict__["desired_psc_auto_connections"] = desired_psc_auto_connections
|
@@ -1769,6 +1810,7 @@ class Instance(pulumi.CustomResource):
|
|
1769
1810
|
id: pulumi.Input[str],
|
1770
1811
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1771
1812
|
authorization_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1813
|
+
automated_backup_config: Optional[pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']]] = None,
|
1772
1814
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
1773
1815
|
cross_instance_replication_config: Optional[pulumi.Input[Union['InstanceCrossInstanceReplicationConfigArgs', 'InstanceCrossInstanceReplicationConfigArgsDict']]] = None,
|
1774
1816
|
deletion_protection_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
@@ -1810,6 +1852,8 @@ class Instance(pulumi.CustomResource):
|
|
1810
1852
|
:param pulumi.Input[builtins.str] authorization_mode: Optional. Immutable. Authorization mode of the instance. Possible values:
|
1811
1853
|
AUTH_DISABLED
|
1812
1854
|
IAM_AUTH
|
1855
|
+
:param pulumi.Input[Union['InstanceAutomatedBackupConfigArgs', 'InstanceAutomatedBackupConfigArgsDict']] automated_backup_config: The automated backup config for a instance.
|
1856
|
+
Structure is documented below.
|
1813
1857
|
:param pulumi.Input[builtins.str] create_time: Output only. Creation timestamp of the instance.
|
1814
1858
|
:param pulumi.Input[Union['InstanceCrossInstanceReplicationConfigArgs', 'InstanceCrossInstanceReplicationConfigArgsDict']] cross_instance_replication_config: Cross instance replication config
|
1815
1859
|
Structure is documented below.
|
@@ -1891,6 +1935,7 @@ class Instance(pulumi.CustomResource):
|
|
1891
1935
|
__props__ = _InstanceState.__new__(_InstanceState)
|
1892
1936
|
|
1893
1937
|
__props__.__dict__["authorization_mode"] = authorization_mode
|
1938
|
+
__props__.__dict__["automated_backup_config"] = automated_backup_config
|
1894
1939
|
__props__.__dict__["create_time"] = create_time
|
1895
1940
|
__props__.__dict__["cross_instance_replication_config"] = cross_instance_replication_config
|
1896
1941
|
__props__.__dict__["deletion_protection_enabled"] = deletion_protection_enabled
|
@@ -1934,6 +1979,15 @@ class Instance(pulumi.CustomResource):
|
|
1934
1979
|
"""
|
1935
1980
|
return pulumi.get(self, "authorization_mode")
|
1936
1981
|
|
1982
|
+
@property
|
1983
|
+
@pulumi.getter(name="automatedBackupConfig")
|
1984
|
+
def automated_backup_config(self) -> pulumi.Output[Optional['outputs.InstanceAutomatedBackupConfig']]:
|
1985
|
+
"""
|
1986
|
+
The automated backup config for a instance.
|
1987
|
+
Structure is documented below.
|
1988
|
+
"""
|
1989
|
+
return pulumi.get(self, "automated_backup_config")
|
1990
|
+
|
1937
1991
|
@property
|
1938
1992
|
@pulumi.getter(name="createTime")
|
1939
1993
|
def create_time(self) -> pulumi.Output[builtins.str]:
|
@@ -17,6 +17,9 @@ from .. import _utilities
|
|
17
17
|
from . import outputs
|
18
18
|
|
19
19
|
__all__ = [
|
20
|
+
'InstanceAutomatedBackupConfig',
|
21
|
+
'InstanceAutomatedBackupConfigFixedFrequencySchedule',
|
22
|
+
'InstanceAutomatedBackupConfigFixedFrequencyScheduleStartTime',
|
20
23
|
'InstanceCrossInstanceReplicationConfig',
|
21
24
|
'InstanceCrossInstanceReplicationConfigMembership',
|
22
25
|
'InstanceCrossInstanceReplicationConfigMembershipPrimaryInstance',
|
@@ -44,6 +47,9 @@ __all__ = [
|
|
44
47
|
'InstanceStateInfo',
|
45
48
|
'InstanceStateInfoUpdateInfo',
|
46
49
|
'InstanceZoneDistributionConfig',
|
50
|
+
'GetInstanceAutomatedBackupConfigResult',
|
51
|
+
'GetInstanceAutomatedBackupConfigFixedFrequencyScheduleResult',
|
52
|
+
'GetInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeResult',
|
47
53
|
'GetInstanceCrossInstanceReplicationConfigResult',
|
48
54
|
'GetInstanceCrossInstanceReplicationConfigMembershipResult',
|
49
55
|
'GetInstanceCrossInstanceReplicationConfigMembershipPrimaryInstanceResult',
|
@@ -70,6 +76,117 @@ __all__ = [
|
|
70
76
|
'GetInstanceZoneDistributionConfigResult',
|
71
77
|
]
|
72
78
|
|
79
|
+
@pulumi.output_type
|
80
|
+
class InstanceAutomatedBackupConfig(dict):
|
81
|
+
@staticmethod
|
82
|
+
def __key_warning(key: str):
|
83
|
+
suggest = None
|
84
|
+
if key == "fixedFrequencySchedule":
|
85
|
+
suggest = "fixed_frequency_schedule"
|
86
|
+
|
87
|
+
if suggest:
|
88
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceAutomatedBackupConfig. Access the value via the '{suggest}' property getter instead.")
|
89
|
+
|
90
|
+
def __getitem__(self, key: str) -> Any:
|
91
|
+
InstanceAutomatedBackupConfig.__key_warning(key)
|
92
|
+
return super().__getitem__(key)
|
93
|
+
|
94
|
+
def get(self, key: str, default = None) -> Any:
|
95
|
+
InstanceAutomatedBackupConfig.__key_warning(key)
|
96
|
+
return super().get(key, default)
|
97
|
+
|
98
|
+
def __init__(__self__, *,
|
99
|
+
fixed_frequency_schedule: 'outputs.InstanceAutomatedBackupConfigFixedFrequencySchedule',
|
100
|
+
retention: builtins.str):
|
101
|
+
"""
|
102
|
+
:param 'InstanceAutomatedBackupConfigFixedFrequencyScheduleArgs' fixed_frequency_schedule: Trigger automated backups at a fixed frequency.
|
103
|
+
Structure is documented below.
|
104
|
+
:param builtins.str retention: How long to keep automated backups before the backups are deleted.
|
105
|
+
The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
|
106
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". The default_value is "3024000s"
|
107
|
+
"""
|
108
|
+
pulumi.set(__self__, "fixed_frequency_schedule", fixed_frequency_schedule)
|
109
|
+
pulumi.set(__self__, "retention", retention)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="fixedFrequencySchedule")
|
113
|
+
def fixed_frequency_schedule(self) -> 'outputs.InstanceAutomatedBackupConfigFixedFrequencySchedule':
|
114
|
+
"""
|
115
|
+
Trigger automated backups at a fixed frequency.
|
116
|
+
Structure is documented below.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "fixed_frequency_schedule")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter
|
122
|
+
def retention(self) -> builtins.str:
|
123
|
+
"""
|
124
|
+
How long to keep automated backups before the backups are deleted.
|
125
|
+
The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
|
126
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". The default_value is "3024000s"
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "retention")
|
129
|
+
|
130
|
+
|
131
|
+
@pulumi.output_type
|
132
|
+
class InstanceAutomatedBackupConfigFixedFrequencySchedule(dict):
|
133
|
+
@staticmethod
|
134
|
+
def __key_warning(key: str):
|
135
|
+
suggest = None
|
136
|
+
if key == "startTime":
|
137
|
+
suggest = "start_time"
|
138
|
+
|
139
|
+
if suggest:
|
140
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceAutomatedBackupConfigFixedFrequencySchedule. Access the value via the '{suggest}' property getter instead.")
|
141
|
+
|
142
|
+
def __getitem__(self, key: str) -> Any:
|
143
|
+
InstanceAutomatedBackupConfigFixedFrequencySchedule.__key_warning(key)
|
144
|
+
return super().__getitem__(key)
|
145
|
+
|
146
|
+
def get(self, key: str, default = None) -> Any:
|
147
|
+
InstanceAutomatedBackupConfigFixedFrequencySchedule.__key_warning(key)
|
148
|
+
return super().get(key, default)
|
149
|
+
|
150
|
+
def __init__(__self__, *,
|
151
|
+
start_time: 'outputs.InstanceAutomatedBackupConfigFixedFrequencyScheduleStartTime'):
|
152
|
+
"""
|
153
|
+
:param 'InstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeArgs' start_time: The start time of every automated backup in UTC.
|
154
|
+
It must be set to the start of an hour. This field is required.
|
155
|
+
Structure is documented below.
|
156
|
+
"""
|
157
|
+
pulumi.set(__self__, "start_time", start_time)
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter(name="startTime")
|
161
|
+
def start_time(self) -> 'outputs.InstanceAutomatedBackupConfigFixedFrequencyScheduleStartTime':
|
162
|
+
"""
|
163
|
+
The start time of every automated backup in UTC.
|
164
|
+
It must be set to the start of an hour. This field is required.
|
165
|
+
Structure is documented below.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "start_time")
|
168
|
+
|
169
|
+
|
170
|
+
@pulumi.output_type
|
171
|
+
class InstanceAutomatedBackupConfigFixedFrequencyScheduleStartTime(dict):
|
172
|
+
def __init__(__self__, *,
|
173
|
+
hours: builtins.int):
|
174
|
+
"""
|
175
|
+
:param builtins.int hours: Hours of day in 24 hour format. Should be from 0 to 23.
|
176
|
+
An API may choose to allow the value "24:00:00" for scenarios like business closing time.
|
177
|
+
"""
|
178
|
+
pulumi.set(__self__, "hours", hours)
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def hours(self) -> builtins.int:
|
183
|
+
"""
|
184
|
+
Hours of day in 24 hour format. Should be from 0 to 23.
|
185
|
+
An API may choose to allow the value "24:00:00" for scenarios like business closing time.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "hours")
|
188
|
+
|
189
|
+
|
73
190
|
@pulumi.output_type
|
74
191
|
class InstanceCrossInstanceReplicationConfig(dict):
|
75
192
|
@staticmethod
|
@@ -1844,6 +1961,79 @@ class InstanceZoneDistributionConfig(dict):
|
|
1844
1961
|
return pulumi.get(self, "zone")
|
1845
1962
|
|
1846
1963
|
|
1964
|
+
@pulumi.output_type
|
1965
|
+
class GetInstanceAutomatedBackupConfigResult(dict):
|
1966
|
+
def __init__(__self__, *,
|
1967
|
+
fixed_frequency_schedules: Sequence['outputs.GetInstanceAutomatedBackupConfigFixedFrequencyScheduleResult'],
|
1968
|
+
retention: builtins.str):
|
1969
|
+
"""
|
1970
|
+
:param Sequence['GetInstanceAutomatedBackupConfigFixedFrequencyScheduleArgs'] fixed_frequency_schedules: Trigger automated backups at a fixed frequency.
|
1971
|
+
:param builtins.str retention: How long to keep automated backups before the backups are deleted.
|
1972
|
+
The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
|
1973
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". The default_value is "3024000s"
|
1974
|
+
"""
|
1975
|
+
pulumi.set(__self__, "fixed_frequency_schedules", fixed_frequency_schedules)
|
1976
|
+
pulumi.set(__self__, "retention", retention)
|
1977
|
+
|
1978
|
+
@property
|
1979
|
+
@pulumi.getter(name="fixedFrequencySchedules")
|
1980
|
+
def fixed_frequency_schedules(self) -> Sequence['outputs.GetInstanceAutomatedBackupConfigFixedFrequencyScheduleResult']:
|
1981
|
+
"""
|
1982
|
+
Trigger automated backups at a fixed frequency.
|
1983
|
+
"""
|
1984
|
+
return pulumi.get(self, "fixed_frequency_schedules")
|
1985
|
+
|
1986
|
+
@property
|
1987
|
+
@pulumi.getter
|
1988
|
+
def retention(self) -> builtins.str:
|
1989
|
+
"""
|
1990
|
+
How long to keep automated backups before the backups are deleted.
|
1991
|
+
The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
|
1992
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". The default_value is "3024000s"
|
1993
|
+
"""
|
1994
|
+
return pulumi.get(self, "retention")
|
1995
|
+
|
1996
|
+
|
1997
|
+
@pulumi.output_type
|
1998
|
+
class GetInstanceAutomatedBackupConfigFixedFrequencyScheduleResult(dict):
|
1999
|
+
def __init__(__self__, *,
|
2000
|
+
start_times: Sequence['outputs.GetInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeResult']):
|
2001
|
+
"""
|
2002
|
+
:param Sequence['GetInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeArgs'] start_times: The start time of every automated backup in UTC.
|
2003
|
+
It must be set to the start of an hour. This field is required.
|
2004
|
+
"""
|
2005
|
+
pulumi.set(__self__, "start_times", start_times)
|
2006
|
+
|
2007
|
+
@property
|
2008
|
+
@pulumi.getter(name="startTimes")
|
2009
|
+
def start_times(self) -> Sequence['outputs.GetInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeResult']:
|
2010
|
+
"""
|
2011
|
+
The start time of every automated backup in UTC.
|
2012
|
+
It must be set to the start of an hour. This field is required.
|
2013
|
+
"""
|
2014
|
+
return pulumi.get(self, "start_times")
|
2015
|
+
|
2016
|
+
|
2017
|
+
@pulumi.output_type
|
2018
|
+
class GetInstanceAutomatedBackupConfigFixedFrequencyScheduleStartTimeResult(dict):
|
2019
|
+
def __init__(__self__, *,
|
2020
|
+
hours: builtins.int):
|
2021
|
+
"""
|
2022
|
+
:param builtins.int hours: Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23.
|
2023
|
+
An API may choose to allow the value "24:00:00" for scenarios like business closing time.
|
2024
|
+
"""
|
2025
|
+
pulumi.set(__self__, "hours", hours)
|
2026
|
+
|
2027
|
+
@property
|
2028
|
+
@pulumi.getter
|
2029
|
+
def hours(self) -> builtins.int:
|
2030
|
+
"""
|
2031
|
+
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23.
|
2032
|
+
An API may choose to allow the value "24:00:00" for scenarios like business closing time.
|
2033
|
+
"""
|
2034
|
+
return pulumi.get(self, "hours")
|
2035
|
+
|
2036
|
+
|
1847
2037
|
@pulumi.output_type
|
1848
2038
|
class GetInstanceCrossInstanceReplicationConfigResult(dict):
|
1849
2039
|
def __init__(__self__, *,
|
pulumi_gcp/netapp/_inputs.py
CHANGED
@@ -26,6 +26,8 @@ __all__ = [
|
|
26
26
|
'VolumeMountOptionArgsDict',
|
27
27
|
'VolumeReplicationDestinationVolumeParametersArgs',
|
28
28
|
'VolumeReplicationDestinationVolumeParametersArgsDict',
|
29
|
+
'VolumeReplicationDestinationVolumeParametersTieringPolicyArgs',
|
30
|
+
'VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict',
|
29
31
|
'VolumeReplicationTransferStatArgs',
|
30
32
|
'VolumeReplicationTransferStatArgsDict',
|
31
33
|
'VolumeRestoreParametersArgs',
|
@@ -514,6 +516,11 @@ if not MYPY:
|
|
514
516
|
"""
|
515
517
|
Share name for destination volume. If not specified, name of source volume's share name will be used.
|
516
518
|
"""
|
519
|
+
tiering_policy: NotRequired[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict']]
|
520
|
+
"""
|
521
|
+
Tiering policy for the volume.
|
522
|
+
Structure is documented below.
|
523
|
+
"""
|
517
524
|
volume_id: NotRequired[pulumi.Input[builtins.str]]
|
518
525
|
"""
|
519
526
|
Name for the destination volume to be created. If not specified, the name of the source volume will be used.
|
@@ -527,11 +534,14 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
527
534
|
storage_pool: pulumi.Input[builtins.str],
|
528
535
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
529
536
|
share_name: Optional[pulumi.Input[builtins.str]] = None,
|
537
|
+
tiering_policy: Optional[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs']] = None,
|
530
538
|
volume_id: Optional[pulumi.Input[builtins.str]] = None):
|
531
539
|
"""
|
532
540
|
:param pulumi.Input[builtins.str] storage_pool: Name of an existing storage pool for the destination volume with format: `projects/{{project}}/locations/{{location}}/storagePools/{{poolId}}`
|
533
541
|
:param pulumi.Input[builtins.str] description: Description for the destination volume.
|
534
542
|
:param pulumi.Input[builtins.str] share_name: Share name for destination volume. If not specified, name of source volume's share name will be used.
|
543
|
+
:param pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs'] tiering_policy: Tiering policy for the volume.
|
544
|
+
Structure is documented below.
|
535
545
|
:param pulumi.Input[builtins.str] volume_id: Name for the destination volume to be created. If not specified, the name of the source volume will be used.
|
536
546
|
"""
|
537
547
|
pulumi.set(__self__, "storage_pool", storage_pool)
|
@@ -539,6 +549,8 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
539
549
|
pulumi.set(__self__, "description", description)
|
540
550
|
if share_name is not None:
|
541
551
|
pulumi.set(__self__, "share_name", share_name)
|
552
|
+
if tiering_policy is not None:
|
553
|
+
pulumi.set(__self__, "tiering_policy", tiering_policy)
|
542
554
|
if volume_id is not None:
|
543
555
|
pulumi.set(__self__, "volume_id", volume_id)
|
544
556
|
|
@@ -578,6 +590,19 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
578
590
|
def share_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
579
591
|
pulumi.set(self, "share_name", value)
|
580
592
|
|
593
|
+
@property
|
594
|
+
@pulumi.getter(name="tieringPolicy")
|
595
|
+
def tiering_policy(self) -> Optional[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs']]:
|
596
|
+
"""
|
597
|
+
Tiering policy for the volume.
|
598
|
+
Structure is documented below.
|
599
|
+
"""
|
600
|
+
return pulumi.get(self, "tiering_policy")
|
601
|
+
|
602
|
+
@tiering_policy.setter
|
603
|
+
def tiering_policy(self, value: Optional[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs']]):
|
604
|
+
pulumi.set(self, "tiering_policy", value)
|
605
|
+
|
581
606
|
@property
|
582
607
|
@pulumi.getter(name="volumeId")
|
583
608
|
def volume_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -591,6 +616,67 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
591
616
|
pulumi.set(self, "volume_id", value)
|
592
617
|
|
593
618
|
|
619
|
+
if not MYPY:
|
620
|
+
class VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict(TypedDict):
|
621
|
+
cooling_threshold_days: NotRequired[pulumi.Input[builtins.int]]
|
622
|
+
"""
|
623
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
624
|
+
Default is 31.
|
625
|
+
"""
|
626
|
+
tier_action: NotRequired[pulumi.Input[builtins.str]]
|
627
|
+
"""
|
628
|
+
Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
629
|
+
Default value is `PAUSED`.
|
630
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
631
|
+
"""
|
632
|
+
elif False:
|
633
|
+
VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
634
|
+
|
635
|
+
@pulumi.input_type
|
636
|
+
class VolumeReplicationDestinationVolumeParametersTieringPolicyArgs:
|
637
|
+
def __init__(__self__, *,
|
638
|
+
cooling_threshold_days: Optional[pulumi.Input[builtins.int]] = None,
|
639
|
+
tier_action: Optional[pulumi.Input[builtins.str]] = None):
|
640
|
+
"""
|
641
|
+
:param pulumi.Input[builtins.int] cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
642
|
+
Default is 31.
|
643
|
+
:param pulumi.Input[builtins.str] tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
644
|
+
Default value is `PAUSED`.
|
645
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
646
|
+
"""
|
647
|
+
if cooling_threshold_days is not None:
|
648
|
+
pulumi.set(__self__, "cooling_threshold_days", cooling_threshold_days)
|
649
|
+
if tier_action is not None:
|
650
|
+
pulumi.set(__self__, "tier_action", tier_action)
|
651
|
+
|
652
|
+
@property
|
653
|
+
@pulumi.getter(name="coolingThresholdDays")
|
654
|
+
def cooling_threshold_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
655
|
+
"""
|
656
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
657
|
+
Default is 31.
|
658
|
+
"""
|
659
|
+
return pulumi.get(self, "cooling_threshold_days")
|
660
|
+
|
661
|
+
@cooling_threshold_days.setter
|
662
|
+
def cooling_threshold_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
663
|
+
pulumi.set(self, "cooling_threshold_days", value)
|
664
|
+
|
665
|
+
@property
|
666
|
+
@pulumi.getter(name="tierAction")
|
667
|
+
def tier_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
668
|
+
"""
|
669
|
+
Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
670
|
+
Default value is `PAUSED`.
|
671
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
672
|
+
"""
|
673
|
+
return pulumi.get(self, "tier_action")
|
674
|
+
|
675
|
+
@tier_action.setter
|
676
|
+
def tier_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
677
|
+
pulumi.set(self, "tier_action", value)
|
678
|
+
|
679
|
+
|
594
680
|
if not MYPY:
|
595
681
|
class VolumeReplicationTransferStatArgsDict(TypedDict):
|
596
682
|
lag_duration: NotRequired[pulumi.Input[builtins.str]]
|
@@ -1292,7 +1378,7 @@ if not MYPY:
|
|
1292
1378
|
class VolumeTieringPolicyArgsDict(TypedDict):
|
1293
1379
|
cooling_threshold_days: NotRequired[pulumi.Input[builtins.int]]
|
1294
1380
|
"""
|
1295
|
-
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1381
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1296
1382
|
Default is 31.
|
1297
1383
|
"""
|
1298
1384
|
tier_action: NotRequired[pulumi.Input[builtins.str]]
|
@@ -1310,7 +1396,7 @@ class VolumeTieringPolicyArgs:
|
|
1310
1396
|
cooling_threshold_days: Optional[pulumi.Input[builtins.int]] = None,
|
1311
1397
|
tier_action: Optional[pulumi.Input[builtins.str]] = None):
|
1312
1398
|
"""
|
1313
|
-
:param pulumi.Input[builtins.int] cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1399
|
+
:param pulumi.Input[builtins.int] cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1314
1400
|
Default is 31.
|
1315
1401
|
:param pulumi.Input[builtins.str] tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
1316
1402
|
Default value is `PAUSED`.
|
@@ -1325,7 +1411,7 @@ class VolumeTieringPolicyArgs:
|
|
1325
1411
|
@pulumi.getter(name="coolingThresholdDays")
|
1326
1412
|
def cooling_threshold_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
1327
1413
|
"""
|
1328
|
-
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1414
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1329
1415
|
Default is 31.
|
1330
1416
|
"""
|
1331
1417
|
return pulumi.get(self, "cooling_threshold_days")
|