pulumi-gcp 7.31.0__py3-none-any.whl → 7.31.0a1720450136__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 -40
- pulumi_gcp/applicationintegration/auth_config.py +2 -2
- pulumi_gcp/bigquery/reservation_assignment.py +30 -48
- pulumi_gcp/certificateauthority/certificate_template.py +2 -2
- pulumi_gcp/certificatemanager/_inputs.py +0 -33
- pulumi_gcp/certificatemanager/outputs.py +0 -36
- pulumi_gcp/certificatemanager/trust_config.py +0 -107
- pulumi_gcp/compute/_inputs.py +6 -3
- pulumi_gcp/compute/ca_external_account_key.py +2 -2
- pulumi_gcp/compute/get_health_check.py +1 -11
- pulumi_gcp/compute/global_forwarding_rule.py +4 -2
- pulumi_gcp/compute/health_check.py +0 -124
- pulumi_gcp/compute/instance.py +14 -14
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/outputs.py +8 -4
- pulumi_gcp/compute/region_network_endpoint.py +2 -2
- pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
- pulumi_gcp/compute/subnetwork.py +2 -2
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/containeranalysis/note.py +2 -2
- pulumi_gcp/dataloss/_inputs.py +0 -3
- pulumi_gcp/dataloss/outputs.py +0 -2
- pulumi_gcp/dataloss/prevention_job_trigger.py +0 -90
- pulumi_gcp/dataplex/_inputs.py +0 -56
- pulumi_gcp/dataplex/datascan.py +0 -12
- pulumi_gcp/dataplex/outputs.py +0 -52
- pulumi_gcp/filestore/backup.py +2 -2
- pulumi_gcp/filestore/instance.py +2 -2
- pulumi_gcp/filestore/snapshot.py +2 -2
- pulumi_gcp/gkehub/_inputs.py +0 -20
- pulumi_gcp/gkehub/outputs.py +0 -12
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/crypto_key.py +7 -7
- pulumi_gcp/kms/outputs.py +0 -270
- pulumi_gcp/logging/_inputs.py +12 -12
- pulumi_gcp/logging/folder_bucket_config.py +6 -6
- pulumi_gcp/logging/organization_bucket_config.py +6 -6
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/logging/project_bucket_config.py +6 -6
- pulumi_gcp/looker/instance.py +2 -2
- pulumi_gcp/monitoring/custom_service.py +2 -2
- pulumi_gcp/monitoring/generic_service.py +2 -2
- pulumi_gcp/monitoring/notification_channel.py +2 -2
- pulumi_gcp/monitoring/slo.py +2 -2
- pulumi_gcp/netapp/storage_pool.py +53 -132
- pulumi_gcp/netapp/volume.py +4 -60
- pulumi_gcp/networksecurity/address_group.py +1 -85
- pulumi_gcp/networksecurity/firewall_endpoint.py +2 -2
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +2 -2
- pulumi_gcp/networksecurity/security_profile_group.py +2 -2
- pulumi_gcp/orgpolicy/_inputs.py +10 -40
- pulumi_gcp/orgpolicy/outputs.py +8 -28
- pulumi_gcp/orgpolicy/policy.py +35 -52
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/_inputs.py +3 -3
- pulumi_gcp/pubsub/outputs.py +4 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/__init__.py +0 -5
- pulumi_gcp/securesourcemanager/_inputs.py +0 -284
- pulumi_gcp/securesourcemanager/outputs.py +0 -202
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/securitycenter/_inputs.py +0 -93
- pulumi_gcp/securitycenter/outputs.py +0 -59
- pulumi_gcp/securityposture/posture_deployment.py +78 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +2 -2
- pulumi_gcp/vertex/_inputs.py +1 -21
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -222
- pulumi_gcp/vertex/outputs.py +1 -15
- pulumi_gcp/workstations/_inputs.py +1 -33
- pulumi_gcp/workstations/outputs.py +1 -23
- pulumi_gcp/workstations/workstation_config.py +0 -18
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720450136.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720450136.dist-info}/RECORD +78 -86
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720450136.dist-info}/WHEEL +1 -1
- pulumi_gcp/kms/get_crypto_keys.py +0 -143
- pulumi_gcp/kms/get_key_rings.py +0 -119
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +0 -177
- pulumi_gcp/securesourcemanager/repository.py +0 -715
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +0 -804
- pulumi_gcp/securesourcemanager/repository_iam_member.py +0 -804
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +0 -643
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +0 -576
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720450136.dist-info}/top_level.txt +0 -0
@@ -265,8 +265,8 @@ class CustomService(pulumi.CustomResource):
|
|
265
265
|
|
266
266
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services)
|
267
267
|
* How-to Guides
|
268
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
269
268
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
269
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
270
270
|
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
271
271
|
|
272
272
|
## Example Usage
|
@@ -333,8 +333,8 @@ class CustomService(pulumi.CustomResource):
|
|
333
333
|
|
334
334
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services)
|
335
335
|
* How-to Guides
|
336
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
337
336
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
337
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
338
338
|
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
339
339
|
|
340
340
|
## Example Usage
|
@@ -302,8 +302,8 @@ class GenericService(pulumi.CustomResource):
|
|
302
302
|
|
303
303
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services)
|
304
304
|
* How-to Guides
|
305
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
306
305
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
306
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
307
307
|
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
308
308
|
|
309
309
|
## Example Usage
|
@@ -390,8 +390,8 @@ class GenericService(pulumi.CustomResource):
|
|
390
390
|
|
391
391
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services)
|
392
392
|
* How-to Guides
|
393
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
394
393
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
394
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
395
395
|
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
396
396
|
|
397
397
|
## Example Usage
|
@@ -470,8 +470,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
470
470
|
|
471
471
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels)
|
472
472
|
* How-to Guides
|
473
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
474
473
|
* [Notification Options](https://cloud.google.com/monitoring/support/notification-options)
|
474
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
475
475
|
|
476
476
|
## Example Usage
|
477
477
|
|
@@ -577,8 +577,8 @@ class NotificationChannel(pulumi.CustomResource):
|
|
577
577
|
|
578
578
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels)
|
579
579
|
* How-to Guides
|
580
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
581
580
|
* [Notification Options](https://cloud.google.com/monitoring/support/notification-options)
|
581
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
582
582
|
|
583
583
|
## Example Usage
|
584
584
|
|
pulumi_gcp/monitoring/slo.py
CHANGED
@@ -564,8 +564,8 @@ class Slo(pulumi.CustomResource):
|
|
564
564
|
|
565
565
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services.serviceLevelObjectives)
|
566
566
|
* How-to Guides
|
567
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
568
567
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
568
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
569
569
|
|
570
570
|
## Example Usage
|
571
571
|
|
@@ -812,8 +812,8 @@ class Slo(pulumi.CustomResource):
|
|
812
812
|
|
813
813
|
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services.serviceLevelObjectives)
|
814
814
|
* How-to Guides
|
815
|
-
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
816
815
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
816
|
+
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
817
817
|
|
818
818
|
## Example Usage
|
819
819
|
|
@@ -29,13 +29,11 @@ class StoragePoolArgs:
|
|
29
29
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
30
|
ldap_enabled: Optional[pulumi.Input[bool]] = None,
|
31
31
|
name: Optional[pulumi.Input[str]] = None,
|
32
|
-
project: Optional[pulumi.Input[str]] = None
|
33
|
-
replica_zone: Optional[pulumi.Input[str]] = None,
|
34
|
-
zone: Optional[pulumi.Input[str]] = None):
|
32
|
+
project: Optional[pulumi.Input[str]] = None):
|
35
33
|
"""
|
36
34
|
The set of arguments for constructing a StoragePool resource.
|
37
35
|
:param pulumi.Input[str] capacity_gib: Capacity of the storage pool (in GiB).
|
38
|
-
:param pulumi.Input[str] location: Name of the location.
|
36
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
39
37
|
:param pulumi.Input[str] network: VPC network name with format: `projects/{{project}}/global/networks/{{network}}`
|
40
38
|
:param pulumi.Input[str] service_level: Service level of the storage pool.
|
41
39
|
Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`, `FLEX`.
|
@@ -50,17 +48,12 @@ class StoragePoolArgs:
|
|
50
48
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
51
49
|
:param pulumi.Input[bool] ldap_enabled: When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
|
52
50
|
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
|
53
|
-
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location
|
51
|
+
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location.
|
54
52
|
|
55
53
|
|
56
54
|
- - -
|
57
55
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
58
56
|
If it is not provided, the provider project is used.
|
59
|
-
:param pulumi.Input[str] replica_zone: Specifies the replica zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
60
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
61
|
-
:param pulumi.Input[str] zone: Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
62
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
63
|
-
If you want to create a zonal Flex pool, specify a zone name for `location` and omit `zone`.
|
64
57
|
"""
|
65
58
|
pulumi.set(__self__, "capacity_gib", capacity_gib)
|
66
59
|
pulumi.set(__self__, "location", location)
|
@@ -80,10 +73,6 @@ class StoragePoolArgs:
|
|
80
73
|
pulumi.set(__self__, "name", name)
|
81
74
|
if project is not None:
|
82
75
|
pulumi.set(__self__, "project", project)
|
83
|
-
if replica_zone is not None:
|
84
|
-
pulumi.set(__self__, "replica_zone", replica_zone)
|
85
|
-
if zone is not None:
|
86
|
-
pulumi.set(__self__, "zone", zone)
|
87
76
|
|
88
77
|
@property
|
89
78
|
@pulumi.getter(name="capacityGib")
|
@@ -101,7 +90,7 @@ class StoragePoolArgs:
|
|
101
90
|
@pulumi.getter
|
102
91
|
def location(self) -> pulumi.Input[str]:
|
103
92
|
"""
|
104
|
-
Name of the location.
|
93
|
+
Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
105
94
|
"""
|
106
95
|
return pulumi.get(self, "location")
|
107
96
|
|
@@ -204,7 +193,7 @@ class StoragePoolArgs:
|
|
204
193
|
@pulumi.getter
|
205
194
|
def name(self) -> Optional[pulumi.Input[str]]:
|
206
195
|
"""
|
207
|
-
The resource name of the storage pool. Needs to be unique per location
|
196
|
+
The resource name of the storage pool. Needs to be unique per location.
|
208
197
|
|
209
198
|
|
210
199
|
- - -
|
@@ -228,33 +217,6 @@ class StoragePoolArgs:
|
|
228
217
|
def project(self, value: Optional[pulumi.Input[str]]):
|
229
218
|
pulumi.set(self, "project", value)
|
230
219
|
|
231
|
-
@property
|
232
|
-
@pulumi.getter(name="replicaZone")
|
233
|
-
def replica_zone(self) -> Optional[pulumi.Input[str]]:
|
234
|
-
"""
|
235
|
-
Specifies the replica zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
236
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
237
|
-
"""
|
238
|
-
return pulumi.get(self, "replica_zone")
|
239
|
-
|
240
|
-
@replica_zone.setter
|
241
|
-
def replica_zone(self, value: Optional[pulumi.Input[str]]):
|
242
|
-
pulumi.set(self, "replica_zone", value)
|
243
|
-
|
244
|
-
@property
|
245
|
-
@pulumi.getter
|
246
|
-
def zone(self) -> Optional[pulumi.Input[str]]:
|
247
|
-
"""
|
248
|
-
Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
249
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
250
|
-
If you want to create a zonal Flex pool, specify a zone name for `location` and omit `zone`.
|
251
|
-
"""
|
252
|
-
return pulumi.get(self, "zone")
|
253
|
-
|
254
|
-
@zone.setter
|
255
|
-
def zone(self, value: Optional[pulumi.Input[str]]):
|
256
|
-
pulumi.set(self, "zone", value)
|
257
|
-
|
258
220
|
|
259
221
|
@pulumi.input_type
|
260
222
|
class _StoragePoolState:
|
@@ -272,11 +234,9 @@ class _StoragePoolState:
|
|
272
234
|
network: Optional[pulumi.Input[str]] = None,
|
273
235
|
project: Optional[pulumi.Input[str]] = None,
|
274
236
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
275
|
-
replica_zone: Optional[pulumi.Input[str]] = None,
|
276
237
|
service_level: Optional[pulumi.Input[str]] = None,
|
277
238
|
volume_capacity_gib: Optional[pulumi.Input[str]] = None,
|
278
|
-
volume_count: Optional[pulumi.Input[int]] = None
|
279
|
-
zone: Optional[pulumi.Input[str]] = None):
|
239
|
+
volume_count: Optional[pulumi.Input[int]] = None):
|
280
240
|
"""
|
281
241
|
Input properties used for looking up and filtering StoragePool resources.
|
282
242
|
:param pulumi.Input[str] active_directory: Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`.
|
@@ -293,8 +253,8 @@ class _StoragePoolState:
|
|
293
253
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
294
254
|
:param pulumi.Input[bool] ldap_enabled: When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
|
295
255
|
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
|
296
|
-
:param pulumi.Input[str] location: Name of the location.
|
297
|
-
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location
|
256
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
257
|
+
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location.
|
298
258
|
|
299
259
|
|
300
260
|
- - -
|
@@ -303,15 +263,10 @@ class _StoragePoolState:
|
|
303
263
|
If it is not provided, the provider project is used.
|
304
264
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
305
265
|
and default labels configured on the provider.
|
306
|
-
:param pulumi.Input[str] replica_zone: Specifies the replica zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
307
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
308
266
|
:param pulumi.Input[str] service_level: Service level of the storage pool.
|
309
267
|
Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`, `FLEX`.
|
310
268
|
:param pulumi.Input[str] volume_capacity_gib: Size allocated to volumes in the storage pool (in GiB).
|
311
269
|
:param pulumi.Input[int] volume_count: Number of volume in the storage pool.
|
312
|
-
:param pulumi.Input[str] zone: Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
313
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
314
|
-
If you want to create a zonal Flex pool, specify a zone name for `location` and omit `zone`.
|
315
270
|
"""
|
316
271
|
if active_directory is not None:
|
317
272
|
pulumi.set(__self__, "active_directory", active_directory)
|
@@ -339,16 +294,12 @@ class _StoragePoolState:
|
|
339
294
|
pulumi.set(__self__, "project", project)
|
340
295
|
if pulumi_labels is not None:
|
341
296
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
342
|
-
if replica_zone is not None:
|
343
|
-
pulumi.set(__self__, "replica_zone", replica_zone)
|
344
297
|
if service_level is not None:
|
345
298
|
pulumi.set(__self__, "service_level", service_level)
|
346
299
|
if volume_capacity_gib is not None:
|
347
300
|
pulumi.set(__self__, "volume_capacity_gib", volume_capacity_gib)
|
348
301
|
if volume_count is not None:
|
349
302
|
pulumi.set(__self__, "volume_count", volume_count)
|
350
|
-
if zone is not None:
|
351
|
-
pulumi.set(__self__, "zone", zone)
|
352
303
|
|
353
304
|
@property
|
354
305
|
@pulumi.getter(name="activeDirectory")
|
@@ -456,7 +407,7 @@ class _StoragePoolState:
|
|
456
407
|
@pulumi.getter
|
457
408
|
def location(self) -> Optional[pulumi.Input[str]]:
|
458
409
|
"""
|
459
|
-
Name of the location.
|
410
|
+
Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
460
411
|
"""
|
461
412
|
return pulumi.get(self, "location")
|
462
413
|
|
@@ -468,7 +419,7 @@ class _StoragePoolState:
|
|
468
419
|
@pulumi.getter
|
469
420
|
def name(self) -> Optional[pulumi.Input[str]]:
|
470
421
|
"""
|
471
|
-
The resource name of the storage pool. Needs to be unique per location
|
422
|
+
The resource name of the storage pool. Needs to be unique per location.
|
472
423
|
|
473
424
|
|
474
425
|
- - -
|
@@ -517,19 +468,6 @@ class _StoragePoolState:
|
|
517
468
|
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
518
469
|
pulumi.set(self, "pulumi_labels", value)
|
519
470
|
|
520
|
-
@property
|
521
|
-
@pulumi.getter(name="replicaZone")
|
522
|
-
def replica_zone(self) -> Optional[pulumi.Input[str]]:
|
523
|
-
"""
|
524
|
-
Specifies the replica zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
525
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
526
|
-
"""
|
527
|
-
return pulumi.get(self, "replica_zone")
|
528
|
-
|
529
|
-
@replica_zone.setter
|
530
|
-
def replica_zone(self, value: Optional[pulumi.Input[str]]):
|
531
|
-
pulumi.set(self, "replica_zone", value)
|
532
|
-
|
533
471
|
@property
|
534
472
|
@pulumi.getter(name="serviceLevel")
|
535
473
|
def service_level(self) -> Optional[pulumi.Input[str]]:
|
@@ -567,20 +505,6 @@ class _StoragePoolState:
|
|
567
505
|
def volume_count(self, value: Optional[pulumi.Input[int]]):
|
568
506
|
pulumi.set(self, "volume_count", value)
|
569
507
|
|
570
|
-
@property
|
571
|
-
@pulumi.getter
|
572
|
-
def zone(self) -> Optional[pulumi.Input[str]]:
|
573
|
-
"""
|
574
|
-
Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
575
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
576
|
-
If you want to create a zonal Flex pool, specify a zone name for `location` and omit `zone`.
|
577
|
-
"""
|
578
|
-
return pulumi.get(self, "zone")
|
579
|
-
|
580
|
-
@zone.setter
|
581
|
-
def zone(self, value: Optional[pulumi.Input[str]]):
|
582
|
-
pulumi.set(self, "zone", value)
|
583
|
-
|
584
508
|
|
585
509
|
class StoragePool(pulumi.CustomResource):
|
586
510
|
@overload
|
@@ -597,11 +521,27 @@ class StoragePool(pulumi.CustomResource):
|
|
597
521
|
name: Optional[pulumi.Input[str]] = None,
|
598
522
|
network: Optional[pulumi.Input[str]] = None,
|
599
523
|
project: Optional[pulumi.Input[str]] = None,
|
600
|
-
replica_zone: Optional[pulumi.Input[str]] = None,
|
601
524
|
service_level: Optional[pulumi.Input[str]] = None,
|
602
|
-
zone: Optional[pulumi.Input[str]] = None,
|
603
525
|
__props__=None):
|
604
526
|
"""
|
527
|
+
Storage pools act as containers for volumes. All volumes in a storage pool share the following information:
|
528
|
+
* Location
|
529
|
+
* Service level
|
530
|
+
* Virtual Private Cloud (VPC) network
|
531
|
+
* Active Directory policy
|
532
|
+
* LDAP use for NFS volumes, if applicable
|
533
|
+
* Customer-managed encryption key (CMEK) policy
|
534
|
+
|
535
|
+
The capacity of the pool can be split up and assigned to volumes within the pool. Storage pools are a billable
|
536
|
+
component of NetApp Volumes. Billing is based on the location, service level, and capacity allocated to a pool
|
537
|
+
independent of consumption at the volume level.
|
538
|
+
|
539
|
+
To get more information about storagePool, see:
|
540
|
+
|
541
|
+
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.storagePools)
|
542
|
+
* How-to Guides
|
543
|
+
* [Quickstart documentation](https://cloud.google.com/netapp/volumes/docs/get-started/quickstarts/create-storage-pool)
|
544
|
+
|
605
545
|
## Example Usage
|
606
546
|
|
607
547
|
### Storage Pool Create
|
@@ -681,21 +621,16 @@ class StoragePool(pulumi.CustomResource):
|
|
681
621
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
682
622
|
:param pulumi.Input[bool] ldap_enabled: When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
|
683
623
|
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
|
684
|
-
:param pulumi.Input[str] location: Name of the location.
|
685
|
-
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location
|
624
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
625
|
+
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location.
|
686
626
|
|
687
627
|
|
688
628
|
- - -
|
689
629
|
:param pulumi.Input[str] network: VPC network name with format: `projects/{{project}}/global/networks/{{network}}`
|
690
630
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
691
631
|
If it is not provided, the provider project is used.
|
692
|
-
:param pulumi.Input[str] replica_zone: Specifies the replica zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
693
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
694
632
|
:param pulumi.Input[str] service_level: Service level of the storage pool.
|
695
633
|
Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`, `FLEX`.
|
696
|
-
:param pulumi.Input[str] zone: Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
697
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
698
|
-
If you want to create a zonal Flex pool, specify a zone name for `location` and omit `zone`.
|
699
634
|
"""
|
700
635
|
...
|
701
636
|
@overload
|
@@ -704,6 +639,24 @@ class StoragePool(pulumi.CustomResource):
|
|
704
639
|
args: StoragePoolArgs,
|
705
640
|
opts: Optional[pulumi.ResourceOptions] = None):
|
706
641
|
"""
|
642
|
+
Storage pools act as containers for volumes. All volumes in a storage pool share the following information:
|
643
|
+
* Location
|
644
|
+
* Service level
|
645
|
+
* Virtual Private Cloud (VPC) network
|
646
|
+
* Active Directory policy
|
647
|
+
* LDAP use for NFS volumes, if applicable
|
648
|
+
* Customer-managed encryption key (CMEK) policy
|
649
|
+
|
650
|
+
The capacity of the pool can be split up and assigned to volumes within the pool. Storage pools are a billable
|
651
|
+
component of NetApp Volumes. Billing is based on the location, service level, and capacity allocated to a pool
|
652
|
+
independent of consumption at the volume level.
|
653
|
+
|
654
|
+
To get more information about storagePool, see:
|
655
|
+
|
656
|
+
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.storagePools)
|
657
|
+
* How-to Guides
|
658
|
+
* [Quickstart documentation](https://cloud.google.com/netapp/volumes/docs/get-started/quickstarts/create-storage-pool)
|
659
|
+
|
707
660
|
## Example Usage
|
708
661
|
|
709
662
|
### Storage Pool Create
|
@@ -794,9 +747,7 @@ class StoragePool(pulumi.CustomResource):
|
|
794
747
|
name: Optional[pulumi.Input[str]] = None,
|
795
748
|
network: Optional[pulumi.Input[str]] = None,
|
796
749
|
project: Optional[pulumi.Input[str]] = None,
|
797
|
-
replica_zone: Optional[pulumi.Input[str]] = None,
|
798
750
|
service_level: Optional[pulumi.Input[str]] = None,
|
799
|
-
zone: Optional[pulumi.Input[str]] = None,
|
800
751
|
__props__=None):
|
801
752
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
802
753
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -822,11 +773,9 @@ class StoragePool(pulumi.CustomResource):
|
|
822
773
|
raise TypeError("Missing required property 'network'")
|
823
774
|
__props__.__dict__["network"] = network
|
824
775
|
__props__.__dict__["project"] = project
|
825
|
-
__props__.__dict__["replica_zone"] = replica_zone
|
826
776
|
if service_level is None and not opts.urn:
|
827
777
|
raise TypeError("Missing required property 'service_level'")
|
828
778
|
__props__.__dict__["service_level"] = service_level
|
829
|
-
__props__.__dict__["zone"] = zone
|
830
779
|
__props__.__dict__["effective_labels"] = None
|
831
780
|
__props__.__dict__["encryption_type"] = None
|
832
781
|
__props__.__dict__["pulumi_labels"] = None
|
@@ -857,11 +806,9 @@ class StoragePool(pulumi.CustomResource):
|
|
857
806
|
network: Optional[pulumi.Input[str]] = None,
|
858
807
|
project: Optional[pulumi.Input[str]] = None,
|
859
808
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
860
|
-
replica_zone: Optional[pulumi.Input[str]] = None,
|
861
809
|
service_level: Optional[pulumi.Input[str]] = None,
|
862
810
|
volume_capacity_gib: Optional[pulumi.Input[str]] = None,
|
863
|
-
volume_count: Optional[pulumi.Input[int]] = None
|
864
|
-
zone: Optional[pulumi.Input[str]] = None) -> 'StoragePool':
|
811
|
+
volume_count: Optional[pulumi.Input[int]] = None) -> 'StoragePool':
|
865
812
|
"""
|
866
813
|
Get an existing StoragePool resource's state with the given name, id, and optional extra
|
867
814
|
properties used to qualify the lookup.
|
@@ -883,8 +830,8 @@ class StoragePool(pulumi.CustomResource):
|
|
883
830
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
884
831
|
:param pulumi.Input[bool] ldap_enabled: When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
|
885
832
|
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
|
886
|
-
:param pulumi.Input[str] location: Name of the location.
|
887
|
-
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location
|
833
|
+
:param pulumi.Input[str] location: Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
834
|
+
:param pulumi.Input[str] name: The resource name of the storage pool. Needs to be unique per location.
|
888
835
|
|
889
836
|
|
890
837
|
- - -
|
@@ -893,15 +840,10 @@ class StoragePool(pulumi.CustomResource):
|
|
893
840
|
If it is not provided, the provider project is used.
|
894
841
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
895
842
|
and default labels configured on the provider.
|
896
|
-
:param pulumi.Input[str] replica_zone: Specifies the replica zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
897
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
898
843
|
:param pulumi.Input[str] service_level: Service level of the storage pool.
|
899
844
|
Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`, `FLEX`.
|
900
845
|
:param pulumi.Input[str] volume_capacity_gib: Size allocated to volumes in the storage pool (in GiB).
|
901
846
|
:param pulumi.Input[int] volume_count: Number of volume in the storage pool.
|
902
|
-
:param pulumi.Input[str] zone: Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
903
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
904
|
-
If you want to create a zonal Flex pool, specify a zone name for `location` and omit `zone`.
|
905
847
|
"""
|
906
848
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
907
849
|
|
@@ -920,11 +862,9 @@ class StoragePool(pulumi.CustomResource):
|
|
920
862
|
__props__.__dict__["network"] = network
|
921
863
|
__props__.__dict__["project"] = project
|
922
864
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
923
|
-
__props__.__dict__["replica_zone"] = replica_zone
|
924
865
|
__props__.__dict__["service_level"] = service_level
|
925
866
|
__props__.__dict__["volume_capacity_gib"] = volume_capacity_gib
|
926
867
|
__props__.__dict__["volume_count"] = volume_count
|
927
|
-
__props__.__dict__["zone"] = zone
|
928
868
|
return StoragePool(resource_name, opts=opts, __props__=__props__)
|
929
869
|
|
930
870
|
@property
|
@@ -1001,7 +941,7 @@ class StoragePool(pulumi.CustomResource):
|
|
1001
941
|
@pulumi.getter
|
1002
942
|
def location(self) -> pulumi.Output[str]:
|
1003
943
|
"""
|
1004
|
-
Name of the location.
|
944
|
+
Name of the location. Usually a region name, expect for some FLEX service level pools which require a zone name.
|
1005
945
|
"""
|
1006
946
|
return pulumi.get(self, "location")
|
1007
947
|
|
@@ -1009,7 +949,7 @@ class StoragePool(pulumi.CustomResource):
|
|
1009
949
|
@pulumi.getter
|
1010
950
|
def name(self) -> pulumi.Output[str]:
|
1011
951
|
"""
|
1012
|
-
The resource name of the storage pool. Needs to be unique per location
|
952
|
+
The resource name of the storage pool. Needs to be unique per location.
|
1013
953
|
|
1014
954
|
|
1015
955
|
- - -
|
@@ -1042,15 +982,6 @@ class StoragePool(pulumi.CustomResource):
|
|
1042
982
|
"""
|
1043
983
|
return pulumi.get(self, "pulumi_labels")
|
1044
984
|
|
1045
|
-
@property
|
1046
|
-
@pulumi.getter(name="replicaZone")
|
1047
|
-
def replica_zone(self) -> pulumi.Output[Optional[str]]:
|
1048
|
-
"""
|
1049
|
-
Specifies the replica zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
1050
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
1051
|
-
"""
|
1052
|
-
return pulumi.get(self, "replica_zone")
|
1053
|
-
|
1054
985
|
@property
|
1055
986
|
@pulumi.getter(name="serviceLevel")
|
1056
987
|
def service_level(self) -> pulumi.Output[str]:
|
@@ -1076,13 +1007,3 @@ class StoragePool(pulumi.CustomResource):
|
|
1076
1007
|
"""
|
1077
1008
|
return pulumi.get(self, "volume_count")
|
1078
1009
|
|
1079
|
-
@property
|
1080
|
-
@pulumi.getter
|
1081
|
-
def zone(self) -> pulumi.Output[Optional[str]]:
|
1082
|
-
"""
|
1083
|
-
Specifies the active zone for regional Flex pools. `zone` and `replica_zone` values can be swapped to initiate a
|
1084
|
-
[zone switch](https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/edit-or-delete-storage-pool#switch_active_and_replica_zones).
|
1085
|
-
If you want to create a zonal Flex pool, specify a zone name for `location` and omit `zone`.
|
1086
|
-
"""
|
1087
|
-
return pulumi.get(self, "zone")
|
1088
|
-
|