pulumi-gcp 8.19.0a1739290509__py3-none-any.whl → 8.19.0a1739382259__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 +80 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +288 -78
- pulumi_gcp/accesscontextmanager/outputs.py +186 -54
- pulumi_gcp/appengine/_inputs.py +3 -0
- pulumi_gcp/appengine/outputs.py +2 -0
- pulumi_gcp/beyondcorp/__init__.py +5 -0
- pulumi_gcp/beyondcorp/_inputs.py +189 -0
- pulumi_gcp/beyondcorp/application.py +604 -0
- pulumi_gcp/beyondcorp/application_iam_binding.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +868 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +174 -0
- pulumi_gcp/beyondcorp/outputs.py +111 -0
- pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +318 -0
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +808 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +263 -0
- pulumi_gcp/certificateauthority/_inputs.py +54 -0
- pulumi_gcp/certificateauthority/authority.py +149 -3
- pulumi_gcp/certificateauthority/get_authority.py +15 -4
- pulumi_gcp/certificateauthority/outputs.py +81 -0
- pulumi_gcp/cloudrunv2/_inputs.py +112 -0
- pulumi_gcp/cloudrunv2/outputs.py +144 -1
- pulumi_gcp/cloudrunv2/service.py +2 -0
- pulumi_gcp/colab/__init__.py +2 -0
- pulumi_gcp/colab/_inputs.py +655 -0
- pulumi_gcp/colab/notebook_execution.py +1259 -0
- pulumi_gcp/colab/outputs.py +512 -0
- pulumi_gcp/colab/runtime.py +266 -2
- pulumi_gcp/colab/runtime_template.py +79 -3
- pulumi_gcp/colab/schedule.py +1318 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +204 -0
- pulumi_gcp/compute/firewall_policy.py +54 -43
- pulumi_gcp/compute/forwarding_rule.py +103 -0
- pulumi_gcp/compute/get_forwarding_rule.py +12 -1
- pulumi_gcp/compute/interconnect_attachment.py +12 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +1011 -0
- pulumi_gcp/compute/outputs.py +187 -0
- pulumi_gcp/compute/public_advertised_prefix.py +35 -7
- pulumi_gcp/compute/public_delegated_prefix.py +171 -7
- pulumi_gcp/compute/region_resize_request.py +21 -22
- pulumi_gcp/compute/resize_request.py +22 -23
- pulumi_gcp/compute/subnetwork.py +14 -7
- pulumi_gcp/container/_inputs.py +54 -1
- pulumi_gcp/container/outputs.py +79 -1
- pulumi_gcp/datastream/connection_profile.py +120 -46
- pulumi_gcp/discoveryengine/chat_engine.py +7 -7
- pulumi_gcp/filestore/_inputs.py +222 -0
- pulumi_gcp/filestore/get_instance.py +23 -1
- pulumi_gcp/filestore/instance.py +86 -0
- pulumi_gcp/filestore/outputs.py +282 -0
- pulumi_gcp/gemini/__init__.py +2 -0
- pulumi_gcp/gemini/logging_setting.py +671 -0
- pulumi_gcp/gemini/release_channel_setting.py +639 -0
- pulumi_gcp/memorystore/_inputs.py +296 -0
- pulumi_gcp/memorystore/instance.py +32 -28
- pulumi_gcp/memorystore/outputs.py +224 -0
- pulumi_gcp/monitoring/_inputs.py +12 -9
- pulumi_gcp/monitoring/outputs.py +8 -6
- pulumi_gcp/networkservices/_inputs.py +89 -0
- pulumi_gcp/networkservices/outputs.py +75 -0
- pulumi_gcp/parametermanager/__init__.py +2 -0
- pulumi_gcp/parametermanager/get_parameter_version_render.py +199 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +220 -0
- pulumi_gcp/privilegedaccessmanager/entitlement.py +14 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/branch_rule.py +4 -0
- pulumi_gcp/securesourcemanager/repository.py +4 -0
- pulumi_gcp/storage/bucket_object.py +8 -0
- pulumi_gcp/workbench/instance.py +70 -2
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.0a1739382259.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.0a1739382259.dist-info}/RECORD +75 -62
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.0a1739382259.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.0a1739382259.dist-info}/top_level.txt +0 -0
pulumi_gcp/colab/_inputs.py
CHANGED
@@ -15,6 +15,12 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'NotebookExecutionDataformRepositorySourceArgs',
|
19
|
+
'NotebookExecutionDataformRepositorySourceArgsDict',
|
20
|
+
'NotebookExecutionDirectNotebookSourceArgs',
|
21
|
+
'NotebookExecutionDirectNotebookSourceArgsDict',
|
22
|
+
'NotebookExecutionGcsNotebookSourceArgs',
|
23
|
+
'NotebookExecutionGcsNotebookSourceArgsDict',
|
18
24
|
'RuntimeNotebookRuntimeTemplateRefArgs',
|
19
25
|
'RuntimeNotebookRuntimeTemplateRefArgsDict',
|
20
26
|
'RuntimeTemplateDataPersistentDiskSpecArgs',
|
@@ -35,10 +41,157 @@ __all__ = [
|
|
35
41
|
'RuntimeTemplateNetworkSpecArgsDict',
|
36
42
|
'RuntimeTemplateShieldedVmConfigArgs',
|
37
43
|
'RuntimeTemplateShieldedVmConfigArgsDict',
|
44
|
+
'RuntimeTemplateSoftwareConfigArgs',
|
45
|
+
'RuntimeTemplateSoftwareConfigArgsDict',
|
46
|
+
'RuntimeTemplateSoftwareConfigEnvArgs',
|
47
|
+
'RuntimeTemplateSoftwareConfigEnvArgsDict',
|
48
|
+
'RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs',
|
49
|
+
'RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgsDict',
|
50
|
+
'ScheduleCreateNotebookExecutionJobRequestArgs',
|
51
|
+
'ScheduleCreateNotebookExecutionJobRequestArgsDict',
|
52
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgs',
|
53
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgsDict',
|
54
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgs',
|
55
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgsDict',
|
56
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgs',
|
57
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgsDict',
|
38
58
|
]
|
39
59
|
|
40
60
|
MYPY = False
|
41
61
|
|
62
|
+
if not MYPY:
|
63
|
+
class NotebookExecutionDataformRepositorySourceArgsDict(TypedDict):
|
64
|
+
dataform_repository_resource_name: pulumi.Input[str]
|
65
|
+
"""
|
66
|
+
The resource name of the Dataform Repository.
|
67
|
+
"""
|
68
|
+
commit_sha: NotRequired[pulumi.Input[str]]
|
69
|
+
"""
|
70
|
+
The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
71
|
+
"""
|
72
|
+
elif False:
|
73
|
+
NotebookExecutionDataformRepositorySourceArgsDict: TypeAlias = Mapping[str, Any]
|
74
|
+
|
75
|
+
@pulumi.input_type
|
76
|
+
class NotebookExecutionDataformRepositorySourceArgs:
|
77
|
+
def __init__(__self__, *,
|
78
|
+
dataform_repository_resource_name: pulumi.Input[str],
|
79
|
+
commit_sha: Optional[pulumi.Input[str]] = None):
|
80
|
+
"""
|
81
|
+
:param pulumi.Input[str] dataform_repository_resource_name: The resource name of the Dataform Repository.
|
82
|
+
:param pulumi.Input[str] commit_sha: The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
83
|
+
"""
|
84
|
+
pulumi.set(__self__, "dataform_repository_resource_name", dataform_repository_resource_name)
|
85
|
+
if commit_sha is not None:
|
86
|
+
pulumi.set(__self__, "commit_sha", commit_sha)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="dataformRepositoryResourceName")
|
90
|
+
def dataform_repository_resource_name(self) -> pulumi.Input[str]:
|
91
|
+
"""
|
92
|
+
The resource name of the Dataform Repository.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "dataform_repository_resource_name")
|
95
|
+
|
96
|
+
@dataform_repository_resource_name.setter
|
97
|
+
def dataform_repository_resource_name(self, value: pulumi.Input[str]):
|
98
|
+
pulumi.set(self, "dataform_repository_resource_name", value)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="commitSha")
|
102
|
+
def commit_sha(self) -> Optional[pulumi.Input[str]]:
|
103
|
+
"""
|
104
|
+
The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "commit_sha")
|
107
|
+
|
108
|
+
@commit_sha.setter
|
109
|
+
def commit_sha(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
pulumi.set(self, "commit_sha", value)
|
111
|
+
|
112
|
+
|
113
|
+
if not MYPY:
|
114
|
+
class NotebookExecutionDirectNotebookSourceArgsDict(TypedDict):
|
115
|
+
content: pulumi.Input[str]
|
116
|
+
"""
|
117
|
+
The base64-encoded contents of the input notebook file.
|
118
|
+
"""
|
119
|
+
elif False:
|
120
|
+
NotebookExecutionDirectNotebookSourceArgsDict: TypeAlias = Mapping[str, Any]
|
121
|
+
|
122
|
+
@pulumi.input_type
|
123
|
+
class NotebookExecutionDirectNotebookSourceArgs:
|
124
|
+
def __init__(__self__, *,
|
125
|
+
content: pulumi.Input[str]):
|
126
|
+
"""
|
127
|
+
:param pulumi.Input[str] content: The base64-encoded contents of the input notebook file.
|
128
|
+
"""
|
129
|
+
pulumi.set(__self__, "content", content)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def content(self) -> pulumi.Input[str]:
|
134
|
+
"""
|
135
|
+
The base64-encoded contents of the input notebook file.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "content")
|
138
|
+
|
139
|
+
@content.setter
|
140
|
+
def content(self, value: pulumi.Input[str]):
|
141
|
+
pulumi.set(self, "content", value)
|
142
|
+
|
143
|
+
|
144
|
+
if not MYPY:
|
145
|
+
class NotebookExecutionGcsNotebookSourceArgsDict(TypedDict):
|
146
|
+
uri: pulumi.Input[str]
|
147
|
+
"""
|
148
|
+
The Cloud Storage uri pointing to the ipynb file.
|
149
|
+
"""
|
150
|
+
generation: NotRequired[pulumi.Input[str]]
|
151
|
+
"""
|
152
|
+
The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
153
|
+
"""
|
154
|
+
elif False:
|
155
|
+
NotebookExecutionGcsNotebookSourceArgsDict: TypeAlias = Mapping[str, Any]
|
156
|
+
|
157
|
+
@pulumi.input_type
|
158
|
+
class NotebookExecutionGcsNotebookSourceArgs:
|
159
|
+
def __init__(__self__, *,
|
160
|
+
uri: pulumi.Input[str],
|
161
|
+
generation: Optional[pulumi.Input[str]] = None):
|
162
|
+
"""
|
163
|
+
:param pulumi.Input[str] uri: The Cloud Storage uri pointing to the ipynb file.
|
164
|
+
:param pulumi.Input[str] generation: The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
165
|
+
"""
|
166
|
+
pulumi.set(__self__, "uri", uri)
|
167
|
+
if generation is not None:
|
168
|
+
pulumi.set(__self__, "generation", generation)
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter
|
172
|
+
def uri(self) -> pulumi.Input[str]:
|
173
|
+
"""
|
174
|
+
The Cloud Storage uri pointing to the ipynb file.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "uri")
|
177
|
+
|
178
|
+
@uri.setter
|
179
|
+
def uri(self, value: pulumi.Input[str]):
|
180
|
+
pulumi.set(self, "uri", value)
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter
|
184
|
+
def generation(self) -> Optional[pulumi.Input[str]]:
|
185
|
+
"""
|
186
|
+
The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "generation")
|
189
|
+
|
190
|
+
@generation.setter
|
191
|
+
def generation(self, value: Optional[pulumi.Input[str]]):
|
192
|
+
pulumi.set(self, "generation", value)
|
193
|
+
|
194
|
+
|
42
195
|
if not MYPY:
|
43
196
|
class RuntimeNotebookRuntimeTemplateRefArgsDict(TypedDict):
|
44
197
|
notebook_runtime_template: pulumi.Input[str]
|
@@ -488,3 +641,505 @@ class RuntimeTemplateShieldedVmConfigArgs:
|
|
488
641
|
pulumi.set(self, "enable_secure_boot", value)
|
489
642
|
|
490
643
|
|
644
|
+
if not MYPY:
|
645
|
+
class RuntimeTemplateSoftwareConfigArgsDict(TypedDict):
|
646
|
+
envs: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuntimeTemplateSoftwareConfigEnvArgsDict']]]]
|
647
|
+
"""
|
648
|
+
Environment variables to be passed to the container.
|
649
|
+
Structure is documented below.
|
650
|
+
"""
|
651
|
+
post_startup_script_config: NotRequired[pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgsDict']]
|
652
|
+
"""
|
653
|
+
Post startup script config.
|
654
|
+
Structure is documented below.
|
655
|
+
"""
|
656
|
+
elif False:
|
657
|
+
RuntimeTemplateSoftwareConfigArgsDict: TypeAlias = Mapping[str, Any]
|
658
|
+
|
659
|
+
@pulumi.input_type
|
660
|
+
class RuntimeTemplateSoftwareConfigArgs:
|
661
|
+
def __init__(__self__, *,
|
662
|
+
envs: Optional[pulumi.Input[Sequence[pulumi.Input['RuntimeTemplateSoftwareConfigEnvArgs']]]] = None,
|
663
|
+
post_startup_script_config: Optional[pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs']] = None):
|
664
|
+
"""
|
665
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuntimeTemplateSoftwareConfigEnvArgs']]] envs: Environment variables to be passed to the container.
|
666
|
+
Structure is documented below.
|
667
|
+
:param pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs'] post_startup_script_config: Post startup script config.
|
668
|
+
Structure is documented below.
|
669
|
+
"""
|
670
|
+
if envs is not None:
|
671
|
+
pulumi.set(__self__, "envs", envs)
|
672
|
+
if post_startup_script_config is not None:
|
673
|
+
pulumi.set(__self__, "post_startup_script_config", post_startup_script_config)
|
674
|
+
|
675
|
+
@property
|
676
|
+
@pulumi.getter
|
677
|
+
def envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuntimeTemplateSoftwareConfigEnvArgs']]]]:
|
678
|
+
"""
|
679
|
+
Environment variables to be passed to the container.
|
680
|
+
Structure is documented below.
|
681
|
+
"""
|
682
|
+
return pulumi.get(self, "envs")
|
683
|
+
|
684
|
+
@envs.setter
|
685
|
+
def envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuntimeTemplateSoftwareConfigEnvArgs']]]]):
|
686
|
+
pulumi.set(self, "envs", value)
|
687
|
+
|
688
|
+
@property
|
689
|
+
@pulumi.getter(name="postStartupScriptConfig")
|
690
|
+
def post_startup_script_config(self) -> Optional[pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs']]:
|
691
|
+
"""
|
692
|
+
Post startup script config.
|
693
|
+
Structure is documented below.
|
694
|
+
"""
|
695
|
+
return pulumi.get(self, "post_startup_script_config")
|
696
|
+
|
697
|
+
@post_startup_script_config.setter
|
698
|
+
def post_startup_script_config(self, value: Optional[pulumi.Input['RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs']]):
|
699
|
+
pulumi.set(self, "post_startup_script_config", value)
|
700
|
+
|
701
|
+
|
702
|
+
if not MYPY:
|
703
|
+
class RuntimeTemplateSoftwareConfigEnvArgsDict(TypedDict):
|
704
|
+
name: NotRequired[pulumi.Input[str]]
|
705
|
+
"""
|
706
|
+
Name of the environment variable. Must be a valid C identifier.
|
707
|
+
"""
|
708
|
+
value: NotRequired[pulumi.Input[str]]
|
709
|
+
"""
|
710
|
+
Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
|
711
|
+
"""
|
712
|
+
elif False:
|
713
|
+
RuntimeTemplateSoftwareConfigEnvArgsDict: TypeAlias = Mapping[str, Any]
|
714
|
+
|
715
|
+
@pulumi.input_type
|
716
|
+
class RuntimeTemplateSoftwareConfigEnvArgs:
|
717
|
+
def __init__(__self__, *,
|
718
|
+
name: Optional[pulumi.Input[str]] = None,
|
719
|
+
value: Optional[pulumi.Input[str]] = None):
|
720
|
+
"""
|
721
|
+
:param pulumi.Input[str] name: Name of the environment variable. Must be a valid C identifier.
|
722
|
+
:param pulumi.Input[str] value: Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
|
723
|
+
"""
|
724
|
+
if name is not None:
|
725
|
+
pulumi.set(__self__, "name", name)
|
726
|
+
if value is not None:
|
727
|
+
pulumi.set(__self__, "value", value)
|
728
|
+
|
729
|
+
@property
|
730
|
+
@pulumi.getter
|
731
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
732
|
+
"""
|
733
|
+
Name of the environment variable. Must be a valid C identifier.
|
734
|
+
"""
|
735
|
+
return pulumi.get(self, "name")
|
736
|
+
|
737
|
+
@name.setter
|
738
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
739
|
+
pulumi.set(self, "name", value)
|
740
|
+
|
741
|
+
@property
|
742
|
+
@pulumi.getter
|
743
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
744
|
+
"""
|
745
|
+
Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
|
746
|
+
"""
|
747
|
+
return pulumi.get(self, "value")
|
748
|
+
|
749
|
+
@value.setter
|
750
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
751
|
+
pulumi.set(self, "value", value)
|
752
|
+
|
753
|
+
|
754
|
+
if not MYPY:
|
755
|
+
class RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgsDict(TypedDict):
|
756
|
+
post_startup_script: NotRequired[pulumi.Input[str]]
|
757
|
+
"""
|
758
|
+
Post startup script to run after runtime is started.
|
759
|
+
"""
|
760
|
+
post_startup_script_behavior: NotRequired[pulumi.Input[str]]
|
761
|
+
"""
|
762
|
+
Post startup script behavior that defines download and execution behavior.
|
763
|
+
Possible values are: `RUN_ONCE`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`.
|
764
|
+
"""
|
765
|
+
post_startup_script_url: NotRequired[pulumi.Input[str]]
|
766
|
+
"""
|
767
|
+
Post startup script url to download. Example: https://bucket/script.sh.
|
768
|
+
"""
|
769
|
+
elif False:
|
770
|
+
RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgsDict: TypeAlias = Mapping[str, Any]
|
771
|
+
|
772
|
+
@pulumi.input_type
|
773
|
+
class RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs:
|
774
|
+
def __init__(__self__, *,
|
775
|
+
post_startup_script: Optional[pulumi.Input[str]] = None,
|
776
|
+
post_startup_script_behavior: Optional[pulumi.Input[str]] = None,
|
777
|
+
post_startup_script_url: Optional[pulumi.Input[str]] = None):
|
778
|
+
"""
|
779
|
+
:param pulumi.Input[str] post_startup_script: Post startup script to run after runtime is started.
|
780
|
+
:param pulumi.Input[str] post_startup_script_behavior: Post startup script behavior that defines download and execution behavior.
|
781
|
+
Possible values are: `RUN_ONCE`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`.
|
782
|
+
:param pulumi.Input[str] post_startup_script_url: Post startup script url to download. Example: https://bucket/script.sh.
|
783
|
+
"""
|
784
|
+
if post_startup_script is not None:
|
785
|
+
pulumi.set(__self__, "post_startup_script", post_startup_script)
|
786
|
+
if post_startup_script_behavior is not None:
|
787
|
+
pulumi.set(__self__, "post_startup_script_behavior", post_startup_script_behavior)
|
788
|
+
if post_startup_script_url is not None:
|
789
|
+
pulumi.set(__self__, "post_startup_script_url", post_startup_script_url)
|
790
|
+
|
791
|
+
@property
|
792
|
+
@pulumi.getter(name="postStartupScript")
|
793
|
+
def post_startup_script(self) -> Optional[pulumi.Input[str]]:
|
794
|
+
"""
|
795
|
+
Post startup script to run after runtime is started.
|
796
|
+
"""
|
797
|
+
return pulumi.get(self, "post_startup_script")
|
798
|
+
|
799
|
+
@post_startup_script.setter
|
800
|
+
def post_startup_script(self, value: Optional[pulumi.Input[str]]):
|
801
|
+
pulumi.set(self, "post_startup_script", value)
|
802
|
+
|
803
|
+
@property
|
804
|
+
@pulumi.getter(name="postStartupScriptBehavior")
|
805
|
+
def post_startup_script_behavior(self) -> Optional[pulumi.Input[str]]:
|
806
|
+
"""
|
807
|
+
Post startup script behavior that defines download and execution behavior.
|
808
|
+
Possible values are: `RUN_ONCE`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`.
|
809
|
+
"""
|
810
|
+
return pulumi.get(self, "post_startup_script_behavior")
|
811
|
+
|
812
|
+
@post_startup_script_behavior.setter
|
813
|
+
def post_startup_script_behavior(self, value: Optional[pulumi.Input[str]]):
|
814
|
+
pulumi.set(self, "post_startup_script_behavior", value)
|
815
|
+
|
816
|
+
@property
|
817
|
+
@pulumi.getter(name="postStartupScriptUrl")
|
818
|
+
def post_startup_script_url(self) -> Optional[pulumi.Input[str]]:
|
819
|
+
"""
|
820
|
+
Post startup script url to download. Example: https://bucket/script.sh.
|
821
|
+
"""
|
822
|
+
return pulumi.get(self, "post_startup_script_url")
|
823
|
+
|
824
|
+
@post_startup_script_url.setter
|
825
|
+
def post_startup_script_url(self, value: Optional[pulumi.Input[str]]):
|
826
|
+
pulumi.set(self, "post_startup_script_url", value)
|
827
|
+
|
828
|
+
|
829
|
+
if not MYPY:
|
830
|
+
class ScheduleCreateNotebookExecutionJobRequestArgsDict(TypedDict):
|
831
|
+
notebook_execution_job: pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgsDict']
|
832
|
+
"""
|
833
|
+
The NotebookExecutionJob to create.
|
834
|
+
Structure is documented below.
|
835
|
+
"""
|
836
|
+
elif False:
|
837
|
+
ScheduleCreateNotebookExecutionJobRequestArgsDict: TypeAlias = Mapping[str, Any]
|
838
|
+
|
839
|
+
@pulumi.input_type
|
840
|
+
class ScheduleCreateNotebookExecutionJobRequestArgs:
|
841
|
+
def __init__(__self__, *,
|
842
|
+
notebook_execution_job: pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgs']):
|
843
|
+
"""
|
844
|
+
:param pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgs'] notebook_execution_job: The NotebookExecutionJob to create.
|
845
|
+
Structure is documented below.
|
846
|
+
"""
|
847
|
+
pulumi.set(__self__, "notebook_execution_job", notebook_execution_job)
|
848
|
+
|
849
|
+
@property
|
850
|
+
@pulumi.getter(name="notebookExecutionJob")
|
851
|
+
def notebook_execution_job(self) -> pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgs']:
|
852
|
+
"""
|
853
|
+
The NotebookExecutionJob to create.
|
854
|
+
Structure is documented below.
|
855
|
+
"""
|
856
|
+
return pulumi.get(self, "notebook_execution_job")
|
857
|
+
|
858
|
+
@notebook_execution_job.setter
|
859
|
+
def notebook_execution_job(self, value: pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgs']):
|
860
|
+
pulumi.set(self, "notebook_execution_job", value)
|
861
|
+
|
862
|
+
|
863
|
+
if not MYPY:
|
864
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgsDict(TypedDict):
|
865
|
+
display_name: pulumi.Input[str]
|
866
|
+
"""
|
867
|
+
Required. The display name of the Notebook Execution.
|
868
|
+
"""
|
869
|
+
gcs_output_uri: pulumi.Input[str]
|
870
|
+
"""
|
871
|
+
The Cloud Storage location to upload the result to. Format:`gs://bucket-name`
|
872
|
+
"""
|
873
|
+
notebook_runtime_template_resource_name: pulumi.Input[str]
|
874
|
+
"""
|
875
|
+
The NotebookRuntimeTemplate to source compute configuration from.
|
876
|
+
"""
|
877
|
+
dataform_repository_source: NotRequired[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgsDict']]
|
878
|
+
"""
|
879
|
+
The Dataform Repository containing the input notebook.
|
880
|
+
Structure is documented below.
|
881
|
+
"""
|
882
|
+
execution_timeout: NotRequired[pulumi.Input[str]]
|
883
|
+
"""
|
884
|
+
Max running time of the execution job in seconds (default 86400s / 24 hrs). A duration in seconds with up to nine fractional digits, ending with "s". Example: "3.5s".
|
885
|
+
"""
|
886
|
+
execution_user: NotRequired[pulumi.Input[str]]
|
887
|
+
"""
|
888
|
+
The user email to run the execution as.
|
889
|
+
"""
|
890
|
+
gcs_notebook_source: NotRequired[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgsDict']]
|
891
|
+
"""
|
892
|
+
The Cloud Storage uri for the input notebook.
|
893
|
+
Structure is documented below.
|
894
|
+
"""
|
895
|
+
service_account: NotRequired[pulumi.Input[str]]
|
896
|
+
"""
|
897
|
+
The service account to run the execution as.
|
898
|
+
"""
|
899
|
+
elif False:
|
900
|
+
ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgsDict: TypeAlias = Mapping[str, Any]
|
901
|
+
|
902
|
+
@pulumi.input_type
|
903
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgs:
|
904
|
+
def __init__(__self__, *,
|
905
|
+
display_name: pulumi.Input[str],
|
906
|
+
gcs_output_uri: pulumi.Input[str],
|
907
|
+
notebook_runtime_template_resource_name: pulumi.Input[str],
|
908
|
+
dataform_repository_source: Optional[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgs']] = None,
|
909
|
+
execution_timeout: Optional[pulumi.Input[str]] = None,
|
910
|
+
execution_user: Optional[pulumi.Input[str]] = None,
|
911
|
+
gcs_notebook_source: Optional[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgs']] = None,
|
912
|
+
service_account: Optional[pulumi.Input[str]] = None):
|
913
|
+
"""
|
914
|
+
:param pulumi.Input[str] display_name: Required. The display name of the Notebook Execution.
|
915
|
+
:param pulumi.Input[str] gcs_output_uri: The Cloud Storage location to upload the result to. Format:`gs://bucket-name`
|
916
|
+
:param pulumi.Input[str] notebook_runtime_template_resource_name: The NotebookRuntimeTemplate to source compute configuration from.
|
917
|
+
:param pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgs'] dataform_repository_source: The Dataform Repository containing the input notebook.
|
918
|
+
Structure is documented below.
|
919
|
+
:param pulumi.Input[str] execution_timeout: Max running time of the execution job in seconds (default 86400s / 24 hrs). A duration in seconds with up to nine fractional digits, ending with "s". Example: "3.5s".
|
920
|
+
:param pulumi.Input[str] execution_user: The user email to run the execution as.
|
921
|
+
:param pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgs'] gcs_notebook_source: The Cloud Storage uri for the input notebook.
|
922
|
+
Structure is documented below.
|
923
|
+
:param pulumi.Input[str] service_account: The service account to run the execution as.
|
924
|
+
"""
|
925
|
+
pulumi.set(__self__, "display_name", display_name)
|
926
|
+
pulumi.set(__self__, "gcs_output_uri", gcs_output_uri)
|
927
|
+
pulumi.set(__self__, "notebook_runtime_template_resource_name", notebook_runtime_template_resource_name)
|
928
|
+
if dataform_repository_source is not None:
|
929
|
+
pulumi.set(__self__, "dataform_repository_source", dataform_repository_source)
|
930
|
+
if execution_timeout is not None:
|
931
|
+
pulumi.set(__self__, "execution_timeout", execution_timeout)
|
932
|
+
if execution_user is not None:
|
933
|
+
pulumi.set(__self__, "execution_user", execution_user)
|
934
|
+
if gcs_notebook_source is not None:
|
935
|
+
pulumi.set(__self__, "gcs_notebook_source", gcs_notebook_source)
|
936
|
+
if service_account is not None:
|
937
|
+
pulumi.set(__self__, "service_account", service_account)
|
938
|
+
|
939
|
+
@property
|
940
|
+
@pulumi.getter(name="displayName")
|
941
|
+
def display_name(self) -> pulumi.Input[str]:
|
942
|
+
"""
|
943
|
+
Required. The display name of the Notebook Execution.
|
944
|
+
"""
|
945
|
+
return pulumi.get(self, "display_name")
|
946
|
+
|
947
|
+
@display_name.setter
|
948
|
+
def display_name(self, value: pulumi.Input[str]):
|
949
|
+
pulumi.set(self, "display_name", value)
|
950
|
+
|
951
|
+
@property
|
952
|
+
@pulumi.getter(name="gcsOutputUri")
|
953
|
+
def gcs_output_uri(self) -> pulumi.Input[str]:
|
954
|
+
"""
|
955
|
+
The Cloud Storage location to upload the result to. Format:`gs://bucket-name`
|
956
|
+
"""
|
957
|
+
return pulumi.get(self, "gcs_output_uri")
|
958
|
+
|
959
|
+
@gcs_output_uri.setter
|
960
|
+
def gcs_output_uri(self, value: pulumi.Input[str]):
|
961
|
+
pulumi.set(self, "gcs_output_uri", value)
|
962
|
+
|
963
|
+
@property
|
964
|
+
@pulumi.getter(name="notebookRuntimeTemplateResourceName")
|
965
|
+
def notebook_runtime_template_resource_name(self) -> pulumi.Input[str]:
|
966
|
+
"""
|
967
|
+
The NotebookRuntimeTemplate to source compute configuration from.
|
968
|
+
"""
|
969
|
+
return pulumi.get(self, "notebook_runtime_template_resource_name")
|
970
|
+
|
971
|
+
@notebook_runtime_template_resource_name.setter
|
972
|
+
def notebook_runtime_template_resource_name(self, value: pulumi.Input[str]):
|
973
|
+
pulumi.set(self, "notebook_runtime_template_resource_name", value)
|
974
|
+
|
975
|
+
@property
|
976
|
+
@pulumi.getter(name="dataformRepositorySource")
|
977
|
+
def dataform_repository_source(self) -> Optional[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgs']]:
|
978
|
+
"""
|
979
|
+
The Dataform Repository containing the input notebook.
|
980
|
+
Structure is documented below.
|
981
|
+
"""
|
982
|
+
return pulumi.get(self, "dataform_repository_source")
|
983
|
+
|
984
|
+
@dataform_repository_source.setter
|
985
|
+
def dataform_repository_source(self, value: Optional[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgs']]):
|
986
|
+
pulumi.set(self, "dataform_repository_source", value)
|
987
|
+
|
988
|
+
@property
|
989
|
+
@pulumi.getter(name="executionTimeout")
|
990
|
+
def execution_timeout(self) -> Optional[pulumi.Input[str]]:
|
991
|
+
"""
|
992
|
+
Max running time of the execution job in seconds (default 86400s / 24 hrs). A duration in seconds with up to nine fractional digits, ending with "s". Example: "3.5s".
|
993
|
+
"""
|
994
|
+
return pulumi.get(self, "execution_timeout")
|
995
|
+
|
996
|
+
@execution_timeout.setter
|
997
|
+
def execution_timeout(self, value: Optional[pulumi.Input[str]]):
|
998
|
+
pulumi.set(self, "execution_timeout", value)
|
999
|
+
|
1000
|
+
@property
|
1001
|
+
@pulumi.getter(name="executionUser")
|
1002
|
+
def execution_user(self) -> Optional[pulumi.Input[str]]:
|
1003
|
+
"""
|
1004
|
+
The user email to run the execution as.
|
1005
|
+
"""
|
1006
|
+
return pulumi.get(self, "execution_user")
|
1007
|
+
|
1008
|
+
@execution_user.setter
|
1009
|
+
def execution_user(self, value: Optional[pulumi.Input[str]]):
|
1010
|
+
pulumi.set(self, "execution_user", value)
|
1011
|
+
|
1012
|
+
@property
|
1013
|
+
@pulumi.getter(name="gcsNotebookSource")
|
1014
|
+
def gcs_notebook_source(self) -> Optional[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgs']]:
|
1015
|
+
"""
|
1016
|
+
The Cloud Storage uri for the input notebook.
|
1017
|
+
Structure is documented below.
|
1018
|
+
"""
|
1019
|
+
return pulumi.get(self, "gcs_notebook_source")
|
1020
|
+
|
1021
|
+
@gcs_notebook_source.setter
|
1022
|
+
def gcs_notebook_source(self, value: Optional[pulumi.Input['ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgs']]):
|
1023
|
+
pulumi.set(self, "gcs_notebook_source", value)
|
1024
|
+
|
1025
|
+
@property
|
1026
|
+
@pulumi.getter(name="serviceAccount")
|
1027
|
+
def service_account(self) -> Optional[pulumi.Input[str]]:
|
1028
|
+
"""
|
1029
|
+
The service account to run the execution as.
|
1030
|
+
"""
|
1031
|
+
return pulumi.get(self, "service_account")
|
1032
|
+
|
1033
|
+
@service_account.setter
|
1034
|
+
def service_account(self, value: Optional[pulumi.Input[str]]):
|
1035
|
+
pulumi.set(self, "service_account", value)
|
1036
|
+
|
1037
|
+
|
1038
|
+
if not MYPY:
|
1039
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgsDict(TypedDict):
|
1040
|
+
dataform_repository_resource_name: pulumi.Input[str]
|
1041
|
+
"""
|
1042
|
+
The resource name of the Dataform Repository.
|
1043
|
+
"""
|
1044
|
+
commit_sha: NotRequired[pulumi.Input[str]]
|
1045
|
+
"""
|
1046
|
+
The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
1047
|
+
"""
|
1048
|
+
elif False:
|
1049
|
+
ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgsDict: TypeAlias = Mapping[str, Any]
|
1050
|
+
|
1051
|
+
@pulumi.input_type
|
1052
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgs:
|
1053
|
+
def __init__(__self__, *,
|
1054
|
+
dataform_repository_resource_name: pulumi.Input[str],
|
1055
|
+
commit_sha: Optional[pulumi.Input[str]] = None):
|
1056
|
+
"""
|
1057
|
+
:param pulumi.Input[str] dataform_repository_resource_name: The resource name of the Dataform Repository.
|
1058
|
+
:param pulumi.Input[str] commit_sha: The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
1059
|
+
"""
|
1060
|
+
pulumi.set(__self__, "dataform_repository_resource_name", dataform_repository_resource_name)
|
1061
|
+
if commit_sha is not None:
|
1062
|
+
pulumi.set(__self__, "commit_sha", commit_sha)
|
1063
|
+
|
1064
|
+
@property
|
1065
|
+
@pulumi.getter(name="dataformRepositoryResourceName")
|
1066
|
+
def dataform_repository_resource_name(self) -> pulumi.Input[str]:
|
1067
|
+
"""
|
1068
|
+
The resource name of the Dataform Repository.
|
1069
|
+
"""
|
1070
|
+
return pulumi.get(self, "dataform_repository_resource_name")
|
1071
|
+
|
1072
|
+
@dataform_repository_resource_name.setter
|
1073
|
+
def dataform_repository_resource_name(self, value: pulumi.Input[str]):
|
1074
|
+
pulumi.set(self, "dataform_repository_resource_name", value)
|
1075
|
+
|
1076
|
+
@property
|
1077
|
+
@pulumi.getter(name="commitSha")
|
1078
|
+
def commit_sha(self) -> Optional[pulumi.Input[str]]:
|
1079
|
+
"""
|
1080
|
+
The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
1081
|
+
"""
|
1082
|
+
return pulumi.get(self, "commit_sha")
|
1083
|
+
|
1084
|
+
@commit_sha.setter
|
1085
|
+
def commit_sha(self, value: Optional[pulumi.Input[str]]):
|
1086
|
+
pulumi.set(self, "commit_sha", value)
|
1087
|
+
|
1088
|
+
|
1089
|
+
if not MYPY:
|
1090
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgsDict(TypedDict):
|
1091
|
+
uri: pulumi.Input[str]
|
1092
|
+
"""
|
1093
|
+
The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb
|
1094
|
+
"""
|
1095
|
+
generation: NotRequired[pulumi.Input[str]]
|
1096
|
+
"""
|
1097
|
+
The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
1098
|
+
|
1099
|
+
- - -
|
1100
|
+
"""
|
1101
|
+
elif False:
|
1102
|
+
ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgsDict: TypeAlias = Mapping[str, Any]
|
1103
|
+
|
1104
|
+
@pulumi.input_type
|
1105
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgs:
|
1106
|
+
def __init__(__self__, *,
|
1107
|
+
uri: pulumi.Input[str],
|
1108
|
+
generation: Optional[pulumi.Input[str]] = None):
|
1109
|
+
"""
|
1110
|
+
:param pulumi.Input[str] uri: The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb
|
1111
|
+
:param pulumi.Input[str] generation: The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
1112
|
+
|
1113
|
+
- - -
|
1114
|
+
"""
|
1115
|
+
pulumi.set(__self__, "uri", uri)
|
1116
|
+
if generation is not None:
|
1117
|
+
pulumi.set(__self__, "generation", generation)
|
1118
|
+
|
1119
|
+
@property
|
1120
|
+
@pulumi.getter
|
1121
|
+
def uri(self) -> pulumi.Input[str]:
|
1122
|
+
"""
|
1123
|
+
The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb
|
1124
|
+
"""
|
1125
|
+
return pulumi.get(self, "uri")
|
1126
|
+
|
1127
|
+
@uri.setter
|
1128
|
+
def uri(self, value: pulumi.Input[str]):
|
1129
|
+
pulumi.set(self, "uri", value)
|
1130
|
+
|
1131
|
+
@property
|
1132
|
+
@pulumi.getter
|
1133
|
+
def generation(self) -> Optional[pulumi.Input[str]]:
|
1134
|
+
"""
|
1135
|
+
The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
1136
|
+
|
1137
|
+
- - -
|
1138
|
+
"""
|
1139
|
+
return pulumi.get(self, "generation")
|
1140
|
+
|
1141
|
+
@generation.setter
|
1142
|
+
def generation(self, value: Optional[pulumi.Input[str]]):
|
1143
|
+
pulumi.set(self, "generation", value)
|
1144
|
+
|
1145
|
+
|