pulumi-gcp 8.36.0a1751060819__py3-none-any.whl → 8.37.0a1751903932__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 +24 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/_inputs.py +675 -0
- pulumi_gcp/apihub/outputs.py +567 -0
- pulumi_gcp/apihub/plugin.py +1146 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing.py +7 -7
- pulumi_gcp/cloudidentity/group_membership.py +47 -0
- pulumi_gcp/cloudidentity/outputs.py +11 -0
- pulumi_gcp/cloudrunv2/_inputs.py +65 -9
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +73 -8
- pulumi_gcp/cloudrunv2/service.py +0 -2
- pulumi_gcp/cloudrunv2/worker_pool.py +18 -20
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +763 -6
- pulumi_gcp/compute/disk.py +35 -28
- pulumi_gcp/compute/firewall_policy_rule.py +207 -0
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_disk.py +12 -1
- pulumi_gcp/compute/instance_group_manager.py +165 -14
- pulumi_gcp/compute/network.py +56 -0
- pulumi_gcp/compute/network_firewall_policy.py +68 -0
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +61 -0
- pulumi_gcp/compute/outputs.py +604 -4
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/region_network_firewall_policy.py +90 -0
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +109 -0
- pulumi_gcp/compute/wire_group.py +751 -0
- pulumi_gcp/container/_inputs.py +135 -16
- pulumi_gcp/container/cluster.py +54 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/node_pool.py +14 -0
- pulumi_gcp/container/outputs.py +222 -12
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +431 -0
- pulumi_gcp/diagflow/cx_generative_settings.py +625 -0
- pulumi_gcp/diagflow/outputs.py +370 -0
- pulumi_gcp/dns/record_set.py +4 -2
- pulumi_gcp/firestore/database.py +0 -9
- pulumi_gcp/iam/_inputs.py +36 -0
- pulumi_gcp/iam/outputs.py +38 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +88 -2
- pulumi_gcp/kms/autokey_config.py +28 -0
- pulumi_gcp/kms/get_autokey_config.py +12 -1
- pulumi_gcp/memorystore/get_instance.py +12 -1
- pulumi_gcp/memorystore/instance.py +49 -0
- pulumi_gcp/monitoring/metric_descriptor.py +55 -57
- pulumi_gcp/notebooks/instance.py +8 -8
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +44 -0
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +7 -0
- pulumi_gcp/secretmanager/regional_secret.py +38 -2
- pulumi_gcp/spanner/_inputs.py +24 -1
- pulumi_gcp/spanner/outputs.py +17 -1
- pulumi_gcp/storage/_inputs.py +43 -3
- pulumi_gcp/storage/outputs.py +53 -3
- pulumi_gcp/workbench/instance.py +2 -0
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/RECORD +64 -61
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/top_level.txt +0 -0
@@ -22,11 +22,11 @@ __all__ = ['MetricDescriptorArgs', 'MetricDescriptor']
|
|
22
22
|
@pulumi.input_type
|
23
23
|
class MetricDescriptorArgs:
|
24
24
|
def __init__(__self__, *,
|
25
|
-
description: pulumi.Input[builtins.str],
|
26
|
-
display_name: pulumi.Input[builtins.str],
|
27
25
|
metric_kind: pulumi.Input[builtins.str],
|
28
26
|
type: pulumi.Input[builtins.str],
|
29
27
|
value_type: pulumi.Input[builtins.str],
|
28
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
29
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
30
30
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]]] = None,
|
31
31
|
launch_stage: Optional[pulumi.Input[builtins.str]] = None,
|
32
32
|
metadata: Optional[pulumi.Input['MetricDescriptorMetadataArgs']] = None,
|
@@ -34,16 +34,16 @@ class MetricDescriptorArgs:
|
|
34
34
|
unit: Optional[pulumi.Input[builtins.str]] = None):
|
35
35
|
"""
|
36
36
|
The set of arguments for constructing a MetricDescriptor resource.
|
37
|
-
:param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
|
38
|
-
:param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
39
|
-
|
40
|
-
|
41
|
-
- - -
|
42
37
|
:param pulumi.Input[builtins.str] metric_kind: Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported.
|
43
38
|
Possible values are: `METRIC_KIND_UNSPECIFIED`, `GAUGE`, `DELTA`, `CUMULATIVE`.
|
44
39
|
:param pulumi.Input[builtins.str] type: The metric type, including its DNS name prefix. The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relative_metric_name is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/.
|
45
40
|
:param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
|
46
41
|
Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
|
42
|
+
|
43
|
+
|
44
|
+
- - -
|
45
|
+
:param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
|
46
|
+
:param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
47
47
|
:param pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
|
48
48
|
Structure is documented below.
|
49
49
|
:param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
|
@@ -70,11 +70,13 @@ class MetricDescriptorArgs:
|
|
70
70
|
More info can be found in the API documentation
|
71
71
|
(https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
|
72
72
|
"""
|
73
|
-
pulumi.set(__self__, "description", description)
|
74
|
-
pulumi.set(__self__, "display_name", display_name)
|
75
73
|
pulumi.set(__self__, "metric_kind", metric_kind)
|
76
74
|
pulumi.set(__self__, "type", type)
|
77
75
|
pulumi.set(__self__, "value_type", value_type)
|
76
|
+
if description is not None:
|
77
|
+
pulumi.set(__self__, "description", description)
|
78
|
+
if display_name is not None:
|
79
|
+
pulumi.set(__self__, "display_name", display_name)
|
78
80
|
if labels is not None:
|
79
81
|
pulumi.set(__self__, "labels", labels)
|
80
82
|
if launch_stage is not None:
|
@@ -86,33 +88,6 @@ class MetricDescriptorArgs:
|
|
86
88
|
if unit is not None:
|
87
89
|
pulumi.set(__self__, "unit", unit)
|
88
90
|
|
89
|
-
@property
|
90
|
-
@pulumi.getter
|
91
|
-
def description(self) -> pulumi.Input[builtins.str]:
|
92
|
-
"""
|
93
|
-
A detailed description of the metric, which can be used in documentation.
|
94
|
-
"""
|
95
|
-
return pulumi.get(self, "description")
|
96
|
-
|
97
|
-
@description.setter
|
98
|
-
def description(self, value: pulumi.Input[builtins.str]):
|
99
|
-
pulumi.set(self, "description", value)
|
100
|
-
|
101
|
-
@property
|
102
|
-
@pulumi.getter(name="displayName")
|
103
|
-
def display_name(self) -> pulumi.Input[builtins.str]:
|
104
|
-
"""
|
105
|
-
A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
106
|
-
|
107
|
-
|
108
|
-
- - -
|
109
|
-
"""
|
110
|
-
return pulumi.get(self, "display_name")
|
111
|
-
|
112
|
-
@display_name.setter
|
113
|
-
def display_name(self, value: pulumi.Input[builtins.str]):
|
114
|
-
pulumi.set(self, "display_name", value)
|
115
|
-
|
116
91
|
@property
|
117
92
|
@pulumi.getter(name="metricKind")
|
118
93
|
def metric_kind(self) -> pulumi.Input[builtins.str]:
|
@@ -144,6 +119,9 @@ class MetricDescriptorArgs:
|
|
144
119
|
"""
|
145
120
|
Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
|
146
121
|
Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
|
122
|
+
|
123
|
+
|
124
|
+
- - -
|
147
125
|
"""
|
148
126
|
return pulumi.get(self, "value_type")
|
149
127
|
|
@@ -151,6 +129,30 @@ class MetricDescriptorArgs:
|
|
151
129
|
def value_type(self, value: pulumi.Input[builtins.str]):
|
152
130
|
pulumi.set(self, "value_type", value)
|
153
131
|
|
132
|
+
@property
|
133
|
+
@pulumi.getter
|
134
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
135
|
+
"""
|
136
|
+
A detailed description of the metric, which can be used in documentation.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "description")
|
139
|
+
|
140
|
+
@description.setter
|
141
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
142
|
+
pulumi.set(self, "description", value)
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="displayName")
|
146
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
147
|
+
"""
|
148
|
+
A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "display_name")
|
151
|
+
|
152
|
+
@display_name.setter
|
153
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
154
|
+
pulumi.set(self, "display_name", value)
|
155
|
+
|
154
156
|
@property
|
155
157
|
@pulumi.getter
|
156
158
|
def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]]]:
|
@@ -251,9 +253,6 @@ class _MetricDescriptorState:
|
|
251
253
|
Input properties used for looking up and filtering MetricDescriptor resources.
|
252
254
|
:param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
|
253
255
|
:param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
254
|
-
|
255
|
-
|
256
|
-
- - -
|
257
256
|
:param pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
|
258
257
|
Structure is documented below.
|
259
258
|
:param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
|
@@ -286,6 +285,9 @@ class _MetricDescriptorState:
|
|
286
285
|
(https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
|
287
286
|
:param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
|
288
287
|
Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
|
288
|
+
|
289
|
+
|
290
|
+
- - -
|
289
291
|
"""
|
290
292
|
if description is not None:
|
291
293
|
pulumi.set(__self__, "description", description)
|
@@ -329,9 +331,6 @@ class _MetricDescriptorState:
|
|
329
331
|
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
330
332
|
"""
|
331
333
|
A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
332
|
-
|
333
|
-
|
334
|
-
- - -
|
335
334
|
"""
|
336
335
|
return pulumi.get(self, "display_name")
|
337
336
|
|
@@ -474,6 +473,9 @@ class _MetricDescriptorState:
|
|
474
473
|
"""
|
475
474
|
Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
|
476
475
|
Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
|
476
|
+
|
477
|
+
|
478
|
+
- - -
|
477
479
|
"""
|
478
480
|
return pulumi.get(self, "value_type")
|
479
481
|
|
@@ -588,9 +590,6 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
588
590
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
589
591
|
:param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
|
590
592
|
:param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
591
|
-
|
592
|
-
|
593
|
-
- - -
|
594
593
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MetricDescriptorLabelArgs', 'MetricDescriptorLabelArgsDict']]]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
|
595
594
|
Structure is documented below.
|
596
595
|
:param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
|
@@ -621,6 +620,9 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
621
620
|
(https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
|
622
621
|
:param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
|
623
622
|
Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
|
623
|
+
|
624
|
+
|
625
|
+
- - -
|
624
626
|
"""
|
625
627
|
...
|
626
628
|
@overload
|
@@ -747,11 +749,7 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
747
749
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
748
750
|
__props__ = MetricDescriptorArgs.__new__(MetricDescriptorArgs)
|
749
751
|
|
750
|
-
if description is None and not opts.urn:
|
751
|
-
raise TypeError("Missing required property 'description'")
|
752
752
|
__props__.__dict__["description"] = description
|
753
|
-
if display_name is None and not opts.urn:
|
754
|
-
raise TypeError("Missing required property 'display_name'")
|
755
753
|
__props__.__dict__["display_name"] = display_name
|
756
754
|
__props__.__dict__["labels"] = labels
|
757
755
|
__props__.__dict__["launch_stage"] = launch_stage
|
@@ -800,9 +798,6 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
800
798
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
801
799
|
:param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
|
802
800
|
:param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
803
|
-
|
804
|
-
|
805
|
-
- - -
|
806
801
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MetricDescriptorLabelArgs', 'MetricDescriptorLabelArgsDict']]]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
|
807
802
|
Structure is documented below.
|
808
803
|
:param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
|
@@ -835,6 +830,9 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
835
830
|
(https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
|
836
831
|
:param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
|
837
832
|
Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
|
833
|
+
|
834
|
+
|
835
|
+
- - -
|
838
836
|
"""
|
839
837
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
840
838
|
|
@@ -856,7 +854,7 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
856
854
|
|
857
855
|
@property
|
858
856
|
@pulumi.getter
|
859
|
-
def description(self) -> pulumi.Output[builtins.str]:
|
857
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
860
858
|
"""
|
861
859
|
A detailed description of the metric, which can be used in documentation.
|
862
860
|
"""
|
@@ -864,12 +862,9 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
864
862
|
|
865
863
|
@property
|
866
864
|
@pulumi.getter(name="displayName")
|
867
|
-
def display_name(self) -> pulumi.Output[builtins.str]:
|
865
|
+
def display_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
868
866
|
"""
|
869
867
|
A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
|
870
|
-
|
871
|
-
|
872
|
-
- - -
|
873
868
|
"""
|
874
869
|
return pulumi.get(self, "display_name")
|
875
870
|
|
@@ -972,6 +967,9 @@ class MetricDescriptor(pulumi.CustomResource):
|
|
972
967
|
"""
|
973
968
|
Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
|
974
969
|
Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
|
970
|
+
|
971
|
+
|
972
|
+
- - -
|
975
973
|
"""
|
976
974
|
return pulumi.get(self, "value_type")
|
977
975
|
|
pulumi_gcp/notebooks/instance.py
CHANGED
@@ -1410,7 +1410,7 @@ class Instance(pulumi.CustomResource):
|
|
1410
1410
|
machine_type="e2-medium",
|
1411
1411
|
vm_image={
|
1412
1412
|
"project": "deeplearning-platform-release",
|
1413
|
-
"image_family": "
|
1413
|
+
"image_family": "pytorch-latest-cu124",
|
1414
1414
|
})
|
1415
1415
|
```
|
1416
1416
|
### Notebook Instance Basic Stopped
|
@@ -1425,7 +1425,7 @@ class Instance(pulumi.CustomResource):
|
|
1425
1425
|
machine_type="e2-medium",
|
1426
1426
|
vm_image={
|
1427
1427
|
"project": "deeplearning-platform-release",
|
1428
|
-
"image_family": "
|
1428
|
+
"image_family": "pytorch-latest-cu124",
|
1429
1429
|
},
|
1430
1430
|
desired_state="STOPPED")
|
1431
1431
|
```
|
@@ -1464,7 +1464,7 @@ class Instance(pulumi.CustomResource):
|
|
1464
1464
|
},
|
1465
1465
|
vm_image={
|
1466
1466
|
"project": "deeplearning-platform-release",
|
1467
|
-
"image_family": "
|
1467
|
+
"image_family": "pytorch-latest-cu124",
|
1468
1468
|
})
|
1469
1469
|
```
|
1470
1470
|
### Notebook Instance Full
|
@@ -1482,7 +1482,7 @@ class Instance(pulumi.CustomResource):
|
|
1482
1482
|
machine_type="e2-medium",
|
1483
1483
|
vm_image={
|
1484
1484
|
"project": "deeplearning-platform-release",
|
1485
|
-
"image_family": "
|
1485
|
+
"image_family": "pytorch-latest-cu124",
|
1486
1486
|
},
|
1487
1487
|
instance_owners=["my@service-account.com"],
|
1488
1488
|
service_account="my@service-account.com",
|
@@ -1654,7 +1654,7 @@ class Instance(pulumi.CustomResource):
|
|
1654
1654
|
machine_type="e2-medium",
|
1655
1655
|
vm_image={
|
1656
1656
|
"project": "deeplearning-platform-release",
|
1657
|
-
"image_family": "
|
1657
|
+
"image_family": "pytorch-latest-cu124",
|
1658
1658
|
})
|
1659
1659
|
```
|
1660
1660
|
### Notebook Instance Basic Stopped
|
@@ -1669,7 +1669,7 @@ class Instance(pulumi.CustomResource):
|
|
1669
1669
|
machine_type="e2-medium",
|
1670
1670
|
vm_image={
|
1671
1671
|
"project": "deeplearning-platform-release",
|
1672
|
-
"image_family": "
|
1672
|
+
"image_family": "pytorch-latest-cu124",
|
1673
1673
|
},
|
1674
1674
|
desired_state="STOPPED")
|
1675
1675
|
```
|
@@ -1708,7 +1708,7 @@ class Instance(pulumi.CustomResource):
|
|
1708
1708
|
},
|
1709
1709
|
vm_image={
|
1710
1710
|
"project": "deeplearning-platform-release",
|
1711
|
-
"image_family": "
|
1711
|
+
"image_family": "pytorch-latest-cu124",
|
1712
1712
|
})
|
1713
1713
|
```
|
1714
1714
|
### Notebook Instance Full
|
@@ -1726,7 +1726,7 @@ class Instance(pulumi.CustomResource):
|
|
1726
1726
|
machine_type="e2-medium",
|
1727
1727
|
vm_image={
|
1728
1728
|
"project": "deeplearning-platform-release",
|
1729
|
-
"image_family": "
|
1729
|
+
"image_family": "pytorch-latest-cu124",
|
1730
1730
|
},
|
1731
1731
|
instance_owners=["my@service-account.com"],
|
1732
1732
|
service_account="my@service-account.com",
|
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/redis/get_instance.py
CHANGED
@@ -28,7 +28,7 @@ class GetInstanceResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getInstance.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, alternative_location_id=None, auth_enabled=None, auth_string=None, authorized_network=None, connect_mode=None, create_time=None, current_location_id=None, customer_managed_key=None, display_name=None, effective_labels=None, host=None, id=None, labels=None, location_id=None, maintenance_policies=None, maintenance_schedules=None, maintenance_version=None, memory_size_gb=None, name=None, nodes=None, persistence_configs=None, persistence_iam_identity=None, port=None, project=None, pulumi_labels=None, read_endpoint=None, read_endpoint_port=None, read_replicas_mode=None, redis_configs=None, redis_version=None, region=None, replica_count=None, reserved_ip_range=None, secondary_ip_range=None, server_ca_certs=None, tier=None, transit_encryption_mode=None):
|
31
|
+
def __init__(__self__, alternative_location_id=None, auth_enabled=None, auth_string=None, authorized_network=None, connect_mode=None, create_time=None, current_location_id=None, customer_managed_key=None, display_name=None, effective_labels=None, effective_reserved_ip_range=None, host=None, id=None, labels=None, location_id=None, maintenance_policies=None, maintenance_schedules=None, maintenance_version=None, memory_size_gb=None, name=None, nodes=None, persistence_configs=None, persistence_iam_identity=None, port=None, project=None, pulumi_labels=None, read_endpoint=None, read_endpoint_port=None, read_replicas_mode=None, redis_configs=None, redis_version=None, region=None, replica_count=None, reserved_ip_range=None, secondary_ip_range=None, server_ca_certs=None, tier=None, transit_encryption_mode=None):
|
32
32
|
if alternative_location_id and not isinstance(alternative_location_id, str):
|
33
33
|
raise TypeError("Expected argument 'alternative_location_id' to be a str")
|
34
34
|
pulumi.set(__self__, "alternative_location_id", alternative_location_id)
|
@@ -59,6 +59,9 @@ class GetInstanceResult:
|
|
59
59
|
if effective_labels and not isinstance(effective_labels, dict):
|
60
60
|
raise TypeError("Expected argument 'effective_labels' to be a dict")
|
61
61
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
62
|
+
if effective_reserved_ip_range and not isinstance(effective_reserved_ip_range, str):
|
63
|
+
raise TypeError("Expected argument 'effective_reserved_ip_range' to be a str")
|
64
|
+
pulumi.set(__self__, "effective_reserved_ip_range", effective_reserved_ip_range)
|
62
65
|
if host and not isinstance(host, str):
|
63
66
|
raise TypeError("Expected argument 'host' to be a str")
|
64
67
|
pulumi.set(__self__, "host", host)
|
@@ -191,6 +194,11 @@ class GetInstanceResult:
|
|
191
194
|
def effective_labels(self) -> Mapping[str, builtins.str]:
|
192
195
|
return pulumi.get(self, "effective_labels")
|
193
196
|
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="effectiveReservedIpRange")
|
199
|
+
def effective_reserved_ip_range(self) -> builtins.str:
|
200
|
+
return pulumi.get(self, "effective_reserved_ip_range")
|
201
|
+
|
194
202
|
@property
|
195
203
|
@pulumi.getter
|
196
204
|
def host(self) -> builtins.str:
|
@@ -346,6 +354,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
346
354
|
customer_managed_key=self.customer_managed_key,
|
347
355
|
display_name=self.display_name,
|
348
356
|
effective_labels=self.effective_labels,
|
357
|
+
effective_reserved_ip_range=self.effective_reserved_ip_range,
|
349
358
|
host=self.host,
|
350
359
|
id=self.id,
|
351
360
|
labels=self.labels,
|
@@ -421,6 +430,7 @@ def get_instance(name: Optional[builtins.str] = None,
|
|
421
430
|
customer_managed_key=pulumi.get(__ret__, 'customer_managed_key'),
|
422
431
|
display_name=pulumi.get(__ret__, 'display_name'),
|
423
432
|
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
433
|
+
effective_reserved_ip_range=pulumi.get(__ret__, 'effective_reserved_ip_range'),
|
424
434
|
host=pulumi.get(__ret__, 'host'),
|
425
435
|
id=pulumi.get(__ret__, 'id'),
|
426
436
|
labels=pulumi.get(__ret__, 'labels'),
|
@@ -493,6 +503,7 @@ def get_instance_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
493
503
|
customer_managed_key=pulumi.get(__response__, 'customer_managed_key'),
|
494
504
|
display_name=pulumi.get(__response__, 'display_name'),
|
495
505
|
effective_labels=pulumi.get(__response__, 'effective_labels'),
|
506
|
+
effective_reserved_ip_range=pulumi.get(__response__, 'effective_reserved_ip_range'),
|
496
507
|
host=pulumi.get(__response__, 'host'),
|
497
508
|
id=pulumi.get(__response__, 'id'),
|
498
509
|
labels=pulumi.get(__response__, 'labels'),
|
pulumi_gcp/redis/instance.py
CHANGED
@@ -505,6 +505,7 @@ class _InstanceState:
|
|
505
505
|
customer_managed_key: Optional[pulumi.Input[builtins.str]] = None,
|
506
506
|
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
507
507
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
508
|
+
effective_reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
508
509
|
host: Optional[pulumi.Input[builtins.str]] = None,
|
509
510
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
510
511
|
location_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -558,6 +559,11 @@ class _InstanceState:
|
|
558
559
|
instance. If this is provided, CMEK is enabled.
|
559
560
|
:param pulumi.Input[builtins.str] display_name: An arbitrary and optional user-provided name for the instance.
|
560
561
|
: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.
|
562
|
+
:param pulumi.Input[builtins.str] effective_reserved_ip_range: The CIDR range of internal addresses that are reserved for this
|
563
|
+
instance. If not provided, the service will choose an unused /29
|
564
|
+
block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be
|
565
|
+
unique and non-overlapping with existing subnets in an authorized
|
566
|
+
network.
|
561
567
|
:param pulumi.Input[builtins.str] host: Hostname or IP address of the exposed Redis endpoint used by clients
|
562
568
|
to connect to the service.
|
563
569
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Resource labels to represent user provided metadata.
|
@@ -655,6 +661,8 @@ class _InstanceState:
|
|
655
661
|
pulumi.set(__self__, "display_name", display_name)
|
656
662
|
if effective_labels is not None:
|
657
663
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
664
|
+
if effective_reserved_ip_range is not None:
|
665
|
+
pulumi.set(__self__, "effective_reserved_ip_range", effective_reserved_ip_range)
|
658
666
|
if host is not None:
|
659
667
|
pulumi.set(__self__, "host", host)
|
660
668
|
if labels is not None:
|
@@ -843,6 +851,22 @@ class _InstanceState:
|
|
843
851
|
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
844
852
|
pulumi.set(self, "effective_labels", value)
|
845
853
|
|
854
|
+
@property
|
855
|
+
@pulumi.getter(name="effectiveReservedIpRange")
|
856
|
+
def effective_reserved_ip_range(self) -> Optional[pulumi.Input[builtins.str]]:
|
857
|
+
"""
|
858
|
+
The CIDR range of internal addresses that are reserved for this
|
859
|
+
instance. If not provided, the service will choose an unused /29
|
860
|
+
block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be
|
861
|
+
unique and non-overlapping with existing subnets in an authorized
|
862
|
+
network.
|
863
|
+
"""
|
864
|
+
return pulumi.get(self, "effective_reserved_ip_range")
|
865
|
+
|
866
|
+
@effective_reserved_ip_range.setter
|
867
|
+
def effective_reserved_ip_range(self, value: Optional[pulumi.Input[builtins.str]]):
|
868
|
+
pulumi.set(self, "effective_reserved_ip_range", value)
|
869
|
+
|
846
870
|
@property
|
847
871
|
@pulumi.getter
|
848
872
|
def host(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -1825,6 +1849,7 @@ class Instance(pulumi.CustomResource):
|
|
1825
1849
|
__props__.__dict__["create_time"] = None
|
1826
1850
|
__props__.__dict__["current_location_id"] = None
|
1827
1851
|
__props__.__dict__["effective_labels"] = None
|
1852
|
+
__props__.__dict__["effective_reserved_ip_range"] = None
|
1828
1853
|
__props__.__dict__["host"] = None
|
1829
1854
|
__props__.__dict__["maintenance_schedules"] = None
|
1830
1855
|
__props__.__dict__["nodes"] = None
|
@@ -1856,6 +1881,7 @@ class Instance(pulumi.CustomResource):
|
|
1856
1881
|
customer_managed_key: Optional[pulumi.Input[builtins.str]] = None,
|
1857
1882
|
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
1858
1883
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1884
|
+
effective_reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
|
1859
1885
|
host: Optional[pulumi.Input[builtins.str]] = None,
|
1860
1886
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
1861
1887
|
location_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1914,6 +1940,11 @@ class Instance(pulumi.CustomResource):
|
|
1914
1940
|
instance. If this is provided, CMEK is enabled.
|
1915
1941
|
:param pulumi.Input[builtins.str] display_name: An arbitrary and optional user-provided name for the instance.
|
1916
1942
|
: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.
|
1943
|
+
:param pulumi.Input[builtins.str] effective_reserved_ip_range: The CIDR range of internal addresses that are reserved for this
|
1944
|
+
instance. If not provided, the service will choose an unused /29
|
1945
|
+
block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be
|
1946
|
+
unique and non-overlapping with existing subnets in an authorized
|
1947
|
+
network.
|
1917
1948
|
:param pulumi.Input[builtins.str] host: Hostname or IP address of the exposed Redis endpoint used by clients
|
1918
1949
|
to connect to the service.
|
1919
1950
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Resource labels to represent user provided metadata.
|
@@ -2005,6 +2036,7 @@ class Instance(pulumi.CustomResource):
|
|
2005
2036
|
__props__.__dict__["customer_managed_key"] = customer_managed_key
|
2006
2037
|
__props__.__dict__["display_name"] = display_name
|
2007
2038
|
__props__.__dict__["effective_labels"] = effective_labels
|
2039
|
+
__props__.__dict__["effective_reserved_ip_range"] = effective_reserved_ip_range
|
2008
2040
|
__props__.__dict__["host"] = host
|
2009
2041
|
__props__.__dict__["labels"] = labels
|
2010
2042
|
__props__.__dict__["location_id"] = location_id
|
@@ -2128,6 +2160,18 @@ class Instance(pulumi.CustomResource):
|
|
2128
2160
|
"""
|
2129
2161
|
return pulumi.get(self, "effective_labels")
|
2130
2162
|
|
2163
|
+
@property
|
2164
|
+
@pulumi.getter(name="effectiveReservedIpRange")
|
2165
|
+
def effective_reserved_ip_range(self) -> pulumi.Output[builtins.str]:
|
2166
|
+
"""
|
2167
|
+
The CIDR range of internal addresses that are reserved for this
|
2168
|
+
instance. If not provided, the service will choose an unused /29
|
2169
|
+
block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be
|
2170
|
+
unique and non-overlapping with existing subnets in an authorized
|
2171
|
+
network.
|
2172
|
+
"""
|
2173
|
+
return pulumi.get(self, "effective_reserved_ip_range")
|
2174
|
+
|
2131
2175
|
@property
|
2132
2176
|
@pulumi.getter
|
2133
2177
|
def host(self) -> pulumi.Output[builtins.str]:
|
@@ -28,7 +28,7 @@ class GetRegionalSecretResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getRegionalSecret.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, annotations=None, create_time=None, customer_managed_encryptions=None, effective_annotations=None, effective_labels=None, expire_time=None, id=None, labels=None, location=None, name=None, project=None, pulumi_labels=None, rotations=None, secret_id=None, topics=None, ttl=None, version_aliases=None, version_destroy_ttl=None):
|
31
|
+
def __init__(__self__, annotations=None, create_time=None, customer_managed_encryptions=None, deletion_protection=None, effective_annotations=None, effective_labels=None, expire_time=None, id=None, labels=None, location=None, name=None, project=None, pulumi_labels=None, rotations=None, secret_id=None, topics=None, ttl=None, version_aliases=None, version_destroy_ttl=None):
|
32
32
|
if annotations and not isinstance(annotations, dict):
|
33
33
|
raise TypeError("Expected argument 'annotations' to be a dict")
|
34
34
|
pulumi.set(__self__, "annotations", annotations)
|
@@ -38,6 +38,9 @@ class GetRegionalSecretResult:
|
|
38
38
|
if customer_managed_encryptions and not isinstance(customer_managed_encryptions, list):
|
39
39
|
raise TypeError("Expected argument 'customer_managed_encryptions' to be a list")
|
40
40
|
pulumi.set(__self__, "customer_managed_encryptions", customer_managed_encryptions)
|
41
|
+
if deletion_protection and not isinstance(deletion_protection, bool):
|
42
|
+
raise TypeError("Expected argument 'deletion_protection' to be a bool")
|
43
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
41
44
|
if effective_annotations and not isinstance(effective_annotations, dict):
|
42
45
|
raise TypeError("Expected argument 'effective_annotations' to be a dict")
|
43
46
|
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
@@ -99,6 +102,11 @@ class GetRegionalSecretResult:
|
|
99
102
|
def customer_managed_encryptions(self) -> Sequence['outputs.GetRegionalSecretCustomerManagedEncryptionResult']:
|
100
103
|
return pulumi.get(self, "customer_managed_encryptions")
|
101
104
|
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="deletionProtection")
|
107
|
+
def deletion_protection(self) -> builtins.bool:
|
108
|
+
return pulumi.get(self, "deletion_protection")
|
109
|
+
|
102
110
|
@property
|
103
111
|
@pulumi.getter(name="effectiveAnnotations")
|
104
112
|
def effective_annotations(self) -> Mapping[str, builtins.str]:
|
@@ -187,6 +195,7 @@ class AwaitableGetRegionalSecretResult(GetRegionalSecretResult):
|
|
187
195
|
annotations=self.annotations,
|
188
196
|
create_time=self.create_time,
|
189
197
|
customer_managed_encryptions=self.customer_managed_encryptions,
|
198
|
+
deletion_protection=self.deletion_protection,
|
190
199
|
effective_annotations=self.effective_annotations,
|
191
200
|
effective_labels=self.effective_labels,
|
192
201
|
expire_time=self.expire_time,
|
@@ -237,6 +246,7 @@ def get_regional_secret(location: Optional[builtins.str] = None,
|
|
237
246
|
annotations=pulumi.get(__ret__, 'annotations'),
|
238
247
|
create_time=pulumi.get(__ret__, 'create_time'),
|
239
248
|
customer_managed_encryptions=pulumi.get(__ret__, 'customer_managed_encryptions'),
|
249
|
+
deletion_protection=pulumi.get(__ret__, 'deletion_protection'),
|
240
250
|
effective_annotations=pulumi.get(__ret__, 'effective_annotations'),
|
241
251
|
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
242
252
|
expire_time=pulumi.get(__ret__, 'expire_time'),
|
@@ -284,6 +294,7 @@ def get_regional_secret_output(location: Optional[pulumi.Input[builtins.str]] =
|
|
284
294
|
annotations=pulumi.get(__response__, 'annotations'),
|
285
295
|
create_time=pulumi.get(__response__, 'create_time'),
|
286
296
|
customer_managed_encryptions=pulumi.get(__response__, 'customer_managed_encryptions'),
|
297
|
+
deletion_protection=pulumi.get(__response__, 'deletion_protection'),
|
287
298
|
effective_annotations=pulumi.get(__response__, 'effective_annotations'),
|
288
299
|
effective_labels=pulumi.get(__response__, 'effective_labels'),
|
289
300
|
expire_time=pulumi.get(__response__, 'expire_time'),
|
@@ -781,6 +781,7 @@ class GetRegionalSecretsSecretResult(dict):
|
|
781
781
|
annotations: Mapping[str, builtins.str],
|
782
782
|
create_time: builtins.str,
|
783
783
|
customer_managed_encryptions: Sequence['outputs.GetRegionalSecretsSecretCustomerManagedEncryptionResult'],
|
784
|
+
deletion_protection: builtins.bool,
|
784
785
|
effective_annotations: Mapping[str, builtins.str],
|
785
786
|
effective_labels: Mapping[str, builtins.str],
|
786
787
|
expire_time: builtins.str,
|
@@ -820,6 +821,7 @@ class GetRegionalSecretsSecretResult(dict):
|
|
820
821
|
pulumi.set(__self__, "annotations", annotations)
|
821
822
|
pulumi.set(__self__, "create_time", create_time)
|
822
823
|
pulumi.set(__self__, "customer_managed_encryptions", customer_managed_encryptions)
|
824
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
823
825
|
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
824
826
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
825
827
|
pulumi.set(__self__, "expire_time", expire_time)
|
@@ -860,6 +862,11 @@ class GetRegionalSecretsSecretResult(dict):
|
|
860
862
|
"""
|
861
863
|
return pulumi.get(self, "customer_managed_encryptions")
|
862
864
|
|
865
|
+
@property
|
866
|
+
@pulumi.getter(name="deletionProtection")
|
867
|
+
def deletion_protection(self) -> builtins.bool:
|
868
|
+
return pulumi.get(self, "deletion_protection")
|
869
|
+
|
863
870
|
@property
|
864
871
|
@pulumi.getter(name="effectiveAnnotations")
|
865
872
|
def effective_annotations(self) -> Mapping[str, builtins.str]:
|