pulumi-gcp 7.32.0__py3-none-any.whl → 7.32.0a1721151794__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 -11
- pulumi_gcp/alloydb/cluster.py +24 -0
- pulumi_gcp/bigquery/_inputs.py +12 -0
- pulumi_gcp/bigquery/dataset.py +28 -0
- pulumi_gcp/bigquery/dataset_access.py +28 -0
- pulumi_gcp/bigquery/outputs.py +24 -0
- pulumi_gcp/bigtable/authorized_view.py +0 -104
- pulumi_gcp/compute/global_address.py +4 -16
- pulumi_gcp/compute/target_instance.py +2 -2
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/gkehub/__init__.py +0 -1
- pulumi_gcp/gkehub/outputs.py +0 -19
- pulumi_gcp/iap/client.py +7 -7
- pulumi_gcp/kms/_inputs.py +0 -40
- pulumi_gcp/kms/crypto_key.py +0 -103
- pulumi_gcp/kms/get_kms_crypto_key.py +1 -11
- pulumi_gcp/kms/outputs.py +0 -112
- pulumi_gcp/networksecurity/address_group.py +1 -1
- pulumi_gcp/privilegedaccessmanager/entitlement.py +0 -4
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/securitycenter/_inputs.py +0 -93
- pulumi_gcp/securitycenter/outputs.py +0 -59
- {pulumi_gcp-7.32.0.dist-info → pulumi_gcp-7.32.0a1721151794.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.32.0.dist-info → pulumi_gcp-7.32.0a1721151794.dist-info}/RECORD +29 -33
- pulumi_gcp/gkehub/get_membership_binding.py +0 -222
- pulumi_gcp/securitycenter/project_notification_config.py +0 -518
- pulumi_gcp/siteverification/__init__.py +0 -8
- pulumi_gcp/siteverification/get_token.py +0 -221
- {pulumi_gcp-7.32.0.dist-info → pulumi_gcp-7.32.0a1721151794.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.32.0.dist-info → pulumi_gcp-7.32.0a1721151794.dist-info}/top_level.txt +0 -0
@@ -1,221 +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
|
-
'GetTokenResult',
|
19
|
-
'AwaitableGetTokenResult',
|
20
|
-
'get_token',
|
21
|
-
'get_token_output',
|
22
|
-
]
|
23
|
-
|
24
|
-
@pulumi.output_type
|
25
|
-
class GetTokenResult:
|
26
|
-
"""
|
27
|
-
A collection of values returned by getToken.
|
28
|
-
"""
|
29
|
-
def __init__(__self__, id=None, identifier=None, token=None, type=None, verification_method=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 identifier and not isinstance(identifier, str):
|
34
|
-
raise TypeError("Expected argument 'identifier' to be a str")
|
35
|
-
pulumi.set(__self__, "identifier", identifier)
|
36
|
-
if token and not isinstance(token, str):
|
37
|
-
raise TypeError("Expected argument 'token' to be a str")
|
38
|
-
pulumi.set(__self__, "token", token)
|
39
|
-
if type and not isinstance(type, str):
|
40
|
-
raise TypeError("Expected argument 'type' to be a str")
|
41
|
-
pulumi.set(__self__, "type", type)
|
42
|
-
if verification_method and not isinstance(verification_method, str):
|
43
|
-
raise TypeError("Expected argument 'verification_method' to be a str")
|
44
|
-
pulumi.set(__self__, "verification_method", verification_method)
|
45
|
-
|
46
|
-
@property
|
47
|
-
@pulumi.getter
|
48
|
-
def id(self) -> str:
|
49
|
-
"""
|
50
|
-
The provider-assigned unique ID for this managed resource.
|
51
|
-
"""
|
52
|
-
return pulumi.get(self, "id")
|
53
|
-
|
54
|
-
@property
|
55
|
-
@pulumi.getter
|
56
|
-
def identifier(self) -> str:
|
57
|
-
return pulumi.get(self, "identifier")
|
58
|
-
|
59
|
-
@property
|
60
|
-
@pulumi.getter
|
61
|
-
def token(self) -> str:
|
62
|
-
"""
|
63
|
-
The generated token for use in subsequent verification steps.
|
64
|
-
"""
|
65
|
-
return pulumi.get(self, "token")
|
66
|
-
|
67
|
-
@property
|
68
|
-
@pulumi.getter
|
69
|
-
def type(self) -> str:
|
70
|
-
return pulumi.get(self, "type")
|
71
|
-
|
72
|
-
@property
|
73
|
-
@pulumi.getter(name="verificationMethod")
|
74
|
-
def verification_method(self) -> str:
|
75
|
-
return pulumi.get(self, "verification_method")
|
76
|
-
|
77
|
-
|
78
|
-
class AwaitableGetTokenResult(GetTokenResult):
|
79
|
-
# pylint: disable=using-constant-test
|
80
|
-
def __await__(self):
|
81
|
-
if False:
|
82
|
-
yield self
|
83
|
-
return GetTokenResult(
|
84
|
-
id=self.id,
|
85
|
-
identifier=self.identifier,
|
86
|
-
token=self.token,
|
87
|
-
type=self.type,
|
88
|
-
verification_method=self.verification_method)
|
89
|
-
|
90
|
-
|
91
|
-
def get_token(identifier: Optional[str] = None,
|
92
|
-
type: Optional[str] = None,
|
93
|
-
verification_method: Optional[str] = None,
|
94
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTokenResult:
|
95
|
-
"""
|
96
|
-
## subcategory: "Site Verification"
|
97
|
-
|
98
|
-
description: |-
|
99
|
-
A verification token is used to demonstrate ownership of a website or domain.
|
100
|
-
---
|
101
|
-
|
102
|
-
# siteverification_get_token
|
103
|
-
|
104
|
-
A verification token is used to demonstrate ownership of a website or domain.
|
105
|
-
|
106
|
-
To get more information about Token, see:
|
107
|
-
|
108
|
-
* [API documentation](https://developers.google.com/site-verification/v1)
|
109
|
-
* How-to Guides
|
110
|
-
* [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
|
111
|
-
|
112
|
-
## Example Usage
|
113
|
-
|
114
|
-
### Site Verification Via Site META Tag
|
115
|
-
|
116
|
-
```python
|
117
|
-
import pulumi
|
118
|
-
import pulumi_gcp as gcp
|
119
|
-
|
120
|
-
example = gcp.siteverification.get_token(type="SITE",
|
121
|
-
identifier="https://www.example.com",
|
122
|
-
verification_method="META")
|
123
|
-
```
|
124
|
-
|
125
|
-
### Site Verification Via DNS TXT Record
|
126
|
-
|
127
|
-
```python
|
128
|
-
import pulumi
|
129
|
-
import pulumi_gcp as gcp
|
130
|
-
|
131
|
-
example = gcp.siteverification.get_token(type="INET_DOMAIN",
|
132
|
-
identifier="www.example.com",
|
133
|
-
verification_method="DNS_TXT")
|
134
|
-
```
|
135
|
-
|
136
|
-
|
137
|
-
:param str identifier: The site identifier. If the type is set to SITE, the identifier is a URL. If the type is
|
138
|
-
set to INET_DOMAIN, the identifier is a domain name.
|
139
|
-
:param str type: The type of resource to be verified, either a domain or a web site.
|
140
|
-
Possible values are: `INET_DOMAIN`, `SITE`.
|
141
|
-
:param str verification_method: The verification method for the Site Verification system to use to verify
|
142
|
-
this site or domain.
|
143
|
-
Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`.
|
144
|
-
|
145
|
-
|
146
|
-
- - -
|
147
|
-
"""
|
148
|
-
__args__ = dict()
|
149
|
-
__args__['identifier'] = identifier
|
150
|
-
__args__['type'] = type
|
151
|
-
__args__['verificationMethod'] = verification_method
|
152
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
153
|
-
__ret__ = pulumi.runtime.invoke('gcp:siteverification/getToken:getToken', __args__, opts=opts, typ=GetTokenResult).value
|
154
|
-
|
155
|
-
return AwaitableGetTokenResult(
|
156
|
-
id=pulumi.get(__ret__, 'id'),
|
157
|
-
identifier=pulumi.get(__ret__, 'identifier'),
|
158
|
-
token=pulumi.get(__ret__, 'token'),
|
159
|
-
type=pulumi.get(__ret__, 'type'),
|
160
|
-
verification_method=pulumi.get(__ret__, 'verification_method'))
|
161
|
-
|
162
|
-
|
163
|
-
@_utilities.lift_output_func(get_token)
|
164
|
-
def get_token_output(identifier: Optional[pulumi.Input[str]] = None,
|
165
|
-
type: Optional[pulumi.Input[str]] = None,
|
166
|
-
verification_method: Optional[pulumi.Input[str]] = None,
|
167
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTokenResult]:
|
168
|
-
"""
|
169
|
-
## subcategory: "Site Verification"
|
170
|
-
|
171
|
-
description: |-
|
172
|
-
A verification token is used to demonstrate ownership of a website or domain.
|
173
|
-
---
|
174
|
-
|
175
|
-
# siteverification_get_token
|
176
|
-
|
177
|
-
A verification token is used to demonstrate ownership of a website or domain.
|
178
|
-
|
179
|
-
To get more information about Token, see:
|
180
|
-
|
181
|
-
* [API documentation](https://developers.google.com/site-verification/v1)
|
182
|
-
* How-to Guides
|
183
|
-
* [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
|
184
|
-
|
185
|
-
## Example Usage
|
186
|
-
|
187
|
-
### Site Verification Via Site META Tag
|
188
|
-
|
189
|
-
```python
|
190
|
-
import pulumi
|
191
|
-
import pulumi_gcp as gcp
|
192
|
-
|
193
|
-
example = gcp.siteverification.get_token(type="SITE",
|
194
|
-
identifier="https://www.example.com",
|
195
|
-
verification_method="META")
|
196
|
-
```
|
197
|
-
|
198
|
-
### Site Verification Via DNS TXT Record
|
199
|
-
|
200
|
-
```python
|
201
|
-
import pulumi
|
202
|
-
import pulumi_gcp as gcp
|
203
|
-
|
204
|
-
example = gcp.siteverification.get_token(type="INET_DOMAIN",
|
205
|
-
identifier="www.example.com",
|
206
|
-
verification_method="DNS_TXT")
|
207
|
-
```
|
208
|
-
|
209
|
-
|
210
|
-
:param str identifier: The site identifier. If the type is set to SITE, the identifier is a URL. If the type is
|
211
|
-
set to INET_DOMAIN, the identifier is a domain name.
|
212
|
-
:param str type: The type of resource to be verified, either a domain or a web site.
|
213
|
-
Possible values are: `INET_DOMAIN`, `SITE`.
|
214
|
-
:param str verification_method: The verification method for the Site Verification system to use to verify
|
215
|
-
this site or domain.
|
216
|
-
Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`.
|
217
|
-
|
218
|
-
|
219
|
-
- - -
|
220
|
-
"""
|
221
|
-
...
|
File without changes
|
File without changes
|