pulumi-gcp 8.3.1a1727284265__py3-none-any.whl → 8.4.0a1727795436__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 +24 -0
- pulumi_gcp/apigee/nat_address.py +155 -2
- pulumi_gcp/bigquery/_inputs.py +102 -0
- pulumi_gcp/bigquery/outputs.py +83 -0
- pulumi_gcp/bigquery/table.py +47 -0
- pulumi_gcp/cloudrun/_inputs.py +26 -0
- pulumi_gcp/cloudrun/outputs.py +33 -0
- pulumi_gcp/cloudrun/service.py +76 -0
- pulumi_gcp/cloudrunv2/_inputs.py +65 -9
- pulumi_gcp/cloudrunv2/outputs.py +73 -8
- pulumi_gcp/cloudrunv2/service.py +64 -0
- pulumi_gcp/compute/__init__.py +3 -0
- pulumi_gcp/compute/_inputs.py +1941 -2
- pulumi_gcp/compute/get_region_instance_group_manager.py +438 -0
- pulumi_gcp/compute/get_router_nat.py +11 -1
- pulumi_gcp/compute/instance.py +7 -7
- pulumi_gcp/compute/instance_from_machine_image.py +7 -7
- pulumi_gcp/compute/instance_from_template.py +7 -7
- pulumi_gcp/compute/interconnect.py +76 -64
- pulumi_gcp/compute/outputs.py +4637 -2640
- pulumi_gcp/compute/region_commitment.py +47 -0
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +835 -0
- pulumi_gcp/compute/router_nat.py +56 -2
- pulumi_gcp/compute/router_nat_address.py +514 -0
- pulumi_gcp/compute/subnetwork.py +14 -14
- pulumi_gcp/container/_inputs.py +222 -0
- pulumi_gcp/container/outputs.py +279 -2
- pulumi_gcp/logging/__init__.py +1 -0
- pulumi_gcp/logging/log_scope.py +492 -0
- pulumi_gcp/looker/_inputs.py +157 -0
- pulumi_gcp/looker/instance.py +143 -0
- pulumi_gcp/looker/outputs.py +136 -0
- pulumi_gcp/networkconnectivity/_inputs.py +72 -3
- pulumi_gcp/networkconnectivity/outputs.py +51 -3
- pulumi_gcp/networkconnectivity/spoke.py +310 -0
- pulumi_gcp/networksecurity/security_profile.py +2 -2
- pulumi_gcp/privilegedaccessmanager/__init__.py +1 -0
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +219 -0
- pulumi_gcp/privilegedaccessmanager/outputs.py +312 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/__init__.py +2 -0
- pulumi_gcp/secretmanager/get_regional_secret_version.py +2 -2
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +188 -0
- pulumi_gcp/secretmanager/get_regional_secrets.py +156 -0
- pulumi_gcp/secretmanager/outputs.py +265 -0
- {pulumi_gcp-8.3.1a1727284265.dist-info → pulumi_gcp-8.4.0a1727795436.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.3.1a1727284265.dist-info → pulumi_gcp-8.4.0a1727795436.dist-info}/RECORD +49 -42
- {pulumi_gcp-8.3.1a1727284265.dist-info → pulumi_gcp-8.4.0a1727795436.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.3.1a1727284265.dist-info → pulumi_gcp-8.4.0a1727795436.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,188 @@
|
|
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
|
+
'GetRegionalSecretVersionAccessResult',
|
19
|
+
'AwaitableGetRegionalSecretVersionAccessResult',
|
20
|
+
'get_regional_secret_version_access',
|
21
|
+
'get_regional_secret_version_access_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetRegionalSecretVersionAccessResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getRegionalSecretVersionAccess.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, id=None, location=None, name=None, project=None, secret=None, secret_data=None, version=None):
|
30
|
+
if id and not isinstance(id, str):
|
31
|
+
raise TypeError("Expected argument 'id' to be a str")
|
32
|
+
pulumi.set(__self__, "id", id)
|
33
|
+
if location and not isinstance(location, str):
|
34
|
+
raise TypeError("Expected argument 'location' to be a str")
|
35
|
+
pulumi.set(__self__, "location", location)
|
36
|
+
if name and not isinstance(name, str):
|
37
|
+
raise TypeError("Expected argument 'name' to be a str")
|
38
|
+
pulumi.set(__self__, "name", name)
|
39
|
+
if project and not isinstance(project, str):
|
40
|
+
raise TypeError("Expected argument 'project' to be a str")
|
41
|
+
pulumi.set(__self__, "project", project)
|
42
|
+
if secret and not isinstance(secret, str):
|
43
|
+
raise TypeError("Expected argument 'secret' to be a str")
|
44
|
+
pulumi.set(__self__, "secret", secret)
|
45
|
+
if secret_data and not isinstance(secret_data, str):
|
46
|
+
raise TypeError("Expected argument 'secret_data' to be a str")
|
47
|
+
pulumi.set(__self__, "secret_data", secret_data)
|
48
|
+
if version and not isinstance(version, str):
|
49
|
+
raise TypeError("Expected argument 'version' to be a str")
|
50
|
+
pulumi.set(__self__, "version", version)
|
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
|
62
|
+
def location(self) -> str:
|
63
|
+
return pulumi.get(self, "location")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def name(self) -> str:
|
68
|
+
"""
|
69
|
+
The resource name of the regional SecretVersion. Format:
|
70
|
+
`projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}`
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "name")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def project(self) -> str:
|
77
|
+
return pulumi.get(self, "project")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def secret(self) -> str:
|
82
|
+
return pulumi.get(self, "secret")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="secretData")
|
86
|
+
def secret_data(self) -> str:
|
87
|
+
"""
|
88
|
+
The secret data. No larger than 64KiB.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "secret_data")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter
|
94
|
+
def version(self) -> str:
|
95
|
+
return pulumi.get(self, "version")
|
96
|
+
|
97
|
+
|
98
|
+
class AwaitableGetRegionalSecretVersionAccessResult(GetRegionalSecretVersionAccessResult):
|
99
|
+
# pylint: disable=using-constant-test
|
100
|
+
def __await__(self):
|
101
|
+
if False:
|
102
|
+
yield self
|
103
|
+
return GetRegionalSecretVersionAccessResult(
|
104
|
+
id=self.id,
|
105
|
+
location=self.location,
|
106
|
+
name=self.name,
|
107
|
+
project=self.project,
|
108
|
+
secret=self.secret,
|
109
|
+
secret_data=self.secret_data,
|
110
|
+
version=self.version)
|
111
|
+
|
112
|
+
|
113
|
+
def get_regional_secret_version_access(location: Optional[str] = None,
|
114
|
+
project: Optional[str] = None,
|
115
|
+
secret: Optional[str] = None,
|
116
|
+
version: Optional[str] = None,
|
117
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretVersionAccessResult:
|
118
|
+
"""
|
119
|
+
Get the value from a Secret Manager regional secret version. This is similar to the secretmanager.RegionalSecretVersion datasource, but it only requires the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions/access).
|
120
|
+
|
121
|
+
## Example Usage
|
122
|
+
|
123
|
+
```python
|
124
|
+
import pulumi
|
125
|
+
import pulumi_gcp as gcp
|
126
|
+
|
127
|
+
latest = gcp.secretmanager.get_regional_secret_version_access(secret="my-secret",
|
128
|
+
location="us-central1")
|
129
|
+
```
|
130
|
+
|
131
|
+
|
132
|
+
:param str location: Location of Secret Manager regional secret resource.
|
133
|
+
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
134
|
+
:param str project: The project to get the secret version for. If it
|
135
|
+
is not provided, the provider project is used.
|
136
|
+
:param str secret: The regional secret to get the secret version for.
|
137
|
+
This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided.
|
138
|
+
:param str version: The version of the regional secret to get. If it
|
139
|
+
is not provided, the latest version is retrieved.
|
140
|
+
"""
|
141
|
+
__args__ = dict()
|
142
|
+
__args__['location'] = location
|
143
|
+
__args__['project'] = project
|
144
|
+
__args__['secret'] = secret
|
145
|
+
__args__['version'] = version
|
146
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
147
|
+
__ret__ = pulumi.runtime.invoke('gcp:secretmanager/getRegionalSecretVersionAccess:getRegionalSecretVersionAccess', __args__, opts=opts, typ=GetRegionalSecretVersionAccessResult).value
|
148
|
+
|
149
|
+
return AwaitableGetRegionalSecretVersionAccessResult(
|
150
|
+
id=pulumi.get(__ret__, 'id'),
|
151
|
+
location=pulumi.get(__ret__, 'location'),
|
152
|
+
name=pulumi.get(__ret__, 'name'),
|
153
|
+
project=pulumi.get(__ret__, 'project'),
|
154
|
+
secret=pulumi.get(__ret__, 'secret'),
|
155
|
+
secret_data=pulumi.get(__ret__, 'secret_data'),
|
156
|
+
version=pulumi.get(__ret__, 'version'))
|
157
|
+
|
158
|
+
|
159
|
+
@_utilities.lift_output_func(get_regional_secret_version_access)
|
160
|
+
def get_regional_secret_version_access_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
161
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
162
|
+
secret: Optional[pulumi.Input[str]] = None,
|
163
|
+
version: Optional[pulumi.Input[Optional[str]]] = None,
|
164
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretVersionAccessResult]:
|
165
|
+
"""
|
166
|
+
Get the value from a Secret Manager regional secret version. This is similar to the secretmanager.RegionalSecretVersion datasource, but it only requires the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions/access).
|
167
|
+
|
168
|
+
## Example Usage
|
169
|
+
|
170
|
+
```python
|
171
|
+
import pulumi
|
172
|
+
import pulumi_gcp as gcp
|
173
|
+
|
174
|
+
latest = gcp.secretmanager.get_regional_secret_version_access(secret="my-secret",
|
175
|
+
location="us-central1")
|
176
|
+
```
|
177
|
+
|
178
|
+
|
179
|
+
:param str location: Location of Secret Manager regional secret resource.
|
180
|
+
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
181
|
+
:param str project: The project to get the secret version for. If it
|
182
|
+
is not provided, the provider project is used.
|
183
|
+
:param str secret: The regional secret to get the secret version for.
|
184
|
+
This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided.
|
185
|
+
:param str version: The version of the regional secret to get. If it
|
186
|
+
is not provided, the latest version is retrieved.
|
187
|
+
"""
|
188
|
+
...
|
@@ -0,0 +1,156 @@
|
|
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
|
+
'GetRegionalSecretsResult',
|
20
|
+
'AwaitableGetRegionalSecretsResult',
|
21
|
+
'get_regional_secrets',
|
22
|
+
'get_regional_secrets_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetRegionalSecretsResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getRegionalSecrets.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, filter=None, id=None, location=None, project=None, secrets=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 location and not isinstance(location, str):
|
38
|
+
raise TypeError("Expected argument 'location' to be a str")
|
39
|
+
pulumi.set(__self__, "location", location)
|
40
|
+
if project and not isinstance(project, str):
|
41
|
+
raise TypeError("Expected argument 'project' to be a str")
|
42
|
+
pulumi.set(__self__, "project", project)
|
43
|
+
if secrets and not isinstance(secrets, list):
|
44
|
+
raise TypeError("Expected argument 'secrets' to be a list")
|
45
|
+
pulumi.set(__self__, "secrets", secrets)
|
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
|
62
|
+
def location(self) -> str:
|
63
|
+
"""
|
64
|
+
The location in which the resource belongs.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "location")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def project(self) -> str:
|
71
|
+
"""
|
72
|
+
The ID of the project in which the resource belongs.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "project")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def secrets(self) -> Sequence['outputs.GetRegionalSecretsSecretResult']:
|
79
|
+
"""
|
80
|
+
A list of regional secrets present in the specified location and matching the filter. Structure is defined below.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "secrets")
|
83
|
+
|
84
|
+
|
85
|
+
class AwaitableGetRegionalSecretsResult(GetRegionalSecretsResult):
|
86
|
+
# pylint: disable=using-constant-test
|
87
|
+
def __await__(self):
|
88
|
+
if False:
|
89
|
+
yield self
|
90
|
+
return GetRegionalSecretsResult(
|
91
|
+
filter=self.filter,
|
92
|
+
id=self.id,
|
93
|
+
location=self.location,
|
94
|
+
project=self.project,
|
95
|
+
secrets=self.secrets)
|
96
|
+
|
97
|
+
|
98
|
+
def get_regional_secrets(filter: Optional[str] = None,
|
99
|
+
location: Optional[str] = None,
|
100
|
+
project: Optional[str] = None,
|
101
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretsResult:
|
102
|
+
"""
|
103
|
+
Use this data source to list the Secret Manager Regional Secrets.
|
104
|
+
|
105
|
+
## Example Usage
|
106
|
+
|
107
|
+
```python
|
108
|
+
import pulumi
|
109
|
+
import pulumi_gcp as gcp
|
110
|
+
|
111
|
+
secrets = gcp.secretmanager.get_regional_secrets(location="us-central1")
|
112
|
+
```
|
113
|
+
|
114
|
+
|
115
|
+
:param str filter: Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all regional secrets are listed from the specified location.
|
116
|
+
:param str location: The location of the regional secret.
|
117
|
+
:param str project: The ID of the project.
|
118
|
+
"""
|
119
|
+
__args__ = dict()
|
120
|
+
__args__['filter'] = filter
|
121
|
+
__args__['location'] = location
|
122
|
+
__args__['project'] = project
|
123
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
124
|
+
__ret__ = pulumi.runtime.invoke('gcp:secretmanager/getRegionalSecrets:getRegionalSecrets', __args__, opts=opts, typ=GetRegionalSecretsResult).value
|
125
|
+
|
126
|
+
return AwaitableGetRegionalSecretsResult(
|
127
|
+
filter=pulumi.get(__ret__, 'filter'),
|
128
|
+
id=pulumi.get(__ret__, 'id'),
|
129
|
+
location=pulumi.get(__ret__, 'location'),
|
130
|
+
project=pulumi.get(__ret__, 'project'),
|
131
|
+
secrets=pulumi.get(__ret__, 'secrets'))
|
132
|
+
|
133
|
+
|
134
|
+
@_utilities.lift_output_func(get_regional_secrets)
|
135
|
+
def get_regional_secrets_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
136
|
+
location: Optional[pulumi.Input[str]] = None,
|
137
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
138
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretsResult]:
|
139
|
+
"""
|
140
|
+
Use this data source to list the Secret Manager Regional Secrets.
|
141
|
+
|
142
|
+
## Example Usage
|
143
|
+
|
144
|
+
```python
|
145
|
+
import pulumi
|
146
|
+
import pulumi_gcp as gcp
|
147
|
+
|
148
|
+
secrets = gcp.secretmanager.get_regional_secrets(location="us-central1")
|
149
|
+
```
|
150
|
+
|
151
|
+
|
152
|
+
:param str filter: Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all regional secrets are listed from the specified location.
|
153
|
+
:param str location: The location of the regional secret.
|
154
|
+
:param str project: The ID of the project.
|
155
|
+
"""
|
156
|
+
...
|
@@ -36,6 +36,10 @@ __all__ = [
|
|
36
36
|
'GetRegionalSecretRotationResult',
|
37
37
|
'GetRegionalSecretTopicResult',
|
38
38
|
'GetRegionalSecretVersionCustomerManagedEncryptionResult',
|
39
|
+
'GetRegionalSecretsSecretResult',
|
40
|
+
'GetRegionalSecretsSecretCustomerManagedEncryptionResult',
|
41
|
+
'GetRegionalSecretsSecretRotationResult',
|
42
|
+
'GetRegionalSecretsSecretTopicResult',
|
39
43
|
'GetSecretReplicationResult',
|
40
44
|
'GetSecretReplicationAutoResult',
|
41
45
|
'GetSecretReplicationAutoCustomerManagedEncryptionResult',
|
@@ -770,6 +774,267 @@ class GetRegionalSecretVersionCustomerManagedEncryptionResult(dict):
|
|
770
774
|
return pulumi.get(self, "kms_key_version_name")
|
771
775
|
|
772
776
|
|
777
|
+
@pulumi.output_type
|
778
|
+
class GetRegionalSecretsSecretResult(dict):
|
779
|
+
def __init__(__self__, *,
|
780
|
+
annotations: Mapping[str, str],
|
781
|
+
create_time: str,
|
782
|
+
customer_managed_encryptions: Sequence['outputs.GetRegionalSecretsSecretCustomerManagedEncryptionResult'],
|
783
|
+
effective_annotations: Mapping[str, str],
|
784
|
+
effective_labels: Mapping[str, str],
|
785
|
+
expire_time: str,
|
786
|
+
labels: Mapping[str, str],
|
787
|
+
location: str,
|
788
|
+
name: str,
|
789
|
+
project: str,
|
790
|
+
pulumi_labels: Mapping[str, str],
|
791
|
+
rotations: Sequence['outputs.GetRegionalSecretsSecretRotationResult'],
|
792
|
+
secret_id: str,
|
793
|
+
topics: Sequence['outputs.GetRegionalSecretsSecretTopicResult'],
|
794
|
+
ttl: str,
|
795
|
+
version_aliases: Mapping[str, str],
|
796
|
+
version_destroy_ttl: str):
|
797
|
+
"""
|
798
|
+
:param Mapping[str, str] annotations: Custom metadata about the regional secret.
|
799
|
+
:param str create_time: The time at which the regional secret was created.
|
800
|
+
:param Sequence['GetRegionalSecretsSecretCustomerManagedEncryptionArgs'] customer_managed_encryptions: Customer Managed Encryption for the regional secret.
|
801
|
+
Structure is documented below.
|
802
|
+
:param str expire_time: Timestamp in UTC when the regional secret is scheduled to expire.
|
803
|
+
:param Mapping[str, str] labels: The labels assigned to this regional secret.
|
804
|
+
:param str location: The location of the regional secret.
|
805
|
+
:param str name: The resource name of the Pub/Sub topic that will be published to.
|
806
|
+
:param str project: The ID of the project.
|
807
|
+
:param Mapping[str, str] pulumi_labels: The combination of labels configured directly on the resource
|
808
|
+
and default labels configured on the provider.
|
809
|
+
:param Sequence['GetRegionalSecretsSecretRotationArgs'] rotations: The rotation time and period for a regional secret.
|
810
|
+
Structure is documented below.
|
811
|
+
:param str secret_id: The unique name of the resource.
|
812
|
+
:param Sequence['GetRegionalSecretsSecretTopicArgs'] topics: A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the regional secret or its versions.
|
813
|
+
Structure is documented below.
|
814
|
+
:param str ttl: The TTL for the regional secret. A duration in seconds with up to nine fractional digits,
|
815
|
+
terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided.
|
816
|
+
:param Mapping[str, str] version_aliases: Mapping from version alias to version name.
|
817
|
+
:param str version_destroy_ttl: The version destroy ttl for the regional secret version.
|
818
|
+
"""
|
819
|
+
pulumi.set(__self__, "annotations", annotations)
|
820
|
+
pulumi.set(__self__, "create_time", create_time)
|
821
|
+
pulumi.set(__self__, "customer_managed_encryptions", customer_managed_encryptions)
|
822
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
823
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
824
|
+
pulumi.set(__self__, "expire_time", expire_time)
|
825
|
+
pulumi.set(__self__, "labels", labels)
|
826
|
+
pulumi.set(__self__, "location", location)
|
827
|
+
pulumi.set(__self__, "name", name)
|
828
|
+
pulumi.set(__self__, "project", project)
|
829
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
830
|
+
pulumi.set(__self__, "rotations", rotations)
|
831
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
832
|
+
pulumi.set(__self__, "topics", topics)
|
833
|
+
pulumi.set(__self__, "ttl", ttl)
|
834
|
+
pulumi.set(__self__, "version_aliases", version_aliases)
|
835
|
+
pulumi.set(__self__, "version_destroy_ttl", version_destroy_ttl)
|
836
|
+
|
837
|
+
@property
|
838
|
+
@pulumi.getter
|
839
|
+
def annotations(self) -> Mapping[str, str]:
|
840
|
+
"""
|
841
|
+
Custom metadata about the regional secret.
|
842
|
+
"""
|
843
|
+
return pulumi.get(self, "annotations")
|
844
|
+
|
845
|
+
@property
|
846
|
+
@pulumi.getter(name="createTime")
|
847
|
+
def create_time(self) -> str:
|
848
|
+
"""
|
849
|
+
The time at which the regional secret was created.
|
850
|
+
"""
|
851
|
+
return pulumi.get(self, "create_time")
|
852
|
+
|
853
|
+
@property
|
854
|
+
@pulumi.getter(name="customerManagedEncryptions")
|
855
|
+
def customer_managed_encryptions(self) -> Sequence['outputs.GetRegionalSecretsSecretCustomerManagedEncryptionResult']:
|
856
|
+
"""
|
857
|
+
Customer Managed Encryption for the regional secret.
|
858
|
+
Structure is documented below.
|
859
|
+
"""
|
860
|
+
return pulumi.get(self, "customer_managed_encryptions")
|
861
|
+
|
862
|
+
@property
|
863
|
+
@pulumi.getter(name="effectiveAnnotations")
|
864
|
+
def effective_annotations(self) -> Mapping[str, str]:
|
865
|
+
return pulumi.get(self, "effective_annotations")
|
866
|
+
|
867
|
+
@property
|
868
|
+
@pulumi.getter(name="effectiveLabels")
|
869
|
+
def effective_labels(self) -> Mapping[str, str]:
|
870
|
+
return pulumi.get(self, "effective_labels")
|
871
|
+
|
872
|
+
@property
|
873
|
+
@pulumi.getter(name="expireTime")
|
874
|
+
def expire_time(self) -> str:
|
875
|
+
"""
|
876
|
+
Timestamp in UTC when the regional secret is scheduled to expire.
|
877
|
+
"""
|
878
|
+
return pulumi.get(self, "expire_time")
|
879
|
+
|
880
|
+
@property
|
881
|
+
@pulumi.getter
|
882
|
+
def labels(self) -> Mapping[str, str]:
|
883
|
+
"""
|
884
|
+
The labels assigned to this regional secret.
|
885
|
+
"""
|
886
|
+
return pulumi.get(self, "labels")
|
887
|
+
|
888
|
+
@property
|
889
|
+
@pulumi.getter
|
890
|
+
def location(self) -> str:
|
891
|
+
"""
|
892
|
+
The location of the regional secret.
|
893
|
+
"""
|
894
|
+
return pulumi.get(self, "location")
|
895
|
+
|
896
|
+
@property
|
897
|
+
@pulumi.getter
|
898
|
+
def name(self) -> str:
|
899
|
+
"""
|
900
|
+
The resource name of the Pub/Sub topic that will be published to.
|
901
|
+
"""
|
902
|
+
return pulumi.get(self, "name")
|
903
|
+
|
904
|
+
@property
|
905
|
+
@pulumi.getter
|
906
|
+
def project(self) -> str:
|
907
|
+
"""
|
908
|
+
The ID of the project.
|
909
|
+
"""
|
910
|
+
return pulumi.get(self, "project")
|
911
|
+
|
912
|
+
@property
|
913
|
+
@pulumi.getter(name="pulumiLabels")
|
914
|
+
def pulumi_labels(self) -> Mapping[str, str]:
|
915
|
+
"""
|
916
|
+
The combination of labels configured directly on the resource
|
917
|
+
and default labels configured on the provider.
|
918
|
+
"""
|
919
|
+
return pulumi.get(self, "pulumi_labels")
|
920
|
+
|
921
|
+
@property
|
922
|
+
@pulumi.getter
|
923
|
+
def rotations(self) -> Sequence['outputs.GetRegionalSecretsSecretRotationResult']:
|
924
|
+
"""
|
925
|
+
The rotation time and period for a regional secret.
|
926
|
+
Structure is documented below.
|
927
|
+
"""
|
928
|
+
return pulumi.get(self, "rotations")
|
929
|
+
|
930
|
+
@property
|
931
|
+
@pulumi.getter(name="secretId")
|
932
|
+
def secret_id(self) -> str:
|
933
|
+
"""
|
934
|
+
The unique name of the resource.
|
935
|
+
"""
|
936
|
+
return pulumi.get(self, "secret_id")
|
937
|
+
|
938
|
+
@property
|
939
|
+
@pulumi.getter
|
940
|
+
def topics(self) -> Sequence['outputs.GetRegionalSecretsSecretTopicResult']:
|
941
|
+
"""
|
942
|
+
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the regional secret or its versions.
|
943
|
+
Structure is documented below.
|
944
|
+
"""
|
945
|
+
return pulumi.get(self, "topics")
|
946
|
+
|
947
|
+
@property
|
948
|
+
@pulumi.getter
|
949
|
+
def ttl(self) -> str:
|
950
|
+
"""
|
951
|
+
The TTL for the regional secret. A duration in seconds with up to nine fractional digits,
|
952
|
+
terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided.
|
953
|
+
"""
|
954
|
+
return pulumi.get(self, "ttl")
|
955
|
+
|
956
|
+
@property
|
957
|
+
@pulumi.getter(name="versionAliases")
|
958
|
+
def version_aliases(self) -> Mapping[str, str]:
|
959
|
+
"""
|
960
|
+
Mapping from version alias to version name.
|
961
|
+
"""
|
962
|
+
return pulumi.get(self, "version_aliases")
|
963
|
+
|
964
|
+
@property
|
965
|
+
@pulumi.getter(name="versionDestroyTtl")
|
966
|
+
def version_destroy_ttl(self) -> str:
|
967
|
+
"""
|
968
|
+
The version destroy ttl for the regional secret version.
|
969
|
+
"""
|
970
|
+
return pulumi.get(self, "version_destroy_ttl")
|
971
|
+
|
972
|
+
|
973
|
+
@pulumi.output_type
|
974
|
+
class GetRegionalSecretsSecretCustomerManagedEncryptionResult(dict):
|
975
|
+
def __init__(__self__, *,
|
976
|
+
kms_key_name: str):
|
977
|
+
"""
|
978
|
+
:param str kms_key_name: Describes the Cloud KMS encryption key that will be used to protect destination secret.
|
979
|
+
"""
|
980
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
981
|
+
|
982
|
+
@property
|
983
|
+
@pulumi.getter(name="kmsKeyName")
|
984
|
+
def kms_key_name(self) -> str:
|
985
|
+
"""
|
986
|
+
Describes the Cloud KMS encryption key that will be used to protect destination secret.
|
987
|
+
"""
|
988
|
+
return pulumi.get(self, "kms_key_name")
|
989
|
+
|
990
|
+
|
991
|
+
@pulumi.output_type
|
992
|
+
class GetRegionalSecretsSecretRotationResult(dict):
|
993
|
+
def __init__(__self__, *,
|
994
|
+
next_rotation_time: str,
|
995
|
+
rotation_period: str):
|
996
|
+
"""
|
997
|
+
:param str next_rotation_time: Timestamp in UTC at which the secret is scheduled to rotate.
|
998
|
+
:param str rotation_period: The Duration between rotation notifications.
|
999
|
+
"""
|
1000
|
+
pulumi.set(__self__, "next_rotation_time", next_rotation_time)
|
1001
|
+
pulumi.set(__self__, "rotation_period", rotation_period)
|
1002
|
+
|
1003
|
+
@property
|
1004
|
+
@pulumi.getter(name="nextRotationTime")
|
1005
|
+
def next_rotation_time(self) -> str:
|
1006
|
+
"""
|
1007
|
+
Timestamp in UTC at which the secret is scheduled to rotate.
|
1008
|
+
"""
|
1009
|
+
return pulumi.get(self, "next_rotation_time")
|
1010
|
+
|
1011
|
+
@property
|
1012
|
+
@pulumi.getter(name="rotationPeriod")
|
1013
|
+
def rotation_period(self) -> str:
|
1014
|
+
"""
|
1015
|
+
The Duration between rotation notifications.
|
1016
|
+
"""
|
1017
|
+
return pulumi.get(self, "rotation_period")
|
1018
|
+
|
1019
|
+
|
1020
|
+
@pulumi.output_type
|
1021
|
+
class GetRegionalSecretsSecretTopicResult(dict):
|
1022
|
+
def __init__(__self__, *,
|
1023
|
+
name: str):
|
1024
|
+
"""
|
1025
|
+
:param str name: The resource name of the Pub/Sub topic that will be published to.
|
1026
|
+
"""
|
1027
|
+
pulumi.set(__self__, "name", name)
|
1028
|
+
|
1029
|
+
@property
|
1030
|
+
@pulumi.getter
|
1031
|
+
def name(self) -> str:
|
1032
|
+
"""
|
1033
|
+
The resource name of the Pub/Sub topic that will be published to.
|
1034
|
+
"""
|
1035
|
+
return pulumi.get(self, "name")
|
1036
|
+
|
1037
|
+
|
773
1038
|
@pulumi.output_type
|
774
1039
|
class GetSecretReplicationResult(dict):
|
775
1040
|
def __init__(__self__, *,
|