pulumi-gcp 8.1.0a1726293903__py3-none-any.whl → 8.1.0a1726492828__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/alloydb/_inputs.py +94 -0
- pulumi_gcp/alloydb/cluster.py +94 -1
- pulumi_gcp/alloydb/outputs.py +79 -0
- pulumi_gcp/assuredworkloads/workload.py +135 -16
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/data_transfer_config.py +134 -6
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
- pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
- pulumi_gcp/bigtable/_inputs.py +21 -1
- pulumi_gcp/bigtable/outputs.py +13 -1
- pulumi_gcp/bigtable/table.py +34 -0
- pulumi_gcp/certificateauthority/authority.py +14 -7
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate.py +28 -0
- pulumi_gcp/certificatemanager/get_certificates.py +150 -0
- pulumi_gcp/certificatemanager/outputs.py +322 -0
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +6 -12
- pulumi_gcp/cloudrun/outputs.py +8 -16
- pulumi_gcp/cloudrunv2/_inputs.py +72 -15
- pulumi_gcp/cloudrunv2/outputs.py +82 -16
- pulumi_gcp/cloudrunv2/service.py +50 -4
- pulumi_gcp/cloudtasks/_inputs.py +630 -0
- pulumi_gcp/cloudtasks/outputs.py +479 -0
- pulumi_gcp/cloudtasks/queue.py +238 -0
- pulumi_gcp/compute/_inputs.py +129 -9
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +114 -0
- pulumi_gcp/compute/instance.py +86 -4
- pulumi_gcp/compute/instance_template.py +66 -0
- pulumi_gcp/compute/interconnect.py +28 -21
- pulumi_gcp/compute/node_template.py +93 -0
- pulumi_gcp/compute/outputs.py +108 -6
- pulumi_gcp/compute/target_https_proxy.py +28 -0
- pulumi_gcp/container/_inputs.py +140 -3
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +174 -2
- pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
- pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
- pulumi_gcp/databasemigrationservice/outputs.py +109 -87
- pulumi_gcp/dataloss/_inputs.py +353 -1
- pulumi_gcp/dataloss/outputs.py +274 -3
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +69 -1
- pulumi_gcp/datastream/outputs.py +44 -2
- pulumi_gcp/datastream/stream.py +194 -7
- pulumi_gcp/discoveryengine/_inputs.py +188 -0
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +153 -1
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +25 -1
- pulumi_gcp/gkehub/feature_membership.py +12 -6
- pulumi_gcp/gkehub/outputs.py +17 -1
- pulumi_gcp/iam/_inputs.py +196 -0
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
- pulumi_gcp/iam/outputs.py +295 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +10 -2
- pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
- pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
- pulumi_gcp/kms/outputs.py +164 -0
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +7 -0
- pulumi_gcp/networkconnectivity/_inputs.py +21 -1
- pulumi_gcp/networkconnectivity/outputs.py +15 -1
- pulumi_gcp/networkconnectivity/spoke.py +8 -0
- pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
- pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
- pulumi_gcp/organizations/get_project.py +13 -3
- pulumi_gcp/organizations/project.py +88 -3
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +26 -0
- pulumi_gcp/projects/usage_export_bucket.py +38 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +51 -1
- pulumi_gcp/pubsub/subscription.py +6 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +419 -0
- pulumi_gcp/redis/cluster.py +123 -0
- pulumi_gcp/redis/outputs.py +315 -0
- pulumi_gcp/securitycenter/__init__.py +2 -0
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/RECORD +101 -95
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.1.0a1726492828.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,175 @@
|
|
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
|
+
'GetCryptoKeyVersionsResult',
|
20
|
+
'AwaitableGetCryptoKeyVersionsResult',
|
21
|
+
'get_crypto_key_versions',
|
22
|
+
'get_crypto_key_versions_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetCryptoKeyVersionsResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getCryptoKeyVersions.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, crypto_key=None, filter=None, id=None, public_keys=None, versions=None):
|
31
|
+
if crypto_key and not isinstance(crypto_key, str):
|
32
|
+
raise TypeError("Expected argument 'crypto_key' to be a str")
|
33
|
+
pulumi.set(__self__, "crypto_key", crypto_key)
|
34
|
+
if filter and not isinstance(filter, str):
|
35
|
+
raise TypeError("Expected argument 'filter' to be a str")
|
36
|
+
pulumi.set(__self__, "filter", filter)
|
37
|
+
if id and not isinstance(id, str):
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
39
|
+
pulumi.set(__self__, "id", id)
|
40
|
+
if public_keys and not isinstance(public_keys, list):
|
41
|
+
raise TypeError("Expected argument 'public_keys' to be a list")
|
42
|
+
pulumi.set(__self__, "public_keys", public_keys)
|
43
|
+
if versions and not isinstance(versions, list):
|
44
|
+
raise TypeError("Expected argument 'versions' to be a list")
|
45
|
+
pulumi.set(__self__, "versions", versions)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="cryptoKey")
|
49
|
+
def crypto_key(self) -> str:
|
50
|
+
return pulumi.get(self, "crypto_key")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def filter(self) -> Optional[str]:
|
55
|
+
return pulumi.get(self, "filter")
|
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(name="publicKeys")
|
67
|
+
def public_keys(self) -> Sequence['outputs.GetCryptoKeyVersionsPublicKeyResult']:
|
68
|
+
return pulumi.get(self, "public_keys")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def versions(self) -> Sequence['outputs.GetCryptoKeyVersionsVersionResult']:
|
73
|
+
"""
|
74
|
+
A list of all the retrieved crypto key versions from the provided crypto key. This list is influenced by the provided filter argument.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "versions")
|
77
|
+
|
78
|
+
|
79
|
+
class AwaitableGetCryptoKeyVersionsResult(GetCryptoKeyVersionsResult):
|
80
|
+
# pylint: disable=using-constant-test
|
81
|
+
def __await__(self):
|
82
|
+
if False:
|
83
|
+
yield self
|
84
|
+
return GetCryptoKeyVersionsResult(
|
85
|
+
crypto_key=self.crypto_key,
|
86
|
+
filter=self.filter,
|
87
|
+
id=self.id,
|
88
|
+
public_keys=self.public_keys,
|
89
|
+
versions=self.versions)
|
90
|
+
|
91
|
+
|
92
|
+
def get_crypto_key_versions(crypto_key: Optional[str] = None,
|
93
|
+
filter: Optional[str] = None,
|
94
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCryptoKeyVersionsResult:
|
95
|
+
"""
|
96
|
+
Provides access to Google Cloud Platform KMS CryptoKeyVersions. For more information see
|
97
|
+
[the official documentation](https://cloud.google.com/kms/docs/object-hierarchy#key_version)
|
98
|
+
and
|
99
|
+
[API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions).
|
100
|
+
|
101
|
+
## Example Usage
|
102
|
+
|
103
|
+
```python
|
104
|
+
import pulumi
|
105
|
+
import pulumi_gcp as gcp
|
106
|
+
|
107
|
+
my_key_ring = gcp.kms.get_kms_key_ring(name="my-key-ring",
|
108
|
+
location="us-central1")
|
109
|
+
my_crypto_key = gcp.kms.get_kms_crypto_key(name="my-crypto-key",
|
110
|
+
key_ring=my_key_ring.id)
|
111
|
+
my_crypto_key_versions = gcp.kms.get_crypto_key_versions(crypto_key=my_key["id"])
|
112
|
+
```
|
113
|
+
|
114
|
+
|
115
|
+
:param str crypto_key: The `id` of the Google Cloud Platform CryptoKey to which the key version belongs. This is also the `id` field of the
|
116
|
+
`kms.CryptoKey` resource/datasource.
|
117
|
+
:param str filter: The filter argument is used to add a filter query parameter that limits which versions are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering.
|
118
|
+
|
119
|
+
Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}/cryptoKeyVersions.
|
120
|
+
|
121
|
+
* `"name:my-key-"` will retrieve cryptoKeyVersions that contain "my-key-" anywhere in their name.
|
122
|
+
* `"name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1/cryptoKeyVersions/my-version-1"` will only retrieve a key with that exact name.
|
123
|
+
|
124
|
+
[See the documentation about using filters](https://cloud.google.com/kms/docs/sorting-and-filtering)
|
125
|
+
"""
|
126
|
+
__args__ = dict()
|
127
|
+
__args__['cryptoKey'] = crypto_key
|
128
|
+
__args__['filter'] = filter
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
130
|
+
__ret__ = pulumi.runtime.invoke('gcp:kms/getCryptoKeyVersions:getCryptoKeyVersions', __args__, opts=opts, typ=GetCryptoKeyVersionsResult).value
|
131
|
+
|
132
|
+
return AwaitableGetCryptoKeyVersionsResult(
|
133
|
+
crypto_key=pulumi.get(__ret__, 'crypto_key'),
|
134
|
+
filter=pulumi.get(__ret__, 'filter'),
|
135
|
+
id=pulumi.get(__ret__, 'id'),
|
136
|
+
public_keys=pulumi.get(__ret__, 'public_keys'),
|
137
|
+
versions=pulumi.get(__ret__, 'versions'))
|
138
|
+
|
139
|
+
|
140
|
+
@_utilities.lift_output_func(get_crypto_key_versions)
|
141
|
+
def get_crypto_key_versions_output(crypto_key: Optional[pulumi.Input[str]] = None,
|
142
|
+
filter: Optional[pulumi.Input[Optional[str]]] = None,
|
143
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCryptoKeyVersionsResult]:
|
144
|
+
"""
|
145
|
+
Provides access to Google Cloud Platform KMS CryptoKeyVersions. For more information see
|
146
|
+
[the official documentation](https://cloud.google.com/kms/docs/object-hierarchy#key_version)
|
147
|
+
and
|
148
|
+
[API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions).
|
149
|
+
|
150
|
+
## Example Usage
|
151
|
+
|
152
|
+
```python
|
153
|
+
import pulumi
|
154
|
+
import pulumi_gcp as gcp
|
155
|
+
|
156
|
+
my_key_ring = gcp.kms.get_kms_key_ring(name="my-key-ring",
|
157
|
+
location="us-central1")
|
158
|
+
my_crypto_key = gcp.kms.get_kms_crypto_key(name="my-crypto-key",
|
159
|
+
key_ring=my_key_ring.id)
|
160
|
+
my_crypto_key_versions = gcp.kms.get_crypto_key_versions(crypto_key=my_key["id"])
|
161
|
+
```
|
162
|
+
|
163
|
+
|
164
|
+
:param str crypto_key: The `id` of the Google Cloud Platform CryptoKey to which the key version belongs. This is also the `id` field of the
|
165
|
+
`kms.CryptoKey` resource/datasource.
|
166
|
+
:param str filter: The filter argument is used to add a filter query parameter that limits which versions are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering.
|
167
|
+
|
168
|
+
Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}/cryptoKeyVersions.
|
169
|
+
|
170
|
+
* `"name:my-key-"` will retrieve cryptoKeyVersions that contain "my-key-" anywhere in their name.
|
171
|
+
* `"name=projects/my-project/locations/global/keyRings/my-key-ring/cryptoKeys/my-key-1/cryptoKeyVersions/my-version-1"` will only retrieve a key with that exact name.
|
172
|
+
|
173
|
+
[See the documentation about using filters](https://cloud.google.com/kms/docs/sorting-and-filtering)
|
174
|
+
"""
|
175
|
+
...
|
pulumi_gcp/kms/outputs.py
CHANGED
@@ -33,6 +33,10 @@ __all__ = [
|
|
33
33
|
'KeyRingIAMMemberCondition',
|
34
34
|
'KeyRingImportJobAttestation',
|
35
35
|
'KeyRingImportJobPublicKey',
|
36
|
+
'GetCryptoKeyLatestVersionPublicKeyResult',
|
37
|
+
'GetCryptoKeyVersionsPublicKeyResult',
|
38
|
+
'GetCryptoKeyVersionsVersionResult',
|
39
|
+
'GetCryptoKeyVersionsVersionPublicKeyResult',
|
36
40
|
'GetCryptoKeysKeyResult',
|
37
41
|
'GetCryptoKeysKeyKeyAccessJustificationsPolicyResult',
|
38
42
|
'GetCryptoKeysKeyPrimaryResult',
|
@@ -983,6 +987,166 @@ class KeyRingImportJobPublicKey(dict):
|
|
983
987
|
return pulumi.get(self, "pem")
|
984
988
|
|
985
989
|
|
990
|
+
@pulumi.output_type
|
991
|
+
class GetCryptoKeyLatestVersionPublicKeyResult(dict):
|
992
|
+
def __init__(__self__, *,
|
993
|
+
algorithm: str,
|
994
|
+
pem: str):
|
995
|
+
"""
|
996
|
+
:param str algorithm: The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
997
|
+
:param str pem: The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.
|
998
|
+
"""
|
999
|
+
pulumi.set(__self__, "algorithm", algorithm)
|
1000
|
+
pulumi.set(__self__, "pem", pem)
|
1001
|
+
|
1002
|
+
@property
|
1003
|
+
@pulumi.getter
|
1004
|
+
def algorithm(self) -> str:
|
1005
|
+
"""
|
1006
|
+
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
1007
|
+
"""
|
1008
|
+
return pulumi.get(self, "algorithm")
|
1009
|
+
|
1010
|
+
@property
|
1011
|
+
@pulumi.getter
|
1012
|
+
def pem(self) -> str:
|
1013
|
+
"""
|
1014
|
+
The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.
|
1015
|
+
"""
|
1016
|
+
return pulumi.get(self, "pem")
|
1017
|
+
|
1018
|
+
|
1019
|
+
@pulumi.output_type
|
1020
|
+
class GetCryptoKeyVersionsPublicKeyResult(dict):
|
1021
|
+
def __init__(__self__, *,
|
1022
|
+
algorithm: str,
|
1023
|
+
pem: str):
|
1024
|
+
"""
|
1025
|
+
:param str algorithm: The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
1026
|
+
:param str pem: The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.
|
1027
|
+
"""
|
1028
|
+
pulumi.set(__self__, "algorithm", algorithm)
|
1029
|
+
pulumi.set(__self__, "pem", pem)
|
1030
|
+
|
1031
|
+
@property
|
1032
|
+
@pulumi.getter
|
1033
|
+
def algorithm(self) -> str:
|
1034
|
+
"""
|
1035
|
+
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
1036
|
+
"""
|
1037
|
+
return pulumi.get(self, "algorithm")
|
1038
|
+
|
1039
|
+
@property
|
1040
|
+
@pulumi.getter
|
1041
|
+
def pem(self) -> str:
|
1042
|
+
"""
|
1043
|
+
The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.
|
1044
|
+
"""
|
1045
|
+
return pulumi.get(self, "pem")
|
1046
|
+
|
1047
|
+
|
1048
|
+
@pulumi.output_type
|
1049
|
+
class GetCryptoKeyVersionsVersionResult(dict):
|
1050
|
+
def __init__(__self__, *,
|
1051
|
+
algorithm: str,
|
1052
|
+
crypto_key: str,
|
1053
|
+
id: str,
|
1054
|
+
name: str,
|
1055
|
+
protection_level: str,
|
1056
|
+
public_keys: Sequence['outputs.GetCryptoKeyVersionsVersionPublicKeyResult'],
|
1057
|
+
state: str,
|
1058
|
+
version: int):
|
1059
|
+
"""
|
1060
|
+
:param str algorithm: The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
1061
|
+
:param str crypto_key: The `id` of the Google Cloud Platform CryptoKey to which the key version belongs. This is also the `id` field of the
|
1062
|
+
`kms.CryptoKey` resource/datasource.
|
1063
|
+
"""
|
1064
|
+
pulumi.set(__self__, "algorithm", algorithm)
|
1065
|
+
pulumi.set(__self__, "crypto_key", crypto_key)
|
1066
|
+
pulumi.set(__self__, "id", id)
|
1067
|
+
pulumi.set(__self__, "name", name)
|
1068
|
+
pulumi.set(__self__, "protection_level", protection_level)
|
1069
|
+
pulumi.set(__self__, "public_keys", public_keys)
|
1070
|
+
pulumi.set(__self__, "state", state)
|
1071
|
+
pulumi.set(__self__, "version", version)
|
1072
|
+
|
1073
|
+
@property
|
1074
|
+
@pulumi.getter
|
1075
|
+
def algorithm(self) -> str:
|
1076
|
+
"""
|
1077
|
+
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
1078
|
+
"""
|
1079
|
+
return pulumi.get(self, "algorithm")
|
1080
|
+
|
1081
|
+
@property
|
1082
|
+
@pulumi.getter(name="cryptoKey")
|
1083
|
+
def crypto_key(self) -> str:
|
1084
|
+
"""
|
1085
|
+
The `id` of the Google Cloud Platform CryptoKey to which the key version belongs. This is also the `id` field of the
|
1086
|
+
`kms.CryptoKey` resource/datasource.
|
1087
|
+
"""
|
1088
|
+
return pulumi.get(self, "crypto_key")
|
1089
|
+
|
1090
|
+
@property
|
1091
|
+
@pulumi.getter
|
1092
|
+
def id(self) -> str:
|
1093
|
+
return pulumi.get(self, "id")
|
1094
|
+
|
1095
|
+
@property
|
1096
|
+
@pulumi.getter
|
1097
|
+
def name(self) -> str:
|
1098
|
+
return pulumi.get(self, "name")
|
1099
|
+
|
1100
|
+
@property
|
1101
|
+
@pulumi.getter(name="protectionLevel")
|
1102
|
+
def protection_level(self) -> str:
|
1103
|
+
return pulumi.get(self, "protection_level")
|
1104
|
+
|
1105
|
+
@property
|
1106
|
+
@pulumi.getter(name="publicKeys")
|
1107
|
+
def public_keys(self) -> Sequence['outputs.GetCryptoKeyVersionsVersionPublicKeyResult']:
|
1108
|
+
return pulumi.get(self, "public_keys")
|
1109
|
+
|
1110
|
+
@property
|
1111
|
+
@pulumi.getter
|
1112
|
+
def state(self) -> str:
|
1113
|
+
return pulumi.get(self, "state")
|
1114
|
+
|
1115
|
+
@property
|
1116
|
+
@pulumi.getter
|
1117
|
+
def version(self) -> int:
|
1118
|
+
return pulumi.get(self, "version")
|
1119
|
+
|
1120
|
+
|
1121
|
+
@pulumi.output_type
|
1122
|
+
class GetCryptoKeyVersionsVersionPublicKeyResult(dict):
|
1123
|
+
def __init__(__self__, *,
|
1124
|
+
algorithm: str,
|
1125
|
+
pem: str):
|
1126
|
+
"""
|
1127
|
+
:param str algorithm: The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
1128
|
+
:param str pem: The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.
|
1129
|
+
"""
|
1130
|
+
pulumi.set(__self__, "algorithm", algorithm)
|
1131
|
+
pulumi.set(__self__, "pem", pem)
|
1132
|
+
|
1133
|
+
@property
|
1134
|
+
@pulumi.getter
|
1135
|
+
def algorithm(self) -> str:
|
1136
|
+
"""
|
1137
|
+
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
1138
|
+
"""
|
1139
|
+
return pulumi.get(self, "algorithm")
|
1140
|
+
|
1141
|
+
@property
|
1142
|
+
@pulumi.getter
|
1143
|
+
def pem(self) -> str:
|
1144
|
+
"""
|
1145
|
+
The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.
|
1146
|
+
"""
|
1147
|
+
return pulumi.get(self, "pem")
|
1148
|
+
|
1149
|
+
|
986
1150
|
@pulumi.output_type
|
987
1151
|
class GetCryptoKeysKeyResult(dict):
|
988
1152
|
def __init__(__self__, *,
|
@@ -850,7 +850,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
850
850
|
"""
|
851
851
|
ActiveDirectory is the public representation of the active directory config.
|
852
852
|
|
853
|
-
To get more information about
|
853
|
+
To get more information about ActiveDirectory, see:
|
854
854
|
|
855
855
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.activeDirectories)
|
856
856
|
* How-to Guides
|
@@ -900,7 +900,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
900
900
|
|
901
901
|
## Import
|
902
902
|
|
903
|
-
|
903
|
+
ActiveDirectory can be imported using any of these accepted formats:
|
904
904
|
|
905
905
|
* `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`
|
906
906
|
|
@@ -908,7 +908,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
908
908
|
|
909
909
|
* `{{location}}/{{name}}`
|
910
910
|
|
911
|
-
When using the `pulumi import` command,
|
911
|
+
When using the `pulumi import` command, ActiveDirectory can be imported using one of the formats above. For example:
|
912
912
|
|
913
913
|
```sh
|
914
914
|
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory default projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}
|
@@ -966,7 +966,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
966
966
|
"""
|
967
967
|
ActiveDirectory is the public representation of the active directory config.
|
968
968
|
|
969
|
-
To get more information about
|
969
|
+
To get more information about ActiveDirectory, see:
|
970
970
|
|
971
971
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.activeDirectories)
|
972
972
|
* How-to Guides
|
@@ -1016,7 +1016,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
1016
1016
|
|
1017
1017
|
## Import
|
1018
1018
|
|
1019
|
-
|
1019
|
+
ActiveDirectory can be imported using any of these accepted formats:
|
1020
1020
|
|
1021
1021
|
* `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`
|
1022
1022
|
|
@@ -1024,7 +1024,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
1024
1024
|
|
1025
1025
|
* `{{location}}/{{name}}`
|
1026
1026
|
|
1027
|
-
When using the `pulumi import` command,
|
1027
|
+
When using the `pulumi import` command, ActiveDirectory can be imported using one of the formats above. For example:
|
1028
1028
|
|
1029
1029
|
```sh
|
1030
1030
|
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory default projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}
|
pulumi_gcp/netapp/backup.py
CHANGED
@@ -468,7 +468,7 @@ class Backup(pulumi.CustomResource):
|
|
468
468
|
from a volume or from an existing volume snapshot. Scheduled backups
|
469
469
|
require a backup policy.
|
470
470
|
|
471
|
-
To get more information about
|
471
|
+
To get more information about Backup, see:
|
472
472
|
|
473
473
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupVaults.backups)
|
474
474
|
* How-to Guides
|
@@ -512,7 +512,7 @@ class Backup(pulumi.CustomResource):
|
|
512
512
|
|
513
513
|
## Import
|
514
514
|
|
515
|
-
|
515
|
+
Backup can be imported using any of these accepted formats:
|
516
516
|
|
517
517
|
* `projects/{{project}}/locations/{{location}}/backupVaults/{{vault_name}}/backups/{{name}}`
|
518
518
|
|
@@ -520,7 +520,7 @@ class Backup(pulumi.CustomResource):
|
|
520
520
|
|
521
521
|
* `{{location}}/{{vault_name}}/{{name}}`
|
522
522
|
|
523
|
-
When using the `pulumi import` command,
|
523
|
+
When using the `pulumi import` command, Backup can be imported using one of the formats above. For example:
|
524
524
|
|
525
525
|
```sh
|
526
526
|
$ pulumi import gcp:netapp/backup:Backup default projects/{{project}}/locations/{{location}}/backupVaults/{{vault_name}}/backups/{{name}}
|
@@ -576,7 +576,7 @@ class Backup(pulumi.CustomResource):
|
|
576
576
|
from a volume or from an existing volume snapshot. Scheduled backups
|
577
577
|
require a backup policy.
|
578
578
|
|
579
|
-
To get more information about
|
579
|
+
To get more information about Backup, see:
|
580
580
|
|
581
581
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupVaults.backups)
|
582
582
|
* How-to Guides
|
@@ -620,7 +620,7 @@ class Backup(pulumi.CustomResource):
|
|
620
620
|
|
621
621
|
## Import
|
622
622
|
|
623
|
-
|
623
|
+
Backup can be imported using any of these accepted formats:
|
624
624
|
|
625
625
|
* `projects/{{project}}/locations/{{location}}/backupVaults/{{vault_name}}/backups/{{name}}`
|
626
626
|
|
@@ -628,7 +628,7 @@ class Backup(pulumi.CustomResource):
|
|
628
628
|
|
629
629
|
* `{{location}}/{{vault_name}}/{{name}}`
|
630
630
|
|
631
|
-
When using the `pulumi import` command,
|
631
|
+
When using the `pulumi import` command, Backup can be imported using one of the formats above. For example:
|
632
632
|
|
633
633
|
```sh
|
634
634
|
$ pulumi import gcp:netapp/backup:Backup default projects/{{project}}/locations/{{location}}/backupVaults/{{vault_name}}/backups/{{name}}
|
@@ -450,7 +450,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
450
450
|
Backup policies allow you to attach a backup schedule to a volume.
|
451
451
|
The policy defines how many backups to retain at daily, weekly, or monthly intervals.
|
452
452
|
|
453
|
-
To get more information about
|
453
|
+
To get more information about BackupPolicy, see:
|
454
454
|
|
455
455
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupPolicies)
|
456
456
|
* How-to Guides
|
@@ -479,7 +479,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
479
479
|
|
480
480
|
## Import
|
481
481
|
|
482
|
-
|
482
|
+
BackupPolicy can be imported using any of these accepted formats:
|
483
483
|
|
484
484
|
* `projects/{{project}}/locations/{{location}}/backupPolicies/{{name}}`
|
485
485
|
|
@@ -487,7 +487,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
487
487
|
|
488
488
|
* `{{location}}/{{name}}`
|
489
489
|
|
490
|
-
When using the `pulumi import` command,
|
490
|
+
When using the `pulumi import` command, BackupPolicy can be imported using one of the formats above. For example:
|
491
491
|
|
492
492
|
```sh
|
493
493
|
$ pulumi import gcp:netapp/backupPolicy:BackupPolicy default projects/{{project}}/locations/{{location}}/backupPolicies/{{name}}
|
@@ -532,7 +532,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
532
532
|
Backup policies allow you to attach a backup schedule to a volume.
|
533
533
|
The policy defines how many backups to retain at daily, weekly, or monthly intervals.
|
534
534
|
|
535
|
-
To get more information about
|
535
|
+
To get more information about BackupPolicy, see:
|
536
536
|
|
537
537
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupPolicies)
|
538
538
|
* How-to Guides
|
@@ -561,7 +561,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
561
561
|
|
562
562
|
## Import
|
563
563
|
|
564
|
-
|
564
|
+
BackupPolicy can be imported using any of these accepted formats:
|
565
565
|
|
566
566
|
* `projects/{{project}}/locations/{{location}}/backupPolicies/{{name}}`
|
567
567
|
|
@@ -569,7 +569,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
569
569
|
|
570
570
|
* `{{location}}/{{name}}`
|
571
571
|
|
572
|
-
When using the `pulumi import` command,
|
572
|
+
When using the `pulumi import` command, BackupPolicy can be imported using one of the formats above. For example:
|
573
573
|
|
574
574
|
```sh
|
575
575
|
$ pulumi import gcp:netapp/backupPolicy:BackupPolicy default projects/{{project}}/locations/{{location}}/backupPolicies/{{name}}
|
@@ -300,7 +300,7 @@ class BackupVault(pulumi.CustomResource):
|
|
300
300
|
A backup vault is the location where backups are stored. You can only create one backup vault per region.
|
301
301
|
A vault can hold multiple backups for multiple volumes in that region.
|
302
302
|
|
303
|
-
To get more information about
|
303
|
+
To get more information about BackupVault, see:
|
304
304
|
|
305
305
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupVaults)
|
306
306
|
* How-to Guides
|
@@ -325,7 +325,7 @@ class BackupVault(pulumi.CustomResource):
|
|
325
325
|
|
326
326
|
## Import
|
327
327
|
|
328
|
-
|
328
|
+
BackupVault can be imported using any of these accepted formats:
|
329
329
|
|
330
330
|
* `projects/{{project}}/locations/{{location}}/backupVaults/{{name}}`
|
331
331
|
|
@@ -333,7 +333,7 @@ class BackupVault(pulumi.CustomResource):
|
|
333
333
|
|
334
334
|
* `{{location}}/{{name}}`
|
335
335
|
|
336
|
-
When using the `pulumi import` command,
|
336
|
+
When using the `pulumi import` command, BackupVault can be imported using one of the formats above. For example:
|
337
337
|
|
338
338
|
```sh
|
339
339
|
$ pulumi import gcp:netapp/backupVault:BackupVault default projects/{{project}}/locations/{{location}}/backupVaults/{{name}}
|
@@ -372,7 +372,7 @@ class BackupVault(pulumi.CustomResource):
|
|
372
372
|
A backup vault is the location where backups are stored. You can only create one backup vault per region.
|
373
373
|
A vault can hold multiple backups for multiple volumes in that region.
|
374
374
|
|
375
|
-
To get more information about
|
375
|
+
To get more information about BackupVault, see:
|
376
376
|
|
377
377
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupVaults)
|
378
378
|
* How-to Guides
|
@@ -397,7 +397,7 @@ class BackupVault(pulumi.CustomResource):
|
|
397
397
|
|
398
398
|
## Import
|
399
399
|
|
400
|
-
|
400
|
+
BackupVault can be imported using any of these accepted formats:
|
401
401
|
|
402
402
|
* `projects/{{project}}/locations/{{location}}/backupVaults/{{name}}`
|
403
403
|
|
@@ -405,7 +405,7 @@ class BackupVault(pulumi.CustomResource):
|
|
405
405
|
|
406
406
|
* `{{location}}/{{name}}`
|
407
407
|
|
408
|
-
When using the `pulumi import` command,
|
408
|
+
When using the `pulumi import` command, BackupVault can be imported using one of the formats above. For example:
|
409
409
|
|
410
410
|
```sh
|
411
411
|
$ pulumi import gcp:netapp/backupVault:BackupVault default projects/{{project}}/locations/{{location}}/backupVaults/{{name}}
|
@@ -645,7 +645,7 @@ class StoragePool(pulumi.CustomResource):
|
|
645
645
|
|
646
646
|
## Import
|
647
647
|
|
648
|
-
|
648
|
+
StoragePool can be imported using any of these accepted formats:
|
649
649
|
|
650
650
|
* `projects/{{project}}/locations/{{location}}/storagePools/{{name}}`
|
651
651
|
|
@@ -653,7 +653,7 @@ class StoragePool(pulumi.CustomResource):
|
|
653
653
|
|
654
654
|
* `{{location}}/{{name}}`
|
655
655
|
|
656
|
-
When using the `pulumi import` command,
|
656
|
+
When using the `pulumi import` command, StoragePool can be imported using one of the formats above. For example:
|
657
657
|
|
658
658
|
```sh
|
659
659
|
$ pulumi import gcp:netapp/storagePool:StoragePool default projects/{{project}}/locations/{{location}}/storagePools/{{name}}
|
@@ -747,7 +747,7 @@ class StoragePool(pulumi.CustomResource):
|
|
747
747
|
|
748
748
|
## Import
|
749
749
|
|
750
|
-
|
750
|
+
StoragePool can be imported using any of these accepted formats:
|
751
751
|
|
752
752
|
* `projects/{{project}}/locations/{{location}}/storagePools/{{name}}`
|
753
753
|
|
@@ -755,7 +755,7 @@ class StoragePool(pulumi.CustomResource):
|
|
755
755
|
|
756
756
|
* `{{location}}/{{name}}`
|
757
757
|
|
758
|
-
When using the `pulumi import` command,
|
758
|
+
When using the `pulumi import` command, StoragePool can be imported using one of the formats above. For example:
|
759
759
|
|
760
760
|
```sh
|
761
761
|
$ pulumi import gcp:netapp/storagePool:StoragePool default projects/{{project}}/locations/{{location}}/storagePools/{{name}}
|
pulumi_gcp/netapp/volume.py
CHANGED
@@ -54,6 +54,7 @@ class VolumeArgs:
|
|
54
54
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the volume should be deleted forcefully.
|
55
55
|
Volumes may have nested snapshot resources. Deleting such a volume will fail.
|
56
56
|
Setting this parameter to FORCE will delete volumes including nested snapshots.
|
57
|
+
Possible values: DEFAULT, FORCE.
|
57
58
|
:param pulumi.Input[str] description: An optional description of this resource.
|
58
59
|
:param pulumi.Input['VolumeExportPolicyArgs'] export_policy: Export policy of the volume for NFSV3 and/or NFSV4.1 access.
|
59
60
|
Structure is documented below.
|
@@ -200,6 +201,7 @@ class VolumeArgs:
|
|
200
201
|
Policy to determine if the volume should be deleted forcefully.
|
201
202
|
Volumes may have nested snapshot resources. Deleting such a volume will fail.
|
202
203
|
Setting this parameter to FORCE will delete volumes including nested snapshots.
|
204
|
+
Possible values: DEFAULT, FORCE.
|
203
205
|
"""
|
204
206
|
return pulumi.get(self, "deletion_policy")
|
205
207
|
|
@@ -429,6 +431,7 @@ class _VolumeState:
|
|
429
431
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the volume should be deleted forcefully.
|
430
432
|
Volumes may have nested snapshot resources. Deleting such a volume will fail.
|
431
433
|
Setting this parameter to FORCE will delete volumes including nested snapshots.
|
434
|
+
Possible values: DEFAULT, FORCE.
|
432
435
|
:param pulumi.Input[str] description: An optional description of this resource.
|
433
436
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
434
437
|
:param pulumi.Input[str] encryption_type: Reports the data-at-rest encryption type of the volume. Inherited from storage pool.
|
@@ -611,6 +614,7 @@ class _VolumeState:
|
|
611
614
|
Policy to determine if the volume should be deleted forcefully.
|
612
615
|
Volumes may have nested snapshot resources. Deleting such a volume will fail.
|
613
616
|
Setting this parameter to FORCE will delete volumes including nested snapshots.
|
617
|
+
Possible values: DEFAULT, FORCE.
|
614
618
|
"""
|
615
619
|
return pulumi.get(self, "deletion_policy")
|
616
620
|
|
@@ -1118,6 +1122,7 @@ class Volume(pulumi.CustomResource):
|
|
1118
1122
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the volume should be deleted forcefully.
|
1119
1123
|
Volumes may have nested snapshot resources. Deleting such a volume will fail.
|
1120
1124
|
Setting this parameter to FORCE will delete volumes including nested snapshots.
|
1125
|
+
Possible values: DEFAULT, FORCE.
|
1121
1126
|
:param pulumi.Input[str] description: An optional description of this resource.
|
1122
1127
|
:param pulumi.Input[Union['VolumeExportPolicyArgs', 'VolumeExportPolicyArgsDict']] export_policy: Export policy of the volume for NFSV3 and/or NFSV4.1 access.
|
1123
1128
|
Structure is documented below.
|
@@ -1376,6 +1381,7 @@ class Volume(pulumi.CustomResource):
|
|
1376
1381
|
:param pulumi.Input[str] deletion_policy: Policy to determine if the volume should be deleted forcefully.
|
1377
1382
|
Volumes may have nested snapshot resources. Deleting such a volume will fail.
|
1378
1383
|
Setting this parameter to FORCE will delete volumes including nested snapshots.
|
1384
|
+
Possible values: DEFAULT, FORCE.
|
1379
1385
|
:param pulumi.Input[str] description: An optional description of this resource.
|
1380
1386
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
1381
1387
|
:param pulumi.Input[str] encryption_type: Reports the data-at-rest encryption type of the volume. Inherited from storage pool.
|
@@ -1510,6 +1516,7 @@ class Volume(pulumi.CustomResource):
|
|
1510
1516
|
Policy to determine if the volume should be deleted forcefully.
|
1511
1517
|
Volumes may have nested snapshot resources. Deleting such a volume will fail.
|
1512
1518
|
Setting this parameter to FORCE will delete volumes including nested snapshots.
|
1519
|
+
Possible values: DEFAULT, FORCE.
|
1513
1520
|
"""
|
1514
1521
|
return pulumi.get(self, "deletion_policy")
|
1515
1522
|
|