pulumi-gcp 8.13.0a1736231082__py3-none-any.whl → 8.13.0a1736263433__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 +43 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +3 -3
- pulumi_gcp/accesscontextmanager/outputs.py +2 -2
- pulumi_gcp/artifactregistry/_inputs.py +83 -0
- pulumi_gcp/artifactregistry/get_repository.py +15 -4
- pulumi_gcp/artifactregistry/outputs.py +112 -0
- pulumi_gcp/artifactregistry/repository.py +93 -7
- pulumi_gcp/backupdisasterrecovery/get_backup.py +38 -2
- pulumi_gcp/backupdisasterrecovery/get_data_source.py +38 -2
- pulumi_gcp/backupdisasterrecovery/outputs.py +8 -8
- pulumi_gcp/bigquery/_inputs.py +369 -0
- pulumi_gcp/bigquery/dataset_access.py +61 -0
- pulumi_gcp/bigquery/job.py +6 -18
- pulumi_gcp/bigquery/outputs.py +350 -0
- pulumi_gcp/bigquery/table.py +47 -0
- pulumi_gcp/chronicle/__init__.py +10 -0
- pulumi_gcp/chronicle/_inputs.py +169 -0
- pulumi_gcp/chronicle/outputs.py +107 -0
- pulumi_gcp/chronicle/watchlist.py +776 -0
- pulumi_gcp/cloudrunv2/_inputs.py +6 -3
- pulumi_gcp/cloudrunv2/outputs.py +10 -6
- pulumi_gcp/composer/_inputs.py +80 -5
- pulumi_gcp/composer/outputs.py +111 -4
- pulumi_gcp/compute/_inputs.py +181 -87
- pulumi_gcp/compute/firewall_policy_association.py +50 -39
- pulumi_gcp/compute/get_network.py +17 -2
- pulumi_gcp/compute/get_subnetwork.py +18 -4
- pulumi_gcp/compute/network.py +39 -2
- pulumi_gcp/compute/outputs.py +157 -58
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -1
- pulumi_gcp/compute/resize_request.py +26 -40
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/dataproc/batch.py +4 -18
- pulumi_gcp/datastream/_inputs.py +68 -0
- pulumi_gcp/datastream/outputs.py +41 -1
- pulumi_gcp/developerconnect/connection.py +58 -12
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/filestore/backup.py +71 -3
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -4
- pulumi_gcp/firestore/_inputs.py +3 -3
- pulumi_gcp/firestore/outputs.py +2 -2
- pulumi_gcp/gkehub/__init__.py +1 -0
- pulumi_gcp/gkehub/get_feature.py +226 -0
- pulumi_gcp/gkehub/outputs.py +1153 -0
- pulumi_gcp/gkeonprem/__init__.py +1 -0
- pulumi_gcp/gkeonprem/_inputs.py +2364 -0
- pulumi_gcp/gkeonprem/outputs.py +1780 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +1715 -0
- pulumi_gcp/integrationconnectors/_inputs.py +6 -6
- pulumi_gcp/integrationconnectors/connection.py +7 -7
- pulumi_gcp/integrationconnectors/outputs.py +4 -4
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/get_autokey_config.py +121 -0
- pulumi_gcp/kms/get_key_handle.py +185 -0
- pulumi_gcp/netapp/kmsconfig.py +2 -14
- pulumi_gcp/networkconnectivity/hub.py +108 -0
- pulumi_gcp/networkconnectivity/spoke.py +195 -0
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +4 -0
- pulumi_gcp/networksecurity/__init__.py +2 -0
- pulumi_gcp/networksecurity/_inputs.py +78 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +723 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +815 -0
- pulumi_gcp/networksecurity/outputs.py +48 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +149 -0
- pulumi_gcp/projects/usage_export_bucket.py +42 -110
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +4 -16
- pulumi_gcp/spanner/instance_iam_binding.py +14 -0
- pulumi_gcp/spanner/instance_iam_member.py +14 -0
- pulumi_gcp/sql/database_instance.py +7 -7
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +431 -0
- pulumi_gcp/storage/folder.py +483 -0
- pulumi_gcp/storage/outputs.py +363 -0
- pulumi_gcp/storage/transfer_job.py +84 -38
- pulumi_gcp/vertex/_inputs.py +26 -25
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +15 -14
- pulumi_gcp/workstations/workstation.py +55 -1
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/RECORD +90 -79
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/top_level.txt +0 -0
@@ -52,6 +52,7 @@ __all__ = [
|
|
52
52
|
'ClientTlsPolicyServerValidationCaCertificateProviderInstance',
|
53
53
|
'ClientTlsPolicyServerValidationCaGrpcEndpoint',
|
54
54
|
'InterceptDeploymentGroupConnectedEndpointGroup',
|
55
|
+
'InterceptEndpointGroupAssociationLocationsDetail',
|
55
56
|
'MirroringDeploymentGroupConnectedEndpointGroup',
|
56
57
|
'MirroringEndpointGroupAssociationLocationsDetail',
|
57
58
|
'SecurityProfileThreatPreventionProfile',
|
@@ -1949,6 +1950,53 @@ class InterceptDeploymentGroupConnectedEndpointGroup(dict):
|
|
1949
1950
|
return pulumi.get(self, "name")
|
1950
1951
|
|
1951
1952
|
|
1953
|
+
@pulumi.output_type
|
1954
|
+
class InterceptEndpointGroupAssociationLocationsDetail(dict):
|
1955
|
+
def __init__(__self__, *,
|
1956
|
+
location: Optional[str] = None,
|
1957
|
+
state: Optional[str] = None):
|
1958
|
+
"""
|
1959
|
+
:param str location: The location of the Intercept Endpoint Group Association, currently restricted to `global`.
|
1960
|
+
|
1961
|
+
|
1962
|
+
- - -
|
1963
|
+
:param str state: (Output)
|
1964
|
+
The association state in this location.
|
1965
|
+
Possible values:
|
1966
|
+
STATE_UNSPECIFIED
|
1967
|
+
ACTIVE
|
1968
|
+
OUT_OF_SYNC
|
1969
|
+
"""
|
1970
|
+
if location is not None:
|
1971
|
+
pulumi.set(__self__, "location", location)
|
1972
|
+
if state is not None:
|
1973
|
+
pulumi.set(__self__, "state", state)
|
1974
|
+
|
1975
|
+
@property
|
1976
|
+
@pulumi.getter
|
1977
|
+
def location(self) -> Optional[str]:
|
1978
|
+
"""
|
1979
|
+
The location of the Intercept Endpoint Group Association, currently restricted to `global`.
|
1980
|
+
|
1981
|
+
|
1982
|
+
- - -
|
1983
|
+
"""
|
1984
|
+
return pulumi.get(self, "location")
|
1985
|
+
|
1986
|
+
@property
|
1987
|
+
@pulumi.getter
|
1988
|
+
def state(self) -> Optional[str]:
|
1989
|
+
"""
|
1990
|
+
(Output)
|
1991
|
+
The association state in this location.
|
1992
|
+
Possible values:
|
1993
|
+
STATE_UNSPECIFIED
|
1994
|
+
ACTIVE
|
1995
|
+
OUT_OF_SYNC
|
1996
|
+
"""
|
1997
|
+
return pulumi.get(self, "state")
|
1998
|
+
|
1999
|
+
|
1952
2000
|
@pulumi.output_type
|
1953
2001
|
class MirroringDeploymentGroupConnectedEndpointGroup(dict):
|
1954
2002
|
def __init__(__self__, *,
|
@@ -578,7 +578,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
578
578
|
"email": "xyz@example.com",
|
579
579
|
}],
|
580
580
|
"private_endpoint_ip": "10.5.0.11",
|
581
|
-
"private_endpoint_label": "
|
581
|
+
"private_endpoint_label": "myendpoint",
|
582
582
|
},
|
583
583
|
deletion_protection=True)
|
584
584
|
```
|
@@ -709,7 +709,7 @@ class AutonomousDatabase(pulumi.CustomResource):
|
|
709
709
|
"email": "xyz@example.com",
|
710
710
|
}],
|
711
711
|
"private_endpoint_ip": "10.5.0.11",
|
712
|
-
"private_endpoint_label": "
|
712
|
+
"private_endpoint_label": "myendpoint",
|
713
713
|
},
|
714
714
|
deletion_protection=True)
|
715
715
|
```
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -313,7 +313,7 @@ class Policy(pulumi.CustomResource):
|
|
313
313
|
import pulumi_gcp as gcp
|
314
314
|
|
315
315
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
316
|
-
name="custom.
|
316
|
+
name="custom.disableGkeAutoUpgrade_76044",
|
317
317
|
parent="organizations/123456789",
|
318
318
|
display_name="Disable GKE auto upgrade",
|
319
319
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -502,7 +502,7 @@ class Policy(pulumi.CustomResource):
|
|
502
502
|
import pulumi_gcp as gcp
|
503
503
|
|
504
504
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
505
|
-
name="custom.
|
505
|
+
name="custom.disableGkeAutoUpgrade_76044",
|
506
506
|
parent="organizations/123456789",
|
507
507
|
display_name="Disable GKE auto upgrade",
|
508
508
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -22,6 +22,7 @@ class InstanceArgs:
|
|
22
22
|
capacity_gib: pulumi.Input[str],
|
23
23
|
instance_id: pulumi.Input[str],
|
24
24
|
location: pulumi.Input[str],
|
25
|
+
deployment_type: Optional[pulumi.Input[str]] = None,
|
25
26
|
description: Optional[pulumi.Input[str]] = None,
|
26
27
|
directory_stripe_level: Optional[pulumi.Input[str]] = None,
|
27
28
|
file_stripe_level: Optional[pulumi.Input[str]] = None,
|
@@ -42,6 +43,11 @@ class InstanceArgs:
|
|
42
43
|
|
43
44
|
- - -
|
44
45
|
:param pulumi.Input[str] location: Part of `parent`. See documentation of `projectsId`.
|
46
|
+
:param pulumi.Input[str] deployment_type: Parallelstore Instance deployment type.
|
47
|
+
Possible values:
|
48
|
+
DEPLOYMENT_TYPE_UNSPECIFIED
|
49
|
+
SCRATCH
|
50
|
+
PERSISTENT
|
45
51
|
:param pulumi.Input[str] description: The description of the instance. 2048 characters or less.
|
46
52
|
:param pulumi.Input[str] directory_stripe_level: Stripe level for directories.
|
47
53
|
MIN when directory has a small number of files.
|
@@ -92,6 +98,8 @@ class InstanceArgs:
|
|
92
98
|
pulumi.set(__self__, "capacity_gib", capacity_gib)
|
93
99
|
pulumi.set(__self__, "instance_id", instance_id)
|
94
100
|
pulumi.set(__self__, "location", location)
|
101
|
+
if deployment_type is not None:
|
102
|
+
pulumi.set(__self__, "deployment_type", deployment_type)
|
95
103
|
if description is not None:
|
96
104
|
pulumi.set(__self__, "description", description)
|
97
105
|
if directory_stripe_level is not None:
|
@@ -151,6 +159,22 @@ class InstanceArgs:
|
|
151
159
|
def location(self, value: pulumi.Input[str]):
|
152
160
|
pulumi.set(self, "location", value)
|
153
161
|
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="deploymentType")
|
164
|
+
def deployment_type(self) -> Optional[pulumi.Input[str]]:
|
165
|
+
"""
|
166
|
+
Parallelstore Instance deployment type.
|
167
|
+
Possible values:
|
168
|
+
DEPLOYMENT_TYPE_UNSPECIFIED
|
169
|
+
SCRATCH
|
170
|
+
PERSISTENT
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "deployment_type")
|
173
|
+
|
174
|
+
@deployment_type.setter
|
175
|
+
def deployment_type(self, value: Optional[pulumi.Input[str]]):
|
176
|
+
pulumi.set(self, "deployment_type", value)
|
177
|
+
|
154
178
|
@property
|
155
179
|
@pulumi.getter
|
156
180
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -282,6 +306,7 @@ class _InstanceState:
|
|
282
306
|
capacity_gib: Optional[pulumi.Input[str]] = None,
|
283
307
|
create_time: Optional[pulumi.Input[str]] = None,
|
284
308
|
daos_version: Optional[pulumi.Input[str]] = None,
|
309
|
+
deployment_type: Optional[pulumi.Input[str]] = None,
|
285
310
|
description: Optional[pulumi.Input[str]] = None,
|
286
311
|
directory_stripe_level: Optional[pulumi.Input[str]] = None,
|
287
312
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -304,6 +329,11 @@ class _InstanceState:
|
|
304
329
|
:param pulumi.Input[str] capacity_gib: Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
|
305
330
|
:param pulumi.Input[str] create_time: The time when the instance was created.
|
306
331
|
:param pulumi.Input[str] daos_version: The version of DAOS software running in the instance.
|
332
|
+
:param pulumi.Input[str] deployment_type: Parallelstore Instance deployment type.
|
333
|
+
Possible values:
|
334
|
+
DEPLOYMENT_TYPE_UNSPECIFIED
|
335
|
+
SCRATCH
|
336
|
+
PERSISTENT
|
307
337
|
:param pulumi.Input[str] description: The description of the instance. 2048 characters or less.
|
308
338
|
:param pulumi.Input[str] directory_stripe_level: Stripe level for directories.
|
309
339
|
MIN when directory has a small number of files.
|
@@ -387,6 +417,8 @@ class _InstanceState:
|
|
387
417
|
pulumi.set(__self__, "create_time", create_time)
|
388
418
|
if daos_version is not None:
|
389
419
|
pulumi.set(__self__, "daos_version", daos_version)
|
420
|
+
if deployment_type is not None:
|
421
|
+
pulumi.set(__self__, "deployment_type", deployment_type)
|
390
422
|
if description is not None:
|
391
423
|
pulumi.set(__self__, "description", description)
|
392
424
|
if directory_stripe_level is not None:
|
@@ -467,6 +499,22 @@ class _InstanceState:
|
|
467
499
|
def daos_version(self, value: Optional[pulumi.Input[str]]):
|
468
500
|
pulumi.set(self, "daos_version", value)
|
469
501
|
|
502
|
+
@property
|
503
|
+
@pulumi.getter(name="deploymentType")
|
504
|
+
def deployment_type(self) -> Optional[pulumi.Input[str]]:
|
505
|
+
"""
|
506
|
+
Parallelstore Instance deployment type.
|
507
|
+
Possible values:
|
508
|
+
DEPLOYMENT_TYPE_UNSPECIFIED
|
509
|
+
SCRATCH
|
510
|
+
PERSISTENT
|
511
|
+
"""
|
512
|
+
return pulumi.get(self, "deployment_type")
|
513
|
+
|
514
|
+
@deployment_type.setter
|
515
|
+
def deployment_type(self, value: Optional[pulumi.Input[str]]):
|
516
|
+
pulumi.set(self, "deployment_type", value)
|
517
|
+
|
470
518
|
@property
|
471
519
|
@pulumi.getter
|
472
520
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -713,6 +761,7 @@ class Instance(pulumi.CustomResource):
|
|
713
761
|
resource_name: str,
|
714
762
|
opts: Optional[pulumi.ResourceOptions] = None,
|
715
763
|
capacity_gib: Optional[pulumi.Input[str]] = None,
|
764
|
+
deployment_type: Optional[pulumi.Input[str]] = None,
|
716
765
|
description: Optional[pulumi.Input[str]] = None,
|
717
766
|
directory_stripe_level: Optional[pulumi.Input[str]] = None,
|
718
767
|
file_stripe_level: Optional[pulumi.Input[str]] = None,
|
@@ -728,6 +777,42 @@ class Instance(pulumi.CustomResource):
|
|
728
777
|
|
729
778
|
## Example Usage
|
730
779
|
|
780
|
+
### Parallelstore Instance Basic Beta
|
781
|
+
|
782
|
+
```python
|
783
|
+
import pulumi
|
784
|
+
import pulumi_gcp as gcp
|
785
|
+
|
786
|
+
network = gcp.compute.Network("network",
|
787
|
+
name="network",
|
788
|
+
auto_create_subnetworks=True,
|
789
|
+
mtu=8896)
|
790
|
+
# Create an IP address
|
791
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
792
|
+
name="address",
|
793
|
+
purpose="VPC_PEERING",
|
794
|
+
address_type="INTERNAL",
|
795
|
+
prefix_length=24,
|
796
|
+
network=network.id)
|
797
|
+
# Create a private connection
|
798
|
+
default = gcp.servicenetworking.Connection("default",
|
799
|
+
network=network.id,
|
800
|
+
service="servicenetworking.googleapis.com",
|
801
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
802
|
+
instance = gcp.parallelstore.Instance("instance",
|
803
|
+
instance_id="instance",
|
804
|
+
location="us-central1-a",
|
805
|
+
description="test instance",
|
806
|
+
capacity_gib="12000",
|
807
|
+
network=network.name,
|
808
|
+
file_stripe_level="FILE_STRIPE_LEVEL_MIN",
|
809
|
+
directory_stripe_level="DIRECTORY_STRIPE_LEVEL_MIN",
|
810
|
+
deployment_type="SCRATCH",
|
811
|
+
labels={
|
812
|
+
"test": "value",
|
813
|
+
},
|
814
|
+
opts = pulumi.ResourceOptions(depends_on=[default]))
|
815
|
+
```
|
731
816
|
### Parallelstore Instance Basic
|
732
817
|
|
733
818
|
```python
|
@@ -758,6 +843,7 @@ class Instance(pulumi.CustomResource):
|
|
758
843
|
network=network.name,
|
759
844
|
file_stripe_level="FILE_STRIPE_LEVEL_MIN",
|
760
845
|
directory_stripe_level="DIRECTORY_STRIPE_LEVEL_MIN",
|
846
|
+
deployment_type="SCRATCH",
|
761
847
|
labels={
|
762
848
|
"test": "value",
|
763
849
|
},
|
@@ -791,6 +877,11 @@ class Instance(pulumi.CustomResource):
|
|
791
877
|
:param str resource_name: The name of the resource.
|
792
878
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
793
879
|
:param pulumi.Input[str] capacity_gib: Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
|
880
|
+
:param pulumi.Input[str] deployment_type: Parallelstore Instance deployment type.
|
881
|
+
Possible values:
|
882
|
+
DEPLOYMENT_TYPE_UNSPECIFIED
|
883
|
+
SCRATCH
|
884
|
+
PERSISTENT
|
794
885
|
:param pulumi.Input[str] description: The description of the instance. 2048 characters or less.
|
795
886
|
:param pulumi.Input[str] directory_stripe_level: Stripe level for directories.
|
796
887
|
MIN when directory has a small number of files.
|
@@ -859,6 +950,42 @@ class Instance(pulumi.CustomResource):
|
|
859
950
|
|
860
951
|
## Example Usage
|
861
952
|
|
953
|
+
### Parallelstore Instance Basic Beta
|
954
|
+
|
955
|
+
```python
|
956
|
+
import pulumi
|
957
|
+
import pulumi_gcp as gcp
|
958
|
+
|
959
|
+
network = gcp.compute.Network("network",
|
960
|
+
name="network",
|
961
|
+
auto_create_subnetworks=True,
|
962
|
+
mtu=8896)
|
963
|
+
# Create an IP address
|
964
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
965
|
+
name="address",
|
966
|
+
purpose="VPC_PEERING",
|
967
|
+
address_type="INTERNAL",
|
968
|
+
prefix_length=24,
|
969
|
+
network=network.id)
|
970
|
+
# Create a private connection
|
971
|
+
default = gcp.servicenetworking.Connection("default",
|
972
|
+
network=network.id,
|
973
|
+
service="servicenetworking.googleapis.com",
|
974
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
975
|
+
instance = gcp.parallelstore.Instance("instance",
|
976
|
+
instance_id="instance",
|
977
|
+
location="us-central1-a",
|
978
|
+
description="test instance",
|
979
|
+
capacity_gib="12000",
|
980
|
+
network=network.name,
|
981
|
+
file_stripe_level="FILE_STRIPE_LEVEL_MIN",
|
982
|
+
directory_stripe_level="DIRECTORY_STRIPE_LEVEL_MIN",
|
983
|
+
deployment_type="SCRATCH",
|
984
|
+
labels={
|
985
|
+
"test": "value",
|
986
|
+
},
|
987
|
+
opts = pulumi.ResourceOptions(depends_on=[default]))
|
988
|
+
```
|
862
989
|
### Parallelstore Instance Basic
|
863
990
|
|
864
991
|
```python
|
@@ -889,6 +1016,7 @@ class Instance(pulumi.CustomResource):
|
|
889
1016
|
network=network.name,
|
890
1017
|
file_stripe_level="FILE_STRIPE_LEVEL_MIN",
|
891
1018
|
directory_stripe_level="DIRECTORY_STRIPE_LEVEL_MIN",
|
1019
|
+
deployment_type="SCRATCH",
|
892
1020
|
labels={
|
893
1021
|
"test": "value",
|
894
1022
|
},
|
@@ -935,6 +1063,7 @@ class Instance(pulumi.CustomResource):
|
|
935
1063
|
resource_name: str,
|
936
1064
|
opts: Optional[pulumi.ResourceOptions] = None,
|
937
1065
|
capacity_gib: Optional[pulumi.Input[str]] = None,
|
1066
|
+
deployment_type: Optional[pulumi.Input[str]] = None,
|
938
1067
|
description: Optional[pulumi.Input[str]] = None,
|
939
1068
|
directory_stripe_level: Optional[pulumi.Input[str]] = None,
|
940
1069
|
file_stripe_level: Optional[pulumi.Input[str]] = None,
|
@@ -956,6 +1085,7 @@ class Instance(pulumi.CustomResource):
|
|
956
1085
|
if capacity_gib is None and not opts.urn:
|
957
1086
|
raise TypeError("Missing required property 'capacity_gib'")
|
958
1087
|
__props__.__dict__["capacity_gib"] = capacity_gib
|
1088
|
+
__props__.__dict__["deployment_type"] = deployment_type
|
959
1089
|
__props__.__dict__["description"] = description
|
960
1090
|
__props__.__dict__["directory_stripe_level"] = directory_stripe_level
|
961
1091
|
__props__.__dict__["file_stripe_level"] = file_stripe_level
|
@@ -994,6 +1124,7 @@ class Instance(pulumi.CustomResource):
|
|
994
1124
|
capacity_gib: Optional[pulumi.Input[str]] = None,
|
995
1125
|
create_time: Optional[pulumi.Input[str]] = None,
|
996
1126
|
daos_version: Optional[pulumi.Input[str]] = None,
|
1127
|
+
deployment_type: Optional[pulumi.Input[str]] = None,
|
997
1128
|
description: Optional[pulumi.Input[str]] = None,
|
998
1129
|
directory_stripe_level: Optional[pulumi.Input[str]] = None,
|
999
1130
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1021,6 +1152,11 @@ class Instance(pulumi.CustomResource):
|
|
1021
1152
|
:param pulumi.Input[str] capacity_gib: Required. Immutable. Storage capacity of Parallelstore instance in Gibibytes (GiB).
|
1022
1153
|
:param pulumi.Input[str] create_time: The time when the instance was created.
|
1023
1154
|
:param pulumi.Input[str] daos_version: The version of DAOS software running in the instance.
|
1155
|
+
:param pulumi.Input[str] deployment_type: Parallelstore Instance deployment type.
|
1156
|
+
Possible values:
|
1157
|
+
DEPLOYMENT_TYPE_UNSPECIFIED
|
1158
|
+
SCRATCH
|
1159
|
+
PERSISTENT
|
1024
1160
|
:param pulumi.Input[str] description: The description of the instance. 2048 characters or less.
|
1025
1161
|
:param pulumi.Input[str] directory_stripe_level: Stripe level for directories.
|
1026
1162
|
MIN when directory has a small number of files.
|
@@ -1104,6 +1240,7 @@ class Instance(pulumi.CustomResource):
|
|
1104
1240
|
__props__.__dict__["capacity_gib"] = capacity_gib
|
1105
1241
|
__props__.__dict__["create_time"] = create_time
|
1106
1242
|
__props__.__dict__["daos_version"] = daos_version
|
1243
|
+
__props__.__dict__["deployment_type"] = deployment_type
|
1107
1244
|
__props__.__dict__["description"] = description
|
1108
1245
|
__props__.__dict__["directory_stripe_level"] = directory_stripe_level
|
1109
1246
|
__props__.__dict__["effective_labels"] = effective_labels
|
@@ -1154,6 +1291,18 @@ class Instance(pulumi.CustomResource):
|
|
1154
1291
|
"""
|
1155
1292
|
return pulumi.get(self, "daos_version")
|
1156
1293
|
|
1294
|
+
@property
|
1295
|
+
@pulumi.getter(name="deploymentType")
|
1296
|
+
def deployment_type(self) -> pulumi.Output[Optional[str]]:
|
1297
|
+
"""
|
1298
|
+
Parallelstore Instance deployment type.
|
1299
|
+
Possible values:
|
1300
|
+
DEPLOYMENT_TYPE_UNSPECIFIED
|
1301
|
+
SCRATCH
|
1302
|
+
PERSISTENT
|
1303
|
+
"""
|
1304
|
+
return pulumi.get(self, "deployment_type")
|
1305
|
+
|
1157
1306
|
@property
|
1158
1307
|
@pulumi.getter
|
1159
1308
|
def description(self) -> pulumi.Output[Optional[str]]:
|
@@ -25,6 +25,8 @@ class UsageExportBucketArgs:
|
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a UsageExportBucket resource.
|
27
27
|
:param pulumi.Input[str] bucket_name: The bucket to store reports in.
|
28
|
+
|
29
|
+
- - -
|
28
30
|
:param pulumi.Input[str] prefix: A prefix for the reports, for instance, the project name.
|
29
31
|
:param pulumi.Input[str] project: The project to set the export bucket on. If it is not provided, the provider project is used.
|
30
32
|
"""
|
@@ -39,6 +41,8 @@ class UsageExportBucketArgs:
|
|
39
41
|
def bucket_name(self) -> pulumi.Input[str]:
|
40
42
|
"""
|
41
43
|
The bucket to store reports in.
|
44
|
+
|
45
|
+
- - -
|
42
46
|
"""
|
43
47
|
return pulumi.get(self, "bucket_name")
|
44
48
|
|
@@ -80,6 +84,8 @@ class _UsageExportBucketState:
|
|
80
84
|
"""
|
81
85
|
Input properties used for looking up and filtering UsageExportBucket resources.
|
82
86
|
:param pulumi.Input[str] bucket_name: The bucket to store reports in.
|
87
|
+
|
88
|
+
- - -
|
83
89
|
:param pulumi.Input[str] prefix: A prefix for the reports, for instance, the project name.
|
84
90
|
:param pulumi.Input[str] project: The project to set the export bucket on. If it is not provided, the provider project is used.
|
85
91
|
"""
|
@@ -95,6 +101,8 @@ class _UsageExportBucketState:
|
|
95
101
|
def bucket_name(self) -> Optional[pulumi.Input[str]]:
|
96
102
|
"""
|
97
103
|
The bucket to store reports in.
|
104
|
+
|
105
|
+
- - -
|
98
106
|
"""
|
99
107
|
return pulumi.get(self, "bucket_name")
|
100
108
|
|
@@ -137,27 +145,17 @@ class UsageExportBucket(pulumi.CustomResource):
|
|
137
145
|
project: Optional[pulumi.Input[str]] = None,
|
138
146
|
__props__=None):
|
139
147
|
"""
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
See the [Organization documentation](https://cloud.google.com/resource-manager/docs/quickstarts) for more details.
|
144
|
-
|
145
|
-
The user or service account that is running this provider when creating a `organizations.Project`
|
146
|
-
resource must have `roles/resourcemanager.projectCreator` on the specified organization. See the
|
147
|
-
[Access Control for Organizations Using IAM](https://cloud.google.com/resource-manager/docs/access-control-org)
|
148
|
-
doc for more information.
|
149
|
-
|
150
|
-
> This resource reads the specified billing account on every pulumi up and plan operation so you must have permissions on the specified billing account.
|
151
|
-
|
152
|
-
> It is recommended to use the `constraints/compute.skipDefaultNetworkCreation` [constraint](https://www.terraform.io/docs/providers/google/r/google_organization_policy.html) to remove the default network instead of setting `auto_create_network` to false, when possible.
|
148
|
+
Sets up a usage export bucket for a particular project. A usage export bucket
|
149
|
+
is a pre-configured GCS bucket which is set up to receive daily and monthly
|
150
|
+
reports of the GCE resources used.
|
153
151
|
|
154
|
-
|
152
|
+
For more information see the [Docs](https://cloud.google.com/compute/docs/usage-export)
|
153
|
+
and for further details, the
|
154
|
+
[API Documentation](https://cloud.google.com/compute/docs/reference/rest/beta/projects/setUsageExportBucket).
|
155
155
|
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
* How-to Guides
|
160
|
-
* [Creating and managing projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects)
|
156
|
+
> **Note:** You should specify only one of these per project. If there are two or more
|
157
|
+
they will fight over which bucket the reports should be stored in. It is
|
158
|
+
safe to have multiple resources with the same backing bucket.
|
161
159
|
|
162
160
|
## Example Usage
|
163
161
|
|
@@ -165,49 +163,18 @@ class UsageExportBucket(pulumi.CustomResource):
|
|
165
163
|
import pulumi
|
166
164
|
import pulumi_gcp as gcp
|
167
165
|
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
org_id="1234567")
|
172
|
-
```
|
173
|
-
|
174
|
-
To create a project under a specific folder
|
175
|
-
|
176
|
-
```python
|
177
|
-
import pulumi
|
178
|
-
import pulumi_gcp as gcp
|
179
|
-
|
180
|
-
department1 = gcp.organizations.Folder("department1",
|
181
|
-
display_name="Department 1",
|
182
|
-
parent="organizations/1234567")
|
183
|
-
my_project_in_a_folder = gcp.organizations.Project("my_project-in-a-folder",
|
184
|
-
name="My Project",
|
185
|
-
project_id="your-project-id",
|
186
|
-
folder_id=department1.name)
|
187
|
-
```
|
188
|
-
|
189
|
-
To create a project with a tag
|
190
|
-
|
191
|
-
```python
|
192
|
-
import pulumi
|
193
|
-
import pulumi_gcp as gcp
|
194
|
-
|
195
|
-
my_project = gcp.organizations.Project("my_project",
|
196
|
-
name="My Project",
|
197
|
-
project_id="your-project-id",
|
198
|
-
org_id="1234567",
|
199
|
-
tags={
|
200
|
-
"1234567/env": "staging",
|
201
|
-
})
|
166
|
+
usage_export = gcp.projects.UsageExportBucket("usage_export",
|
167
|
+
project="development-project",
|
168
|
+
bucket_name="usage-tracking-bucket")
|
202
169
|
```
|
203
170
|
|
204
171
|
## Import
|
205
172
|
|
206
|
-
|
173
|
+
A project's Usage Export Bucket can be imported using this format:
|
207
174
|
|
208
175
|
* `{{project_id}}`
|
209
176
|
|
210
|
-
When using the `pulumi import` command,
|
177
|
+
When using the `pulumi import` command, NAME_HERE can be imported using one of the formats above. For example:
|
211
178
|
|
212
179
|
```sh
|
213
180
|
$ pulumi import gcp:projects/usageExportBucket:UsageExportBucket default {{project_id}}
|
@@ -216,6 +183,8 @@ class UsageExportBucket(pulumi.CustomResource):
|
|
216
183
|
:param str resource_name: The name of the resource.
|
217
184
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
218
185
|
:param pulumi.Input[str] bucket_name: The bucket to store reports in.
|
186
|
+
|
187
|
+
- - -
|
219
188
|
:param pulumi.Input[str] prefix: A prefix for the reports, for instance, the project name.
|
220
189
|
:param pulumi.Input[str] project: The project to set the export bucket on. If it is not provided, the provider project is used.
|
221
190
|
"""
|
@@ -226,27 +195,17 @@ class UsageExportBucket(pulumi.CustomResource):
|
|
226
195
|
args: UsageExportBucketArgs,
|
227
196
|
opts: Optional[pulumi.ResourceOptions] = None):
|
228
197
|
"""
|
229
|
-
|
198
|
+
Sets up a usage export bucket for a particular project. A usage export bucket
|
199
|
+
is a pre-configured GCS bucket which is set up to receive daily and monthly
|
200
|
+
reports of the GCE resources used.
|
230
201
|
|
231
|
-
|
232
|
-
|
202
|
+
For more information see the [Docs](https://cloud.google.com/compute/docs/usage-export)
|
203
|
+
and for further details, the
|
204
|
+
[API Documentation](https://cloud.google.com/compute/docs/reference/rest/beta/projects/setUsageExportBucket).
|
233
205
|
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
doc for more information.
|
238
|
-
|
239
|
-
> This resource reads the specified billing account on every pulumi up and plan operation so you must have permissions on the specified billing account.
|
240
|
-
|
241
|
-
> It is recommended to use the `constraints/compute.skipDefaultNetworkCreation` [constraint](https://www.terraform.io/docs/providers/google/r/google_organization_policy.html) to remove the default network instead of setting `auto_create_network` to false, when possible.
|
242
|
-
|
243
|
-
> It may take a while for the attached tag bindings to be deleted after the project is scheduled to be deleted.
|
244
|
-
|
245
|
-
To get more information about projects, see:
|
246
|
-
|
247
|
-
* [API documentation](https://cloud.google.com/resource-manager/reference/rest/v1/projects)
|
248
|
-
* How-to Guides
|
249
|
-
* [Creating and managing projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects)
|
206
|
+
> **Note:** You should specify only one of these per project. If there are two or more
|
207
|
+
they will fight over which bucket the reports should be stored in. It is
|
208
|
+
safe to have multiple resources with the same backing bucket.
|
250
209
|
|
251
210
|
## Example Usage
|
252
211
|
|
@@ -254,49 +213,18 @@ class UsageExportBucket(pulumi.CustomResource):
|
|
254
213
|
import pulumi
|
255
214
|
import pulumi_gcp as gcp
|
256
215
|
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
org_id="1234567")
|
261
|
-
```
|
262
|
-
|
263
|
-
To create a project under a specific folder
|
264
|
-
|
265
|
-
```python
|
266
|
-
import pulumi
|
267
|
-
import pulumi_gcp as gcp
|
268
|
-
|
269
|
-
department1 = gcp.organizations.Folder("department1",
|
270
|
-
display_name="Department 1",
|
271
|
-
parent="organizations/1234567")
|
272
|
-
my_project_in_a_folder = gcp.organizations.Project("my_project-in-a-folder",
|
273
|
-
name="My Project",
|
274
|
-
project_id="your-project-id",
|
275
|
-
folder_id=department1.name)
|
276
|
-
```
|
277
|
-
|
278
|
-
To create a project with a tag
|
279
|
-
|
280
|
-
```python
|
281
|
-
import pulumi
|
282
|
-
import pulumi_gcp as gcp
|
283
|
-
|
284
|
-
my_project = gcp.organizations.Project("my_project",
|
285
|
-
name="My Project",
|
286
|
-
project_id="your-project-id",
|
287
|
-
org_id="1234567",
|
288
|
-
tags={
|
289
|
-
"1234567/env": "staging",
|
290
|
-
})
|
216
|
+
usage_export = gcp.projects.UsageExportBucket("usage_export",
|
217
|
+
project="development-project",
|
218
|
+
bucket_name="usage-tracking-bucket")
|
291
219
|
```
|
292
220
|
|
293
221
|
## Import
|
294
222
|
|
295
|
-
|
223
|
+
A project's Usage Export Bucket can be imported using this format:
|
296
224
|
|
297
225
|
* `{{project_id}}`
|
298
226
|
|
299
|
-
When using the `pulumi import` command,
|
227
|
+
When using the `pulumi import` command, NAME_HERE can be imported using one of the formats above. For example:
|
300
228
|
|
301
229
|
```sh
|
302
230
|
$ pulumi import gcp:projects/usageExportBucket:UsageExportBucket default {{project_id}}
|
@@ -355,6 +283,8 @@ class UsageExportBucket(pulumi.CustomResource):
|
|
355
283
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
356
284
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
357
285
|
:param pulumi.Input[str] bucket_name: The bucket to store reports in.
|
286
|
+
|
287
|
+
- - -
|
358
288
|
:param pulumi.Input[str] prefix: A prefix for the reports, for instance, the project name.
|
359
289
|
:param pulumi.Input[str] project: The project to set the export bucket on. If it is not provided, the provider project is used.
|
360
290
|
"""
|
@@ -372,6 +302,8 @@ class UsageExportBucket(pulumi.CustomResource):
|
|
372
302
|
def bucket_name(self) -> pulumi.Output[str]:
|
373
303
|
"""
|
374
304
|
The bucket to store reports in.
|
305
|
+
|
306
|
+
- - -
|
375
307
|
"""
|
376
308
|
return pulumi.get(self, "bucket_name")
|
377
309
|
|