pulumi-gcp 8.31.0__py3-none-any.whl → 8.31.0a1747205151__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 +0 -8
- pulumi_gcp/alloydb/_inputs.py +0 -164
- pulumi_gcp/alloydb/outputs.py +0 -211
- pulumi_gcp/apigee/_inputs.py +0 -20
- pulumi_gcp/apigee/outputs.py +0 -12
- pulumi_gcp/bigquery/routine.py +0 -56
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/certificateauthority/_inputs.py +19 -20
- pulumi_gcp/certificateauthority/authority.py +0 -70
- pulumi_gcp/certificateauthority/outputs.py +11 -12
- pulumi_gcp/cloudfunctionsv2/function.py +4 -4
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +0 -312
- pulumi_gcp/compute/get_health_check.py +1 -12
- pulumi_gcp/compute/health_check.py +0 -120
- pulumi_gcp/compute/outputs.py +0 -353
- pulumi_gcp/compute/region_health_check.py +0 -120
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dataproc/get_metastore_service.py +12 -1
- pulumi_gcp/dataproc/metastore_service.py +61 -0
- pulumi_gcp/diagflow/_inputs.py +2894 -6530
- pulumi_gcp/diagflow/cx_flow.py +0 -304
- pulumi_gcp/diagflow/cx_page.py +0 -290
- pulumi_gcp/diagflow/outputs.py +1876 -4630
- pulumi_gcp/netapp/backup.py +0 -56
- pulumi_gcp/netapp/backup_vault.py +0 -185
- pulumi_gcp/netapp/storage_pool.py +2 -2
- pulumi_gcp/networkconnectivity/internal_range.py +0 -47
- pulumi_gcp/networkconnectivity/regional_endpoint.py +13 -13
- pulumi_gcp/networkservices/_inputs.py +0 -43
- pulumi_gcp/networkservices/edge_cache_origin.py +0 -61
- pulumi_gcp/networkservices/outputs.py +0 -43
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +61 -0
- pulumi_gcp/spanner/database.py +0 -56
- pulumi_gcp/spanner/get_database.py +1 -12
- pulumi_gcp/storage/bucket.py +4 -4
- pulumi_gcp/storage/get_bucket_object_content.py +1 -29
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/RECORD +44 -45
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/WHEEL +1 -1
- pulumi_gcp/compute/cross_site_network.py +0 -374
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/top_level.txt +0 -0
pulumi_gcp/netapp/backup.py
CHANGED
@@ -172,7 +172,6 @@ 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,
|
176
175
|
backup_type: Optional[pulumi.Input[builtins.str]] = None,
|
177
176
|
chain_storage_bytes: Optional[pulumi.Input[builtins.str]] = None,
|
178
177
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -187,11 +186,9 @@ class _BackupState:
|
|
187
186
|
source_volume: Optional[pulumi.Input[builtins.str]] = None,
|
188
187
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
189
188
|
vault_name: Optional[pulumi.Input[builtins.str]] = None,
|
190
|
-
volume_region: Optional[pulumi.Input[builtins.str]] = None,
|
191
189
|
volume_usage_bytes: Optional[pulumi.Input[builtins.str]] = None):
|
192
190
|
"""
|
193
191
|
Input properties used for looking up and filtering Backup resources.
|
194
|
-
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
195
192
|
:param pulumi.Input[builtins.str] backup_type: Type of backup, manually created or created by a backup policy. Possible Values : [TYPE_UNSPECIFIED, MANUAL, SCHEDULED]
|
196
193
|
:param pulumi.Input[builtins.str] chain_storage_bytes: Backups of a volume build incrementally on top of each other. They form a "backup chain".
|
197
194
|
Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
|
@@ -217,11 +214,8 @@ class _BackupState:
|
|
217
214
|
:param pulumi.Input[builtins.str] source_volume: ID of volumes this backup belongs to. Format: `projects/{{projects_id}}/locations/{{location}}/volumes/{{name}}``
|
218
215
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault. Possible Values : [STATE_UNSPECIFIED, CREATING, UPLOADING, READY, DELETING, ERROR, UPDATING]
|
219
216
|
: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.
|
221
217
|
: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.
|
222
218
|
"""
|
223
|
-
if backup_region is not None:
|
224
|
-
pulumi.set(__self__, "backup_region", backup_region)
|
225
219
|
if backup_type is not None:
|
226
220
|
pulumi.set(__self__, "backup_type", backup_type)
|
227
221
|
if chain_storage_bytes is not None:
|
@@ -250,23 +244,9 @@ class _BackupState:
|
|
250
244
|
pulumi.set(__self__, "state", state)
|
251
245
|
if vault_name is not None:
|
252
246
|
pulumi.set(__self__, "vault_name", vault_name)
|
253
|
-
if volume_region is not None:
|
254
|
-
pulumi.set(__self__, "volume_region", volume_region)
|
255
247
|
if volume_usage_bytes is not None:
|
256
248
|
pulumi.set(__self__, "volume_usage_bytes", volume_usage_bytes)
|
257
249
|
|
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
|
-
|
270
250
|
@property
|
271
251
|
@pulumi.getter(name="backupType")
|
272
252
|
def backup_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -446,18 +426,6 @@ class _BackupState:
|
|
446
426
|
def vault_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
447
427
|
pulumi.set(self, "vault_name", value)
|
448
428
|
|
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
|
-
|
461
429
|
@property
|
462
430
|
@pulumi.getter(name="volumeUsageBytes")
|
463
431
|
def volume_usage_bytes(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -720,14 +688,12 @@ class Backup(pulumi.CustomResource):
|
|
720
688
|
if vault_name is None and not opts.urn:
|
721
689
|
raise TypeError("Missing required property 'vault_name'")
|
722
690
|
__props__.__dict__["vault_name"] = vault_name
|
723
|
-
__props__.__dict__["backup_region"] = None
|
724
691
|
__props__.__dict__["backup_type"] = None
|
725
692
|
__props__.__dict__["chain_storage_bytes"] = None
|
726
693
|
__props__.__dict__["create_time"] = None
|
727
694
|
__props__.__dict__["effective_labels"] = None
|
728
695
|
__props__.__dict__["pulumi_labels"] = None
|
729
696
|
__props__.__dict__["state"] = None
|
730
|
-
__props__.__dict__["volume_region"] = None
|
731
697
|
__props__.__dict__["volume_usage_bytes"] = None
|
732
698
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
733
699
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
@@ -741,7 +707,6 @@ class Backup(pulumi.CustomResource):
|
|
741
707
|
def get(resource_name: str,
|
742
708
|
id: pulumi.Input[str],
|
743
709
|
opts: Optional[pulumi.ResourceOptions] = None,
|
744
|
-
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
745
710
|
backup_type: Optional[pulumi.Input[builtins.str]] = None,
|
746
711
|
chain_storage_bytes: Optional[pulumi.Input[builtins.str]] = None,
|
747
712
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -756,7 +721,6 @@ class Backup(pulumi.CustomResource):
|
|
756
721
|
source_volume: Optional[pulumi.Input[builtins.str]] = None,
|
757
722
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
758
723
|
vault_name: Optional[pulumi.Input[builtins.str]] = None,
|
759
|
-
volume_region: Optional[pulumi.Input[builtins.str]] = None,
|
760
724
|
volume_usage_bytes: Optional[pulumi.Input[builtins.str]] = None) -> 'Backup':
|
761
725
|
"""
|
762
726
|
Get an existing Backup resource's state with the given name, id, and optional extra
|
@@ -765,7 +729,6 @@ class Backup(pulumi.CustomResource):
|
|
765
729
|
:param str resource_name: The unique name of the resulting resource.
|
766
730
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
767
731
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
768
|
-
:param pulumi.Input[builtins.str] backup_region: Region in which backup is stored.
|
769
732
|
:param pulumi.Input[builtins.str] backup_type: Type of backup, manually created or created by a backup policy. Possible Values : [TYPE_UNSPECIFIED, MANUAL, SCHEDULED]
|
770
733
|
:param pulumi.Input[builtins.str] chain_storage_bytes: Backups of a volume build incrementally on top of each other. They form a "backup chain".
|
771
734
|
Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)
|
@@ -791,14 +754,12 @@ class Backup(pulumi.CustomResource):
|
|
791
754
|
:param pulumi.Input[builtins.str] source_volume: ID of volumes this backup belongs to. Format: `projects/{{projects_id}}/locations/{{location}}/volumes/{{name}}``
|
792
755
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault. Possible Values : [STATE_UNSPECIFIED, CREATING, UPLOADING, READY, DELETING, ERROR, UPDATING]
|
793
756
|
: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.
|
795
757
|
: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.
|
796
758
|
"""
|
797
759
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
798
760
|
|
799
761
|
__props__ = _BackupState.__new__(_BackupState)
|
800
762
|
|
801
|
-
__props__.__dict__["backup_region"] = backup_region
|
802
763
|
__props__.__dict__["backup_type"] = backup_type
|
803
764
|
__props__.__dict__["chain_storage_bytes"] = chain_storage_bytes
|
804
765
|
__props__.__dict__["create_time"] = create_time
|
@@ -813,18 +774,9 @@ class Backup(pulumi.CustomResource):
|
|
813
774
|
__props__.__dict__["source_volume"] = source_volume
|
814
775
|
__props__.__dict__["state"] = state
|
815
776
|
__props__.__dict__["vault_name"] = vault_name
|
816
|
-
__props__.__dict__["volume_region"] = volume_region
|
817
777
|
__props__.__dict__["volume_usage_bytes"] = volume_usage_bytes
|
818
778
|
return Backup(resource_name, opts=opts, __props__=__props__)
|
819
779
|
|
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
|
-
|
828
780
|
@property
|
829
781
|
@pulumi.getter(name="backupType")
|
830
782
|
def backup_type(self) -> pulumi.Output[builtins.str]:
|
@@ -948,14 +900,6 @@ class Backup(pulumi.CustomResource):
|
|
948
900
|
"""
|
949
901
|
return pulumi.get(self, "vault_name")
|
950
902
|
|
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
|
-
|
959
903
|
@property
|
960
904
|
@pulumi.getter(name="volumeUsageBytes")
|
961
905
|
def volume_usage_bytes(self) -> pulumi.Output[builtins.str]:
|
@@ -21,8 +21,6 @@ __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,
|
26
24
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
27
25
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
28
26
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -30,9 +28,6 @@ class BackupVaultArgs:
|
|
30
28
|
"""
|
31
29
|
The set of arguments for constructing a BackupVault resource.
|
32
30
|
: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`.
|
36
31
|
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
37
32
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
38
33
|
|
@@ -46,10 +41,6 @@ class BackupVaultArgs:
|
|
46
41
|
If it is not provided, the provider project is used.
|
47
42
|
"""
|
48
43
|
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)
|
53
44
|
if description is not None:
|
54
45
|
pulumi.set(__self__, "description", description)
|
55
46
|
if labels is not None:
|
@@ -71,31 +62,6 @@ class BackupVaultArgs:
|
|
71
62
|
def location(self, value: pulumi.Input[builtins.str]):
|
72
63
|
pulumi.set(self, "location", value)
|
73
64
|
|
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
|
-
|
99
65
|
@property
|
100
66
|
@pulumi.getter
|
101
67
|
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -155,28 +121,19 @@ class BackupVaultArgs:
|
|
155
121
|
@pulumi.input_type
|
156
122
|
class _BackupVaultState:
|
157
123
|
def __init__(__self__, *,
|
158
|
-
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
159
|
-
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
160
124
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
161
125
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
162
|
-
destination_backup_vault: Optional[pulumi.Input[builtins.str]] = None,
|
163
126
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
164
127
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
165
128
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
166
129
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
167
130
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
168
131
|
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,
|
171
132
|
state: Optional[pulumi.Input[builtins.str]] = None):
|
172
133
|
"""
|
173
134
|
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`.
|
177
135
|
: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".
|
178
136
|
: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.
|
180
137
|
: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.
|
181
138
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
182
139
|
|
@@ -191,20 +148,12 @@ class _BackupVaultState:
|
|
191
148
|
If it is not provided, the provider project is used.
|
192
149
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
193
150
|
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.
|
196
151
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault.
|
197
152
|
"""
|
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)
|
202
153
|
if create_time is not None:
|
203
154
|
pulumi.set(__self__, "create_time", create_time)
|
204
155
|
if description is not None:
|
205
156
|
pulumi.set(__self__, "description", description)
|
206
|
-
if destination_backup_vault is not None:
|
207
|
-
pulumi.set(__self__, "destination_backup_vault", destination_backup_vault)
|
208
157
|
if effective_labels is not None:
|
209
158
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
210
159
|
if labels is not None:
|
@@ -217,38 +166,9 @@ class _BackupVaultState:
|
|
217
166
|
pulumi.set(__self__, "project", project)
|
218
167
|
if pulumi_labels is not None:
|
219
168
|
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)
|
224
169
|
if state is not None:
|
225
170
|
pulumi.set(__self__, "state", state)
|
226
171
|
|
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
|
-
|
252
172
|
@property
|
253
173
|
@pulumi.getter(name="createTime")
|
254
174
|
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -273,18 +193,6 @@ class _BackupVaultState:
|
|
273
193
|
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
274
194
|
pulumi.set(self, "description", value)
|
275
195
|
|
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
|
-
|
288
196
|
@property
|
289
197
|
@pulumi.getter(name="effectiveLabels")
|
290
198
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
@@ -365,30 +273,6 @@ class _BackupVaultState:
|
|
365
273
|
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
366
274
|
pulumi.set(self, "pulumi_labels", value)
|
367
275
|
|
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
|
-
|
392
276
|
@property
|
393
277
|
@pulumi.getter
|
394
278
|
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -408,8 +292,6 @@ class BackupVault(pulumi.CustomResource):
|
|
408
292
|
def __init__(__self__,
|
409
293
|
resource_name: str,
|
410
294
|
opts: Optional[pulumi.ResourceOptions] = None,
|
411
|
-
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
412
|
-
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
413
295
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
414
296
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
415
297
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -469,9 +351,6 @@ class BackupVault(pulumi.CustomResource):
|
|
469
351
|
|
470
352
|
:param str resource_name: The name of the resource.
|
471
353
|
: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`.
|
475
354
|
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
476
355
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
477
356
|
|
@@ -557,8 +436,6 @@ class BackupVault(pulumi.CustomResource):
|
|
557
436
|
def _internal_init(__self__,
|
558
437
|
resource_name: str,
|
559
438
|
opts: Optional[pulumi.ResourceOptions] = None,
|
560
|
-
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
561
|
-
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
562
439
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
563
440
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
564
441
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -573,8 +450,6 @@ class BackupVault(pulumi.CustomResource):
|
|
573
450
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
574
451
|
__props__ = BackupVaultArgs.__new__(BackupVaultArgs)
|
575
452
|
|
576
|
-
__props__.__dict__["backup_region"] = backup_region
|
577
|
-
__props__.__dict__["backup_vault_type"] = backup_vault_type
|
578
453
|
__props__.__dict__["description"] = description
|
579
454
|
__props__.__dict__["labels"] = labels
|
580
455
|
if location is None and not opts.urn:
|
@@ -583,11 +458,8 @@ class BackupVault(pulumi.CustomResource):
|
|
583
458
|
__props__.__dict__["name"] = name
|
584
459
|
__props__.__dict__["project"] = project
|
585
460
|
__props__.__dict__["create_time"] = None
|
586
|
-
__props__.__dict__["destination_backup_vault"] = None
|
587
461
|
__props__.__dict__["effective_labels"] = None
|
588
462
|
__props__.__dict__["pulumi_labels"] = None
|
589
|
-
__props__.__dict__["source_backup_vault"] = None
|
590
|
-
__props__.__dict__["source_region"] = None
|
591
463
|
__props__.__dict__["state"] = None
|
592
464
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
593
465
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
@@ -601,19 +473,14 @@ class BackupVault(pulumi.CustomResource):
|
|
601
473
|
def get(resource_name: str,
|
602
474
|
id: pulumi.Input[str],
|
603
475
|
opts: Optional[pulumi.ResourceOptions] = None,
|
604
|
-
backup_region: Optional[pulumi.Input[builtins.str]] = None,
|
605
|
-
backup_vault_type: Optional[pulumi.Input[builtins.str]] = None,
|
606
476
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
607
477
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
608
|
-
destination_backup_vault: Optional[pulumi.Input[builtins.str]] = None,
|
609
478
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
610
479
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
611
480
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
612
481
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
613
482
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
614
483
|
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,
|
617
484
|
state: Optional[pulumi.Input[builtins.str]] = None) -> 'BackupVault':
|
618
485
|
"""
|
619
486
|
Get an existing BackupVault resource's state with the given name, id, and optional extra
|
@@ -622,12 +489,8 @@ class BackupVault(pulumi.CustomResource):
|
|
622
489
|
:param str resource_name: The unique name of the resulting resource.
|
623
490
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
624
491
|
: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`.
|
628
492
|
: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".
|
629
493
|
: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.
|
631
494
|
: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.
|
632
495
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
|
633
496
|
|
@@ -642,47 +505,23 @@ class BackupVault(pulumi.CustomResource):
|
|
642
505
|
If it is not provided, the provider project is used.
|
643
506
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
644
507
|
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.
|
647
508
|
:param pulumi.Input[builtins.str] state: The state of the Backup Vault.
|
648
509
|
"""
|
649
510
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
650
511
|
|
651
512
|
__props__ = _BackupVaultState.__new__(_BackupVaultState)
|
652
513
|
|
653
|
-
__props__.__dict__["backup_region"] = backup_region
|
654
|
-
__props__.__dict__["backup_vault_type"] = backup_vault_type
|
655
514
|
__props__.__dict__["create_time"] = create_time
|
656
515
|
__props__.__dict__["description"] = description
|
657
|
-
__props__.__dict__["destination_backup_vault"] = destination_backup_vault
|
658
516
|
__props__.__dict__["effective_labels"] = effective_labels
|
659
517
|
__props__.__dict__["labels"] = labels
|
660
518
|
__props__.__dict__["location"] = location
|
661
519
|
__props__.__dict__["name"] = name
|
662
520
|
__props__.__dict__["project"] = project
|
663
521
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
664
|
-
__props__.__dict__["source_backup_vault"] = source_backup_vault
|
665
|
-
__props__.__dict__["source_region"] = source_region
|
666
522
|
__props__.__dict__["state"] = state
|
667
523
|
return BackupVault(resource_name, opts=opts, __props__=__props__)
|
668
524
|
|
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
|
-
|
686
525
|
@property
|
687
526
|
@pulumi.getter(name="createTime")
|
688
527
|
def create_time(self) -> pulumi.Output[builtins.str]:
|
@@ -699,14 +538,6 @@ class BackupVault(pulumi.CustomResource):
|
|
699
538
|
"""
|
700
539
|
return pulumi.get(self, "description")
|
701
540
|
|
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
|
-
|
710
541
|
@property
|
711
542
|
@pulumi.getter(name="effectiveLabels")
|
712
543
|
def effective_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
@@ -763,22 +594,6 @@ class BackupVault(pulumi.CustomResource):
|
|
763
594
|
"""
|
764
595
|
return pulumi.get(self, "pulumi_labels")
|
765
596
|
|
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
|
-
|
782
597
|
@property
|
783
598
|
@pulumi.getter
|
784
599
|
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
|
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
|
853
853
|
|
854
854
|
```python
|
855
855
|
import pulumi
|