pulumi-gcp 7.20.0a1713984378__py3-none-any.whl → 7.20.0a1713986537__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.
Files changed (35) hide show
  1. pulumi_gcp/__init__.py +8 -0
  2. pulumi_gcp/apigee/organization.py +162 -0
  3. pulumi_gcp/artifactregistry/_inputs.py +186 -0
  4. pulumi_gcp/artifactregistry/outputs.py +297 -4
  5. pulumi_gcp/artifactregistry/repository.py +346 -16
  6. pulumi_gcp/bigquery/table.py +61 -0
  7. pulumi_gcp/billing/budget.py +54 -0
  8. pulumi_gcp/cloudfunctionsv2/_inputs.py +16 -0
  9. pulumi_gcp/cloudfunctionsv2/function.py +110 -0
  10. pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
  11. pulumi_gcp/compute/_inputs.py +48 -0
  12. pulumi_gcp/compute/get_instance_group_manager.py +11 -1
  13. pulumi_gcp/compute/instance_group_manager.py +68 -21
  14. pulumi_gcp/compute/outputs.py +93 -0
  15. pulumi_gcp/compute/region_instance_group_manager.py +61 -14
  16. pulumi_gcp/container/outputs.py +4 -4
  17. pulumi_gcp/dns/_inputs.py +0 -128
  18. pulumi_gcp/dns/get_keys.py +1 -1
  19. pulumi_gcp/dns/get_managed_zones.py +3 -9
  20. pulumi_gcp/dns/get_record_set.py +3 -0
  21. pulumi_gcp/dns/outputs.py +34 -56
  22. pulumi_gcp/firestore/document.py +4 -4
  23. pulumi_gcp/organizations/get_active_folder.py +18 -3
  24. pulumi_gcp/projects/__init__.py +1 -0
  25. pulumi_gcp/projects/iam_member_remove.py +313 -0
  26. pulumi_gcp/vmwareengine/_inputs.py +63 -5
  27. pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
  28. pulumi_gcp/vmwareengine/outputs.py +113 -5
  29. pulumi_gcp/vmwareengine/private_cloud.py +0 -94
  30. pulumi_gcp/workbench/instance.py +4 -4
  31. pulumi_gcp/workstations/workstation_cluster.py +32 -0
  32. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/METADATA +1 -1
  33. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/RECORD +35 -34
  34. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/WHEEL +0 -0
  35. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/top_level.txt +0 -0
@@ -910,40 +910,205 @@ class Repository(pulumi.CustomResource):
910
910
  ),
911
911
  ])
912
912
  ```
913
- ### Artifact Registry Repository Remote Custom
913
+ ### Artifact Registry Repository Remote Dockerhub Auth
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
- example_custom_remote_secret = gcp.secretmanager.Secret("example-custom-remote-secret",
920
+ example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
921
921
  secret_id="example-secret",
922
922
  replication=gcp.secretmanager.SecretReplicationArgs(
923
923
  auto=gcp.secretmanager.SecretReplicationAutoArgs(),
924
924
  ))
925
- example_custom_remote_secret_version = gcp.secretmanager.SecretVersion("example-custom-remote-secret_version",
926
- secret=example_custom_remote_secret.id,
925
+ example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
926
+ secret=example_remote_secret.id,
927
927
  secret_data="remote-password")
928
928
  secret_access = gcp.secretmanager.SecretIamMember("secret-access",
929
- secret_id=example_custom_remote_secret.id,
929
+ secret_id=example_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-custom-remote",
935
- description="example remote docker repository with credentials",
934
+ repository_id="example-dockerhub-remote",
935
+ description="example remote dockerhub 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,
940
941
  docker_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryArgs(
941
942
  public_repository="DOCKER_HUB",
942
943
  ),
943
944
  upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
944
945
  username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
945
946
  username="remote-username",
946
- password_secret_version=example_custom_remote_secret_version.name,
947
+ password_secret_version=example_remote_secret_version.name,
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,
947
1112
  ),
948
1113
  ),
949
1114
  ))
@@ -1240,40 +1405,205 @@ class Repository(pulumi.CustomResource):
1240
1405
  ),
1241
1406
  ])
1242
1407
  ```
1243
- ### Artifact Registry Repository Remote Custom
1408
+ ### Artifact Registry Repository Remote Dockerhub Auth
1244
1409
 
