pulumi-gcp 8.1.0a1726492828__py3-none-any.whl → 8.2.0__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 +38 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/get_tables.py +143 -0
- pulumi_gcp/bigquery/outputs.py +30 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2208 -285
- pulumi_gcp/compute/get_instance.py +3 -0
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +826 -0
- pulumi_gcp/compute/outputs.py +1383 -0
- pulumi_gcp/compute/region_target_http_proxy.py +159 -0
- pulumi_gcp/compute/region_target_https_proxy.py +175 -0
- pulumi_gcp/compute/service_attachment.py +75 -0
- pulumi_gcp/compute/target_http_proxy.py +49 -28
- pulumi_gcp/compute/target_https_proxy.py +49 -28
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +96 -0
- pulumi_gcp/container/attached_cluster.py +54 -1
- pulumi_gcp/container/outputs.py +102 -0
- pulumi_gcp/dataproc/metastore_federation.py +8 -8
- pulumi_gcp/dataproc/metastore_service.py +2 -0
- pulumi_gcp/datastream/stream.py +21 -14
- pulumi_gcp/developerconnect/__init__.py +11 -0
- pulumi_gcp/developerconnect/_inputs.py +301 -0
- pulumi_gcp/developerconnect/connection.py +1034 -0
- pulumi_gcp/developerconnect/git_repository_link.py +873 -0
- pulumi_gcp/developerconnect/outputs.py +247 -0
- pulumi_gcp/gkeonprem/_inputs.py +3 -3
- pulumi_gcp/gkeonprem/outputs.py +2 -2
- pulumi_gcp/memorystore/__init__.py +10 -0
- pulumi_gcp/memorystore/_inputs.py +731 -0
- pulumi_gcp/memorystore/instance.py +1663 -0
- pulumi_gcp/memorystore/outputs.py +598 -0
- pulumi_gcp/netapp/volume.py +101 -0
- pulumi_gcp/organizations/folder.py +52 -33
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/v2_project_mute_config.py +2 -2
- pulumi_gcp/vpcaccess/connector.py +21 -28
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/RECORD +43 -32
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.1.0a1726492828.dist-info → pulumi_gcp-8.2.0.dist-info}/top_level.txt +0 -0
@@ -373,7 +373,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
373
373
|
import pulumi_gcp as gcp
|
374
374
|
|
375
375
|
default_metastore_service = gcp.dataproc.MetastoreService("default",
|
376
|
-
service_id="",
|
376
|
+
service_id="metastore-service",
|
377
377
|
location="us-central1",
|
378
378
|
tier="DEVELOPER",
|
379
379
|
hive_metastore_config={
|
@@ -382,7 +382,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
382
382
|
})
|
383
383
|
default = gcp.dataproc.MetastoreFederation("default",
|
384
384
|
location="us-central1",
|
385
|
-
federation_id="",
|
385
|
+
federation_id="metastore-fed",
|
386
386
|
version="3.1.2",
|
387
387
|
backend_metastores=[{
|
388
388
|
"rank": "1",
|
@@ -397,7 +397,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
397
397
|
import pulumi_gcp as gcp
|
398
398
|
|
399
399
|
default_metastore_service = gcp.dataproc.MetastoreService("default",
|
400
|
-
service_id="",
|
400
|
+
service_id="metastore-service",
|
401
401
|
location="us-central1",
|
402
402
|
tier="DEVELOPER",
|
403
403
|
hive_metastore_config={
|
@@ -407,7 +407,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
407
407
|
project = gcp.organizations.get_project()
|
408
408
|
default = gcp.dataproc.MetastoreFederation("default",
|
409
409
|
location="us-central1",
|
410
|
-
federation_id="",
|
410
|
+
federation_id="metastore-fed",
|
411
411
|
version="3.1.2",
|
412
412
|
backend_metastores=[
|
413
413
|
{
|
@@ -478,7 +478,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
478
478
|
import pulumi_gcp as gcp
|
479
479
|
|
480
480
|
default_metastore_service = gcp.dataproc.MetastoreService("default",
|
481
|
-
service_id="",
|
481
|
+
service_id="metastore-service",
|
482
482
|
location="us-central1",
|
483
483
|
tier="DEVELOPER",
|
484
484
|
hive_metastore_config={
|
@@ -487,7 +487,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
487
487
|
})
|
488
488
|
default = gcp.dataproc.MetastoreFederation("default",
|
489
489
|
location="us-central1",
|
490
|
-
federation_id="",
|
490
|
+
federation_id="metastore-fed",
|
491
491
|
version="3.1.2",
|
492
492
|
backend_metastores=[{
|
493
493
|
"rank": "1",
|
@@ -502,7 +502,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
502
502
|
import pulumi_gcp as gcp
|
503
503
|
|
504
504
|
default_metastore_service = gcp.dataproc.MetastoreService("default",
|
505
|
-
service_id="",
|
505
|
+
service_id="metastore-service",
|
506
506
|
location="us-central1",
|
507
507
|
tier="DEVELOPER",
|
508
508
|
hive_metastore_config={
|
@@ -512,7 +512,7 @@ class MetastoreFederation(pulumi.CustomResource):
|
|
512
512
|
project = gcp.organizations.get_project()
|
513
513
|
default = gcp.dataproc.MetastoreFederation("default",
|
514
514
|
location="us-central1",
|
515
|
-
federation_id="",
|
515
|
+
federation_id="metastore-fed",
|
516
516
|
version="3.1.2",
|
517
517
|
backend_metastores=[
|
518
518
|
{
|
@@ -908,6 +908,7 @@ class MetastoreService(pulumi.CustomResource):
|
|
908
908
|
default = gcp.dataproc.MetastoreService("default",
|
909
909
|
service_id="metastore-srv",
|
910
910
|
location="us-central1",
|
911
|
+
tier="DEVELOPER",
|
911
912
|
hive_metastore_config={
|
912
913
|
"version": "3.1.2",
|
913
914
|
},
|
@@ -1247,6 +1248,7 @@ class MetastoreService(pulumi.CustomResource):
|
|
1247
1248
|
default = gcp.dataproc.MetastoreService("default",
|
1248
1249
|
service_id="metastore-srv",
|
1249
1250
|
location="us-central1",
|
1251
|
+
tier="DEVELOPER",
|
1250
1252
|
hive_metastore_config={
|
1251
1253
|
"version": "3.1.2",
|
1252
1254
|
},
|
pulumi_gcp/datastream/stream.py
CHANGED
@@ -47,8 +47,9 @@ class StreamArgs:
|
|
47
47
|
:param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
|
48
48
|
:param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
|
49
49
|
encrypted using an internal Stream-specific encryption key provisioned through KMS.
|
50
|
-
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream,
|
51
|
-
values: NOT_STARTED, RUNNING, PAUSED.
|
50
|
+
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, 'NOT_STARTED' to create the stream without
|
51
|
+
starting and 'PAUSED' to pause the stream from a 'RUNNING' state. Possible values: NOT_STARTED, RUNNING, PAUSED.
|
52
|
+
Default: NOT_STARTED
|
52
53
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please
|
53
54
|
refer to the field 'effective_labels' for all of the labels present on the resource.
|
54
55
|
"""
|
@@ -187,8 +188,9 @@ class StreamArgs:
|
|
187
188
|
@pulumi.getter(name="desiredState")
|
188
189
|
def desired_state(self) -> Optional[pulumi.Input[str]]:
|
189
190
|
"""
|
190
|
-
Desired state of the Stream. Set this field to 'RUNNING' to start the stream,
|
191
|
-
values: NOT_STARTED, RUNNING, PAUSED.
|
191
|
+
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, 'NOT_STARTED' to create the stream without
|
192
|
+
starting and 'PAUSED' to pause the stream from a 'RUNNING' state. Possible values: NOT_STARTED, RUNNING, PAUSED.
|
193
|
+
Default: NOT_STARTED
|
192
194
|
"""
|
193
195
|
return pulumi.get(self, "desired_state")
|
194
196
|
|
@@ -245,8 +247,9 @@ class _StreamState:
|
|
245
247
|
:param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
|
246
248
|
:param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
|
247
249
|
encrypted using an internal Stream-specific encryption key provisioned through KMS.
|
248
|
-
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream,
|
249
|
-
values: NOT_STARTED, RUNNING, PAUSED.
|
250
|
+
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, 'NOT_STARTED' to create the stream without
|
251
|
+
starting and 'PAUSED' to pause the stream from a 'RUNNING' state. Possible values: NOT_STARTED, RUNNING, PAUSED.
|
252
|
+
Default: NOT_STARTED
|
250
253
|
:param pulumi.Input['StreamDestinationConfigArgs'] destination_config: Destination connection profile configuration.
|
251
254
|
Structure is documented below.
|
252
255
|
:param pulumi.Input[str] display_name: Display name.
|
@@ -348,8 +351,9 @@ class _StreamState:
|
|
348
351
|
@pulumi.getter(name="desiredState")
|
349
352
|
def desired_state(self) -> Optional[pulumi.Input[str]]:
|
350
353
|
"""
|
351
|
-
Desired state of the Stream. Set this field to 'RUNNING' to start the stream,
|
352
|
-
values: NOT_STARTED, RUNNING, PAUSED.
|
354
|
+
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, 'NOT_STARTED' to create the stream without
|
355
|
+
starting and 'PAUSED' to pause the stream from a 'RUNNING' state. Possible values: NOT_STARTED, RUNNING, PAUSED.
|
356
|
+
Default: NOT_STARTED
|
353
357
|
"""
|
354
358
|
return pulumi.get(self, "desired_state")
|
355
359
|
|
@@ -1328,8 +1332,9 @@ class Stream(pulumi.CustomResource):
|
|
1328
1332
|
:param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
|
1329
1333
|
:param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
|
1330
1334
|
encrypted using an internal Stream-specific encryption key provisioned through KMS.
|
1331
|
-
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream,
|
1332
|
-
values: NOT_STARTED, RUNNING, PAUSED.
|
1335
|
+
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, 'NOT_STARTED' to create the stream without
|
1336
|
+
starting and 'PAUSED' to pause the stream from a 'RUNNING' state. Possible values: NOT_STARTED, RUNNING, PAUSED.
|
1337
|
+
Default: NOT_STARTED
|
1333
1338
|
:param pulumi.Input[Union['StreamDestinationConfigArgs', 'StreamDestinationConfigArgsDict']] destination_config: Destination connection profile configuration.
|
1334
1339
|
Structure is documented below.
|
1335
1340
|
:param pulumi.Input[str] display_name: Display name.
|
@@ -2260,8 +2265,9 @@ class Stream(pulumi.CustomResource):
|
|
2260
2265
|
:param pulumi.Input[bool] create_without_validation: Create the stream without validating it.
|
2261
2266
|
:param pulumi.Input[str] customer_managed_encryption_key: A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be
|
2262
2267
|
encrypted using an internal Stream-specific encryption key provisioned through KMS.
|
2263
|
-
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream,
|
2264
|
-
values: NOT_STARTED, RUNNING, PAUSED.
|
2268
|
+
:param pulumi.Input[str] desired_state: Desired state of the Stream. Set this field to 'RUNNING' to start the stream, 'NOT_STARTED' to create the stream without
|
2269
|
+
starting and 'PAUSED' to pause the stream from a 'RUNNING' state. Possible values: NOT_STARTED, RUNNING, PAUSED.
|
2270
|
+
Default: NOT_STARTED
|
2265
2271
|
:param pulumi.Input[Union['StreamDestinationConfigArgs', 'StreamDestinationConfigArgsDict']] destination_config: Destination connection profile configuration.
|
2266
2272
|
Structure is documented below.
|
2267
2273
|
:param pulumi.Input[str] display_name: Display name.
|
@@ -2336,8 +2342,9 @@ class Stream(pulumi.CustomResource):
|
|
2336
2342
|
@pulumi.getter(name="desiredState")
|
2337
2343
|
def desired_state(self) -> pulumi.Output[Optional[str]]:
|
2338
2344
|
"""
|
2339
|
-
Desired state of the Stream. Set this field to 'RUNNING' to start the stream,
|
2340
|
-
values: NOT_STARTED, RUNNING, PAUSED.
|
2345
|
+
Desired state of the Stream. Set this field to 'RUNNING' to start the stream, 'NOT_STARTED' to create the stream without
|
2346
|
+
starting and 'PAUSED' to pause the stream from a 'RUNNING' state. Possible values: NOT_STARTED, RUNNING, PAUSED.
|
2347
|
+
Default: NOT_STARTED
|
2341
2348
|
"""
|
2342
2349
|
return pulumi.get(self, "desired_state")
|
2343
2350
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
from .. import _utilities
|
6
|
+
import typing
|
7
|
+
# Export this package's modules as members:
|
8
|
+
from .connection import *
|
9
|
+
from .git_repository_link import *
|
10
|
+
from ._inputs import *
|
11
|
+
from . import outputs
|
@@ -0,0 +1,301 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'ConnectionGithubConfigArgs',
|
19
|
+
'ConnectionGithubConfigArgsDict',
|
20
|
+
'ConnectionGithubConfigAuthorizerCredentialArgs',
|
21
|
+
'ConnectionGithubConfigAuthorizerCredentialArgsDict',
|
22
|
+
'ConnectionInstallationStateArgs',
|
23
|
+
'ConnectionInstallationStateArgsDict',
|
24
|
+
]
|
25
|
+
|
26
|
+
MYPY = False
|
27
|
+
|
28
|
+
if not MYPY:
|
29
|
+
class ConnectionGithubConfigArgsDict(TypedDict):
|
30
|
+
github_app: pulumi.Input[str]
|
31
|
+
"""
|
32
|
+
Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
33
|
+
organization.
|
34
|
+
Possible values:
|
35
|
+
GIT_HUB_APP_UNSPECIFIED
|
36
|
+
DEVELOPER_CONNECT
|
37
|
+
FIREBASE
|
38
|
+
"""
|
39
|
+
app_installation_id: NotRequired[pulumi.Input[str]]
|
40
|
+
"""
|
41
|
+
Optional. GitHub App installation id.
|
42
|
+
"""
|
43
|
+
authorizer_credential: NotRequired[pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgsDict']]
|
44
|
+
"""
|
45
|
+
Represents an OAuth token of the account that authorized the Connection,
|
46
|
+
and associated metadata.
|
47
|
+
Structure is documented below.
|
48
|
+
"""
|
49
|
+
installation_uri: NotRequired[pulumi.Input[str]]
|
50
|
+
"""
|
51
|
+
(Output)
|
52
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
53
|
+
with this GitHubConfig.
|
54
|
+
"""
|
55
|
+
elif False:
|
56
|
+
ConnectionGithubConfigArgsDict: TypeAlias = Mapping[str, Any]
|
57
|
+
|
58
|
+
@pulumi.input_type
|
59
|
+
class ConnectionGithubConfigArgs:
|
60
|
+
def __init__(__self__, *,
|
61
|
+
github_app: pulumi.Input[str],
|
62
|
+
app_installation_id: Optional[pulumi.Input[str]] = None,
|
63
|
+
authorizer_credential: Optional[pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs']] = None,
|
64
|
+
installation_uri: Optional[pulumi.Input[str]] = None):
|
65
|
+
"""
|
66
|
+
:param pulumi.Input[str] github_app: Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
67
|
+
organization.
|
68
|
+
Possible values:
|
69
|
+
GIT_HUB_APP_UNSPECIFIED
|
70
|
+
DEVELOPER_CONNECT
|
71
|
+
FIREBASE
|
72
|
+
:param pulumi.Input[str] app_installation_id: Optional. GitHub App installation id.
|
73
|
+
:param pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs'] authorizer_credential: Represents an OAuth token of the account that authorized the Connection,
|
74
|
+
and associated metadata.
|
75
|
+
Structure is documented below.
|
76
|
+
:param pulumi.Input[str] installation_uri: (Output)
|
77
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
78
|
+
with this GitHubConfig.
|
79
|
+
"""
|
80
|
+
pulumi.set(__self__, "github_app", github_app)
|
81
|
+
if app_installation_id is not None:
|
82
|
+
pulumi.set(__self__, "app_installation_id", app_installation_id)
|
83
|
+
if authorizer_credential is not None:
|
84
|
+
pulumi.set(__self__, "authorizer_credential", authorizer_credential)
|
85
|
+
if installation_uri is not None:
|
86
|
+
pulumi.set(__self__, "installation_uri", installation_uri)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="githubApp")
|
90
|
+
def github_app(self) -> pulumi.Input[str]:
|
91
|
+
"""
|
92
|
+
Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
93
|
+
organization.
|
94
|
+
Possible values:
|
95
|
+
GIT_HUB_APP_UNSPECIFIED
|
96
|
+
DEVELOPER_CONNECT
|
97
|
+
FIREBASE
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "github_app")
|
100
|
+
|
101
|
+
@github_app.setter
|
102
|
+
def github_app(self, value: pulumi.Input[str]):
|
103
|
+
pulumi.set(self, "github_app", value)
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="appInstallationId")
|
107
|
+
def app_installation_id(self) -> Optional[pulumi.Input[str]]:
|
108
|
+
"""
|
109
|
+
Optional. GitHub App installation id.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "app_installation_id")
|
112
|
+
|
113
|
+
@app_installation_id.setter
|
114
|
+
def app_installation_id(self, value: Optional[pulumi.Input[str]]):
|
115
|
+
pulumi.set(self, "app_installation_id", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="authorizerCredential")
|
119
|
+
def authorizer_credential(self) -> Optional[pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs']]:
|
120
|
+
"""
|
121
|
+
Represents an OAuth token of the account that authorized the Connection,
|
122
|
+
and associated metadata.
|
123
|
+
Structure is documented below.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "authorizer_credential")
|
126
|
+
|
127
|
+
@authorizer_credential.setter
|
128
|
+
def authorizer_credential(self, value: Optional[pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs']]):
|
129
|
+
pulumi.set(self, "authorizer_credential", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="installationUri")
|
133
|
+
def installation_uri(self) -> Optional[pulumi.Input[str]]:
|
134
|
+
"""
|
135
|
+
(Output)
|
136
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
137
|
+
with this GitHubConfig.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "installation_uri")
|
140
|
+
|
141
|
+
@installation_uri.setter
|
142
|
+
def installation_uri(self, value: Optional[pulumi.Input[str]]):
|
143
|
+
pulumi.set(self, "installation_uri", value)
|
144
|
+
|
145
|
+
|
146
|
+
if not MYPY:
|
147
|
+
class ConnectionGithubConfigAuthorizerCredentialArgsDict(TypedDict):
|
148
|
+
oauth_token_secret_version: pulumi.Input[str]
|
149
|
+
"""
|
150
|
+
Required. A SecretManager resource containing the OAuth token that authorizes
|
151
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
152
|
+
"""
|
153
|
+
username: NotRequired[pulumi.Input[str]]
|
154
|
+
"""
|
155
|
+
(Output)
|
156
|
+
Output only. The username associated with this token.
|
157
|
+
"""
|
158
|
+
elif False:
|
159
|
+
ConnectionGithubConfigAuthorizerCredentialArgsDict: TypeAlias = Mapping[str, Any]
|
160
|
+
|
161
|
+
@pulumi.input_type
|
162
|
+
class ConnectionGithubConfigAuthorizerCredentialArgs:
|
163
|
+
def __init__(__self__, *,
|
164
|
+
oauth_token_secret_version: pulumi.Input[str],
|
165
|
+
username: Optional[pulumi.Input[str]] = None):
|
166
|
+
"""
|
167
|
+
:param pulumi.Input[str] oauth_token_secret_version: Required. A SecretManager resource containing the OAuth token that authorizes
|
168
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
169
|
+
:param pulumi.Input[str] username: (Output)
|
170
|
+
Output only. The username associated with this token.
|
171
|
+
"""
|
172
|
+
pulumi.set(__self__, "oauth_token_secret_version", oauth_token_secret_version)
|
173
|
+
if username is not None:
|
174
|
+
pulumi.set(__self__, "username", username)
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter(name="oauthTokenSecretVersion")
|
178
|
+
def oauth_token_secret_version(self) -> pulumi.Input[str]:
|
179
|
+
"""
|
180
|
+
Required. A SecretManager resource containing the OAuth token that authorizes
|
181
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "oauth_token_secret_version")
|
184
|
+
|
185
|
+
@oauth_token_secret_version.setter
|
186
|
+
def oauth_token_secret_version(self, value: pulumi.Input[str]):
|
187
|
+
pulumi.set(self, "oauth_token_secret_version", value)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter
|
191
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
192
|
+
"""
|
193
|
+
(Output)
|
194
|
+
Output only. The username associated with this token.
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "username")
|
197
|
+
|
198
|
+
@username.setter
|
199
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
200
|
+
pulumi.set(self, "username", value)
|
201
|
+
|
202
|
+
|
203
|
+
if not MYPY:
|
204
|
+
class ConnectionInstallationStateArgsDict(TypedDict):
|
205
|
+
action_uri: NotRequired[pulumi.Input[str]]
|
206
|
+
"""
|
207
|
+
Output only. Link to follow for next action. Empty string if the installation is already
|
208
|
+
complete.
|
209
|
+
"""
|
210
|
+
message: NotRequired[pulumi.Input[str]]
|
211
|
+
"""
|
212
|
+
Output only. Message of what the user should do next to continue the installation.
|
213
|
+
Empty string if the installation is already complete.
|
214
|
+
"""
|
215
|
+
stage: NotRequired[pulumi.Input[str]]
|
216
|
+
"""
|
217
|
+
(Output)
|
218
|
+
Output only. Current step of the installation process.
|
219
|
+
Possible values:
|
220
|
+
STAGE_UNSPECIFIED
|
221
|
+
PENDING_CREATE_APP
|
222
|
+
PENDING_USER_OAUTH
|
223
|
+
PENDING_INSTALL_APP
|
224
|
+
COMPLETE
|
225
|
+
"""
|
226
|
+
elif False:
|
227
|
+
ConnectionInstallationStateArgsDict: TypeAlias = Mapping[str, Any]
|
228
|
+
|
229
|
+
@pulumi.input_type
|
230
|
+
class ConnectionInstallationStateArgs:
|
231
|
+
def __init__(__self__, *,
|
232
|
+
action_uri: Optional[pulumi.Input[str]] = None,
|
233
|
+
message: Optional[pulumi.Input[str]] = None,
|
234
|
+
stage: Optional[pulumi.Input[str]] = None):
|
235
|
+
"""
|
236
|
+
:param pulumi.Input[str] action_uri: Output only. Link to follow for next action. Empty string if the installation is already
|
237
|
+
complete.
|
238
|
+
:param pulumi.Input[str] message: Output only. Message of what the user should do next to continue the installation.
|
239
|
+
Empty string if the installation is already complete.
|
240
|
+
:param pulumi.Input[str] stage: (Output)
|
241
|
+
Output only. Current step of the installation process.
|
242
|
+
Possible values:
|
243
|
+
STAGE_UNSPECIFIED
|
244
|
+
PENDING_CREATE_APP
|
245
|
+
PENDING_USER_OAUTH
|
246
|
+
PENDING_INSTALL_APP
|
247
|
+
COMPLETE
|
248
|
+
"""
|
249
|
+
if action_uri is not None:
|
250
|
+
pulumi.set(__self__, "action_uri", action_uri)
|
251
|
+
if message is not None:
|
252
|
+
pulumi.set(__self__, "message", message)
|
253
|
+
if stage is not None:
|
254
|
+
pulumi.set(__self__, "stage", stage)
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter(name="actionUri")
|
258
|
+
def action_uri(self) -> Optional[pulumi.Input[str]]:
|
259
|
+
"""
|
260
|
+
Output only. Link to follow for next action. Empty string if the installation is already
|
261
|
+
complete.
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "action_uri")
|
264
|
+
|
265
|
+
@action_uri.setter
|
266
|
+
def action_uri(self, value: Optional[pulumi.Input[str]]):
|
267
|
+
pulumi.set(self, "action_uri", value)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter
|
271
|
+
def message(self) -> Optional[pulumi.Input[str]]:
|
272
|
+
"""
|
273
|
+
Output only. Message of what the user should do next to continue the installation.
|
274
|
+
Empty string if the installation is already complete.
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "message")
|
277
|
+
|
278
|
+
@message.setter
|
279
|
+
def message(self, value: Optional[pulumi.Input[str]]):
|
280
|
+
pulumi.set(self, "message", value)
|
281
|
+
|
282
|
+
@property
|
283
|
+
@pulumi.getter
|
284
|
+
def stage(self) -> Optional[pulumi.Input[str]]:
|
285
|
+
"""
|
286
|
+
(Output)
|
287
|
+
Output only. Current step of the installation process.
|
288
|
+
Possible values:
|
289
|
+
STAGE_UNSPECIFIED
|
290
|
+
PENDING_CREATE_APP
|
291
|
+
PENDING_USER_OAUTH
|
292
|
+
PENDING_INSTALL_APP
|
293
|
+
COMPLETE
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "stage")
|
296
|
+
|
297
|
+
@stage.setter
|
298
|
+
def stage(self, value: Optional[pulumi.Input[str]]):
|
299
|
+
pulumi.set(self, "stage", value)
|
300
|
+
|
301
|
+
|