pulumi-gcp 7.31.0__py3-none-any.whl → 7.31.0a1720509668__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -40
- pulumi_gcp/applicationintegration/auth_config.py +2 -2
- pulumi_gcp/bigquery/reservation_assignment.py +30 -48
- pulumi_gcp/certificateauthority/certificate_template.py +2 -2
- pulumi_gcp/certificatemanager/_inputs.py +0 -33
- pulumi_gcp/certificatemanager/outputs.py +0 -36
- pulumi_gcp/certificatemanager/trust_config.py +0 -107
- pulumi_gcp/compute/_inputs.py +6 -3
- pulumi_gcp/compute/ca_external_account_key.py +2 -2
- pulumi_gcp/compute/get_health_check.py +1 -11
- pulumi_gcp/compute/global_forwarding_rule.py +4 -2
- pulumi_gcp/compute/health_check.py +0 -124
- pulumi_gcp/compute/instance.py +14 -14
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/outputs.py +8 -4
- pulumi_gcp/compute/region_network_endpoint.py +2 -2
- pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
- pulumi_gcp/compute/subnetwork.py +2 -2
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/containeranalysis/note.py +2 -2
- pulumi_gcp/dataloss/_inputs.py +0 -3
- pulumi_gcp/dataloss/outputs.py +0 -2
- pulumi_gcp/dataloss/prevention_job_trigger.py +0 -90
- pulumi_gcp/dataplex/_inputs.py +0 -56
- pulumi_gcp/dataplex/datascan.py +0 -12
- pulumi_gcp/dataplex/outputs.py +0 -52
- pulumi_gcp/filestore/backup.py +2 -2
- pulumi_gcp/filestore/instance.py +2 -2
- pulumi_gcp/filestore/snapshot.py +2 -2
- pulumi_gcp/gkehub/_inputs.py +0 -20
- pulumi_gcp/gkehub/outputs.py +0 -12
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/crypto_key.py +7 -7
- pulumi_gcp/kms/outputs.py +0 -270
- pulumi_gcp/logging/_inputs.py +12 -12
- pulumi_gcp/logging/folder_bucket_config.py +6 -6
- pulumi_gcp/logging/organization_bucket_config.py +6 -6
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/logging/project_bucket_config.py +6 -6
- pulumi_gcp/looker/instance.py +2 -2
- pulumi_gcp/monitoring/custom_service.py +2 -2
- pulumi_gcp/monitoring/generic_service.py +2 -2
- pulumi_gcp/monitoring/notification_channel.py +2 -2
- pulumi_gcp/monitoring/slo.py +2 -2
- pulumi_gcp/netapp/storage_pool.py +53 -132
- pulumi_gcp/netapp/volume.py +4 -60
- pulumi_gcp/networksecurity/address_group.py +1 -85
- pulumi_gcp/networksecurity/firewall_endpoint.py +2 -2
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +2 -2
- pulumi_gcp/networksecurity/security_profile_group.py +2 -2
- pulumi_gcp/orgpolicy/_inputs.py +10 -40
- pulumi_gcp/orgpolicy/outputs.py +8 -28
- pulumi_gcp/orgpolicy/policy.py +35 -52
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/_inputs.py +3 -3
- pulumi_gcp/pubsub/outputs.py +4 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/__init__.py +0 -5
- pulumi_gcp/securesourcemanager/_inputs.py +0 -284
- pulumi_gcp/securesourcemanager/outputs.py +0 -202
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/securitycenter/_inputs.py +0 -93
- pulumi_gcp/securitycenter/outputs.py +0 -59
- pulumi_gcp/securityposture/posture_deployment.py +78 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +2 -2
- pulumi_gcp/vertex/_inputs.py +1 -21
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -222
- pulumi_gcp/vertex/outputs.py +1 -15
- pulumi_gcp/workstations/_inputs.py +1 -33
- pulumi_gcp/workstations/outputs.py +1 -23
- pulumi_gcp/workstations/workstation_config.py +0 -18
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/RECORD +78 -86
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/WHEEL +1 -1
- pulumi_gcp/kms/get_crypto_keys.py +0 -143
- pulumi_gcp/kms/get_key_rings.py +0 -119
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +0 -177
- pulumi_gcp/securesourcemanager/repository.py +0 -715
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +0 -804
- pulumi_gcp/securesourcemanager/repository_iam_member.py +0 -804
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +0 -643
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +0 -576
- {pulumi_gcp-7.31.0.dist-info → pulumi_gcp-7.31.0a1720509668.dist-info}/top_level.txt +0 -0
@@ -1,143 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
from . import outputs
|
17
|
-
|
18
|
-
__all__ = [
|
19
|
-
'GetCryptoKeysResult',
|
20
|
-
'AwaitableGetCryptoKeysResult',
|
21
|
-
'get_crypto_keys',
|
22
|
-
'get_crypto_keys_output',
|
23
|
-
]
|
24
|
-
|
25
|
-
@pulumi.output_type
|
26
|
-
class GetCryptoKeysResult:
|
27
|
-
"""
|
28
|
-
A collection of values returned by getCryptoKeys.
|
29
|
-
"""
|
30
|
-
def __init__(__self__, filter=None, id=None, key_ring=None, keys=None):
|
31
|
-
if filter and not isinstance(filter, str):
|
32
|
-
raise TypeError("Expected argument 'filter' to be a str")
|
33
|
-
pulumi.set(__self__, "filter", filter)
|
34
|
-
if id and not isinstance(id, str):
|
35
|
-
raise TypeError("Expected argument 'id' to be a str")
|
36
|
-
pulumi.set(__self__, "id", id)
|
37
|
-
if key_ring and not isinstance(key_ring, str):
|
38
|
-
raise TypeError("Expected argument 'key_ring' to be a str")
|
39
|
-
pulumi.set(__self__, "key_ring", key_ring)
|
40
|
-
if keys and not isinstance(keys, list):
|
41
|
-
raise TypeError("Expected argument 'keys' to be a list")
|
42
|
-
pulumi.set(__self__, "keys", keys)
|
43
|
-
|
44
|
-
@property
|
45
|
-
@pulumi.getter
|
46
|
-
def filter(self) -> Optional[str]:
|
47
|
-
return pulumi.get(self, "filter")
|
48
|
-
|
49
|
-
@property
|
50
|
-
@pulumi.getter
|
51
|
-
def id(self) -> str:
|
52
|
-
"""
|
53
|
-
The provider-assigned unique ID for this managed resource.
|
54
|
-
"""
|
55
|
-
return pulumi.get(self, "id")
|
56
|
-
|
57
|
-
@property
|
58
|
-
@pulumi.getter(name="keyRing")
|
59
|
-
def key_ring(self) -> str:
|
60
|
-
return pulumi.get(self, "key_ring")
|
61
|
-
|
62
|
-
@property
|
63
|
-
@pulumi.getter
|
64
|
-
def keys(self) -> Sequence['outputs.GetCryptoKeysKeyResult']:
|
65
|
-
"""
|
66
|
-
A list of all the retrieved keys from the provided key ring. This list is influenced by the provided filter argument.
|
67
|
-
"""
|
68
|
-
return pulumi.get(self, "keys")
|
69
|
-
|
70
|
-
|
71
|
-
class AwaitableGetCryptoKeysResult(GetCryptoKeysResult):
|
72
|
-
# pylint: disable=using-constant-test
|
73
|
-
def __await__(self):
|
74
|
-
if False:
|
75
|
-
yield self
|
76
|
-
return GetCryptoKeysResult(
|
77
|
-
filter=self.filter,
|
78
|
-
id=self.id,
|
79
|
-
key_ring=self.key_ring,
|
80
|
-
keys=self.keys)
|
81
|
-
|
82
|
-
|
83
|
-
def get_crypto_keys(filter: Optional[str] = None,
|
84
|
-
key_ring: Optional[str] = None,
|
85
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCryptoKeysResult:
|
86
|
-
"""
|
87
|
-
Provides access to all Google Cloud Platform KMS CryptoKeys in a given KeyRing. For more information see
|
88
|
-
[the official documentation](https://cloud.google.com/kms/docs/object-hierarchy#key)
|
89
|
-
and
|
90
|
-
[API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys).
|
91
|
-
|
92
|
-
A CryptoKey is an interface to key material which can be used to encrypt and decrypt data. A CryptoKey belongs to a
|
93
|
-
Google Cloud KMS KeyRing.
|
94
|
-
|
95
|
-
|
96
|
-
:param str filter: The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering.
|
97
|
-
|
98
|
-
Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}.
|
99
|
-
|
100
|
-
* `"name:my-key-"` will retrieve keys that contain "my-key-" anywhere in their name.
|
101
|
-
* `"name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"` will only retrieve a key with that exact name.
|
102
|
-
|
103
|
-
[See the documentation about using filters](https://cloud.google.com/kms/docs/sorting-and-filtering)
|
104
|
-
:param str key_ring: The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
|
105
|
-
"""
|
106
|
-
__args__ = dict()
|
107
|
-
__args__['filter'] = filter
|
108
|
-
__args__['keyRing'] = key_ring
|
109
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
110
|
-
__ret__ = pulumi.runtime.invoke('gcp:kms/getCryptoKeys:getCryptoKeys', __args__, opts=opts, typ=GetCryptoKeysResult).value
|
111
|
-
|
112
|
-
return AwaitableGetCryptoKeysResult(
|
113
|
-
filter=pulumi.get(__ret__, 'filter'),
|
114
|
-
id=pulumi.get(__ret__, 'id'),
|
115
|
-
key_ring=pulumi.get(__ret__, 'key_ring'),
|
116
|
-
keys=pulumi.get(__ret__, 'keys'))
|
117
|
-
|
118
|
-
|
119
|
-
@_utilities.lift_output_func(get_crypto_keys)
|
120
|
-
def get_crypto_keys_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
121
|
-
key_ring: Optional[pulumi.Input[str]] = None,
|
122
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCryptoKeysResult]:
|
123
|
-
"""
|
124
|
-
Provides access to all Google Cloud Platform KMS CryptoKeys in a given KeyRing. For more information see
|
125
|
-
[the official documentation](https://cloud.google.com/kms/docs/object-hierarchy#key)
|
126
|
-
and
|
127
|
-
[API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys).
|
128
|
-
|
129
|
-
A CryptoKey is an interface to key material which can be used to encrypt and decrypt data. A CryptoKey belongs to a
|
130
|
-
Google Cloud KMS KeyRing.
|
131
|
-
|
132
|
-
|
133
|
-
:param str filter: The filter argument is used to add a filter query parameter that limits which keys are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering.
|
134
|
-
|
135
|
-
Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}.
|
136
|
-
|
137
|
-
* `"name:my-key-"` will retrieve keys that contain "my-key-" anywhere in their name.
|
138
|
-
* `"name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1"` will only retrieve a key with that exact name.
|
139
|
-
|
140
|
-
[See the documentation about using filters](https://cloud.google.com/kms/docs/sorting-and-filtering)
|
141
|
-
:param str key_ring: The key ring that the keys belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.,
|
142
|
-
"""
|
143
|
-
...
|
pulumi_gcp/kms/get_key_rings.py
DELETED
@@ -1,119 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
from . import outputs
|
17
|
-
|
18
|
-
__all__ = [
|
19
|
-
'GetKeyRingsResult',
|
20
|
-
'AwaitableGetKeyRingsResult',
|
21
|
-
'get_key_rings',
|
22
|
-
'get_key_rings_output',
|
23
|
-
]
|
24
|
-
|
25
|
-
@pulumi.output_type
|
26
|
-
class GetKeyRingsResult:
|
27
|
-
"""
|
28
|
-
A collection of values returned by getKeyRings.
|
29
|
-
"""
|
30
|
-
def __init__(__self__, filter=None, id=None, key_rings=None, location=None, project=None):
|
31
|
-
if filter and not isinstance(filter, str):
|
32
|
-
raise TypeError("Expected argument 'filter' to be a str")
|
33
|
-
pulumi.set(__self__, "filter", filter)
|
34
|
-
if id and not isinstance(id, str):
|
35
|
-
raise TypeError("Expected argument 'id' to be a str")
|
36
|
-
pulumi.set(__self__, "id", id)
|
37
|
-
if key_rings and not isinstance(key_rings, list):
|
38
|
-
raise TypeError("Expected argument 'key_rings' to be a list")
|
39
|
-
pulumi.set(__self__, "key_rings", key_rings)
|
40
|
-
if location and not isinstance(location, str):
|
41
|
-
raise TypeError("Expected argument 'location' to be a str")
|
42
|
-
pulumi.set(__self__, "location", location)
|
43
|
-
if project and not isinstance(project, str):
|
44
|
-
raise TypeError("Expected argument 'project' to be a str")
|
45
|
-
pulumi.set(__self__, "project", project)
|
46
|
-
|
47
|
-
@property
|
48
|
-
@pulumi.getter
|
49
|
-
def filter(self) -> Optional[str]:
|
50
|
-
return pulumi.get(self, "filter")
|
51
|
-
|
52
|
-
@property
|
53
|
-
@pulumi.getter
|
54
|
-
def id(self) -> str:
|
55
|
-
"""
|
56
|
-
The provider-assigned unique ID for this managed resource.
|
57
|
-
"""
|
58
|
-
return pulumi.get(self, "id")
|
59
|
-
|
60
|
-
@property
|
61
|
-
@pulumi.getter(name="keyRings")
|
62
|
-
def key_rings(self) -> Sequence['outputs.GetKeyRingsKeyRingResult']:
|
63
|
-
return pulumi.get(self, "key_rings")
|
64
|
-
|
65
|
-
@property
|
66
|
-
@pulumi.getter
|
67
|
-
def location(self) -> str:
|
68
|
-
return pulumi.get(self, "location")
|
69
|
-
|
70
|
-
@property
|
71
|
-
@pulumi.getter
|
72
|
-
def project(self) -> Optional[str]:
|
73
|
-
return pulumi.get(self, "project")
|
74
|
-
|
75
|
-
|
76
|
-
class AwaitableGetKeyRingsResult(GetKeyRingsResult):
|
77
|
-
# pylint: disable=using-constant-test
|
78
|
-
def __await__(self):
|
79
|
-
if False:
|
80
|
-
yield self
|
81
|
-
return GetKeyRingsResult(
|
82
|
-
filter=self.filter,
|
83
|
-
id=self.id,
|
84
|
-
key_rings=self.key_rings,
|
85
|
-
location=self.location,
|
86
|
-
project=self.project)
|
87
|
-
|
88
|
-
|
89
|
-
def get_key_rings(filter: Optional[str] = None,
|
90
|
-
location: Optional[str] = None,
|
91
|
-
project: Optional[str] = None,
|
92
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyRingsResult:
|
93
|
-
"""
|
94
|
-
Use this data source to access information about an existing resource.
|
95
|
-
"""
|
96
|
-
__args__ = dict()
|
97
|
-
__args__['filter'] = filter
|
98
|
-
__args__['location'] = location
|
99
|
-
__args__['project'] = project
|
100
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
101
|
-
__ret__ = pulumi.runtime.invoke('gcp:kms/getKeyRings:getKeyRings', __args__, opts=opts, typ=GetKeyRingsResult).value
|
102
|
-
|
103
|
-
return AwaitableGetKeyRingsResult(
|
104
|
-
filter=pulumi.get(__ret__, 'filter'),
|
105
|
-
id=pulumi.get(__ret__, 'id'),
|
106
|
-
key_rings=pulumi.get(__ret__, 'key_rings'),
|
107
|
-
location=pulumi.get(__ret__, 'location'),
|
108
|
-
project=pulumi.get(__ret__, 'project'))
|
109
|
-
|
110
|
-
|
111
|
-
@_utilities.lift_output_func(get_key_rings)
|
112
|
-
def get_key_rings_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
113
|
-
location: Optional[pulumi.Input[str]] = None,
|
114
|
-
project: Optional[pulumi.Input[Optional[str]]] = None,
|
115
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyRingsResult]:
|
116
|
-
"""
|
117
|
-
Use this data source to access information about an existing resource.
|
118
|
-
"""
|
119
|
-
...
|
@@ -1,177 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
|
17
|
-
__all__ = [
|
18
|
-
'GetRepositoryIamPolicyResult',
|
19
|
-
'AwaitableGetRepositoryIamPolicyResult',
|
20
|
-
'get_repository_iam_policy',
|
21
|
-
'get_repository_iam_policy_output',
|
22
|
-
]
|
23
|
-
|
24
|
-
@pulumi.output_type
|
25
|
-
class GetRepositoryIamPolicyResult:
|
26
|
-
"""
|
27
|
-
A collection of values returned by getRepositoryIamPolicy.
|
28
|
-
"""
|
29
|
-
def __init__(__self__, etag=None, id=None, location=None, policy_data=None, project=None, repository_id=None):
|
30
|
-
if etag and not isinstance(etag, str):
|
31
|
-
raise TypeError("Expected argument 'etag' to be a str")
|
32
|
-
pulumi.set(__self__, "etag", etag)
|
33
|
-
if id and not isinstance(id, str):
|
34
|
-
raise TypeError("Expected argument 'id' to be a str")
|
35
|
-
pulumi.set(__self__, "id", id)
|
36
|
-
if location and not isinstance(location, str):
|
37
|
-
raise TypeError("Expected argument 'location' to be a str")
|
38
|
-
pulumi.set(__self__, "location", location)
|
39
|
-
if policy_data and not isinstance(policy_data, str):
|
40
|
-
raise TypeError("Expected argument 'policy_data' to be a str")
|
41
|
-
pulumi.set(__self__, "policy_data", policy_data)
|
42
|
-
if project and not isinstance(project, str):
|
43
|
-
raise TypeError("Expected argument 'project' to be a str")
|
44
|
-
pulumi.set(__self__, "project", project)
|
45
|
-
if repository_id and not isinstance(repository_id, str):
|
46
|
-
raise TypeError("Expected argument 'repository_id' to be a str")
|
47
|
-
pulumi.set(__self__, "repository_id", repository_id)
|
48
|
-
|
49
|
-
@property
|
50
|
-
@pulumi.getter
|
51
|
-
def etag(self) -> str:
|
52
|
-
"""
|
53
|
-
(Computed) The etag of the IAM policy.
|
54
|
-
"""
|
55
|
-
return pulumi.get(self, "etag")
|
56
|
-
|
57
|
-
@property
|
58
|
-
@pulumi.getter
|
59
|
-
def id(self) -> str:
|
60
|
-
"""
|
61
|
-
The provider-assigned unique ID for this managed resource.
|
62
|
-
"""
|
63
|
-
return pulumi.get(self, "id")
|
64
|
-
|
65
|
-
@property
|
66
|
-
@pulumi.getter
|
67
|
-
def location(self) -> str:
|
68
|
-
return pulumi.get(self, "location")
|
69
|
-
|
70
|
-
@property
|
71
|
-
@pulumi.getter(name="policyData")
|
72
|
-
def policy_data(self) -> str:
|
73
|
-
"""
|
74
|
-
(Required only by `securesourcemanager.RepositoryIamPolicy`) The policy data generated by
|
75
|
-
a `organizations_get_iam_policy` data source.
|
76
|
-
"""
|
77
|
-
return pulumi.get(self, "policy_data")
|
78
|
-
|
79
|
-
@property
|
80
|
-
@pulumi.getter
|
81
|
-
def project(self) -> str:
|
82
|
-
return pulumi.get(self, "project")
|
83
|
-
|
84
|
-
@property
|
85
|
-
@pulumi.getter(name="repositoryId")
|
86
|
-
def repository_id(self) -> str:
|
87
|
-
return pulumi.get(self, "repository_id")
|
88
|
-
|
89
|
-
|
90
|
-
class AwaitableGetRepositoryIamPolicyResult(GetRepositoryIamPolicyResult):
|
91
|
-
# pylint: disable=using-constant-test
|
92
|
-
def __await__(self):
|
93
|
-
if False:
|
94
|
-
yield self
|
95
|
-
return GetRepositoryIamPolicyResult(
|
96
|
-
etag=self.etag,
|
97
|
-
id=self.id,
|
98
|
-
location=self.location,
|
99
|
-
policy_data=self.policy_data,
|
100
|
-
project=self.project,
|
101
|
-
repository_id=self.repository_id)
|
102
|
-
|
103
|
-
|
104
|
-
def get_repository_iam_policy(location: Optional[str] = None,
|
105
|
-
project: Optional[str] = None,
|
106
|
-
repository_id: Optional[str] = None,
|
107
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRepositoryIamPolicyResult:
|
108
|
-
"""
|
109
|
-
Retrieves the current IAM policy data for repository
|
110
|
-
|
111
|
-
## example
|
112
|
-
|
113
|
-
```python
|
114
|
-
import pulumi
|
115
|
-
import pulumi_gcp as gcp
|
116
|
-
|
117
|
-
policy = gcp.securesourcemanager.get_repository_iam_policy(project=default["project"],
|
118
|
-
location=default["location"],
|
119
|
-
repository_id=default["repositoryId"])
|
120
|
-
```
|
121
|
-
|
122
|
-
|
123
|
-
:param str location: The location for the Repository.
|
124
|
-
Used to find the parent resource to bind the IAM policy to. If not specified,
|
125
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
126
|
-
location is specified, it is taken from the provider configuration.
|
127
|
-
:param str project: The ID of the project in which the resource belongs.
|
128
|
-
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
129
|
-
:param str repository_id: The ID for the Repository.
|
130
|
-
Used to find the parent resource to bind the IAM policy to
|
131
|
-
"""
|
132
|
-
__args__ = dict()
|
133
|
-
__args__['location'] = location
|
134
|
-
__args__['project'] = project
|
135
|
-
__args__['repositoryId'] = repository_id
|
136
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
137
|
-
__ret__ = pulumi.runtime.invoke('gcp:securesourcemanager/getRepositoryIamPolicy:getRepositoryIamPolicy', __args__, opts=opts, typ=GetRepositoryIamPolicyResult).value
|
138
|
-
|
139
|
-
return AwaitableGetRepositoryIamPolicyResult(
|
140
|
-
etag=pulumi.get(__ret__, 'etag'),
|
141
|
-
id=pulumi.get(__ret__, 'id'),
|
142
|
-
location=pulumi.get(__ret__, 'location'),
|
143
|
-
policy_data=pulumi.get(__ret__, 'policy_data'),
|
144
|
-
project=pulumi.get(__ret__, 'project'),
|
145
|
-
repository_id=pulumi.get(__ret__, 'repository_id'))
|
146
|
-
|
147
|
-
|
148
|
-
@_utilities.lift_output_func(get_repository_iam_policy)
|
149
|
-
def get_repository_iam_policy_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
150
|
-
project: Optional[pulumi.Input[Optional[str]]] = None,
|
151
|
-
repository_id: Optional[pulumi.Input[str]] = None,
|
152
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryIamPolicyResult]:
|
153
|
-
"""
|
154
|
-
Retrieves the current IAM policy data for repository
|
155
|
-
|
156
|
-
## example
|
157
|
-
|
158
|
-
```python
|
159
|
-
import pulumi
|
160
|
-
import pulumi_gcp as gcp
|
161
|
-
|
162
|
-
policy = gcp.securesourcemanager.get_repository_iam_policy(project=default["project"],
|
163
|
-
location=default["location"],
|
164
|
-
repository_id=default["repositoryId"])
|
165
|
-
```
|
166
|
-
|
167
|
-
|
168
|
-
:param str location: The location for the Repository.
|
169
|
-
Used to find the parent resource to bind the IAM policy to. If not specified,
|
170
|
-
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
171
|
-
location is specified, it is taken from the provider configuration.
|
172
|
-
:param str project: The ID of the project in which the resource belongs.
|
173
|
-
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
174
|
-
:param str repository_id: The ID for the Repository.
|
175
|
-
Used to find the parent resource to bind the IAM policy to
|
176
|
-
"""
|
177
|
-
...
|