pulumi-gcp 8.31.0a1747205151__py3-none-any.whl → 8.31.0a1747312116__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 +8 -0
- pulumi_gcp/alloydb/_inputs.py +164 -0
- pulumi_gcp/alloydb/outputs.py +211 -0
- pulumi_gcp/apigee/_inputs.py +20 -0
- pulumi_gcp/apigee/outputs.py +12 -0
- pulumi_gcp/bigquery/routine.py +56 -0
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/certificateauthority/_inputs.py +20 -19
- pulumi_gcp/certificateauthority/authority.py +70 -0
- pulumi_gcp/certificateauthority/outputs.py +12 -11
- pulumi_gcp/cloudfunctionsv2/function.py +4 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +312 -0
- pulumi_gcp/compute/cross_site_network.py +374 -0
- pulumi_gcp/compute/get_health_check.py +12 -1
- pulumi_gcp/compute/health_check.py +120 -0
- pulumi_gcp/compute/outputs.py +353 -0
- pulumi_gcp/compute/region_health_check.py +120 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dataproc/get_metastore_service.py +1 -12
- pulumi_gcp/dataproc/metastore_service.py +0 -61
- pulumi_gcp/diagflow/_inputs.py +6280 -2644
- pulumi_gcp/diagflow/cx_flow.py +304 -0
- pulumi_gcp/diagflow/cx_page.py +290 -0
- pulumi_gcp/diagflow/outputs.py +4616 -1862
- pulumi_gcp/netapp/backup.py +56 -0
- pulumi_gcp/netapp/backup_vault.py +185 -0
- pulumi_gcp/netapp/storage_pool.py +2 -2
- pulumi_gcp/networkconnectivity/internal_range.py +47 -0
- pulumi_gcp/networkconnectivity/regional_endpoint.py +13 -13
- pulumi_gcp/networkservices/_inputs.py +43 -0
- pulumi_gcp/networkservices/edge_cache_origin.py +61 -0
- pulumi_gcp/networkservices/outputs.py +43 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +1 -12
- pulumi_gcp/redis/instance.py +0 -61
- pulumi_gcp/spanner/database.py +56 -0
- pulumi_gcp/spanner/get_database.py +12 -1
- pulumi_gcp/storage/bucket.py +4 -4
- pulumi_gcp/storage/get_bucket_object_content.py +29 -1
- {pulumi_gcp-8.31.0a1747205151.dist-info → pulumi_gcp-8.31.0a1747312116.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.31.0a1747205151.dist-info → pulumi_gcp-8.31.0a1747312116.dist-info}/RECORD +45 -44
- {pulumi_gcp-8.31.0a1747205151.dist-info → pulumi_gcp-8.31.0a1747312116.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.31.0a1747205151.dist-info → pulumi_gcp-8.31.0a1747312116.dist-info}/top_level.txt +0 -0
pulumi_gcp/netapp/backup.py
CHANGED
@@ -172,6 +172,7 @@ class BackupArgs:
|
|
172
172
|
@pulumi.input_type
|
173
173
|
class _BackupState:
|
174
174
|
def __init__(__self__, *,
|
175
|
+
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
175
176
|
backup_type: Optional[pulumi.Input[builtins.str]] = None,
|
176
177
|
chain_storage_bytes: Optional[pulumi.Input[builtins.str]] = None,
|
177
178
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -186,9 +187,11 @@ class _BackupState:
|
|
186
187
|
source_volume: Optional[pulumi.Input[builtins.str]] = None,
|
187
188
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
188
189
|
vault_name: Optional[pulumi.Input[builtins.str]] = None,
|
190
|
+
volume_region: Optional[pulumi.Input[builtins.str]] = None,
|
189
191
|
volume_usage_bytes: Optional[pulumi.Input[builtins.str]] = None):
|
190
192
|
"""
|
191
193
|
Input properties used for looking up and filtering Backup resources.
|
194
|
+
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
192
195
|
:param pulumi.Input[builtins.str] backup_type: Type of backup, manually created or created by a backup policy. Possible Values : [TYPE_UNSPECIFIED, MANUAL, SCHEDULED]
|
193
196
|
:param pulumi.Input[builtins.str] chain_storage_bytes: Backups of a volume build incrementally on top of each other. They form a "backup chain".
|
194
197
|
Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
|
@@ -214,8 +217,11 @@ class _BackupState:
|
|
214
217
|
:param pulumi.Input[builtins.str] source_volume: ID of volumes this backup belongs to. Format: `projects/{{projects_id}}/locations/{{location}}/volumes/{{name}}``
|
215
218
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault. Possible Values : [STATE_UNSPECIFIED, CREATING, UPLOADING, READY, DELETING, ERROR, UPDATING]
|
216
219
|
:param pulumi.Input[builtins.str] vault_name: Name of the backup vault to store the backup in.
|
220
|
+
:param pulumi.Input[builtins.str] volume_region: Region of the volume from which the backup was created.
|
217
221
|
:param pulumi.Input[builtins.str] volume_usage_bytes: Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
|
218
222
|
"""
|
223
|
+
if backup_region is not None:
|
224
|
+
pulumi.set(__self__, "backup_region", backup_region)
|
219
225
|
if backup_type is not None:
|
220
226
|
pulumi.set(__self__, "backup_type", backup_type)
|
221
227
|
if chain_storage_bytes is not None:
|
@@ -244,9 +250,23 @@ class _BackupState:
|
|
244
250
|
pulumi.set(__self__, "state", state)
|
245
251
|
if vault_name is not None:
|
246
252
|
pulumi.set(__self__, "vault_name", vault_name)
|
253
|
+
if volume_region is not None:
|
254
|
+
pulumi.set(__self__, "volume_region", volume_region)
|
247
255
|
if volume_usage_bytes is not None:
|
248
256
|
pulumi.set(__self__, "volume_usage_bytes", volume_usage_bytes)
|
249
257
|
|
258
|
+
@property
|
259
|
+
@pulumi.getter(name="backupRegion")
|
260
|
+
def backup_region(self) -> Optional[pulumi.Input[builtins.str]]:
|
261
|
+
"""
|
262
|
+
Region in which backup is stored.
|
263
|
+
"""
|
264
|
+
return pulumi.get(self, "backup_region")
|
265
|
+
|
266
|
+
@backup_region.setter
|
267
|
+
def backup_region(self, value: Optional[pulumi.Input[builtins.str]]):
|
268
|
+
pulumi.set(self, "backup_region", value)
|
269
|
+
|
250
270
|
@property
|
251
271
|
@pulumi.getter(name="backupType")
|
252
272
|
def backup_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -426,6 +446,18 @@ class _BackupState:
|
|
426
446
|
def vault_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
427
447
|
pulumi.set(self, "vault_name", value)
|
428
448
|
|
449
|
+
@property
|
450
|
+
@pulumi.getter(name="volumeRegion")
|
451
|
+
def volume_region(self) -> Optional[pulumi.Input[builtins.str]]:
|
452
|
+
"""
|
453
|
+
Region of the volume from which the backup was created.
|
454
|
+
"""
|
455
|
+
return pulumi.get(self, "volume_region")
|
456
|
+
|
457
|
+
@volume_region.setter
|
458
|
+
def volume_region(self, value: Optional[pulumi.Input[builtins.str]]):
|
459
|
+
pulumi.set(self, "volume_region", value)
|
460
|
+
|
429
461
|
@property
|
430
462
|
@pulumi.getter(name="volumeUsageBytes")
|
431
463
|
def volume_usage_bytes(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -688,12 +720,14 @@ class Backup(pulumi.CustomResource):
|
|
688
720
|
if vault_name is None and not opts.urn:
|
689
721
|
raise TypeError("Missing required property 'vault_name'")
|
690
722
|
__props__.__dict__["vault_name"] = vault_name
|
723
|
+
__props__.__dict__["backup_region"] = None
|
691
724
|
__props__.__dict__["backup_type"] = None
|
692
725
|
__props__.__dict__["chain_storage_bytes"] = None
|
693
726
|
__props__.__dict__["create_time"] = None
|
694
727
|
__props__.__dict__["effective_labels"] = None
|
695
728
|
__props__.__dict__["pulumi_labels"] = None
|
696
729
|
__props__.__dict__["state"] = None
|
730
|
+
__props__.__dict__["volume_region"] = None
|
697
731
|
__props__.__dict__["volume_usage_bytes"] = None
|
698
732
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
699
733
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
@@ -707,6 +741,7 @@ class Backup(pulumi.CustomResource):
|
|
707
741
|
def get(resource_name: str,
|
708
742
|
id: pulumi.Input[str],
|
709
743
|
opts: Optional[pulumi.ResourceOptions] = None,
|
744
|
+
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
710
745
|
backup_type: Optional[pulumi.Input[builtins.str]] = None,
|
711
746
|
chain_storage_bytes: Optional[pulumi.Input[builtins.str]] = None,
|
712
747
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -721,6 +756,7 @@ class Backup(pulumi.CustomResource):
|
|
721
756
|
source_volume: Optional[pulumi.Input[builtins.str]] = None,
|
722
757
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
723
758
|
vault_name: Optional[pulumi.Input[builtins.str]] = None,
|
759
|
+
volume_region: Optional[pulumi.Input[builtins.str]] = None,
|
724
760
|
volume_usage_bytes: Optional[pulumi.Input[builtins.str]] = None) -> 'Backup':
|
725
761
|
"""
|
726
762
|
Get an existing Backup resource's state with the given name, id, and optional extra
|
@@ -729,6 +765,7 @@ class Backup(pulumi.CustomResource):
|
|
729
765
|
:param str resource_name: The unique name of the resulting resource.
|
730
766
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
731
767
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
768
|
+
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
732
769
|
:param pulumi.Input[builtins.str] backup_type: Type of backup, manually created or created by a backup policy. Possible Values : [TYPE_UNSPECIFIED, MANUAL, SCHEDULED]
|
733
770
|
:param pulumi.Input[builtins.str] chain_storage_bytes: Backups of a volume build incrementally on top of each other. They form a "backup chain".
|
734
771
|
Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
|
@@ -754,12 +791,14 @@ class Backup(pulumi.CustomResource):
|
|
754
791
|
:param pulumi.Input[builtins.str] source_volume: ID of volumes this backup belongs to. Format: `projects/{{projects_id}}/locations/{{location}}/volumes/{{name}}``
|
755
792
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault. Possible Values : [STATE_UNSPECIFIED, CREATING, UPLOADING, READY, DELETING, ERROR, UPDATING]
|
756
793
|
:param pulumi.Input[builtins.str] vault_name: Name of the backup vault to store the backup in.
|
794
|
+
:param pulumi.Input[builtins.str] volume_region: Region of the volume from which the backup was created.
|
757
795
|
:param pulumi.Input[builtins.str] volume_usage_bytes: Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.
|
758
796
|
"""
|
759
797
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
760
798
|
|
761
799
|
__props__ = _BackupState.__new__(_BackupState)
|
762
800
|
|
801
|
+
__props__.__dict__["backup_region"] = backup_region
|
763
802
|
__props__.__dict__["backup_type"] = backup_type
|
764
803
|
__props__.__dict__["chain_storage_bytes"] = chain_storage_bytes
|
765
804
|
__props__.__dict__["create_time"] = create_time
|
@@ -774,9 +813,18 @@ class Backup(pulumi.CustomResource):
|
|
774
813
|
__props__.__dict__["source_volume"] = source_volume
|
775
814
|
__props__.__dict__["state"] = state
|
776
815
|
__props__.__dict__["vault_name"] = vault_name
|
816
|
+
__props__.__dict__["volume_region"] = volume_region
|
777
817
|
__props__.__dict__["volume_usage_bytes"] = volume_usage_bytes
|
778
818
|
return Backup(resource_name, opts=opts, __props__=__props__)
|
779
819
|
|
820
|
+
@property
|
821
|
+
@pulumi.getter(name="backupRegion")
|
822
|
+
def backup_region(self) -> pulumi.Output[builtins.str]:
|
823
|
+
"""
|
824
|
+
Region in which backup is stored.
|
825
|
+
"""
|
826
|
+
return pulumi.get(self, "backup_region")
|
827
|
+
|
780
828
|
@property
|
781
829
|
@pulumi.getter(name="backupType")
|
782
830
|
def backup_type(self) -> pulumi.Output[builtins.str]:
|
@@ -900,6 +948,14 @@ class Backup(pulumi.CustomResource):
|
|
900
948
|
"""
|
901
949
|
return pulumi.get(self, "vault_name")
|
902
950
|
|
951
|
+
@property
|
952
|
+
@pulumi.getter(name="volumeRegion")
|
953
|
+
def volume_region(self) -> pulumi.Output[builtins.str]:
|
954
|
+
"""
|
955
|
+
Region of the volume from which the backup was created.
|
956
|
+
"""
|
957
|
+
return pulumi.get(self, "volume_region")
|
958
|
+
|
903
959
|
@property
|
904
960
|
@pulumi.getter(name="volumeUsageBytes")
|
905
961
|
def volume_usage_bytes(self) -> pulumi.Output[builtins.str]:
|
@@ -21,6 +21,8 @@ __all__ = ['BackupVaultArgs', 'BackupVault']
|
|
21
21
|
class BackupVaultArgs:
|
22
22
|
def __init__(__self__, *,
|
23
23
|
location: pulumi.Input[builtins.str],
|
24
|
+
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
25
|
+
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
24
26
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
25
27
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
26
28
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -28,6 +30,9 @@ class BackupVaultArgs:
|
|
28
30
|
"""
|
29
31
|
The set of arguments for constructing a BackupVault resource.
|
30
32
|
:param pulumi.Input[builtins.str] location: Location (region) of the backup vault.
|
33
|
+
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
34
|
+
:param pulumi.Input[builtins.str] backup_vault_type: Type of the backup vault to be created. Default is IN_REGION.
|
35
|
+
Possible values are: `BACKUP_VAULT_TYPE_UNSPECIFIED`, `IN_REGION`, `CROSS_REGION`.
|
31
36
|
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
32
37
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
33
38
|
|
@@ -41,6 +46,10 @@ class BackupVaultArgs:
|
|
41
46
|
If it is not provided, the provider project is used.
|
42
47
|
"""
|
43
48
|
pulumi.set(__self__, "location", location)
|
49
|
+
if backup_region is not None:
|
50
|
+
pulumi.set(__self__, "backup_region", backup_region)
|
51
|
+
if backup_vault_type is not None:
|
52
|
+
pulumi.set(__self__, "backup_vault_type", backup_vault_type)
|
44
53
|
if description is not None:
|
45
54
|
pulumi.set(__self__, "description", description)
|
46
55
|
if labels is not None:
|
@@ -62,6 +71,31 @@ class BackupVaultArgs:
|
|
62
71
|
def location(self, value: pulumi.Input[builtins.str]):
|
63
72
|
pulumi.set(self, "location", value)
|
64
73
|
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="backupRegion")
|
76
|
+
def backup_region(self) -> Optional[pulumi.Input[builtins.str]]:
|
77
|
+
"""
|
78
|
+
Region in which backup is stored.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "backup_region")
|
81
|
+
|
82
|
+
@backup_region.setter
|
83
|
+
def backup_region(self, value: Optional[pulumi.Input[builtins.str]]):
|
84
|
+
pulumi.set(self, "backup_region", value)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="backupVaultType")
|
88
|
+
def backup_vault_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
89
|
+
"""
|
90
|
+
Type of the backup vault to be created. Default is IN_REGION.
|
91
|
+
Possible values are: `BACKUP_VAULT_TYPE_UNSPECIFIED`, `IN_REGION`, `CROSS_REGION`.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "backup_vault_type")
|
94
|
+
|
95
|
+
@backup_vault_type.setter
|
96
|
+
def backup_vault_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
97
|
+
pulumi.set(self, "backup_vault_type", value)
|
98
|
+
|
65
99
|
@property
|
66
100
|
@pulumi.getter
|
67
101
|
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -121,19 +155,28 @@ class BackupVaultArgs:
|
|
121
155
|
@pulumi.input_type
|
122
156
|
class _BackupVaultState:
|
123
157
|
def __init__(__self__, *,
|
158
|
+
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
159
|
+
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
124
160
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
125
161
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
162
|
+
destination_backup_vault: Optional[pulumi.Input[builtins.str]] = None,
|
126
163
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
127
164
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
128
165
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
129
166
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
130
167
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
131
168
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
169
|
+
source_backup_vault: Optional[pulumi.Input[builtins.str]] = None,
|
170
|
+
source_region: Optional[pulumi.Input[builtins.str]] = None,
|
132
171
|
state: Optional[pulumi.Input[builtins.str]] = None):
|
133
172
|
"""
|
134
173
|
Input properties used for looking up and filtering BackupVault resources.
|
174
|
+
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
175
|
+
:param pulumi.Input[builtins.str] backup_vault_type: Type of the backup vault to be created. Default is IN_REGION.
|
176
|
+
Possible values are: `BACKUP_VAULT_TYPE_UNSPECIFIED`, `IN_REGION`, `CROSS_REGION`.
|
135
177
|
:param pulumi.Input[builtins.str] create_time: Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
|
136
178
|
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
179
|
+
:param pulumi.Input[builtins.str] destination_backup_vault: Name of the Backup vault created in backup region.
|
137
180
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
138
181
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
139
182
|
|
@@ -148,12 +191,20 @@ class _BackupVaultState:
|
|
148
191
|
If it is not provided, the provider project is used.
|
149
192
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
150
193
|
and default labels configured on the provider.
|
194
|
+
:param pulumi.Input[builtins.str] source_backup_vault: Name of the Backup vault created in source region.
|
195
|
+
:param pulumi.Input[builtins.str] source_region: Region in which the backup vault is created.
|
151
196
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault.
|
152
197
|
"""
|
198
|
+
if backup_region is not None:
|
199
|
+
pulumi.set(__self__, "backup_region", backup_region)
|
200
|
+
if backup_vault_type is not None:
|
201
|
+
pulumi.set(__self__, "backup_vault_type", backup_vault_type)
|
153
202
|
if create_time is not None:
|
154
203
|
pulumi.set(__self__, "create_time", create_time)
|
155
204
|
if description is not None:
|
156
205
|
pulumi.set(__self__, "description", description)
|
206
|
+
if destination_backup_vault is not None:
|
207
|
+
pulumi.set(__self__, "destination_backup_vault", destination_backup_vault)
|
157
208
|
if effective_labels is not None:
|
158
209
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
159
210
|
if labels is not None:
|
@@ -166,9 +217,38 @@ class _BackupVaultState:
|
|
166
217
|
pulumi.set(__self__, "project", project)
|
167
218
|
if pulumi_labels is not None:
|
168
219
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
220
|
+
if source_backup_vault is not None:
|
221
|
+
pulumi.set(__self__, "source_backup_vault", source_backup_vault)
|
222
|
+
if source_region is not None:
|
223
|
+
pulumi.set(__self__, "source_region", source_region)
|
169
224
|
if state is not None:
|
170
225
|
pulumi.set(__self__, "state", state)
|
171
226
|
|
227
|
+
@property
|
228
|
+
@pulumi.getter(name="backupRegion")
|
229
|
+
def backup_region(self) -> Optional[pulumi.Input[builtins.str]]:
|
230
|
+
"""
|
231
|
+
Region in which backup is stored.
|
232
|
+
"""
|
233
|
+
return pulumi.get(self, "backup_region")
|
234
|
+
|
235
|
+
@backup_region.setter
|
236
|
+
def backup_region(self, value: Optional[pulumi.Input[builtins.str]]):
|
237
|
+
pulumi.set(self, "backup_region", value)
|
238
|
+
|
239
|
+
@property
|
240
|
+
@pulumi.getter(name="backupVaultType")
|
241
|
+
def backup_vault_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
242
|
+
"""
|
243
|
+
Type of the backup vault to be created. Default is IN_REGION.
|
244
|
+
Possible values are: `BACKUP_VAULT_TYPE_UNSPECIFIED`, `IN_REGION`, `CROSS_REGION`.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "backup_vault_type")
|
247
|
+
|
248
|
+
@backup_vault_type.setter
|
249
|
+
def backup_vault_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
250
|
+
pulumi.set(self, "backup_vault_type", value)
|
251
|
+
|
172
252
|
@property
|
173
253
|
@pulumi.getter(name="createTime")
|
174
254
|
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -193,6 +273,18 @@ class _BackupVaultState:
|
|
193
273
|
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
194
274
|
pulumi.set(self, "description", value)
|
195
275
|
|
276
|
+
@property
|
277
|
+
@pulumi.getter(name="destinationBackupVault")
|
278
|
+
def destination_backup_vault(self) -> Optional[pulumi.Input[builtins.str]]:
|
279
|
+
"""
|
280
|
+
Name of the Backup vault created in backup region.
|
281
|
+
"""
|
282
|
+
return pulumi.get(self, "destination_backup_vault")
|
283
|
+
|
284
|
+
@destination_backup_vault.setter
|
285
|
+
def destination_backup_vault(self, value: Optional[pulumi.Input[builtins.str]]):
|
286
|
+
pulumi.set(self, "destination_backup_vault", value)
|
287
|
+
|
196
288
|
@property
|
197
289
|
@pulumi.getter(name="effectiveLabels")
|
198
290
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
@@ -273,6 +365,30 @@ class _BackupVaultState:
|
|
273
365
|
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
274
366
|
pulumi.set(self, "pulumi_labels", value)
|
275
367
|
|
368
|
+
@property
|
369
|
+
@pulumi.getter(name="sourceBackupVault")
|
370
|
+
def source_backup_vault(self) -> Optional[pulumi.Input[builtins.str]]:
|
371
|
+
"""
|
372
|
+
Name of the Backup vault created in source region.
|
373
|
+
"""
|
374
|
+
return pulumi.get(self, "source_backup_vault")
|
375
|
+
|
376
|
+
@source_backup_vault.setter
|
377
|
+
def source_backup_vault(self, value: Optional[pulumi.Input[builtins.str]]):
|
378
|
+
pulumi.set(self, "source_backup_vault", value)
|
379
|
+
|
380
|
+
@property
|
381
|
+
@pulumi.getter(name="sourceRegion")
|
382
|
+
def source_region(self) -> Optional[pulumi.Input[builtins.str]]:
|
383
|
+
"""
|
384
|
+
Region in which the backup vault is created.
|
385
|
+
"""
|
386
|
+
return pulumi.get(self, "source_region")
|
387
|
+
|
388
|
+
@source_region.setter
|
389
|
+
def source_region(self, value: Optional[pulumi.Input[builtins.str]]):
|
390
|
+
pulumi.set(self, "source_region", value)
|
391
|
+
|
276
392
|
@property
|
277
393
|
@pulumi.getter
|
278
394
|
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -292,6 +408,8 @@ class BackupVault(pulumi.CustomResource):
|
|
292
408
|
def __init__(__self__,
|
293
409
|
resource_name: str,
|
294
410
|
opts: Optional[pulumi.ResourceOptions] = None,
|
411
|
+
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
412
|
+
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
295
413
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
296
414
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
297
415
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -351,6 +469,9 @@ class BackupVault(pulumi.CustomResource):
|
|
351
469
|
|
352
470
|
:param str resource_name: The name of the resource.
|
353
471
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
472
|
+
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
473
|
+
:param pulumi.Input[builtins.str] backup_vault_type: Type of the backup vault to be created. Default is IN_REGION.
|
474
|
+
Possible values are: `BACKUP_VAULT_TYPE_UNSPECIFIED`, `IN_REGION`, `CROSS_REGION`.
|
354
475
|
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
355
476
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
356
477
|
|
@@ -436,6 +557,8 @@ class BackupVault(pulumi.CustomResource):
|
|
436
557
|
def _internal_init(__self__,
|
437
558
|
resource_name: str,
|
438
559
|
opts: Optional[pulumi.ResourceOptions] = None,
|
560
|
+
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
561
|
+
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
439
562
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
440
563
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
441
564
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -450,6 +573,8 @@ class BackupVault(pulumi.CustomResource):
|
|
450
573
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
451
574
|
__props__ = BackupVaultArgs.__new__(BackupVaultArgs)
|
452
575
|
|
576
|
+
__props__.__dict__["backup_region"] = backup_region
|
577
|
+
__props__.__dict__["backup_vault_type"] = backup_vault_type
|
453
578
|
__props__.__dict__["description"] = description
|
454
579
|
__props__.__dict__["labels"] = labels
|
455
580
|
if location is None and not opts.urn:
|
@@ -458,8 +583,11 @@ class BackupVault(pulumi.CustomResource):
|
|
458
583
|
__props__.__dict__["name"] = name
|
459
584
|
__props__.__dict__["project"] = project
|
460
585
|
__props__.__dict__["create_time"] = None
|
586
|
+
__props__.__dict__["destination_backup_vault"] = None
|
461
587
|
__props__.__dict__["effective_labels"] = None
|
462
588
|
__props__.__dict__["pulumi_labels"] = None
|
589
|
+
__props__.__dict__["source_backup_vault"] = None
|
590
|
+
__props__.__dict__["source_region"] = None
|
463
591
|
__props__.__dict__["state"] = None
|
464
592
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
465
593
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
@@ -473,14 +601,19 @@ class BackupVault(pulumi.CustomResource):
|
|
473
601
|
def get(resource_name: str,
|
474
602
|
id: pulumi.Input[str],
|
475
603
|
opts: Optional[pulumi.ResourceOptions] = None,
|
604
|
+
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
605
|
+
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
476
606
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
477
607
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
608
|
+
destination_backup_vault: Optional[pulumi.Input[builtins.str]] = None,
|
478
609
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
479
610
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
480
611
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
481
612
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
482
613
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
483
614
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
615
|
+
source_backup_vault: Optional[pulumi.Input[builtins.str]] = None,
|
616
|
+
source_region: Optional[pulumi.Input[builtins.str]] = None,
|
484
617
|
state: Optional[pulumi.Input[builtins.str]] = None) -> 'BackupVault':
|
485
618
|
"""
|
486
619
|
Get an existing BackupVault resource's state with the given name, id, and optional extra
|
@@ -489,8 +622,12 @@ class BackupVault(pulumi.CustomResource):
|
|
489
622
|
:param str resource_name: The unique name of the resulting resource.
|
490
623
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
491
624
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
625
|
+
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
626
|
+
:param pulumi.Input[builtins.str] backup_vault_type: Type of the backup vault to be created. Default is IN_REGION.
|
627
|
+
Possible values are: `BACKUP_VAULT_TYPE_UNSPECIFIED`, `IN_REGION`, `CROSS_REGION`.
|
492
628
|
:param pulumi.Input[builtins.str] create_time: Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
|
493
629
|
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
630
|
+
:param pulumi.Input[builtins.str] destination_backup_vault: Name of the Backup vault created in backup region.
|
494
631
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
495
632
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
496
633
|
|
@@ -505,23 +642,47 @@ class BackupVault(pulumi.CustomResource):
|
|
505
642
|
If it is not provided, the provider project is used.
|
506
643
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
507
644
|
and default labels configured on the provider.
|
645
|
+
:param pulumi.Input[builtins.str] source_backup_vault: Name of the Backup vault created in source region.
|
646
|
+
:param pulumi.Input[builtins.str] source_region: Region in which the backup vault is created.
|
508
647
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault.
|
509
648
|
"""
|
510
649
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
511
650
|
|
512
651
|
__props__ = _BackupVaultState.__new__(_BackupVaultState)
|
513
652
|
|
653
|
+
__props__.__dict__["backup_region"] = backup_region
|
654
|
+
__props__.__dict__["backup_vault_type"] = backup_vault_type
|
514
655
|
__props__.__dict__["create_time"] = create_time
|
515
656
|
__props__.__dict__["description"] = description
|
657
|
+
__props__.__dict__["destination_backup_vault"] = destination_backup_vault
|
516
658
|
__props__.__dict__["effective_labels"] = effective_labels
|
517
659
|
__props__.__dict__["labels"] = labels
|
518
660
|
__props__.__dict__["location"] = location
|
519
661
|
__props__.__dict__["name"] = name
|
520
662
|
__props__.__dict__["project"] = project
|
521
663
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
664
|
+
__props__.__dict__["source_backup_vault"] = source_backup_vault
|
665
|
+
__props__.__dict__["source_region"] = source_region
|
522
666
|
__props__.__dict__["state"] = state
|
523
667
|
return BackupVault(resource_name, opts=opts, __props__=__props__)
|
524
668
|
|
669
|
+
@property
|
670
|
+
@pulumi.getter(name="backupRegion")
|
671
|
+
def backup_region(self) -> pulumi.Output[Optional[builtins.str]]:
|
672
|
+
"""
|
673
|
+
Region in which backup is stored.
|
674
|
+
"""
|
675
|
+
return pulumi.get(self, "backup_region")
|
676
|
+
|
677
|
+
@property
|
678
|
+
@pulumi.getter(name="backupVaultType")
|
679
|
+
def backup_vault_type(self) -> pulumi.Output[builtins.str]:
|
680
|
+
"""
|
681
|
+
Type of the backup vault to be created. Default is IN_REGION.
|
682
|
+
Possible values are: `BACKUP_VAULT_TYPE_UNSPECIFIED`, `IN_REGION`, `CROSS_REGION`.
|
683
|
+
"""
|
684
|
+
return pulumi.get(self, "backup_vault_type")
|
685
|
+
|
525
686
|
@property
|
526
687
|
@pulumi.getter(name="createTime")
|
527
688
|
def create_time(self) -> pulumi.Output[builtins.str]:
|
@@ -538,6 +699,14 @@ class BackupVault(pulumi.CustomResource):
|
|
538
699
|
"""
|
539
700
|
return pulumi.get(self, "description")
|
540
701
|
|
702
|
+
@property
|
703
|
+
@pulumi.getter(name="destinationBackupVault")
|
704
|
+
def destination_backup_vault(self) -> pulumi.Output[builtins.str]:
|
705
|
+
"""
|
706
|
+
Name of the Backup vault created in backup region.
|
707
|
+
"""
|
708
|
+
return pulumi.get(self, "destination_backup_vault")
|
709
|
+
|
541
710
|
@property
|
542
711
|
@pulumi.getter(name="effectiveLabels")
|
543
712
|
def effective_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
@@ -594,6 +763,22 @@ class BackupVault(pulumi.CustomResource):
|
|
594
763
|
"""
|
595
764
|
return pulumi.get(self, "pulumi_labels")
|
596
765
|
|
766
|
+
@property
|
767
|
+
@pulumi.getter(name="sourceBackupVault")
|
768
|
+
def source_backup_vault(self) -> pulumi.Output[builtins.str]:
|
769
|
+
"""
|
770
|
+
Name of the Backup vault created in source region.
|
771
|
+
"""
|
772
|
+
return pulumi.get(self, "source_backup_vault")
|
773
|
+
|
774
|
+
@property
|
775
|
+
@pulumi.getter(name="sourceRegion")
|
776
|
+
def source_region(self) -> pulumi.Output[builtins.str]:
|
777
|
+
"""
|
778
|
+
Region in which the backup vault is created.
|
779
|
+
"""
|
780
|
+
return pulumi.get(self, "source_region")
|
781
|
+
|
597
782
|
@property
|
598
783
|
@pulumi.getter
|
599
784
|
def state(self) -> pulumi.Output[builtins.str]:
|
@@ -742,7 +742,7 @@ class StoragePool(pulumi.CustomResource):
|
|
742
742
|
"""
|
743
743
|
## Example Usage
|
744
744
|
|
745
|
-
### Storage Pool Create
|
745
|
+
### Storage Pool Create Doc
|
746
746
|
|
747
747
|
```python
|
748
748
|
import pulumi
|
@@ -849,7 +849,7 @@ class StoragePool(pulumi.CustomResource):
|
|
849
849
|
"""
|
850
850
|
## Example Usage
|
851
851
|
|
852
|
-
### Storage Pool Create
|
852
|
+
### Storage Pool Create Doc
|
853
853
|
|
854
854
|
```python
|
855
855
|
import pulumi
|