pulumi-gcp 7.29.0a1719364094__py3-none-any.whl → 7.29.0a1719365805__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 +8 -0
- pulumi_gcp/activedirectory/domain.py +14 -14
- pulumi_gcp/activedirectory/domain_trust.py +14 -14
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/get_docker_image.py +244 -0
- pulumi_gcp/artifactregistry/outputs.py +6 -6
- pulumi_gcp/artifactregistry/repository.py +8 -8
- pulumi_gcp/bigquery/dataset.py +75 -0
- pulumi_gcp/bigquery/get_dataset.py +11 -1
- pulumi_gcp/billing/_inputs.py +22 -0
- pulumi_gcp/billing/budget.py +50 -0
- pulumi_gcp/billing/outputs.py +20 -0
- pulumi_gcp/cloudrunv2/get_job.py +21 -1
- pulumi_gcp/cloudrunv2/job.py +157 -13
- pulumi_gcp/compute/_inputs.py +83 -0
- pulumi_gcp/compute/outputs.py +166 -1
- pulumi_gcp/dataproc/_inputs.py +100 -0
- pulumi_gcp/dataproc/metastore_service.py +172 -0
- pulumi_gcp/dataproc/outputs.py +192 -1
- pulumi_gcp/gkehub/_inputs.py +2 -2
- pulumi_gcp/gkehub/outputs.py +2 -2
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +66 -0
- pulumi_gcp/pubsub/subscription.py +166 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +11 -1
- pulumi_gcp/redis/instance.py +47 -0
- pulumi_gcp/servicenetworking/__init__.py +1 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +511 -0
- pulumi_gcp/sql/user.py +21 -7
- pulumi_gcp/vpcaccess/connector.py +2 -8
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719365805.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719365805.dist-info}/RECORD +36 -34
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719365805.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719365805.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -7175,6 +7175,14 @@ _utilities.register(
|
|
7175
7175
|
"gcp:servicenetworking/peeredDnsDomain:PeeredDnsDomain": "PeeredDnsDomain"
|
7176
7176
|
}
|
7177
7177
|
},
|
7178
|
+
{
|
7179
|
+
"pkg": "gcp",
|
7180
|
+
"mod": "servicenetworking/vpcServiceControls",
|
7181
|
+
"fqn": "pulumi_gcp.servicenetworking",
|
7182
|
+
"classes": {
|
7183
|
+
"gcp:servicenetworking/vpcServiceControls:VpcServiceControls": "VpcServiceControls"
|
7184
|
+
}
|
7185
|
+
},
|
7178
7186
|
{
|
7179
7187
|
"pkg": "gcp",
|
7180
7188
|
"mod": "serviceusage/consumerQuotaOverride",
|
@@ -23,8 +23,8 @@ class DomainArgs:
|
|
23
23
|
project: Optional[pulumi.Input[str]] = None):
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a Domain resource.
|
26
|
-
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
27
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
26
|
+
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
27
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
28
28
|
|
29
29
|
|
30
30
|
- - -
|
@@ -58,8 +58,8 @@ class DomainArgs:
|
|
58
58
|
@pulumi.getter(name="domainName")
|
59
59
|
def domain_name(self) -> pulumi.Input[str]:
|
60
60
|
"""
|
61
|
-
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
62
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
61
|
+
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
62
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
63
63
|
|
64
64
|
|
65
65
|
- - -
|
@@ -170,8 +170,8 @@ class _DomainState:
|
|
170
170
|
If not specified, setupadmin will be used.
|
171
171
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_networks: The full names of the Google Compute Engine networks the domain instance is connected to. The domain is only available on networks listed in authorizedNetworks.
|
172
172
|
If CIDR subnets overlap between networks, domain creation will fail.
|
173
|
-
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
174
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
173
|
+
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
174
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
175
175
|
|
176
176
|
|
177
177
|
- - -
|
@@ -244,8 +244,8 @@ class _DomainState:
|
|
244
244
|
@pulumi.getter(name="domainName")
|
245
245
|
def domain_name(self) -> Optional[pulumi.Input[str]]:
|
246
246
|
"""
|
247
|
-
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
248
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
247
|
+
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
248
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
249
249
|
|
250
250
|
|
251
251
|
- - -
|
@@ -414,8 +414,8 @@ class Domain(pulumi.CustomResource):
|
|
414
414
|
If not specified, setupadmin will be used.
|
415
415
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_networks: The full names of the Google Compute Engine networks the domain instance is connected to. The domain is only available on networks listed in authorizedNetworks.
|
416
416
|
If CIDR subnets overlap between networks, domain creation will fail.
|
417
|
-
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
418
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
417
|
+
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
418
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
419
419
|
|
420
420
|
|
421
421
|
- - -
|
@@ -552,8 +552,8 @@ class Domain(pulumi.CustomResource):
|
|
552
552
|
If not specified, setupadmin will be used.
|
553
553
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] authorized_networks: The full names of the Google Compute Engine networks the domain instance is connected to. The domain is only available on networks listed in authorizedNetworks.
|
554
554
|
If CIDR subnets overlap between networks, domain creation will fail.
|
555
|
-
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
556
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
555
|
+
:param pulumi.Input[str] domain_name: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
556
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
557
557
|
|
558
558
|
|
559
559
|
- - -
|
@@ -612,8 +612,8 @@ class Domain(pulumi.CustomResource):
|
|
612
612
|
@pulumi.getter(name="domainName")
|
613
613
|
def domain_name(self) -> pulumi.Output[str]:
|
614
614
|
"""
|
615
|
-
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
616
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
615
|
+
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
616
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
617
617
|
|
618
618
|
|
619
619
|
- - -
|
@@ -24,8 +24,8 @@ class DomainTrustArgs:
|
|
24
24
|
selective_authentication: Optional[pulumi.Input[bool]] = None):
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a DomainTrust resource.
|
27
|
-
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
28
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
27
|
+
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
28
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
29
29
|
|
30
30
|
|
31
31
|
- - -
|
@@ -56,8 +56,8 @@ class DomainTrustArgs:
|
|
56
56
|
@pulumi.getter
|
57
57
|
def domain(self) -> pulumi.Input[str]:
|
58
58
|
"""
|
59
|
-
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
60
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
59
|
+
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
60
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
61
61
|
|
62
62
|
|
63
63
|
- - -
|
@@ -170,8 +170,8 @@ class _DomainTrustState:
|
|
170
170
|
trust_type: Optional[pulumi.Input[str]] = None):
|
171
171
|
"""
|
172
172
|
Input properties used for looking up and filtering DomainTrust resources.
|
173
|
-
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
174
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
173
|
+
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
174
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
175
175
|
|
176
176
|
|
177
177
|
- - -
|
@@ -208,8 +208,8 @@ class _DomainTrustState:
|
|
208
208
|
@pulumi.getter
|
209
209
|
def domain(self) -> Optional[pulumi.Input[str]]:
|
210
210
|
"""
|
211
|
-
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
212
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
211
|
+
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
212
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
213
213
|
|
214
214
|
|
215
215
|
- - -
|
@@ -375,8 +375,8 @@ class DomainTrust(pulumi.CustomResource):
|
|
375
375
|
|
376
376
|
:param str resource_name: The name of the resource.
|
377
377
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
378
|
-
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
379
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
378
|
+
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
379
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
380
380
|
|
381
381
|
|
382
382
|
- - -
|
@@ -527,8 +527,8 @@ class DomainTrust(pulumi.CustomResource):
|
|
527
527
|
:param str resource_name: The unique name of the resulting resource.
|
528
528
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
529
529
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
530
|
-
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
531
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
530
|
+
:param pulumi.Input[str] domain: The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
531
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
532
532
|
|
533
533
|
|
534
534
|
- - -
|
@@ -562,8 +562,8 @@ class DomainTrust(pulumi.CustomResource):
|
|
562
562
|
@pulumi.getter
|
563
563
|
def domain(self) -> pulumi.Output[str]:
|
564
564
|
"""
|
565
|
-
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
566
|
-
https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
565
|
+
The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions
|
566
|
+
of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.
|
567
567
|
|
568
568
|
|
569
569
|
- - -
|
@@ -606,7 +606,7 @@ class RepositoryRemoteRepositoryConfigAptRepositoryPublicRepositoryArgs:
|
|
606
606
|
"""
|
607
607
|
:param pulumi.Input[str] repository_base: A common public repository base for Yum.
|
608
608
|
Possible values are: `CENTOS`, `CENTOS_DEBUG`, `CENTOS_VAULT`, `CENTOS_STREAM`, `ROCKY`, `EPEL`.
|
609
|
-
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"
|
609
|
+
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
610
610
|
"""
|
611
611
|
pulumi.set(__self__, "repository_base", repository_base)
|
612
612
|
pulumi.set(__self__, "repository_path", repository_path)
|
@@ -628,7 +628,7 @@ class RepositoryRemoteRepositoryConfigAptRepositoryPublicRepositoryArgs:
|
|
628
628
|
@pulumi.getter(name="repositoryPath")
|
629
629
|
def repository_path(self) -> pulumi.Input[str]:
|
630
630
|
"""
|
631
|
-
Specific repository from the base, e.g. `"
|
631
|
+
Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
632
632
|
"""
|
633
633
|
return pulumi.get(self, "repository_path")
|
634
634
|
|
@@ -1010,7 +1010,7 @@ class RepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryArgs:
|
|
1010
1010
|
"""
|
1011
1011
|
:param pulumi.Input[str] repository_base: A common public repository base for Yum.
|
1012
1012
|
Possible values are: `CENTOS`, `CENTOS_DEBUG`, `CENTOS_VAULT`, `CENTOS_STREAM`, `ROCKY`, `EPEL`.
|
1013
|
-
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"
|
1013
|
+
:param pulumi.Input[str] repository_path: Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
1014
1014
|
"""
|
1015
1015
|
pulumi.set(__self__, "repository_base", repository_base)
|
1016
1016
|
pulumi.set(__self__, "repository_path", repository_path)
|
@@ -1032,7 +1032,7 @@ class RepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryArgs:
|
|
1032
1032
|
@pulumi.getter(name="repositoryPath")
|
1033
1033
|
def repository_path(self) -> pulumi.Input[str]:
|
1034
1034
|
"""
|
1035
|
-
Specific repository from the base, e.g. `"
|
1035
|
+
Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
1036
1036
|
"""
|
1037
1037
|
return pulumi.get(self, "repository_path")
|
1038
1038
|
|
@@ -0,0 +1,244 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetDockerImageResult',
|
14
|
+
'AwaitableGetDockerImageResult',
|
15
|
+
'get_docker_image',
|
16
|
+
'get_docker_image_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetDockerImageResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getDockerImage.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, build_time=None, id=None, image_name=None, image_size_bytes=None, location=None, media_type=None, name=None, project=None, repository_id=None, self_link=None, tags=None, update_time=None, upload_time=None):
|
25
|
+
if build_time and not isinstance(build_time, str):
|
26
|
+
raise TypeError("Expected argument 'build_time' to be a str")
|
27
|
+
pulumi.set(__self__, "build_time", build_time)
|
28
|
+
if id and not isinstance(id, str):
|
29
|
+
raise TypeError("Expected argument 'id' to be a str")
|
30
|
+
pulumi.set(__self__, "id", id)
|
31
|
+
if image_name and not isinstance(image_name, str):
|
32
|
+
raise TypeError("Expected argument 'image_name' to be a str")
|
33
|
+
pulumi.set(__self__, "image_name", image_name)
|
34
|
+
if image_size_bytes and not isinstance(image_size_bytes, str):
|
35
|
+
raise TypeError("Expected argument 'image_size_bytes' to be a str")
|
36
|
+
pulumi.set(__self__, "image_size_bytes", image_size_bytes)
|
37
|
+
if location and not isinstance(location, str):
|
38
|
+
raise TypeError("Expected argument 'location' to be a str")
|
39
|
+
pulumi.set(__self__, "location", location)
|
40
|
+
if media_type and not isinstance(media_type, str):
|
41
|
+
raise TypeError("Expected argument 'media_type' to be a str")
|
42
|
+
pulumi.set(__self__, "media_type", media_type)
|
43
|
+
if name and not isinstance(name, str):
|
44
|
+
raise TypeError("Expected argument 'name' to be a str")
|
45
|
+
pulumi.set(__self__, "name", name)
|
46
|
+
if project and not isinstance(project, str):
|
47
|
+
raise TypeError("Expected argument 'project' to be a str")
|
48
|
+
pulumi.set(__self__, "project", project)
|
49
|
+
if repository_id and not isinstance(repository_id, str):
|
50
|
+
raise TypeError("Expected argument 'repository_id' to be a str")
|
51
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
52
|
+
if self_link and not isinstance(self_link, str):
|
53
|
+
raise TypeError("Expected argument 'self_link' to be a str")
|
54
|
+
pulumi.set(__self__, "self_link", self_link)
|
55
|
+
if tags and not isinstance(tags, list):
|
56
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
57
|
+
pulumi.set(__self__, "tags", tags)
|
58
|
+
if update_time and not isinstance(update_time, str):
|
59
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
60
|
+
pulumi.set(__self__, "update_time", update_time)
|
61
|
+
if upload_time and not isinstance(upload_time, str):
|
62
|
+
raise TypeError("Expected argument 'upload_time' to be a str")
|
63
|
+
pulumi.set(__self__, "upload_time", upload_time)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="buildTime")
|
67
|
+
def build_time(self) -> str:
|
68
|
+
"""
|
69
|
+
The time, as a RFC 3339 string, this image was built.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "build_time")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def id(self) -> str:
|
76
|
+
"""
|
77
|
+
The provider-assigned unique ID for this managed resource.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="imageName")
|
83
|
+
def image_name(self) -> str:
|
84
|
+
return pulumi.get(self, "image_name")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="imageSizeBytes")
|
88
|
+
def image_size_bytes(self) -> str:
|
89
|
+
"""
|
90
|
+
Calculated size of the image in bytes.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "image_size_bytes")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def location(self) -> str:
|
97
|
+
return pulumi.get(self, "location")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="mediaType")
|
101
|
+
def media_type(self) -> str:
|
102
|
+
"""
|
103
|
+
Media type of this image, e.g. `application/vnd.docker.distribution.manifest.v2+json`.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "media_type")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def name(self) -> str:
|
110
|
+
"""
|
111
|
+
The fully qualified name of the fetched image. This name has the form: `projects/{{project}}/locations/{{location}}/repository/{{repository_id}}/dockerImages/{{docker_image}}`. For example,
|
112
|
+
```
|
113
|
+
projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
|
114
|
+
```
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "name")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter
|
120
|
+
def project(self) -> Optional[str]:
|
121
|
+
return pulumi.get(self, "project")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="repositoryId")
|
125
|
+
def repository_id(self) -> str:
|
126
|
+
return pulumi.get(self, "repository_id")
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter(name="selfLink")
|
130
|
+
def self_link(self) -> str:
|
131
|
+
"""
|
132
|
+
The URI to access the image. For example,
|
133
|
+
```
|
134
|
+
us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
|
135
|
+
```
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "self_link")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def tags(self) -> Sequence[str]:
|
142
|
+
"""
|
143
|
+
A list of all tags associated with the image.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "tags")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="updateTime")
|
149
|
+
def update_time(self) -> str:
|
150
|
+
"""
|
151
|
+
The time, as a RFC 3339 string, this image was updated.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "update_time")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="uploadTime")
|
157
|
+
def upload_time(self) -> str:
|
158
|
+
"""
|
159
|
+
The time, as a RFC 3339 string, the image was uploaded. For example, `2014-10-02T15:01:23.045123456Z`.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "upload_time")
|
162
|
+
|
163
|
+
|
164
|
+
class AwaitableGetDockerImageResult(GetDockerImageResult):
|
165
|
+
# pylint: disable=using-constant-test
|
166
|
+
def __await__(self):
|
167
|
+
if False:
|
168
|
+
yield self
|
169
|
+
return GetDockerImageResult(
|
170
|
+
build_time=self.build_time,
|
171
|
+
id=self.id,
|
172
|
+
image_name=self.image_name,
|
173
|
+
image_size_bytes=self.image_size_bytes,
|
174
|
+
location=self.location,
|
175
|
+
media_type=self.media_type,
|
176
|
+
name=self.name,
|
177
|
+
project=self.project,
|
178
|
+
repository_id=self.repository_id,
|
179
|
+
self_link=self.self_link,
|
180
|
+
tags=self.tags,
|
181
|
+
update_time=self.update_time,
|
182
|
+
upload_time=self.upload_time)
|
183
|
+
|
184
|
+
|
185
|
+
def get_docker_image(image_name: Optional[str] = None,
|
186
|
+
location: Optional[str] = None,
|
187
|
+
project: Optional[str] = None,
|
188
|
+
repository_id: Optional[str] = None,
|
189
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDockerImageResult:
|
190
|
+
"""
|
191
|
+
This data source fetches information from a provided Artifact Registry repository, including the fully qualified name and URI for an image, based on a the latest version of image name and optional digest or tag.
|
192
|
+
|
193
|
+
> **Note**
|
194
|
+
Requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/cloud-platform.read-only`.
|
195
|
+
|
196
|
+
|
197
|
+
:param str image_name: The image name to fetch. If no digest or tag is provided, then the latest modified image will be used.
|
198
|
+
:param str location: The location of the artifact registry.
|
199
|
+
:param str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
|
200
|
+
:param str repository_id: The last part of the repository name. to fetch from.
|
201
|
+
"""
|
202
|
+
__args__ = dict()
|
203
|
+
__args__['imageName'] = image_name
|
204
|
+
__args__['location'] = location
|
205
|
+
__args__['project'] = project
|
206
|
+
__args__['repositoryId'] = repository_id
|
207
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
208
|
+
__ret__ = pulumi.runtime.invoke('gcp:artifactregistry/getDockerImage:getDockerImage', __args__, opts=opts, typ=GetDockerImageResult).value
|
209
|
+
|
210
|
+
return AwaitableGetDockerImageResult(
|
211
|
+
build_time=pulumi.get(__ret__, 'build_time'),
|
212
|
+
id=pulumi.get(__ret__, 'id'),
|
213
|
+
image_name=pulumi.get(__ret__, 'image_name'),
|
214
|
+
image_size_bytes=pulumi.get(__ret__, 'image_size_bytes'),
|
215
|
+
location=pulumi.get(__ret__, 'location'),
|
216
|
+
media_type=pulumi.get(__ret__, 'media_type'),
|
217
|
+
name=pulumi.get(__ret__, 'name'),
|
218
|
+
project=pulumi.get(__ret__, 'project'),
|
219
|
+
repository_id=pulumi.get(__ret__, 'repository_id'),
|
220
|
+
self_link=pulumi.get(__ret__, 'self_link'),
|
221
|
+
tags=pulumi.get(__ret__, 'tags'),
|
222
|
+
update_time=pulumi.get(__ret__, 'update_time'),
|
223
|
+
upload_time=pulumi.get(__ret__, 'upload_time'))
|
224
|
+
|
225
|
+
|
226
|
+
@_utilities.lift_output_func(get_docker_image)
|
227
|
+
def get_docker_image_output(image_name: Optional[pulumi.Input[str]] = None,
|
228
|
+
location: Optional[pulumi.Input[str]] = None,
|
229
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
230
|
+
repository_id: Optional[pulumi.Input[str]] = None,
|
231
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDockerImageResult]:
|
232
|
+
"""
|
233
|
+
This data source fetches information from a provided Artifact Registry repository, including the fully qualified name and URI for an image, based on a the latest version of image name and optional digest or tag.
|
234
|
+
|
235
|
+
> **Note**
|
236
|
+
Requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/cloud-platform.read-only`.
|
237
|
+
|
238
|
+
|
239
|
+
:param str image_name: The image name to fetch. If no digest or tag is provided, then the latest modified image will be used.
|
240
|
+
:param str location: The location of the artifact registry.
|
241
|
+
:param str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
|
242
|
+
:param str repository_id: The last part of the repository name. to fetch from.
|
243
|
+
"""
|
244
|
+
...
|
@@ -671,7 +671,7 @@ class RepositoryRemoteRepositoryConfigAptRepositoryPublicRepository(dict):
|
|
671
671
|
"""
|
672
672
|
:param str repository_base: A common public repository base for Yum.
|
673
673
|
Possible values are: `CENTOS`, `CENTOS_DEBUG`, `CENTOS_VAULT`, `CENTOS_STREAM`, `ROCKY`, `EPEL`.
|
674
|
-
:param str repository_path: Specific repository from the base, e.g. `"
|
674
|
+
:param str repository_path: Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
675
675
|
"""
|
676
676
|
pulumi.set(__self__, "repository_base", repository_base)
|
677
677
|
pulumi.set(__self__, "repository_path", repository_path)
|
@@ -689,7 +689,7 @@ class RepositoryRemoteRepositoryConfigAptRepositoryPublicRepository(dict):
|
|
689
689
|
@pulumi.getter(name="repositoryPath")
|
690
690
|
def repository_path(self) -> str:
|
691
691
|
"""
|
692
|
-
Specific repository from the base, e.g. `"
|
692
|
+
Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
693
693
|
"""
|
694
694
|
return pulumi.get(self, "repository_path")
|
695
695
|
|
@@ -1149,7 +1149,7 @@ class RepositoryRemoteRepositoryConfigYumRepositoryPublicRepository(dict):
|
|
1149
1149
|
"""
|
1150
1150
|
:param str repository_base: A common public repository base for Yum.
|
1151
1151
|
Possible values are: `CENTOS`, `CENTOS_DEBUG`, `CENTOS_VAULT`, `CENTOS_STREAM`, `ROCKY`, `EPEL`.
|
1152
|
-
:param str repository_path: Specific repository from the base, e.g. `"
|
1152
|
+
:param str repository_path: Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
1153
1153
|
"""
|
1154
1154
|
pulumi.set(__self__, "repository_base", repository_base)
|
1155
1155
|
pulumi.set(__self__, "repository_path", repository_path)
|
@@ -1167,7 +1167,7 @@ class RepositoryRemoteRepositoryConfigYumRepositoryPublicRepository(dict):
|
|
1167
1167
|
@pulumi.getter(name="repositoryPath")
|
1168
1168
|
def repository_path(self) -> str:
|
1169
1169
|
"""
|
1170
|
-
Specific repository from the base, e.g. `"
|
1170
|
+
Specific repository from the base, e.g. `"pub/rocky/9/BaseOS/x86_64/os"`
|
1171
1171
|
"""
|
1172
1172
|
return pulumi.get(self, "repository_path")
|
1173
1173
|
|
@@ -1876,7 +1876,7 @@ class GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryResult(dic
|
|
1876
1876
|
repository_path: str):
|
1877
1877
|
"""
|
1878
1878
|
:param str repository_base: A common public repository base for Yum. Possible values: ["CENTOS", "CENTOS_DEBUG", "CENTOS_VAULT", "CENTOS_STREAM", "ROCKY", "EPEL"]
|
1879
|
-
:param str repository_path: Specific repository from the base, e.g. '"
|
1879
|
+
:param str repository_path: Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
|
1880
1880
|
"""
|
1881
1881
|
pulumi.set(__self__, "repository_base", repository_base)
|
1882
1882
|
pulumi.set(__self__, "repository_path", repository_path)
|
@@ -1893,7 +1893,7 @@ class GetRepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryResult(dic
|
|
1893
1893
|
@pulumi.getter(name="repositoryPath")
|
1894
1894
|
def repository_path(self) -> str:
|
1895
1895
|
"""
|
1896
|
-
Specific repository from the base, e.g. '"
|
1896
|
+
Specific repository from the base, e.g. '"pub/rocky/9/BaseOS/x86_64/os"'
|
1897
1897
|
"""
|
1898
1898
|
return pulumi.get(self, "repository_path")
|
1899
1899
|
|
@@ -846,16 +846,16 @@ class Repository(pulumi.CustomResource):
|
|
846
846
|
|
847
847
|
my_repo = gcp.artifactregistry.Repository("my-repo",
|
848
848
|
location="us-central1",
|
849
|
-
repository_id="
|
849
|
+
repository_id="rocky-9",
|
850
850
|
description="example remote yum repository",
|
851
851
|
format="YUM",
|
852
852
|
mode="REMOTE_REPOSITORY",
|
853
853
|
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
854
|
-
description="
|
854
|
+
description="Rocky 9 remote repository",
|
855
855
|
yum_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigYumRepositoryArgs(
|
856
856
|
public_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryArgs(
|
857
|
-
repository_base="
|
858
|
-
repository_path="
|
857
|
+
repository_base="ROCKY",
|
858
|
+
repository_path="pub/rocky/9/BaseOS/x86_64/os",
|
859
859
|
),
|
860
860
|
),
|
861
861
|
))
|
@@ -1342,16 +1342,16 @@ class Repository(pulumi.CustomResource):
|
|
1342
1342
|
|
1343
1343
|
my_repo = gcp.artifactregistry.Repository("my-repo",
|
1344
1344
|
location="us-central1",
|
1345
|
-
repository_id="
|
1345
|
+
repository_id="rocky-9",
|
1346
1346
|
description="example remote yum repository",
|
1347
1347
|
format="YUM",
|
1348
1348
|
mode="REMOTE_REPOSITORY",
|
1349
1349
|
remote_repository_config=gcp.artifactregistry.RepositoryRemoteRepositoryConfigArgs(
|
1350
|
-
description="
|
1350
|
+
description="Rocky 9 remote repository",
|
1351
1351
|
yum_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigYumRepositoryArgs(
|
1352
1352
|
public_repository=gcp.artifactregistry.RepositoryRemoteRepositoryConfigYumRepositoryPublicRepositoryArgs(
|
1353
|
-
repository_base="
|
1354
|
-
repository_path="
|
1353
|
+
repository_base="ROCKY",
|
1354
|
+
repository_path="pub/rocky/9/BaseOS/x86_64/os",
|
1355
1355
|
),
|
1356
1356
|
),
|
1357
1357
|
))
|