pulumi-gcp 8.11.0a1734348982__py3-none-any.whl → 8.12.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 +123 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +6 -0
- pulumi_gcp/apigee/app_group.py +7 -7
- pulumi_gcp/applicationintegration/client.py +8 -6
- pulumi_gcp/artifactregistry/_inputs.py +24 -15
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +12 -4
- pulumi_gcp/artifactregistry/outputs.py +32 -20
- pulumi_gcp/artifactregistry/repository.py +214 -39
- pulumi_gcp/artifactregistry/repository_iam_binding.py +42 -14
- pulumi_gcp/artifactregistry/repository_iam_member.py +42 -14
- pulumi_gcp/artifactregistry/repository_iam_policy.py +42 -14
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/backupdisasterrecovery/__init__.py +2 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +12 -8
- pulumi_gcp/backupdisasterrecovery/get_backup.py +153 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +415 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +63 -0
- pulumi_gcp/bigquery/app_profile.py +75 -0
- pulumi_gcp/billing/_inputs.py +6 -6
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/certificateauthority/_inputs.py +9 -9
- pulumi_gcp/certificateauthority/outputs.py +8 -8
- pulumi_gcp/cloudbuild/_inputs.py +53 -0
- pulumi_gcp/cloudbuild/outputs.py +50 -0
- pulumi_gcp/cloudbuild/worker_pool.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +254 -0
- pulumi_gcp/clouddeploy/outputs.py +211 -0
- pulumi_gcp/clouddeploy/target.py +47 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -6
- pulumi_gcp/cloudfunctionsv2/outputs.py +8 -8
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/cloudrunv2/service.py +4 -4
- pulumi_gcp/composer/get_user_workloads_config_map.py +4 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +4 -0
- pulumi_gcp/composer/user_workloads_config_map.py +14 -0
- pulumi_gcp/composer/user_workloads_secret.py +6 -0
- pulumi_gcp/compute/_inputs.py +566 -25
- pulumi_gcp/compute/disk.py +21 -7
- pulumi_gcp/compute/firewall_policy_rule.py +12 -0
- pulumi_gcp/compute/get_forwarding_rules.py +2 -2
- pulumi_gcp/compute/get_global_forwarding_rule.py +23 -1
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_network.py +35 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +142 -2
- pulumi_gcp/compute/instance_group_manager.py +28 -0
- pulumi_gcp/compute/network.py +75 -0
- pulumi_gcp/compute/outputs.py +655 -26
- pulumi_gcp/compute/project_cloud_armor_tier.py +7 -7
- pulumi_gcp/compute/region_health_check.py +28 -0
- pulumi_gcp/compute/region_instance_group_manager.py +28 -0
- pulumi_gcp/compute/region_network_endpoint.py +28 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +70 -2
- pulumi_gcp/compute/subnetwork.py +30 -2
- pulumi_gcp/compute/url_map.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +201 -3
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +249 -3
- pulumi_gcp/dataproc/_inputs.py +209 -1
- pulumi_gcp/dataproc/batch.py +76 -0
- pulumi_gcp/dataproc/outputs.py +169 -3
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/discoveryengine/search_engine.py +7 -7
- pulumi_gcp/firebase/_inputs.py +99 -0
- pulumi_gcp/firebase/database_instance.py +24 -6
- pulumi_gcp/firebase/hosting_version.py +96 -0
- pulumi_gcp/firebase/outputs.py +59 -0
- pulumi_gcp/firebase/project.py +6 -6
- pulumi_gcp/firebaserules/release.py +76 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/__init__.py +15 -0
- pulumi_gcp/gemini/_inputs.py +183 -0
- pulumi_gcp/gemini/code_repository_index.py +659 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +171 -0
- pulumi_gcp/gemini/outputs.py +130 -0
- pulumi_gcp/gemini/repository_group.py +586 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +443 -0
- pulumi_gcp/gkehub/_inputs.py +30 -10
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/outputs.py +21 -7
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/__init__.py +1 -0
- pulumi_gcp/iam/_inputs.py +137 -0
- pulumi_gcp/iam/folders_policy_binding.py +16 -0
- pulumi_gcp/iam/organizations_policy_binding.py +16 -0
- pulumi_gcp/iam/outputs.py +99 -0
- pulumi_gcp/iam/principal_access_boundary_policy.py +16 -0
- pulumi_gcp/iam/projects_policy_binding.py +917 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/identityplatform/_inputs.py +6 -6
- pulumi_gcp/identityplatform/config.py +2 -2
- pulumi_gcp/identityplatform/outputs.py +4 -4
- pulumi_gcp/integrationconnectors/_inputs.py +15 -15
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/integrationconnectors/outputs.py +10 -10
- pulumi_gcp/looker/instance.py +35 -14
- pulumi_gcp/monitoring/_inputs.py +13 -6
- pulumi_gcp/monitoring/outputs.py +10 -4
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/active_directory.py +7 -7
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/netapp/volume.py +11 -11
- pulumi_gcp/networkconnectivity/_inputs.py +10 -12
- pulumi_gcp/networkconnectivity/outputs.py +6 -8
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/networksecurity/__init__.py +7 -0
- pulumi_gcp/networksecurity/_inputs.py +2018 -0
- pulumi_gcp/networksecurity/authz_policy.py +1008 -0
- pulumi_gcp/networksecurity/intercept_deployment.py +846 -0
- pulumi_gcp/networksecurity/intercept_deployment_group.py +752 -0
- pulumi_gcp/networksecurity/mirroring_deployment.py +848 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +752 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +737 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +840 -0
- pulumi_gcp/networksecurity/outputs.py +1463 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/authz_extension.py +1080 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +46 -8
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +42 -4
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +50 -8
- pulumi_gcp/oracledatabase/get_autonomous_database.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +12 -1
- pulumi_gcp/oracledatabase/outputs.py +21 -0
- pulumi_gcp/orgpolicy/_inputs.py +40 -0
- pulumi_gcp/orgpolicy/outputs.py +24 -0
- pulumi_gcp/orgpolicy/policy.py +66 -10
- pulumi_gcp/parallelstore/instance.py +4 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +435 -3
- pulumi_gcp/redis/cluster.py +287 -16
- pulumi_gcp/redis/outputs.py +304 -2
- pulumi_gcp/serviceaccount/get_account_id_token.py +2 -2
- pulumi_gcp/serviceaccount/get_account_key.py +2 -2
- pulumi_gcp/sql/_inputs.py +3 -3
- pulumi_gcp/sql/database_instance.py +14 -14
- pulumi_gcp/sql/outputs.py +2 -2
- pulumi_gcp/storage/_inputs.py +53 -6
- pulumi_gcp/storage/get_bucket.py +2 -2
- pulumi_gcp/storage/get_bucket_object_content.py +2 -2
- pulumi_gcp/storage/outputs.py +33 -4
- pulumi_gcp/tpu/__init__.py +1 -0
- pulumi_gcp/tpu/_inputs.py +214 -24
- pulumi_gcp/tpu/outputs.py +182 -16
- pulumi_gcp/tpu/v2_queued_resource.py +434 -0
- pulumi_gcp/tpu/v2_vm.py +63 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/RECORD +168 -147
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/top_level.txt +0 -0
@@ -722,7 +722,10 @@ class RepositoryRemoteRepositoryConfigCommonRepository(dict):
|
|
722
722
|
def __init__(__self__, *,
|
723
723
|
uri: str):
|
724
724
|
"""
|
725
|
-
:param str uri:
|
725
|
+
:param str uri: One of:
|
726
|
+
a. Artifact Registry Repository resource, e.g. `projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY`
|
727
|
+
b. URI to the registry, e.g. `"https://registry-1.docker.io"`
|
728
|
+
c. URI to Artifact Registry Repository, e.g. `"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"`
|
726
729
|
"""
|
727
730
|
pulumi.set(__self__, "uri", uri)
|
728
731
|
|
@@ -730,7 +733,10 @@ class RepositoryRemoteRepositoryConfigCommonRepository(dict):
|
|
730
733
|
@pulumi.getter
|
731
734
|
def uri(self) -> str:
|
732
735
|
"""
|
733
|
-
|
736
|
+
One of:
|
737
|
+
a. Artifact Registry Repository resource, e.g. `projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY`
|
738
|
+
b. URI to the registry, e.g. `"https://registry-1.docker.io"`
|
739
|
+
c. URI to Artifact Registry Repository, e.g. `"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"`
|
734
740
|
"""
|
735
741
|
return pulumi.get(self, "uri")
|
736
742
|
|
@@ -760,7 +766,7 @@ class RepositoryRemoteRepositoryConfigDockerRepository(dict):
|
|
760
766
|
custom_repository: Optional['outputs.RepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository'] = None,
|
761
767
|
public_repository: Optional[str] = None):
|
762
768
|
"""
|
763
|
-
:param 'RepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryArgs' custom_repository: Settings for a remote repository with a custom uri.
|
769
|
+
:param 'RepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryArgs' custom_repository: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
764
770
|
Structure is documented below.
|
765
771
|
:param str public_repository: Address of the remote repository.
|
766
772
|
Default value is `DOCKER_HUB`.
|
@@ -775,7 +781,7 @@ class RepositoryRemoteRepositoryConfigDockerRepository(dict):
|
|
775
781
|
@pulumi.getter(name="customRepository")
|
776
782
|
def custom_repository(self) -> Optional['outputs.RepositoryRemoteRepositoryConfigDockerRepositoryCustomRepository']:
|
777
783
|
"""
|
778
|
-
Settings for a remote repository with a custom uri.
|
784
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
779
785
|
Structure is documented below.
|
780
786
|
"""
|
781
787
|
return pulumi.get(self, "custom_repository")
|
@@ -835,7 +841,7 @@ class RepositoryRemoteRepositoryConfigMavenRepository(dict):
|
|
835
841
|
custom_repository: Optional['outputs.RepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository'] = None,
|
836
842
|
public_repository: Optional[str] = None):
|
837
843
|
"""
|
838
|
-
:param 'RepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryArgs' custom_repository: Settings for a remote repository with a custom uri.
|
844
|
+
:param 'RepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryArgs' custom_repository: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
839
845
|
Structure is documented below.
|
840
846
|
:param str public_repository: Address of the remote repository.
|
841
847
|
Default value is `MAVEN_CENTRAL`.
|
@@ -850,7 +856,7 @@ class RepositoryRemoteRepositoryConfigMavenRepository(dict):
|
|
850
856
|
@pulumi.getter(name="customRepository")
|
851
857
|
def custom_repository(self) -> Optional['outputs.RepositoryRemoteRepositoryConfigMavenRepositoryCustomRepository']:
|
852
858
|
"""
|
853
|
-
Settings for a remote repository with a custom uri.
|
859
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
854
860
|
Structure is documented below.
|
855
861
|
"""
|
856
862
|
return pulumi.get(self, "custom_repository")
|
@@ -910,7 +916,7 @@ class RepositoryRemoteRepositoryConfigNpmRepository(dict):
|
|
910
916
|
custom_repository: Optional['outputs.RepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository'] = None,
|
911
917
|
public_repository: Optional[str] = None):
|
912
918
|
"""
|
913
|
-
:param 'RepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryArgs' custom_repository: Settings for a remote repository with a custom uri.
|
919
|
+
:param 'RepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryArgs' custom_repository: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
914
920
|
Structure is documented below.
|
915
921
|
:param str public_repository: Address of the remote repository.
|
916
922
|
Default value is `NPMJS`.
|
@@ -925,7 +931,7 @@ class RepositoryRemoteRepositoryConfigNpmRepository(dict):
|
|
925
931
|
@pulumi.getter(name="customRepository")
|
926
932
|
def custom_repository(self) -> Optional['outputs.RepositoryRemoteRepositoryConfigNpmRepositoryCustomRepository']:
|
927
933
|
"""
|
928
|
-
Settings for a remote repository with a custom uri.
|
934
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
929
935
|
Structure is documented below.
|
930
936
|
"""
|
931
937
|
return pulumi.get(self, "custom_repository")
|
@@ -985,7 +991,7 @@ class RepositoryRemoteRepositoryConfigPythonRepository(dict):
|
|
985
991
|
custom_repository: Optional['outputs.RepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository'] = None,
|
986
992
|
public_repository: Optional[str] = None):
|
987
993
|
"""
|
988
|
-
:param 'RepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryArgs' custom_repository: Settings for a remote repository with a custom uri.
|
994
|
+
:param 'RepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryArgs' custom_repository: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
989
995
|
Structure is documented below.
|
990
996
|
:param str public_repository: Address of the remote repository.
|
991
997
|
Default value is `PYPI`.
|
@@ -1000,7 +1006,7 @@ class RepositoryRemoteRepositoryConfigPythonRepository(dict):
|
|
1000
1006
|
@pulumi.getter(name="customRepository")
|
1001
1007
|
def custom_repository(self) -> Optional['outputs.RepositoryRemoteRepositoryConfigPythonRepositoryCustomRepository']:
|
1002
1008
|
"""
|
1003
|
-
Settings for a remote repository with a custom uri.
|
1009
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1004
1010
|
Structure is documented below.
|
1005
1011
|
"""
|
1006
1012
|
return pulumi.get(self, "custom_repository")
|
@@ -1669,7 +1675,10 @@ class GetRepositoryRemoteRepositoryConfigCommonRepositoryResult(dict):
|
|
1669
1675
|
def __init__(__self__, *,
|
1670
1676
|
uri: str):
|
1671
1677
|
"""
|
1672
|
-
:param str uri:
|
1678
|
+
:param str uri: One of:
|
1679
|
+
a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY'
|
1680
|
+
b. URI to the registry, e.g. '"https://registry-1.docker.io"'
|
1681
|
+
c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'
|
1673
1682
|
"""
|
1674
1683
|
pulumi.set(__self__, "uri", uri)
|
1675
1684
|
|
@@ -1677,7 +1686,10 @@ class GetRepositoryRemoteRepositoryConfigCommonRepositoryResult(dict):
|
|
1677
1686
|
@pulumi.getter
|
1678
1687
|
def uri(self) -> str:
|
1679
1688
|
"""
|
1680
|
-
|
1689
|
+
One of:
|
1690
|
+
a. Artifact Registry Repository resource, e.g. 'projects/UPSTREAM_PROJECT_ID/locations/REGION/repositories/UPSTREAM_REPOSITORY'
|
1691
|
+
b. URI to the registry, e.g. '"https://registry-1.docker.io"'
|
1692
|
+
c. URI to Artifact Registry Repository, e.g. '"https://REGION-docker.pkg.dev/UPSTREAM_PROJECT_ID/UPSTREAM_REPOSITORY"'
|
1681
1693
|
"""
|
1682
1694
|
return pulumi.get(self, "uri")
|
1683
1695
|
|
@@ -1688,7 +1700,7 @@ class GetRepositoryRemoteRepositoryConfigDockerRepositoryResult(dict):
|
|
1688
1700
|
custom_repositories: Sequence['outputs.GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryResult'],
|
1689
1701
|
public_repository: str):
|
1690
1702
|
"""
|
1691
|
-
:param Sequence['GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryArgs'] custom_repositories: Settings for a remote repository with a custom uri.
|
1703
|
+
:param Sequence['GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryArgs'] custom_repositories: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1692
1704
|
:param str public_repository: Address of the remote repository. Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"]
|
1693
1705
|
"""
|
1694
1706
|
pulumi.set(__self__, "custom_repositories", custom_repositories)
|
@@ -1698,7 +1710,7 @@ class GetRepositoryRemoteRepositoryConfigDockerRepositoryResult(dict):
|
|
1698
1710
|
@pulumi.getter(name="customRepositories")
|
1699
1711
|
def custom_repositories(self) -> Sequence['outputs.GetRepositoryRemoteRepositoryConfigDockerRepositoryCustomRepositoryResult']:
|
1700
1712
|
"""
|
1701
|
-
Settings for a remote repository with a custom uri.
|
1713
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1702
1714
|
"""
|
1703
1715
|
return pulumi.get(self, "custom_repositories")
|
1704
1716
|
|
@@ -1735,7 +1747,7 @@ class GetRepositoryRemoteRepositoryConfigMavenRepositoryResult(dict):
|
|
1735
1747
|
custom_repositories: Sequence['outputs.GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryResult'],
|
1736
1748
|
public_repository: str):
|
1737
1749
|
"""
|
1738
|
-
:param Sequence['GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryArgs'] custom_repositories: Settings for a remote repository with a custom uri.
|
1750
|
+
:param Sequence['GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryArgs'] custom_repositories: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1739
1751
|
:param str public_repository: Address of the remote repository. Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"]
|
1740
1752
|
"""
|
1741
1753
|
pulumi.set(__self__, "custom_repositories", custom_repositories)
|
@@ -1745,7 +1757,7 @@ class GetRepositoryRemoteRepositoryConfigMavenRepositoryResult(dict):
|
|
1745
1757
|
@pulumi.getter(name="customRepositories")
|
1746
1758
|
def custom_repositories(self) -> Sequence['outputs.GetRepositoryRemoteRepositoryConfigMavenRepositoryCustomRepositoryResult']:
|
1747
1759
|
"""
|
1748
|
-
Settings for a remote repository with a custom uri.
|
1760
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1749
1761
|
"""
|
1750
1762
|
return pulumi.get(self, "custom_repositories")
|
1751
1763
|
|
@@ -1782,7 +1794,7 @@ class GetRepositoryRemoteRepositoryConfigNpmRepositoryResult(dict):
|
|
1782
1794
|
custom_repositories: Sequence['outputs.GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryResult'],
|
1783
1795
|
public_repository: str):
|
1784
1796
|
"""
|
1785
|
-
:param Sequence['GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryArgs'] custom_repositories: Settings for a remote repository with a custom uri.
|
1797
|
+
:param Sequence['GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryArgs'] custom_repositories: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1786
1798
|
:param str public_repository: Address of the remote repository. Default value: "NPMJS" Possible values: ["NPMJS"]
|
1787
1799
|
"""
|
1788
1800
|
pulumi.set(__self__, "custom_repositories", custom_repositories)
|
@@ -1792,7 +1804,7 @@ class GetRepositoryRemoteRepositoryConfigNpmRepositoryResult(dict):
|
|
1792
1804
|
@pulumi.getter(name="customRepositories")
|
1793
1805
|
def custom_repositories(self) -> Sequence['outputs.GetRepositoryRemoteRepositoryConfigNpmRepositoryCustomRepositoryResult']:
|
1794
1806
|
"""
|
1795
|
-
Settings for a remote repository with a custom uri.
|
1807
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1796
1808
|
"""
|
1797
1809
|
return pulumi.get(self, "custom_repositories")
|
1798
1810
|
|
@@ -1829,7 +1841,7 @@ class GetRepositoryRemoteRepositoryConfigPythonRepositoryResult(dict):
|
|
1829
1841
|
custom_repositories: Sequence['outputs.GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryResult'],
|
1830
1842
|
public_repository: str):
|
1831
1843
|
"""
|
1832
|
-
:param Sequence['GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryArgs'] custom_repositories: Settings for a remote repository with a custom uri.
|
1844
|
+
:param Sequence['GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryArgs'] custom_repositories: [Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1833
1845
|
:param str public_repository: Address of the remote repository. Default value: "PYPI" Possible values: ["PYPI"]
|
1834
1846
|
"""
|
1835
1847
|
pulumi.set(__self__, "custom_repositories", custom_repositories)
|
@@ -1839,7 +1851,7 @@ class GetRepositoryRemoteRepositoryConfigPythonRepositoryResult(dict):
|
|
1839
1851
|
@pulumi.getter(name="customRepositories")
|
1840
1852
|
def custom_repositories(self) -> Sequence['outputs.GetRepositoryRemoteRepositoryConfigPythonRepositoryCustomRepositoryResult']:
|
1841
1853
|
"""
|
1842
|
-
Settings for a remote repository with a custom uri.
|
1854
|
+
[Deprecated, please use commonRepository instead] Settings for a remote repository with a custom uri.
|
1843
1855
|
"""
|
1844
1856
|
return pulumi.get(self, "custom_repositories")
|
1845
1857
|
|
@@ -41,11 +41,11 @@ class RepositoryArgs:
|
|
41
41
|
can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
|
42
42
|
You can only create alpha formats if you are a member of the
|
43
43
|
[alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
|
44
|
+
:param pulumi.Input[str] repository_id: The last part of the repository name, for example:
|
45
|
+
"repo1"
|
44
46
|
|
45
47
|
|
46
48
|
- - -
|
47
|
-
:param pulumi.Input[str] repository_id: The last part of the repository name, for example:
|
48
|
-
"repo1"
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input['RepositoryCleanupPolicyArgs']]] cleanup_policies: Cleanup policies for this repository. Cleanup policies indicate when
|
50
50
|
certain package versions can be automatically deleted.
|
51
51
|
Map keys are policy IDs supplied by users during policy creation. They must
|
@@ -68,7 +68,12 @@ class RepositoryArgs:
|
|
68
68
|
|
69
69
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
70
70
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
71
|
-
:param pulumi.Input[str] location: The name of the location
|
71
|
+
:param pulumi.Input[str] location: The name of the repository's location. In addition to specific regions,
|
72
|
+
special values for multi-region locations are `asia`, `europe`, and `us`.
|
73
|
+
See [here](https://cloud.google.com/artifact-registry/docs/repositories/repo-locations),
|
74
|
+
or use the
|
75
|
+
artifactregistry_get_locations
|
76
|
+
data source for possible values.
|
72
77
|
:param pulumi.Input['RepositoryMavenConfigArgs'] maven_config: MavenRepositoryConfig is maven related repository details.
|
73
78
|
Provides additional configuration details for repositories of the maven
|
74
79
|
format type.
|
@@ -118,9 +123,6 @@ class RepositoryArgs:
|
|
118
123
|
can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
|
119
124
|
You can only create alpha formats if you are a member of the
|
120
125
|
[alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
|
121
|
-
|
122
|
-
|
123
|
-
- - -
|
124
126
|
"""
|
125
127
|
return pulumi.get(self, "format")
|
126
128
|
|
@@ -134,6 +136,9 @@ class RepositoryArgs:
|
|
134
136
|
"""
|
135
137
|
The last part of the repository name, for example:
|
136
138
|
"repo1"
|
139
|
+
|
140
|
+
|
141
|
+
- - -
|
137
142
|
"""
|
138
143
|
return pulumi.get(self, "repository_id")
|
139
144
|
|
@@ -233,7 +238,12 @@ class RepositoryArgs:
|
|
233
238
|
@pulumi.getter
|
234
239
|
def location(self) -> Optional[pulumi.Input[str]]:
|
235
240
|
"""
|
236
|
-
The name of the location
|
241
|
+
The name of the repository's location. In addition to specific regions,
|
242
|
+
special values for multi-region locations are `asia`, `europe`, and `us`.
|
243
|
+
See [here](https://cloud.google.com/artifact-registry/docs/repositories/repo-locations),
|
244
|
+
or use the
|
245
|
+
artifactregistry_get_locations
|
246
|
+
data source for possible values.
|
237
247
|
"""
|
238
248
|
return pulumi.get(self, "location")
|
239
249
|
|
@@ -350,9 +360,6 @@ class _RepositoryState:
|
|
350
360
|
can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
|
351
361
|
You can only create alpha formats if you are a member of the
|
352
362
|
[alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
|
353
|
-
|
354
|
-
|
355
|
-
- - -
|
356
363
|
:param pulumi.Input[str] kms_key_name: The Cloud KMS resource name of the customer managed encryption key that’s
|
357
364
|
used to encrypt the contents of the Repository. Has the form:
|
358
365
|
`projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
|
@@ -365,7 +372,12 @@ class _RepositoryState:
|
|
365
372
|
|
366
373
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
367
374
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
368
|
-
:param pulumi.Input[str] location: The name of the location
|
375
|
+
:param pulumi.Input[str] location: The name of the repository's location. In addition to specific regions,
|
376
|
+
special values for multi-region locations are `asia`, `europe`, and `us`.
|
377
|
+
See [here](https://cloud.google.com/artifact-registry/docs/repositories/repo-locations),
|
378
|
+
or use the
|
379
|
+
artifactregistry_get_locations
|
380
|
+
data source for possible values.
|
369
381
|
:param pulumi.Input['RepositoryMavenConfigArgs'] maven_config: MavenRepositoryConfig is maven related repository details.
|
370
382
|
Provides additional configuration details for repositories of the maven
|
371
383
|
format type.
|
@@ -383,6 +395,9 @@ class _RepositoryState:
|
|
383
395
|
Structure is documented below.
|
384
396
|
:param pulumi.Input[str] repository_id: The last part of the repository name, for example:
|
385
397
|
"repo1"
|
398
|
+
|
399
|
+
|
400
|
+
- - -
|
386
401
|
:param pulumi.Input[str] update_time: The time when the repository was last updated.
|
387
402
|
:param pulumi.Input['RepositoryVirtualRepositoryConfigArgs'] virtual_repository_config: Configuration specific for a Virtual Repository.
|
388
403
|
Structure is documented below.
|
@@ -512,9 +527,6 @@ class _RepositoryState:
|
|
512
527
|
can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
|
513
528
|
You can only create alpha formats if you are a member of the
|
514
529
|
[alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
|
515
|
-
|
516
|
-
|
517
|
-
- - -
|
518
530
|
"""
|
519
531
|
return pulumi.get(self, "format")
|
520
532
|
|
@@ -560,7 +572,12 @@ class _RepositoryState:
|
|
560
572
|
@pulumi.getter
|
561
573
|
def location(self) -> Optional[pulumi.Input[str]]:
|
562
574
|
"""
|
563
|
-
The name of the location
|
575
|
+
The name of the repository's location. In addition to specific regions,
|
576
|
+
special values for multi-region locations are `asia`, `europe`, and `us`.
|
577
|
+
See [here](https://cloud.google.com/artifact-registry/docs/repositories/repo-locations),
|
578
|
+
or use the
|
579
|
+
artifactregistry_get_locations
|
580
|
+
data source for possible values.
|
564
581
|
"""
|
565
582
|
return pulumi.get(self, "location")
|
566
583
|
|
@@ -655,6 +672,9 @@ class _RepositoryState:
|
|
655
672
|
"""
|
656
673
|
The last part of the repository name, for example:
|
657
674
|
"repo1"
|
675
|
+
|
676
|
+
|
677
|
+
- - -
|
658
678
|
"""
|
659
679
|
return pulumi.get(self, "repository_id")
|
660
680
|
|
@@ -731,6 +751,18 @@ class Repository(pulumi.CustomResource):
|
|
731
751
|
description="example docker repository",
|
732
752
|
format="DOCKER")
|
733
753
|
```
|
754
|
+
### Artifact Registry Repository Multi Region
|
755
|
+
|
756
|
+
```python
|
757
|
+
import pulumi
|
758
|
+
import pulumi_gcp as gcp
|
759
|
+
|
760
|
+
my_repo = gcp.artifactregistry.Repository("my-repo",
|
761
|
+
repository_id="my-repository",
|
762
|
+
description="example docker repository",
|
763
|
+
location="us",
|
764
|
+
format="DOCKER")
|
765
|
+
```
|
734
766
|
### Artifact Registry Repository Docker
|
735
767
|
|
736
768
|
```python
|
@@ -1143,6 +1175,70 @@ class Repository(pulumi.CustomResource):
|
|
1143
1175
|
},
|
1144
1176
|
})
|
1145
1177
|
```
|
1178
|
+
### Artifact Registry Repository Remote Common Repository With Artifact Registry Uri
|
1179
|
+
|
1180
|
+
```python
|
1181
|
+
import pulumi
|
1182
|
+
import pulumi_gcp as gcp
|
1183
|
+
|
1184
|
+
project = gcp.organizations.get_project()
|
1185
|
+
upstream_repo = gcp.artifactregistry.Repository("upstream_repo",
|
1186
|
+
location="us-central1",
|
1187
|
+
repository_id="example-upstream-repo",
|
1188
|
+
description="example upstream repository",
|
1189
|
+
format="DOCKER")
|
1190
|
+
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1191
|
+
location="us-central1",
|
1192
|
+
repository_id="example-common-remote",
|
1193
|
+
description="example remote common repository with docker upstream",
|
1194
|
+
format="DOCKER",
|
1195
|
+
mode="REMOTE_REPOSITORY",
|
1196
|
+
remote_repository_config={
|
1197
|
+
"description": "pull-through cache of another Artifact Registry repository by URL",
|
1198
|
+
"common_repository": {
|
1199
|
+
"uri": "https://us-central1-docker.pkg.dev//example-upstream-repo",
|
1200
|
+
},
|
1201
|
+
})
|
1202
|
+
```
|
1203
|
+
### Artifact Registry Repository Remote Common Repository With Custom Upstream
|
1204
|
+
|
1205
|
+
```python
|
1206
|
+
import pulumi
|
1207
|
+
import pulumi_gcp as gcp
|
1208
|
+
|
1209
|
+
project = gcp.organizations.get_project()
|
1210
|
+
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1211
|
+
secret_id="example-secret",
|
1212
|
+
replication={
|
1213
|
+
"auto": {},
|
1214
|
+
})
|
1215
|
+
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1216
|
+
secret=example_remote_secret.id,
|
1217
|
+
secret_data="remote-password")
|
1218
|
+
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1219
|
+
secret_id=example_remote_secret.id,
|
1220
|
+
role="roles/secretmanager.secretAccessor",
|
1221
|
+
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1222
|
+
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1223
|
+
location="us-central1",
|
1224
|
+
repository_id="example-docker-custom-remote",
|
1225
|
+
description="example remote custom docker repository with credentials",
|
1226
|
+
format="DOCKER",
|
1227
|
+
mode="REMOTE_REPOSITORY",
|
1228
|
+
remote_repository_config={
|
1229
|
+
"description": "custom common docker remote with credentials",
|
1230
|
+
"disable_upstream_validation": True,
|
1231
|
+
"common_repository": {
|
1232
|
+
"uri": "https://registry-1.docker.io",
|
1233
|
+
},
|
1234
|
+
"upstream_credentials": {
|
1235
|
+
"username_password_credentials": {
|
1236
|
+
"username": "remote-username",
|
1237
|
+
"password_secret_version": example_remote_secret_version.name,
|
1238
|
+
},
|
1239
|
+
},
|
1240
|
+
})
|
1241
|
+
```
|
1146
1242
|
|
1147
1243
|
## Import
|
1148
1244
|
|
@@ -1154,8 +1250,6 @@ class Repository(pulumi.CustomResource):
|
|
1154
1250
|
|
1155
1251
|
* `{{location}}/{{repository_id}}`
|
1156
1252
|
|
1157
|
-
* `{{repository_id}}`
|
1158
|
-
|
1159
1253
|
When using the `pulumi import` command, Repository can be imported using one of the formats above. For example:
|
1160
1254
|
|
1161
1255
|
```sh
|
@@ -1170,10 +1264,6 @@ class Repository(pulumi.CustomResource):
|
|
1170
1264
|
$ pulumi import gcp:artifactregistry/repository:Repository default {{location}}/{{repository_id}}
|
1171
1265
|
```
|
1172
1266
|
|
1173
|
-
```sh
|
1174
|
-
$ pulumi import gcp:artifactregistry/repository:Repository default {{repository_id}}
|
1175
|
-
```
|
1176
|
-
|
1177
1267
|
:param str resource_name: The name of the resource.
|
1178
1268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1179
1269
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RepositoryCleanupPolicyArgs', 'RepositoryCleanupPolicyArgsDict']]]] cleanup_policies: Cleanup policies for this repository. Cleanup policies indicate when
|
@@ -1190,9 +1280,6 @@ class Repository(pulumi.CustomResource):
|
|
1190
1280
|
can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
|
1191
1281
|
You can only create alpha formats if you are a member of the
|
1192
1282
|
[alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
|
1193
|
-
|
1194
|
-
|
1195
|
-
- - -
|
1196
1283
|
:param pulumi.Input[str] kms_key_name: The Cloud KMS resource name of the customer managed encryption key that’s
|
1197
1284
|
used to encrypt the contents of the Repository. Has the form:
|
1198
1285
|
`projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
|
@@ -1205,7 +1292,12 @@ class Repository(pulumi.CustomResource):
|
|
1205
1292
|
|
1206
1293
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1207
1294
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1208
|
-
:param pulumi.Input[str] location: The name of the location
|
1295
|
+
:param pulumi.Input[str] location: The name of the repository's location. In addition to specific regions,
|
1296
|
+
special values for multi-region locations are `asia`, `europe`, and `us`.
|
1297
|
+
See [here](https://cloud.google.com/artifact-registry/docs/repositories/repo-locations),
|
1298
|
+
or use the
|
1299
|
+
artifactregistry_get_locations
|
1300
|
+
data source for possible values.
|
1209
1301
|
:param pulumi.Input[Union['RepositoryMavenConfigArgs', 'RepositoryMavenConfigArgsDict']] maven_config: MavenRepositoryConfig is maven related repository details.
|
1210
1302
|
Provides additional configuration details for repositories of the maven
|
1211
1303
|
format type.
|
@@ -1219,6 +1311,9 @@ class Repository(pulumi.CustomResource):
|
|
1219
1311
|
Structure is documented below.
|
1220
1312
|
:param pulumi.Input[str] repository_id: The last part of the repository name, for example:
|
1221
1313
|
"repo1"
|
1314
|
+
|
1315
|
+
|
1316
|
+
- - -
|
1222
1317
|
:param pulumi.Input[Union['RepositoryVirtualRepositoryConfigArgs', 'RepositoryVirtualRepositoryConfigArgsDict']] virtual_repository_config: Configuration specific for a Virtual Repository.
|
1223
1318
|
Structure is documented below.
|
1224
1319
|
"""
|
@@ -1251,6 +1346,18 @@ class Repository(pulumi.CustomResource):
|
|
1251
1346
|
description="example docker repository",
|
1252
1347
|
format="DOCKER")
|
1253
1348
|
```
|
1349
|
+
### Artifact Registry Repository Multi Region
|
1350
|
+
|
1351
|
+
```python
|
1352
|
+
import pulumi
|
1353
|
+
import pulumi_gcp as gcp
|
1354
|
+
|
1355
|
+
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1356
|
+
repository_id="my-repository",
|
1357
|
+
description="example docker repository",
|
1358
|
+
location="us",
|
1359
|
+
format="DOCKER")
|
1360
|
+
```
|
1254
1361
|
### Artifact Registry Repository Docker
|
1255
1362
|
|
1256
1363
|
```python
|
@@ -1663,6 +1770,70 @@ class Repository(pulumi.CustomResource):
|
|
1663
1770
|
},
|
1664
1771
|
})
|
1665
1772
|
```
|
1773
|
+
### Artifact Registry Repository Remote Common Repository With Artifact Registry Uri
|
1774
|
+
|
1775
|
+
```python
|
1776
|
+
import pulumi
|
1777
|
+
import pulumi_gcp as gcp
|
1778
|
+
|
1779
|
+
project = gcp.organizations.get_project()
|
1780
|
+
upstream_repo = gcp.artifactregistry.Repository("upstream_repo",
|
1781
|
+
location="us-central1",
|
1782
|
+
repository_id="example-upstream-repo",
|
1783
|
+
description="example upstream repository",
|
1784
|
+
format="DOCKER")
|
1785
|
+
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1786
|
+
location="us-central1",
|
1787
|
+
repository_id="example-common-remote",
|
1788
|
+
description="example remote common repository with docker upstream",
|
1789
|
+
format="DOCKER",
|
1790
|
+
mode="REMOTE_REPOSITORY",
|
1791
|
+
remote_repository_config={
|
1792
|
+
"description": "pull-through cache of another Artifact Registry repository by URL",
|
1793
|
+
"common_repository": {
|
1794
|
+
"uri": "https://us-central1-docker.pkg.dev//example-upstream-repo",
|
1795
|
+
},
|
1796
|
+
})
|
1797
|
+
```
|
1798
|
+
### Artifact Registry Repository Remote Common Repository With Custom Upstream
|
1799
|
+
|
1800
|
+
```python
|
1801
|
+
import pulumi
|
1802
|
+
import pulumi_gcp as gcp
|
1803
|
+
|
1804
|
+
project = gcp.organizations.get_project()
|
1805
|
+
example_remote_secret = gcp.secretmanager.Secret("example-remote-secret",
|
1806
|
+
secret_id="example-secret",
|
1807
|
+
replication={
|
1808
|
+
"auto": {},
|
1809
|
+
})
|
1810
|
+
example_remote_secret_version = gcp.secretmanager.SecretVersion("example-remote-secret_version",
|
1811
|
+
secret=example_remote_secret.id,
|
1812
|
+
secret_data="remote-password")
|
1813
|
+
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1814
|
+
secret_id=example_remote_secret.id,
|
1815
|
+
role="roles/secretmanager.secretAccessor",
|
1816
|
+
member=f"serviceAccount:service-{project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com")
|
1817
|
+
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1818
|
+
location="us-central1",
|
1819
|
+
repository_id="example-docker-custom-remote",
|
1820
|
+
description="example remote custom docker repository with credentials",
|
1821
|
+
format="DOCKER",
|
1822
|
+
mode="REMOTE_REPOSITORY",
|
1823
|
+
remote_repository_config={
|
1824
|
+
"description": "custom common docker remote with credentials",
|
1825
|
+
"disable_upstream_validation": True,
|
1826
|
+
"common_repository": {
|
1827
|
+
"uri": "https://registry-1.docker.io",
|
1828
|
+
},
|
1829
|
+
"upstream_credentials": {
|
1830
|
+
"username_password_credentials": {
|
1831
|
+
"username": "remote-username",
|
1832
|
+
"password_secret_version": example_remote_secret_version.name,
|
1833
|
+
},
|
1834
|
+
},
|
1835
|
+
})
|
1836
|
+
```
|
1666
1837
|
|
1667
1838
|
## Import
|
1668
1839
|
|
@@ -1674,8 +1845,6 @@ class Repository(pulumi.CustomResource):
|
|
1674
1845
|
|
1675
1846
|
* `{{location}}/{{repository_id}}`
|
1676
1847
|
|
1677
|
-
* `{{repository_id}}`
|
1678
|
-
|
1679
1848
|
When using the `pulumi import` command, Repository can be imported using one of the formats above. For example:
|
1680
1849
|
|
1681
1850
|
```sh
|
@@ -1690,10 +1859,6 @@ class Repository(pulumi.CustomResource):
|
|
1690
1859
|
$ pulumi import gcp:artifactregistry/repository:Repository default {{location}}/{{repository_id}}
|
1691
1860
|
```
|
1692
1861
|
|
1693
|
-
```sh
|
1694
|
-
$ pulumi import gcp:artifactregistry/repository:Repository default {{repository_id}}
|
1695
|
-
```
|
1696
|
-
|
1697
1862
|
:param str resource_name: The name of the resource.
|
1698
1863
|
:param RepositoryArgs args: The arguments to use to populate this resource's properties.
|
1699
1864
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -1809,9 +1974,6 @@ class Repository(pulumi.CustomResource):
|
|
1809
1974
|
can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
|
1810
1975
|
You can only create alpha formats if you are a member of the
|
1811
1976
|
[alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
|
1812
|
-
|
1813
|
-
|
1814
|
-
- - -
|
1815
1977
|
:param pulumi.Input[str] kms_key_name: The Cloud KMS resource name of the customer managed encryption key that’s
|
1816
1978
|
used to encrypt the contents of the Repository. Has the form:
|
1817
1979
|
`projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
|
@@ -1824,7 +1986,12 @@ class Repository(pulumi.CustomResource):
|
|
1824
1986
|
|
1825
1987
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1826
1988
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1827
|
-
:param pulumi.Input[str] location: The name of the location
|
1989
|
+
:param pulumi.Input[str] location: The name of the repository's location. In addition to specific regions,
|
1990
|
+
special values for multi-region locations are `asia`, `europe`, and `us`.
|
1991
|
+
See [here](https://cloud.google.com/artifact-registry/docs/repositories/repo-locations),
|
1992
|
+
or use the
|
1993
|
+
artifactregistry_get_locations
|
1994
|
+
data source for possible values.
|
1828
1995
|
:param pulumi.Input[Union['RepositoryMavenConfigArgs', 'RepositoryMavenConfigArgsDict']] maven_config: MavenRepositoryConfig is maven related repository details.
|
1829
1996
|
Provides additional configuration details for repositories of the maven
|
1830
1997
|
format type.
|
@@ -1842,6 +2009,9 @@ class Repository(pulumi.CustomResource):
|
|
1842
2009
|
Structure is documented below.
|
1843
2010
|
:param pulumi.Input[str] repository_id: The last part of the repository name, for example:
|
1844
2011
|
"repo1"
|
2012
|
+
|
2013
|
+
|
2014
|
+
- - -
|
1845
2015
|
:param pulumi.Input[str] update_time: The time when the repository was last updated.
|
1846
2016
|
:param pulumi.Input[Union['RepositoryVirtualRepositoryConfigArgs', 'RepositoryVirtualRepositoryConfigArgsDict']] virtual_repository_config: Configuration specific for a Virtual Repository.
|
1847
2017
|
Structure is documented below.
|
@@ -1933,9 +2103,6 @@ class Repository(pulumi.CustomResource):
|
|
1933
2103
|
can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
|
1934
2104
|
You can only create alpha formats if you are a member of the
|
1935
2105
|
[alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
|
1936
|
-
|
1937
|
-
|
1938
|
-
- - -
|
1939
2106
|
"""
|
1940
2107
|
return pulumi.get(self, "format")
|
1941
2108
|
|
@@ -1969,7 +2136,12 @@ class Repository(pulumi.CustomResource):
|
|
1969
2136
|
@pulumi.getter
|
1970
2137
|
def location(self) -> pulumi.Output[str]:
|
1971
2138
|
"""
|
1972
|
-
The name of the location
|
2139
|
+
The name of the repository's location. In addition to specific regions,
|
2140
|
+
special values for multi-region locations are `asia`, `europe`, and `us`.
|
2141
|
+
See [here](https://cloud.google.com/artifact-registry/docs/repositories/repo-locations),
|
2142
|
+
or use the
|
2143
|
+
artifactregistry_get_locations
|
2144
|
+
data source for possible values.
|
1973
2145
|
"""
|
1974
2146
|
return pulumi.get(self, "location")
|
1975
2147
|
|
@@ -2036,6 +2208,9 @@ class Repository(pulumi.CustomResource):
|
|
2036
2208
|
"""
|
2037
2209
|
The last part of the repository name, for example:
|
2038
2210
|
"repo1"
|
2211
|
+
|
2212
|
+
|
2213
|
+
- - -
|
2039
2214
|
"""
|
2040
2215
|
return pulumi.get(self, "repository_id")
|
2041
2216
|
|