pulumi-gcp 7.20.0__py3-none-any.whl → 7.20.0a1713984378__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -8
- pulumi_gcp/apigee/organization.py +0 -162
- pulumi_gcp/artifactregistry/_inputs.py +0 -186
- pulumi_gcp/artifactregistry/outputs.py +4 -297
- pulumi_gcp/artifactregistry/repository.py +16 -346
- pulumi_gcp/bigquery/table.py +0 -61
- pulumi_gcp/billing/budget.py +0 -54
- pulumi_gcp/cloudfunctionsv2/_inputs.py +0 -16
- pulumi_gcp/cloudfunctionsv2/function.py +0 -110
- pulumi_gcp/cloudfunctionsv2/outputs.py +0 -25
- pulumi_gcp/compute/_inputs.py +0 -48
- pulumi_gcp/compute/get_instance_group_manager.py +1 -11
- pulumi_gcp/compute/instance_group_manager.py +21 -68
- pulumi_gcp/compute/outputs.py +0 -93
- pulumi_gcp/compute/region_instance_group_manager.py +14 -61
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dns/_inputs.py +128 -0
- pulumi_gcp/dns/get_keys.py +1 -1
- pulumi_gcp/dns/get_managed_zones.py +9 -3
- pulumi_gcp/dns/get_record_set.py +0 -3
- pulumi_gcp/dns/outputs.py +56 -34
- pulumi_gcp/firestore/document.py +4 -4
- pulumi_gcp/organizations/get_active_folder.py +3 -18
- pulumi_gcp/projects/__init__.py +0 -1
- pulumi_gcp/vmwareengine/_inputs.py +5 -63
- pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
- pulumi_gcp/vmwareengine/outputs.py +5 -113
- pulumi_gcp/vmwareengine/private_cloud.py +94 -0
- pulumi_gcp/workbench/instance.py +4 -4
- pulumi_gcp/workstations/workstation_cluster.py +0 -32
- {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713984378.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713984378.dist-info}/RECORD +34 -35
- pulumi_gcp/projects/iam_member_remove.py +0 -313
- {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713984378.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713984378.dist-info}/top_level.txt +0 -0
@@ -910,205 +910,40 @@ class Repository(pulumi.CustomResource):
|
|
910
910
|
),
|
911
911
|
])
|
912
912
|
```
|
913
|
-
### Artifact Registry Repository Remote
|
913
|
+
### Artifact Registry Repository Remote Custom
|
914
914
|
|
915
915
|
```python
|
916
916
|
import pulumi
|
917
917
|
import pulumi_gcp as gcp
|
918
918
|
|
919
919
|
project = gcp.organizations.get_project()
|
920
|
-
|
920
|
+
example_custom_remote_secret = gcp.secretmanager.Secret("example-custom-remote-secret",
|
921
921
|
secret_id="example-secret",
|
922
922
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
923
923
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
924
924
|
))
|
925
|
-
|
926
|
-
secret=
|
925
|
+
example_custom_remote_secret_version = gcp.secretmanager.SecretVersion("example-custom-remote-secret_version",
|
926
|
+
secret=example_custom_remote_secret.id,
|
927
927
|
secret_data="remote-password")
|
928
928
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
929
|
-
secret_id=
|
929
|
+
secret_id=example_custom_remote_secret.id,
|
930
930
|
role="roles/secretmanager.secretAccessor",
|
931
931
|
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
932
932
|
my_repo = gcp.artifactregistry.Repository("my-repo",
|
933
933
|
location="us-central1",
|
934
|
-
repository_id="example-
|
935
|
-
description="example remote
|
934
|
+
repository_id="example-custom-remote",
|
935
|
+
description="example remote docker repository with credentials",
|
936
936
|
format="DOCKER",
|
937
937
|
mode="REMOTE_REPOSITORY",
|
938
938
|
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
939
939
|
description="docker hub with custom credentials",
|
940
|
-
disable_upstream_validation=True,
|
941
940
|
docker_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryArgs(
|
942
941
|
public_repository="DOCKER_HUB",
|
943
942
|
),
|
944
943
|
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
945
944
|
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
946
945
|
username="remote-username",
|
947
|
-
password_secret_version=
|
948
|
-
),
|
949
|
-
),
|
950
|
-
))
|
951
|
-
```
|
952
|
-
### Artifact Registry Repository Remote Docker Custom With Auth
|
953
|
-
|
954
|
-
```python
|
955
|
-
import pulumi
|
956
|
-
import pulumi_gcp as gcp
|
957
|
-
|
958
|
-
project = gcp.organizations.get_project()
|
959
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
960
|
-
secret_id="example-secret",
|
961
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
962
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
963
|
-
))
|
964
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
965
|
-
secret=example_remote_secret.id,
|
966
|
-
secret_data="remote-password")
|
967
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
968
|
-
secret_id=example_remote_secret.id,
|
969
|
-
role="roles/secretmanager.secretAccessor",
|
970
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
971
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
972
|
-
location="us-central1",
|
973
|
-
repository_id="example-docker-custom-remote",
|
974
|
-
description="example remote custom docker repository with credentials",
|
975
|
-
format="DOCKER",
|
976
|
-
mode="REMOTE_REPOSITORY",
|
977
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
978
|
-
description="custom docker remote with credentials",
|
979
|
-
disable_upstream_validation=True,
|
980
|
-
docker_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryArgs(
|
981
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryArgs(
|
982
|
-
uri="https://registry-1.docker.io",
|
983
|
-
),
|
984
|
-
),
|
985
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
986
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
987
|
-
username="remote-username",
|
988
|
-
password_secret_version=example_remote_secret_version.name,
|
989
|
-
),
|
990
|
-
),
|
991
|
-
))
|
992
|
-
```
|
993
|
-
### Artifact Registry Repository Remote Maven Custom With Auth
|
994
|
-
|
995
|
-
```python
|
996
|
-
import pulumi
|
997
|
-
import pulumi_gcp as gcp
|
998
|
-
|
999
|
-
project = gcp.organizations.get_project()
|
1000
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1001
|
-
secret_id="example-secret",
|
1002
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
1003
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1004
|
-
))
|
1005
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1006
|
-
secret=example_remote_secret.id,
|
1007
|
-
secret_data="remote-password")
|
1008
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1009
|
-
secret_id=example_remote_secret.id,
|
1010
|
-
role="roles/secretmanager.secretAccessor",
|
1011
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1012
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1013
|
-
location="us-central1",
|
1014
|
-
repository_id="example-maven-custom-remote",
|
1015
|
-
description="example remote custom maven repository with credentials",
|
1016
|
-
format="MAVEN",
|
1017
|
-
mode="REMOTE_REPOSITORY",
|
1018
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1019
|
-
description="custom maven remote with credentials",
|
1020
|
-
disable_upstream_validation=True,
|
1021
|
-
maven_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigMavenRepositoryArgs(
|
1022
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryArgs(
|
1023
|
-
uri="https://my.maven.registry",
|
1024
|
-
),
|
1025
|
-
),
|
1026
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1027
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1028
|
-
username="remote-username",
|
1029
|
-
password_secret_version=example_remote_secret_version.name,
|
1030
|
-
),
|
1031
|
-
),
|
1032
|
-
))
|
1033
|
-
```
|
1034
|
-
### Artifact Registry Repository Remote Npm Custom With Auth
|
1035
|
-
|
1036
|
-
```python
|
1037
|
-
import pulumi
|
1038
|
-
import pulumi_gcp as gcp
|
1039
|
-
|
1040
|
-
project = gcp.organizations.get_project()
|
1041
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1042
|
-
secret_id="example-secret",
|
1043
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
1044
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1045
|
-
))
|
1046
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1047
|
-
secret=example_remote_secret.id,
|
1048
|
-
secret_data="remote-password")
|
1049
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1050
|
-
secret_id=example_remote_secret.id,
|
1051
|
-
role="roles/secretmanager.secretAccessor",
|
1052
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1053
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1054
|
-
location="us-central1",
|
1055
|
-
repository_id="example-npm-custom-remote",
|
1056
|
-
description="example remote custom npm repository with credentials",
|
1057
|
-
format="NPM",
|
1058
|
-
mode="REMOTE_REPOSITORY",
|
1059
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1060
|
-
description="custom npm with credentials",
|
1061
|
-
disable_upstream_validation=True,
|
1062
|
-
npm_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigNpmRepositoryArgs(
|
1063
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryArgs(
|
1064
|
-
uri="https://my.npm.registry",
|
1065
|
-
),
|
1066
|
-
),
|
1067
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1068
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1069
|
-
username="remote-username",
|
1070
|
-
password_secret_version=example_remote_secret_version.name,
|
1071
|
-
),
|
1072
|
-
),
|
1073
|
-
))
|
1074
|
-
```
|
1075
|
-
### Artifact Registry Repository Remote Python Custom With Auth
|
1076
|
-
|
1077
|
-
```python
|
1078
|
-
import pulumi
|
1079
|
-
import pulumi_gcp as gcp
|
1080
|
-
|
1081
|
-
project = gcp.organizations.get_project()
|
1082
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1083
|
-
secret_id="example-secret",
|
1084
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
1085
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1086
|
-
))
|
1087
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1088
|
-
secret=example_remote_secret.id,
|
1089
|
-
secret_data="remote-password")
|
1090
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1091
|
-
secret_id=example_remote_secret.id,
|
1092
|
-
role="roles/secretmanager.secretAccessor",
|
1093
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1094
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1095
|
-
location="us-central1",
|
1096
|
-
repository_id="example-python-custom-remote",
|
1097
|
-
description="example remote custom python repository with credentials",
|
1098
|
-
format="PYTHON",
|
1099
|
-
mode="REMOTE_REPOSITORY",
|
1100
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1101
|
-
description="custom npm with credentials",
|
1102
|
-
disable_upstream_validation=True,
|
1103
|
-
python_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigPythonRepositoryArgs(
|
1104
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryArgs(
|
1105
|
-
uri="https://my.python.registry",
|
1106
|
-
),
|
1107
|
-
),
|
1108
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1109
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1110
|
-
username="remote-username",
|
1111
|
-
password_secret_version=example_remote_secret_version.name,
|
946
|
+
password_secret_version=example_custom_remote_secret_version.name,
|
1112
947
|
),
|
1113
948
|
),
|
1114
949
|
))
|
@@ -1405,205 +1240,40 @@ class Repository(pulumi.CustomResource):
|
|
1405
1240
|
),
|
1406
1241
|
])
|
1407
1242
|
```
|
1408
|
-
### Artifact Registry Repository Remote
|
1243
|
+
### Artifact Registry Repository Remote Custom
|
1409
1244
|
|
1410
1245
|
```python
|
1411
1246
|
import pulumi
|
1412
1247
|
import pulumi_gcp as gcp
|
1413
1248
|
|
1414
1249
|
project = gcp.organizations.get_project()
|
1415
|
-
|
1250
|
+
example_custom_remote_secret = gcp.secretmanager.Secret("example-custom-remote-secret",
|
1416
1251
|
secret_id="example-secret",
|
1417
1252
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
1418
1253
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1419
1254
|
))
|
1420
|
-
|
1421
|
-
secret=
|
1255
|
+
example_custom_remote_secret_version = gcp.secretmanager.SecretVersion("example-custom-remote-secret_version",
|
1256
|
+
secret=example_custom_remote_secret.id,
|
1422
1257
|
secret_data="remote-password")
|
1423
1258
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1424
|
-
secret_id=
|
1259
|
+
secret_id=example_custom_remote_secret.id,
|
1425
1260
|
role="roles/secretmanager.secretAccessor",
|
1426
1261
|
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1427
1262
|
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1428
1263
|
location="us-central1",
|
1429
|
-
repository_id="example-
|
1430
|
-
description="example remote
|
1264
|
+
repository_id="example-custom-remote",
|
1265
|
+
description="example remote docker repository with credentials",
|
1431
1266
|
format="DOCKER",
|
1432
1267
|
mode="REMOTE_REPOSITORY",
|
1433
1268
|
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1434
1269
|
description="docker hub with custom credentials",
|
1435
|
-
disable_upstream_validation=True,
|
1436
1270
|
docker_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryArgs(
|
1437
1271
|
public_repository="DOCKER_HUB",
|
1438
1272
|
),
|
1439
1273
|
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1440
1274
|
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1441
1275
|
username="remote-username",
|
1442
|
-
password_secret_version=
|
1443
|
-
),
|
1444
|
-
),
|
1445
|
-
))
|
1446
|
-
```
|
1447
|
-
### Artifact Registry Repository Remote Docker Custom With Auth
|
1448
|
-
|
1449
|
-
```python
|
1450
|
-
import pulumi
|
1451
|
-
import pulumi_gcp as gcp
|
1452
|
-
|
1453
|
-
project = gcp.organizations.get_project()
|
1454
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1455
|
-
secret_id="example-secret",
|
1456
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
1457
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1458
|
-
))
|
1459
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1460
|
-
secret=example_remote_secret.id,
|
1461
|
-
secret_data="remote-password")
|
1462
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1463
|
-
secret_id=example_remote_secret.id,
|
1464
|
-
role="roles/secretmanager.secretAccessor",
|
1465
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1466
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1467
|
-
location="us-central1",
|
1468
|
-
repository_id="example-docker-custom-remote",
|
1469
|
-
description="example remote custom docker repository with credentials",
|
1470
|
-
format="DOCKER",
|
1471
|
-
mode="REMOTE_REPOSITORY",
|
1472
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1473
|
-
description="custom docker remote with credentials",
|
1474
|
-
disable_upstream_validation=True,
|
1475
|
-
docker_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryArgs(
|
1476
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryArgs(
|
1477
|
-
uri="https://registry-1.docker.io",
|
1478
|
-
),
|
1479
|
-
),
|
1480
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1481
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1482
|
-
username="remote-username",
|
1483
|
-
password_secret_version=example_remote_secret_version.name,
|
1484
|
-
),
|
1485
|
-
),
|
1486
|
-
))
|
1487
|
-
```
|
1488
|
-
### Artifact Registry Repository Remote Maven Custom With Auth
|
1489
|
-
|
1490
|
-
```python
|
1491
|
-
import pulumi
|
1492
|
-
import pulumi_gcp as gcp
|
1493
|
-
|
1494
|
-
project = gcp.organizations.get_project()
|
1495
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1496
|
-
secret_id="example-secret",
|
1497
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
1498
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1499
|
-
))
|
1500
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1501
|
-
secret=example_remote_secret.id,
|
1502
|
-
secret_data="remote-password")
|
1503
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1504
|
-
secret_id=example_remote_secret.id,
|
1505
|
-
role="roles/secretmanager.secretAccessor",
|
1506
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1507
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1508
|
-
location="us-central1",
|
1509
|
-
repository_id="example-maven-custom-remote",
|
1510
|
-
description="example remote custom maven repository with credentials",
|
1511
|
-
format="MAVEN",
|
1512
|
-
mode="REMOTE_REPOSITORY",
|
1513
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1514
|
-
description="custom maven remote with credentials",
|
1515
|
-
disable_upstream_validation=True,
|
1516
|
-
maven_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigMavenRepositoryArgs(
|
1517
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryArgs(
|
1518
|
-
uri="https://my.maven.registry",
|
1519
|
-
),
|
1520
|
-
),
|
1521
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1522
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1523
|
-
username="remote-username",
|
1524
|
-
password_secret_version=example_remote_secret_version.name,
|
1525
|
-
),
|
1526
|
-
),
|
1527
|
-
))
|
1528
|
-
```
|
1529
|
-
### Artifact Registry Repository Remote Npm Custom With Auth
|
1530
|
-
|
1531
|
-
```python
|
1532
|
-
import pulumi
|
1533
|
-
import pulumi_gcp as gcp
|
1534
|
-
|
1535
|
-
project = gcp.organizations.get_project()
|
1536
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1537
|
-
secret_id="example-secret",
|
1538
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
1539
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1540
|
-
))
|
1541
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1542
|
-
secret=example_remote_secret.id,
|
1543
|
-
secret_data="remote-password")
|
1544
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1545
|
-
secret_id=example_remote_secret.id,
|
1546
|
-
role="roles/secretmanager.secretAccessor",
|
1547
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1548
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1549
|
-
location="us-central1",
|
1550
|
-
repository_id="example-npm-custom-remote",
|
1551
|
-
description="example remote custom npm repository with credentials",
|
1552
|
-
format="NPM",
|
1553
|
-
mode="REMOTE_REPOSITORY",
|
1554
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1555
|
-
description="custom npm with credentials",
|
1556
|
-
disable_upstream_validation=True,
|
1557
|
-
npm_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigNpmRepositoryArgs(
|
1558
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryArgs(
|
1559
|
-
uri="https://my.npm.registry",
|
1560
|
-
),
|
1561
|
-
),
|
1562
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1563
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1564
|
-
username="remote-username",
|
1565
|
-
password_secret_version=example_remote_secret_version.name,
|
1566
|
-
),
|
1567
|
-
),
|
1568
|
-
))
|
1569
|
-
```
|
1570
|
-
### Artifact Registry Repository Remote Python Custom With Auth
|
1571
|
-
|
1572
|
-
```python
|
1573
|
-
import pulumi
|
1574
|
-
import pulumi_gcp as gcp
|
1575
|
-
|
1576
|
-
project = gcp.organizations.get_project()
|
1577
|
-
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1578
|
-
secret_id="example-secret",
|
1579
|
-
replication=gcp.secretmanager.SecretReplicationArgs(
|
1580
|
-
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1581
|
-
))
|
1582
|
-
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1583
|
-
secret=example_remote_secret.id,
|
1584
|
-
secret_data="remote-password")
|
1585
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1586
|
-
secret_id=example_remote_secret.id,
|
1587
|
-
role="roles/secretmanager.secretAccessor",
|
1588
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1589
|
-
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1590
|
-
location="us-central1",
|
1591
|
-
repository_id="example-python-custom-remote",
|
1592
|
-
description="example remote custom python repository with credentials",
|
1593
|
-
format="PYTHON",
|
1594
|
-
mode="REMOTE_REPOSITORY",
|
1595
|
-
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1596
|
-
description="custom npm with credentials",
|
1597
|
-
disable_upstream_validation=True,
|
1598
|
-
python_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigPythonRepositoryArgs(
|
1599
|
-
custom_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryArgs(
|
1600
|
-
uri="https://my.python.registry",
|
1601
|
-
),
|
1602
|
-
),
|
1603
|
-
upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
|
1604
|
-
username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
|
1605
|
-
username="remote-username",
|
1606
|
-
password_secret_version=example_remote_secret_version.name,
|
1276
|
+
password_secret_version=example_custom_remote_secret_version.name,
|
1607
1277
|
),
|
1608
1278
|
),
|
1609
1279
|
))
|
pulumi_gcp/bigquery/table.py
CHANGED
@@ -31,7 +31,6 @@ class TableArgs:
|
|
31
31
|
project: Optional[pulumi.Input[str]] = None,
|
32
32
|
range_partitioning: Optional[pulumi.Input['TableRangePartitioningArgs']] = None,
|
33
33
|
require_partition_filter: Optional[pulumi.Input[bool]] = None,
|
34
|
-
resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
35
34
|
schema: Optional[pulumi.Input[str]] = None,
|
36
35
|
table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
|
37
36
|
table_replication_info: Optional[pulumi.Input['TableTableReplicationInfoArgs']] = None,
|
@@ -78,9 +77,6 @@ class TableArgs:
|
|
78
77
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
79
78
|
require a partition filter that can be used for partition elimination to be
|
80
79
|
specified.
|
81
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
|
82
|
-
example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
|
83
|
-
tag key. Tag value is expected to be the short name, for example "Production".
|
84
80
|
:param pulumi.Input[str] schema: A JSON schema for the table.
|
85
81
|
:param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
|
86
82
|
Structure is documented below.
|
@@ -118,8 +114,6 @@ class TableArgs:
|
|
118
114
|
pulumi.set(__self__, "range_partitioning", range_partitioning)
|
119
115
|
if require_partition_filter is not None:
|
120
116
|
pulumi.set(__self__, "require_partition_filter", require_partition_filter)
|
121
|
-
if resource_tags is not None:
|
122
|
-
pulumi.set(__self__, "resource_tags", resource_tags)
|
123
117
|
if schema is not None:
|
124
118
|
pulumi.set(__self__, "schema", schema)
|
125
119
|
if table_constraints is not None:
|
@@ -335,20 +329,6 @@ class TableArgs:
|
|
335
329
|
def require_partition_filter(self, value: Optional[pulumi.Input[bool]]):
|
336
330
|
pulumi.set(self, "require_partition_filter", value)
|
337
331
|
|
338
|
-
@property
|
339
|
-
@pulumi.getter(name="resourceTags")
|
340
|
-
def resource_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
341
|
-
"""
|
342
|
-
The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
|
343
|
-
example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
|
344
|
-
tag key. Tag value is expected to be the short name, for example "Production".
|
345
|
-
"""
|
346
|
-
return pulumi.get(self, "resource_tags")
|
347
|
-
|
348
|
-
@resource_tags.setter
|
349
|
-
def resource_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
350
|
-
pulumi.set(self, "resource_tags", value)
|
351
|
-
|
352
332
|
@property
|
353
333
|
@pulumi.getter
|
354
334
|
def schema(self) -> Optional[pulumi.Input[str]]:
|
@@ -439,7 +419,6 @@ class _TableState:
|
|
439
419
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
440
420
|
range_partitioning: Optional[pulumi.Input['TableRangePartitioningArgs']] = None,
|
441
421
|
require_partition_filter: Optional[pulumi.Input[bool]] = None,
|
442
|
-
resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
443
422
|
schema: Optional[pulumi.Input[str]] = None,
|
444
423
|
self_link: Optional[pulumi.Input[str]] = None,
|
445
424
|
table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
|
@@ -511,9 +490,6 @@ class _TableState:
|
|
511
490
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
512
491
|
require a partition filter that can be used for partition elimination to be
|
513
492
|
specified.
|
514
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
|
515
|
-
example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
|
516
|
-
tag key. Tag value is expected to be the short name, for example "Production".
|
517
493
|
:param pulumi.Input[str] schema: A JSON schema for the table.
|
518
494
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
519
495
|
:param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
|
@@ -573,8 +549,6 @@ class _TableState:
|
|
573
549
|
pulumi.set(__self__, "range_partitioning", range_partitioning)
|
574
550
|
if require_partition_filter is not None:
|
575
551
|
pulumi.set(__self__, "require_partition_filter", require_partition_filter)
|
576
|
-
if resource_tags is not None:
|
577
|
-
pulumi.set(__self__, "resource_tags", resource_tags)
|
578
552
|
if schema is not None:
|
579
553
|
pulumi.set(__self__, "schema", schema)
|
580
554
|
if self_link is not None:
|
@@ -906,20 +880,6 @@ class _TableState:
|
|
906
880
|
def require_partition_filter(self, value: Optional[pulumi.Input[bool]]):
|
907
881
|
pulumi.set(self, "require_partition_filter", value)
|
908
882
|
|
909
|
-
@property
|
910
|
-
@pulumi.getter(name="resourceTags")
|
911
|
-
def resource_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
912
|
-
"""
|
913
|
-
The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
|
914
|
-
example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
|
915
|
-
tag key. Tag value is expected to be the short name, for example "Production".
|
916
|
-
"""
|
917
|
-
return pulumi.get(self, "resource_tags")
|
918
|
-
|
919
|
-
@resource_tags.setter
|
920
|
-
def resource_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
921
|
-
pulumi.set(self, "resource_tags", value)
|
922
|
-
|
923
883
|
@property
|
924
884
|
@pulumi.getter
|
925
885
|
def schema(self) -> Optional[pulumi.Input[str]]:
|
@@ -1040,7 +1000,6 @@ class Table(pulumi.CustomResource):
|
|
1040
1000
|
project: Optional[pulumi.Input[str]] = None,
|
1041
1001
|
range_partitioning: Optional[pulumi.Input[pulumi.InputType['TableRangePartitioningArgs']]] = None,
|
1042
1002
|
require_partition_filter: Optional[pulumi.Input[bool]] = None,
|
1043
|
-
resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1044
1003
|
schema: Optional[pulumi.Input[str]] = None,
|
1045
1004
|
table_constraints: Optional[pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']]] = None,
|
1046
1005
|
table_id: Optional[pulumi.Input[str]] = None,
|
@@ -1172,9 +1131,6 @@ class Table(pulumi.CustomResource):
|
|
1172
1131
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
1173
1132
|
require a partition filter that can be used for partition elimination to be
|
1174
1133
|
specified.
|
1175
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
|
1176
|
-
example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
|
1177
|
-
tag key. Tag value is expected to be the short name, for example "Production".
|
1178
1134
|
:param pulumi.Input[str] schema: A JSON schema for the table.
|
1179
1135
|
:param pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']] table_constraints: Defines the primary key and foreign keys.
|
1180
1136
|
Structure is documented below.
|
@@ -1306,7 +1262,6 @@ class Table(pulumi.CustomResource):
|
|
1306
1262
|
project: Optional[pulumi.Input[str]] = None,
|
1307
1263
|
range_partitioning: Optional[pulumi.Input[pulumi.InputType['TableRangePartitioningArgs']]] = None,
|
1308
1264
|
require_partition_filter: Optional[pulumi.Input[bool]] = None,
|
1309
|
-
resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1310
1265
|
schema: Optional[pulumi.Input[str]] = None,
|
1311
1266
|
table_constraints: Optional[pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']]] = None,
|
1312
1267
|
table_id: Optional[pulumi.Input[str]] = None,
|
@@ -1338,7 +1293,6 @@ class Table(pulumi.CustomResource):
|
|
1338
1293
|
__props__.__dict__["project"] = project
|
1339
1294
|
__props__.__dict__["range_partitioning"] = range_partitioning
|
1340
1295
|
__props__.__dict__["require_partition_filter"] = require_partition_filter
|
1341
|
-
__props__.__dict__["resource_tags"] = resource_tags
|
1342
1296
|
__props__.__dict__["schema"] = schema
|
1343
1297
|
__props__.__dict__["table_constraints"] = table_constraints
|
1344
1298
|
if table_id is None and not opts.urn:
|
@@ -1393,7 +1347,6 @@ class Table(pulumi.CustomResource):
|
|
1393
1347
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1394
1348
|
range_partitioning: Optional[pulumi.Input[pulumi.InputType['TableRangePartitioningArgs']]] = None,
|
1395
1349
|
require_partition_filter: Optional[pulumi.Input[bool]] = None,
|
1396
|
-
resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1397
1350
|
schema: Optional[pulumi.Input[str]] = None,
|
1398
1351
|
self_link: Optional[pulumi.Input[str]] = None,
|
1399
1352
|
table_constraints: Optional[pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']]] = None,
|
@@ -1470,9 +1423,6 @@ class Table(pulumi.CustomResource):
|
|
1470
1423
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
1471
1424
|
require a partition filter that can be used for partition elimination to be
|
1472
1425
|
specified.
|
1473
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
|
1474
|
-
example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
|
1475
|
-
tag key. Tag value is expected to be the short name, for example "Production".
|
1476
1426
|
:param pulumi.Input[str] schema: A JSON schema for the table.
|
1477
1427
|
:param pulumi.Input[str] self_link: The URI of the created resource.
|
1478
1428
|
:param pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']] table_constraints: Defines the primary key and foreign keys.
|
@@ -1513,7 +1463,6 @@ class Table(pulumi.CustomResource):
|
|
1513
1463
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1514
1464
|
__props__.__dict__["range_partitioning"] = range_partitioning
|
1515
1465
|
__props__.__dict__["require_partition_filter"] = require_partition_filter
|
1516
|
-
__props__.__dict__["resource_tags"] = resource_tags
|
1517
1466
|
__props__.__dict__["schema"] = schema
|
1518
1467
|
__props__.__dict__["self_link"] = self_link
|
1519
1468
|
__props__.__dict__["table_constraints"] = table_constraints
|
@@ -1746,16 +1695,6 @@ class Table(pulumi.CustomResource):
|
|
1746
1695
|
"""
|
1747
1696
|
return pulumi.get(self, "require_partition_filter")
|
1748
1697
|
|
1749
|
-
@property
|
1750
|
-
@pulumi.getter(name="resourceTags")
|
1751
|
-
def resource_tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1752
|
-
"""
|
1753
|
-
The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
|
1754
|
-
example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
|
1755
|
-
tag key. Tag value is expected to be the short name, for example "Production".
|
1756
|
-
"""
|
1757
|
-
return pulumi.get(self, "resource_tags")
|
1758
|
-
|
1759
1698
|
@property
|
1760
1699
|
@pulumi.getter
|
1761
1700
|
def schema(self) -> pulumi.Output[str]:
|