1245
1410
  ```python
1246
1411
  import pulumi
1247
1412
  import pulumi_gcp as gcp
1248
1413
 
1249
1414
  project = gcp.organizations.get_project()
1250
- example_custom_remote_secret = gcp.secretmanager.Secret("example-custom-remote-secret",
1415
+ example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
1251
1416
  secret_id="example-secret",
1252
1417
  replication=gcp.secretmanager.SecretReplicationArgs(
1253
1418
  auto=gcp.secretmanager.SecretReplicationAutoArgs(),
1254
1419
  ))
1255
- example_custom_remote_secret_version = gcp.secretmanager.SecretVersion("example-custom-remote-secret_version",
1256
- secret=example_custom_remote_secret.id,
1420
+ example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
1421
+ secret=example_remote_secret.id,
1257
1422
  secret_data="remote-password")
1258
1423
  secret_access = gcp.secretmanager.SecretIamMember("secret-access",
1259
- secret_id=example_custom_remote_secret.id,
1424
+ secret_id=example_remote_secret.id,
1260
1425
  role="roles/secretmanager.secretAccessor",
1261
1426
  member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
1262
1427
  my_repo = gcp.artifactregistry.Repository("my-repo",
1263
1428
  location="us-central1",
1264
- repository_id="example-custom-remote",
1265
- description="example remote docker repository with credentials",
1429
+ repository_id="example-dockerhub-remote",
1430
+ description="example remote dockerhub repository with credentials",
1266
1431
  format="DOCKER",
1267
1432
  mode="REMOTE_REPOSITORY",
1268
1433
  remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
1269
1434
  description="docker hub with custom credentials",
1435
+ disable_upstream_validation=True,
1270
1436
  docker_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigDockerRepositoryArgs(
1271
1437
  public_repository="DOCKER_HUB",
1272
1438
  ),
1273
1439
  upstream_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsArgs(
1274
1440
  username_password_credentials=gcp.artifactregistry.RepositoryRemoteRepositoryConfigUpstreamCredentialsUsernamePasswordCredentialsArgs(
1275
1441
  username="remote-username",
1276
- password_secret_version=example_custom_remote_secret_version.name,
1442
+ password_secret_version=example_remote_secret_version.name,
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,
1277
1607
  ),
1278
1608
  ),
1279
1609
  ))
@@ -31,6 +31,7 @@ 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,
34
35
  schema: Optional[pulumi.Input[str]] = None,
35
36
  table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
36
37
  table_replication_info: Optional[pulumi.Input['TableTableReplicationInfoArgs']] = None,
@@ -77,6 +78,9 @@ class TableArgs:
77
78
  :param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
78
79
  require a partition filter that can be used for partition elimination to be
79
80
  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".
80
84
  :param pulumi.Input[str] schema: A JSON schema for the table.
81
85
  :param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
82
86
  Structure is documented below.
@@ -114,6 +118,8 @@ class TableArgs:
114
118
  pulumi.set(__self__, "range_partitioning", range_partitioning)
115
119
  if require_partition_filter is not None:
116
120
  pulumi.set(__self__, "require_partition_filter", require_partition_filter)
121
+ if resource_tags is not None:
122
+ pulumi.set(__self__, "resource_tags", resource_tags)
117
123
  if schema is not None:
118
124
  pulumi.set(__self__, "schema", schema)
119
125
  if table_constraints is not None:
@@ -329,6 +335,20 @@ class TableArgs:
329
335
  def require_partition_filter(self, value: Optional[pulumi.Input[bool]]):
330
336
  pulumi.set(self, "require_partition_filter", value)
331
337
 
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
+
332
352
  @property
333
353
  @pulumi.getter
334
354
  def schema(self) -> Optional[pulumi.Input[str]]:
@@ -419,6 +439,7 @@ class _TableState:
419
439
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
420
440
  range_partitioning: Optional[pulumi.Input['TableRangePartitioningArgs']] = None,
421
441
  require_partition_filter: Optional[pulumi.Input[bool]] = None,
442
+ resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
422
443
  schema: Optional[pulumi.Input[str]] = None,
423
444
  self_link: Optional[pulumi.Input[str]] = None,
424
445
  table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
@@ -490,6 +511,9 @@ class _TableState:
490
511
  :param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
491
512
  require a partition filter that can be used for partition elimination to be
492
513
  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".
493
517
  :param pulumi.Input[str] schema: A JSON schema for the table.
494
518
  :param pulumi.Input[str] self_link: The URI of the created resource.
495
519
  :param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
@@ -549,6 +573,8 @@ class _TableState:
549
573
  pulumi.set(__self__, "range_partitioning", range_partitioning)
550
574
  if require_partition_filter is not None:
551
575
  pulumi.set(__self__, "require_partition_filter", require_partition_filter)
576
+ if resource_tags is not None:
577
+ pulumi.set(__self__, "resource_tags", resource_tags)
552
578
  if schema is not None:
553
579
  pulumi.set(__self__, "schema", schema)
554
580
  if self_link is not None:
@@ -880,6 +906,20 @@ class _TableState:
880
906
  def require_partition_filter(self, value: Optional[pulumi.Input[bool]]):
881
907
  pulumi.set(self, "require_partition_filter", value)
882
908
 
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
+
883
923
  @property
884
924
  @pulumi.getter
885
925
  def schema(self) -> Optional[pulumi.Input[str]]:
@@ -1000,6 +1040,7 @@ class Table(pulumi.CustomResource):
1000
1040
  project: Optional[pulumi.Input[str]] = None,
1001
1041
  range_partitioning: Optional[pulumi.Input[pulumi.InputType['TableRangePartitioningArgs']]] = None,
1002
1042
  require_partition_filter: Optional[pulumi.Input[bool]] = None,
1043
+ resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1003
1044
  schema: Optional[pulumi.Input[str]] = None,
1004
1045
  table_constraints: Optional[pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']]] = None,
1005
1046
  table_id: Optional[pulumi.Input[str]] = None,
@@ -1131,6 +1172,9 @@ class Table(pulumi.CustomResource):
1131
1172
  :param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
1132
1173
  require a partition filter that can be used for partition elimination to be
1133
1174
  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".
1134
1178
  :param pulumi.Input[str] schema: A JSON schema for the table.
1135
1179
  :param pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']] table_constraints: Defines the primary key and foreign keys.
1136
1180
  Structure is documented below.
@@ -1262,6 +1306,7 @@ class Table(pulumi.CustomResource):
1262
1306
  project: Optional[pulumi.Input[str]] = None,
1263
1307
  range_partitioning: Optional[pulumi.Input[pulumi.InputType['TableRangePartitioningArgs']]] = None,
1264
1308
  require_partition_filter: Optional[pulumi.Input[bool]] = None,
1309
+ resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1265
1310
  schema: Optional[pulumi.Input[str]] = None,
1266
1311
  table_constraints: Optional[pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']]] = None,
1267
1312
  table_id: Optional[pulumi.Input[str]] = None,
@@ -1293,6 +1338,7 @@ class Table(pulumi.CustomResource):
1293
1338
  __props__.__dict__["project"] = project
1294
1339
  __props__.__dict__["range_partitioning"] = range_partitioning
1295
1340
  __props__.__dict__["require_partition_filter"] = require_partition_filter
1341
+ __props__.__dict__["resource_tags"] = resource_tags
1296
1342
  __props__.__dict__["schema"] = schema
1297
1343
  __props__.__dict__["table_constraints"] = table_constraints
1298
1344
  if table_id is None and not opts.urn:
@@ -1347,6 +1393,7 @@ class Table(pulumi.CustomResource):
1347
1393
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1348
1394
  range_partitioning: Optional[pulumi.Input[pulumi.InputType['TableRangePartitioningArgs']]] = None,
1349
1395
  require_partition_filter: Optional[pulumi.Input[bool]] = None,
1396
+ resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1350
1397
  schema: Optional[pulumi.Input[str]] = None,
1351
1398
  self_link: Optional[pulumi.Input[str]] = None,
1352
1399
  table_constraints: Optional[pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']]] = None,
@@ -1423,6 +1470,9 @@ class Table(pulumi.CustomResource):
1423
1470
  :param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
1424
1471
  require a partition filter that can be used for partition elimination to be
1425
1472
  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".
1426
1476
  :param pulumi.Input[str] schema: A JSON schema for the table.
1427
1477
  :param pulumi.Input[str] self_link: The URI of the created resource.
1428
1478
  :param pulumi.Input[pulumi.InputType['TableTableConstraintsArgs']] table_constraints: Defines the primary key and foreign keys.
@@ -1463,6 +1513,7 @@ class Table(pulumi.CustomResource):
1463
1513
  __props__.__dict__["pulumi_labels"] = pulumi_labels
1464
1514
  __props__.__dict__["range_partitioning"] = range_partitioning
1465
1515
  __props__.__dict__["require_partition_filter"] = require_partition_filter
1516
+ __props__.__dict__["resource_tags"] = resource_tags
1466
1517
  __props__.__dict__["schema"] = schema
1467
1518
  __props__.__dict__["self_link"] = self_link
1468
1519
  __props__.__dict__["table_constraints"] = table_constraints
@@ -1695,6 +1746,16 @@ class Table(pulumi.CustomResource):
1695
1746
  """
1696
1747
  return pulumi.get(self, "require_partition_filter")
1697
1748
 
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
+
1698
1759
  @property
1699
1760
  @pulumi.getter
1700
1761
  def schema(self) -> pulumi.Output[str]: