pulumi-gcp 7.20.0a1713984378__py3-none-any.whl → 7.20.0a1713986537__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +8 -0
- pulumi_gcp/apigee/organization.py +162 -0
- pulumi_gcp/artifactregistry/_inputs.py +186 -0
- pulumi_gcp/artifactregistry/outputs.py +297 -4
- pulumi_gcp/artifactregistry/repository.py +346 -16
- pulumi_gcp/bigquery/table.py +61 -0
- pulumi_gcp/billing/budget.py +54 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +16 -0
- pulumi_gcp/cloudfunctionsv2/function.py +110 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
- pulumi_gcp/compute/_inputs.py +48 -0
- pulumi_gcp/compute/get_instance_group_manager.py +11 -1
- pulumi_gcp/compute/instance_group_manager.py +68 -21
- pulumi_gcp/compute/outputs.py +93 -0
- pulumi_gcp/compute/region_instance_group_manager.py +61 -14
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dns/_inputs.py +0 -128
- pulumi_gcp/dns/get_keys.py +1 -1
- pulumi_gcp/dns/get_managed_zones.py +3 -9
- pulumi_gcp/dns/get_record_set.py +3 -0
- pulumi_gcp/dns/outputs.py +34 -56
- pulumi_gcp/firestore/document.py +4 -4
- pulumi_gcp/organizations/get_active_folder.py +18 -3
- pulumi_gcp/projects/__init__.py +1 -0
- pulumi_gcp/projects/iam_member_remove.py +313 -0
- pulumi_gcp/vmwareengine/_inputs.py +63 -5
- pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
- pulumi_gcp/vmwareengine/outputs.py +113 -5
- pulumi_gcp/vmwareengine/private_cloud.py +0 -94
- pulumi_gcp/workbench/instance.py +4 -4
- pulumi_gcp/workstations/workstation_cluster.py +32 -0
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/RECORD +35 -34
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.20.0a1713986537.dist-info}/top_level.txt +0 -0
pulumi_gcp/container/outputs.py
CHANGED
@@ -15043,7 +15043,7 @@ class GetClusterMasterAuthorizedNetworksConfigResult(dict):
|
|
15043
15043
|
gcp_public_cidrs_access_enabled: bool):
|
15044
15044
|
"""
|
15045
15045
|
:param Sequence['GetClusterMasterAuthorizedNetworksConfigCidrBlockArgs'] cidr_blocks: External networks that can access the Kubernetes cluster master through HTTPS.
|
15046
|
-
:param bool gcp_public_cidrs_access_enabled: Whether master is
|
15046
|
+
:param bool gcp_public_cidrs_access_enabled: Whether Kubernetes master is accessible via Google Compute Engine Public IPs.
|
15047
15047
|
"""
|
15048
15048
|
pulumi.set(__self__, "cidr_blocks", cidr_blocks)
|
15049
15049
|
pulumi.set(__self__, "gcp_public_cidrs_access_enabled", gcp_public_cidrs_access_enabled)
|
@@ -15060,7 +15060,7 @@ class GetClusterMasterAuthorizedNetworksConfigResult(dict):
|
|
15060
15060
|
@pulumi.getter(name="gcpPublicCidrsAccessEnabled")
|
15061
15061
|
def gcp_public_cidrs_access_enabled(self) -> bool:
|
15062
15062
|
"""
|
15063
|
-
Whether master is
|
15063
|
+
Whether Kubernetes master is accessible via Google Compute Engine Public IPs.
|
15064
15064
|
"""
|
15065
15065
|
return pulumi.get(self, "gcp_public_cidrs_access_enabled")
|
15066
15066
|
|
@@ -18403,7 +18403,7 @@ class GetClusterServiceExternalIpsConfigResult(dict):
|
|
18403
18403
|
def __init__(__self__, *,
|
18404
18404
|
enabled: bool):
|
18405
18405
|
"""
|
18406
|
-
:param bool enabled: When enabled, services with
|
18406
|
+
:param bool enabled: When enabled, services with external ips specified will be allowed.
|
18407
18407
|
"""
|
18408
18408
|
pulumi.set(__self__, "enabled", enabled)
|
18409
18409
|
|
@@ -18411,7 +18411,7 @@ class GetClusterServiceExternalIpsConfigResult(dict):
|
|
18411
18411
|
@pulumi.getter
|
18412
18412
|
def enabled(self) -> bool:
|
18413
18413
|
"""
|
18414
|
-
When enabled, services with
|
18414
|
+
When enabled, services with external ips specified will be allowed.
|
18415
18415
|
"""
|
18416
18416
|
return pulumi.get(self, "enabled")
|
18417
18417
|
|
pulumi_gcp/dns/_inputs.py
CHANGED
@@ -44,7 +44,6 @@ __all__ = [
|
|
44
44
|
'ResponsePolicyNetworkArgs',
|
45
45
|
'ResponsePolicyRuleLocalDataArgs',
|
46
46
|
'ResponsePolicyRuleLocalDataLocalDataArgs',
|
47
|
-
'GetManagedZonesManagedZoneArgs',
|
48
47
|
]
|
49
48
|
|
50
49
|
@pulumi.input_type
|
@@ -1687,130 +1686,3 @@ class ResponsePolicyRuleLocalDataLocalDataArgs:
|
|
1687
1686
|
pulumi.set(self, "ttl", value)
|
1688
1687
|
|
1689
1688
|
|
1690
|
-
@pulumi.input_type
|
1691
|
-
class GetManagedZonesManagedZoneArgs:
|
1692
|
-
def __init__(__self__, *,
|
1693
|
-
description: str,
|
1694
|
-
dns_name: str,
|
1695
|
-
id: str,
|
1696
|
-
managed_zone_id: int,
|
1697
|
-
name: str,
|
1698
|
-
name_servers: Sequence[str],
|
1699
|
-
project: str,
|
1700
|
-
visibility: str):
|
1701
|
-
"""
|
1702
|
-
:param str description: A textual description field.
|
1703
|
-
:param str dns_name: The fully qualified DNS name of this zone.
|
1704
|
-
:param str id: DNS managed zone identifier
|
1705
|
-
:param int managed_zone_id: Unique identifier for the resource; defined by the server.
|
1706
|
-
:param str name: A unique name for the resource.
|
1707
|
-
:param Sequence[str] name_servers: The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
|
1708
|
-
:param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
|
1709
|
-
:param str visibility: The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
|
1710
|
-
"""
|
1711
|
-
pulumi.set(__self__, "description", description)
|
1712
|
-
pulumi.set(__self__, "dns_name", dns_name)
|
1713
|
-
pulumi.set(__self__, "id", id)
|
1714
|
-
pulumi.set(__self__, "managed_zone_id", managed_zone_id)
|
1715
|
-
pulumi.set(__self__, "name", name)
|
1716
|
-
pulumi.set(__self__, "name_servers", name_servers)
|
1717
|
-
pulumi.set(__self__, "project", project)
|
1718
|
-
pulumi.set(__self__, "visibility", visibility)
|
1719
|
-
|
1720
|
-
@property
|
1721
|
-
@pulumi.getter
|
1722
|
-
def description(self) -> str:
|
1723
|
-
"""
|
1724
|
-
A textual description field.
|
1725
|
-
"""
|
1726
|
-
return pulumi.get(self, "description")
|
1727
|
-
|
1728
|
-
@description.setter
|
1729
|
-
def description(self, value: str):
|
1730
|
-
pulumi.set(self, "description", value)
|
1731
|
-
|
1732
|
-
@property
|
1733
|
-
@pulumi.getter(name="dnsName")
|
1734
|
-
def dns_name(self) -> str:
|
1735
|
-
"""
|
1736
|
-
The fully qualified DNS name of this zone.
|
1737
|
-
"""
|
1738
|
-
return pulumi.get(self, "dns_name")
|
1739
|
-
|
1740
|
-
@dns_name.setter
|
1741
|
-
def dns_name(self, value: str):
|
1742
|
-
pulumi.set(self, "dns_name", value)
|
1743
|
-
|
1744
|
-
@property
|
1745
|
-
@pulumi.getter
|
1746
|
-
def id(self) -> str:
|
1747
|
-
"""
|
1748
|
-
DNS managed zone identifier
|
1749
|
-
"""
|
1750
|
-
return pulumi.get(self, "id")
|
1751
|
-
|
1752
|
-
@id.setter
|
1753
|
-
def id(self, value: str):
|
1754
|
-
pulumi.set(self, "id", value)
|
1755
|
-
|
1756
|
-
@property
|
1757
|
-
@pulumi.getter(name="managedZoneId")
|
1758
|
-
def managed_zone_id(self) -> int:
|
1759
|
-
"""
|
1760
|
-
Unique identifier for the resource; defined by the server.
|
1761
|
-
"""
|
1762
|
-
return pulumi.get(self, "managed_zone_id")
|
1763
|
-
|
1764
|
-
@managed_zone_id.setter
|
1765
|
-
def managed_zone_id(self, value: int):
|
1766
|
-
pulumi.set(self, "managed_zone_id", value)
|
1767
|
-
|
1768
|
-
@property
|
1769
|
-
@pulumi.getter
|
1770
|
-
def name(self) -> str:
|
1771
|
-
"""
|
1772
|
-
A unique name for the resource.
|
1773
|
-
"""
|
1774
|
-
return pulumi.get(self, "name")
|
1775
|
-
|
1776
|
-
@name.setter
|
1777
|
-
def name(self, value: str):
|
1778
|
-
pulumi.set(self, "name", value)
|
1779
|
-
|
1780
|
-
@property
|
1781
|
-
@pulumi.getter(name="nameServers")
|
1782
|
-
def name_servers(self) -> Sequence[str]:
|
1783
|
-
"""
|
1784
|
-
The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
|
1785
|
-
"""
|
1786
|
-
return pulumi.get(self, "name_servers")
|
1787
|
-
|
1788
|
-
@name_servers.setter
|
1789
|
-
def name_servers(self, value: Sequence[str]):
|
1790
|
-
pulumi.set(self, "name_servers", value)
|
1791
|
-
|
1792
|
-
@property
|
1793
|
-
@pulumi.getter
|
1794
|
-
def project(self) -> str:
|
1795
|
-
"""
|
1796
|
-
The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
|
1797
|
-
"""
|
1798
|
-
return pulumi.get(self, "project")
|
1799
|
-
|
1800
|
-
@project.setter
|
1801
|
-
def project(self, value: str):
|
1802
|
-
pulumi.set(self, "project", value)
|
1803
|
-
|
1804
|
-
@property
|
1805
|
-
@pulumi.getter
|
1806
|
-
def visibility(self) -> str:
|
1807
|
-
"""
|
1808
|
-
The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
|
1809
|
-
"""
|
1810
|
-
return pulumi.get(self, "visibility")
|
1811
|
-
|
1812
|
-
@visibility.setter
|
1813
|
-
def visibility(self, value: str):
|
1814
|
-
pulumi.set(self, "visibility", value)
|
1815
|
-
|
1816
|
-
|
pulumi_gcp/dns/get_keys.py
CHANGED
@@ -9,7 +9,6 @@ import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
11
|
from . import outputs
|
12
|
-
from ._inputs import *
|
13
12
|
|
14
13
|
__all__ = [
|
15
14
|
'GetManagedZonesResult',
|
@@ -41,7 +40,7 @@ class GetManagedZonesResult:
|
|
41
40
|
|
42
41
|
@property
|
43
42
|
@pulumi.getter(name="managedZones")
|
44
|
-
def managed_zones(self) ->
|
43
|
+
def managed_zones(self) -> Sequence['outputs.GetManagedZonesManagedZoneResult']:
|
45
44
|
"""
|
46
45
|
A list of managed zones.
|
47
46
|
"""
|
@@ -64,8 +63,7 @@ class AwaitableGetManagedZonesResult(GetManagedZonesResult):
|
|
64
63
|
project=self.project)
|
65
64
|
|
66
65
|
|
67
|
-
def get_managed_zones(
|
68
|
-
project: Optional[str] = None,
|
66
|
+
def get_managed_zones(project: Optional[str] = None,
|
69
67
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedZonesResult:
|
70
68
|
"""
|
71
69
|
Provides access to a list of zones within Google Cloud DNS.
|
@@ -82,11 +80,9 @@ def get_managed_zones(managed_zones: Optional[Sequence[pulumi.InputType['GetMana
|
|
82
80
|
```
|
83
81
|
|
84
82
|
|
85
|
-
:param Sequence[pulumi.InputType['GetManagedZonesManagedZoneArgs']] managed_zones: A list of managed zones.
|
86
83
|
:param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
|
87
84
|
"""
|
88
85
|
__args__ = dict()
|
89
|
-
__args__['managedZones'] = managed_zones
|
90
86
|
__args__['project'] = project
|
91
87
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
92
88
|
__ret__ = pulumi.runtime.invoke('gcp:dns/getManagedZones:getManagedZones', __args__, opts=opts, typ=GetManagedZonesResult).value
|
@@ -98,8 +94,7 @@ def get_managed_zones(managed_zones: Optional[Sequence[pulumi.InputType['GetMana
|
|
98
94
|
|
99
95
|
|
100
96
|
@_utilities.lift_output_func(get_managed_zones)
|
101
|
-
def get_managed_zones_output(
|
102
|
-
project: Optional[pulumi.Input[Optional[str]]] = None,
|
97
|
+
def get_managed_zones_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
103
98
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedZonesResult]:
|
104
99
|
"""
|
105
100
|
Provides access to a list of zones within Google Cloud DNS.
|
@@ -116,7 +111,6 @@ def get_managed_zones_output(managed_zones: Optional[pulumi.Input[Optional[Seque
|
|
116
111
|
```
|
117
112
|
|
118
113
|
|
119
|
-
:param Sequence[pulumi.InputType['GetManagedZonesManagedZoneArgs']] managed_zones: A list of managed zones.
|
120
114
|
:param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
|
121
115
|
"""
|
122
116
|
...
|
pulumi_gcp/dns/get_record_set.py
CHANGED
pulumi_gcp/dns/outputs.py
CHANGED
@@ -2016,18 +2016,20 @@ class GetKeysKeySigningKeyResult(dict):
|
|
2016
2016
|
@pulumi.output_type
|
2017
2017
|
class GetKeysKeySigningKeyDigestResult(dict):
|
2018
2018
|
def __init__(__self__, *,
|
2019
|
-
digest: str,
|
2020
|
-
type: str):
|
2019
|
+
digest: Optional[str] = None,
|
2020
|
+
type: Optional[str] = None):
|
2021
2021
|
"""
|
2022
2022
|
:param str digest: The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
|
2023
2023
|
:param str type: Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
|
2024
2024
|
"""
|
2025
|
-
|
2026
|
-
|
2025
|
+
if digest is not None:
|
2026
|
+
pulumi.set(__self__, "digest", digest)
|
2027
|
+
if type is not None:
|
2028
|
+
pulumi.set(__self__, "type", type)
|
2027
2029
|
|
2028
2030
|
@property
|
2029
2031
|
@pulumi.getter
|
2030
|
-
def digest(self) -> str:
|
2032
|
+
def digest(self) -> Optional[str]:
|
2031
2033
|
"""
|
2032
2034
|
The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
|
2033
2035
|
"""
|
@@ -2035,7 +2037,7 @@ class GetKeysKeySigningKeyDigestResult(dict):
|
|
2035
2037
|
|
2036
2038
|
@property
|
2037
2039
|
@pulumi.getter
|
2038
|
-
def type(self) -> str:
|
2040
|
+
def type(self) -> Optional[str]:
|
2039
2041
|
"""
|
2040
2042
|
Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
|
2041
2043
|
"""
|
@@ -2151,18 +2153,20 @@ class GetKeysZoneSigningKeyResult(dict):
|
|
2151
2153
|
@pulumi.output_type
|
2152
2154
|
class GetKeysZoneSigningKeyDigestResult(dict):
|
2153
2155
|
def __init__(__self__, *,
|
2154
|
-
digest: str,
|
2155
|
-
type: str):
|
2156
|
+
digest: Optional[str] = None,
|
2157
|
+
type: Optional[str] = None):
|
2156
2158
|
"""
|
2157
2159
|
:param str digest: The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
|
2158
2160
|
:param str type: Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
|
2159
2161
|
"""
|
2160
|
-
|
2161
|
-
|
2162
|
+
if digest is not None:
|
2163
|
+
pulumi.set(__self__, "digest", digest)
|
2164
|
+
if type is not None:
|
2165
|
+
pulumi.set(__self__, "type", type)
|
2162
2166
|
|
2163
2167
|
@property
|
2164
2168
|
@pulumi.getter
|
2165
|
-
def digest(self) -> str:
|
2169
|
+
def digest(self) -> Optional[str]:
|
2166
2170
|
"""
|
2167
2171
|
The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
|
2168
2172
|
"""
|
@@ -2170,7 +2174,7 @@ class GetKeysZoneSigningKeyDigestResult(dict):
|
|
2170
2174
|
|
2171
2175
|
@property
|
2172
2176
|
@pulumi.getter
|
2173
|
-
def type(self) -> str:
|
2177
|
+
def type(self) -> Optional[str]:
|
2174
2178
|
"""
|
2175
2179
|
Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
|
2176
2180
|
"""
|
@@ -2184,91 +2188,65 @@ class GetManagedZonesManagedZoneResult(dict):
|
|
2184
2188
|
dns_name: str,
|
2185
2189
|
id: str,
|
2186
2190
|
managed_zone_id: int,
|
2187
|
-
name: str,
|
2188
2191
|
name_servers: Sequence[str],
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2192
|
-
|
2193
|
-
:param str dns_name: The fully qualified DNS name of this zone.
|
2194
|
-
:param str id: DNS managed zone identifier
|
2195
|
-
:param int managed_zone_id: Unique identifier for the resource; defined by the server.
|
2196
|
-
:param str name: A unique name for the resource.
|
2197
|
-
:param Sequence[str] name_servers: The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
|
2192
|
+
visibility: str,
|
2193
|
+
name: Optional[str] = None,
|
2194
|
+
project: Optional[str] = None):
|
2195
|
+
"""
|
2198
2196
|
:param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
|
2199
|
-
:param str visibility: The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
|
2200
2197
|
"""
|
2201
2198
|
pulumi.set(__self__, "description", description)
|
2202
2199
|
pulumi.set(__self__, "dns_name", dns_name)
|
2203
2200
|
pulumi.set(__self__, "id", id)
|
2204
2201
|
pulumi.set(__self__, "managed_zone_id", managed_zone_id)
|
2205
|
-
pulumi.set(__self__, "name", name)
|
2206
2202
|
pulumi.set(__self__, "name_servers", name_servers)
|
2207
|
-
pulumi.set(__self__, "project", project)
|
2208
2203
|
pulumi.set(__self__, "visibility", visibility)
|
2204
|
+
if name is not None:
|
2205
|
+
pulumi.set(__self__, "name", name)
|
2206
|
+
if project is not None:
|
2207
|
+
pulumi.set(__self__, "project", project)
|
2209
2208
|
|
2210
2209
|
@property
|
2211
2210
|
@pulumi.getter
|
2212
2211
|
def description(self) -> str:
|
2213
|
-
"""
|
2214
|
-
A textual description field.
|
2215
|
-
"""
|
2216
2212
|
return pulumi.get(self, "description")
|
2217
2213
|
|
2218
2214
|
@property
|
2219
2215
|
@pulumi.getter(name="dnsName")
|
2220
2216
|
def dns_name(self) -> str:
|
2221
|
-
"""
|
2222
|
-
The fully qualified DNS name of this zone.
|
2223
|
-
"""
|
2224
2217
|
return pulumi.get(self, "dns_name")
|
2225
2218
|
|
2226
2219
|
@property
|
2227
2220
|
@pulumi.getter
|
2228
2221
|
def id(self) -> str:
|
2229
|
-
"""
|
2230
|
-
DNS managed zone identifier
|
2231
|
-
"""
|
2232
2222
|
return pulumi.get(self, "id")
|
2233
2223
|
|
2234
2224
|
@property
|
2235
2225
|
@pulumi.getter(name="managedZoneId")
|
2236
2226
|
def managed_zone_id(self) -> int:
|
2237
|
-
"""
|
2238
|
-
Unique identifier for the resource; defined by the server.
|
2239
|
-
"""
|
2240
2227
|
return pulumi.get(self, "managed_zone_id")
|
2241
2228
|
|
2242
|
-
@property
|
2243
|
-
@pulumi.getter
|
2244
|
-
def name(self) -> str:
|
2245
|
-
"""
|
2246
|
-
A unique name for the resource.
|
2247
|
-
"""
|
2248
|
-
return pulumi.get(self, "name")
|
2249
|
-
|
2250
2229
|
@property
|
2251
2230
|
@pulumi.getter(name="nameServers")
|
2252
2231
|
def name_servers(self) -> Sequence[str]:
|
2253
|
-
"""
|
2254
|
-
The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
|
2255
|
-
"""
|
2256
2232
|
return pulumi.get(self, "name_servers")
|
2257
2233
|
|
2258
2234
|
@property
|
2259
2235
|
@pulumi.getter
|
2260
|
-
def
|
2261
|
-
""
|
2262
|
-
The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
|
2263
|
-
"""
|
2264
|
-
return pulumi.get(self, "project")
|
2236
|
+
def visibility(self) -> str:
|
2237
|
+
return pulumi.get(self, "visibility")
|
2265
2238
|
|
2266
2239
|
@property
|
2267
2240
|
@pulumi.getter
|
2268
|
-
def
|
2241
|
+
def name(self) -> Optional[str]:
|
2242
|
+
return pulumi.get(self, "name")
|
2243
|
+
|
2244
|
+
@property
|
2245
|
+
@pulumi.getter
|
2246
|
+
def project(self) -> Optional[str]:
|
2269
2247
|
"""
|
2270
|
-
The
|
2248
|
+
The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
|
2271
2249
|
"""
|
2272
|
-
return pulumi.get(self, "
|
2250
|
+
return pulumi.get(self, "project")
|
2273
2251
|
|
2274
2252
|
|
pulumi_gcp/firestore/document.py
CHANGED
@@ -126,7 +126,7 @@ class _DocumentState:
|
|
126
126
|
|
127
127
|
- - -
|
128
128
|
:param pulumi.Input[str] fields: The document's [fields](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents) formated as a json string.
|
129
|
-
:param pulumi.Input[str] name: A server defined name for this
|
129
|
+
:param pulumi.Input[str] name: A server defined name for this document. Format:
|
130
130
|
`projects/{{project_id}}/databases/{{database_id}}/documents/{{path}}/{{document_id}}`
|
131
131
|
:param pulumi.Input[str] path: A relative path to the collection this document exists within
|
132
132
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -219,7 +219,7 @@ class _DocumentState:
|
|
219
219
|
@pulumi.getter
|
220
220
|
def name(self) -> Optional[pulumi.Input[str]]:
|
221
221
|
"""
|
222
|
-
A server defined name for this
|
222
|
+
A server defined name for this document. Format:
|
223
223
|
`projects/{{project_id}}/databases/{{database_id}}/documents/{{path}}/{{document_id}}`
|
224
224
|
"""
|
225
225
|
return pulumi.get(self, "name")
|
@@ -573,7 +573,7 @@ class Document(pulumi.CustomResource):
|
|
573
573
|
|
574
574
|
- - -
|
575
575
|
:param pulumi.Input[str] fields: The document's [fields](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents) formated as a json string.
|
576
|
-
:param pulumi.Input[str] name: A server defined name for this
|
576
|
+
:param pulumi.Input[str] name: A server defined name for this document. Format:
|
577
577
|
`projects/{{project_id}}/databases/{{database_id}}/documents/{{path}}/{{document_id}}`
|
578
578
|
:param pulumi.Input[str] path: A relative path to the collection this document exists within
|
579
579
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -642,7 +642,7 @@ class Document(pulumi.CustomResource):
|
|
642
642
|
@pulumi.getter
|
643
643
|
def name(self) -> pulumi.Output[str]:
|
644
644
|
"""
|
645
|
-
A server defined name for this
|
645
|
+
A server defined name for this document. Format:
|
646
646
|
`projects/{{project_id}}/databases/{{database_id}}/documents/{{path}}/{{document_id}}`
|
647
647
|
"""
|
648
648
|
return pulumi.get(self, "name")
|
@@ -21,7 +21,10 @@ class GetActiveFolderResult:
|
|
21
21
|
"""
|
22
22
|
A collection of values returned by getActiveFolder.
|
23
23
|
"""
|
24
|
-
def __init__(__self__, display_name=None, id=None, name=None, parent=None):
|
24
|
+
def __init__(__self__, api_method=None, display_name=None, id=None, name=None, parent=None):
|
25
|
+
if api_method and not isinstance(api_method, str):
|
26
|
+
raise TypeError("Expected argument 'api_method' to be a str")
|
27
|
+
pulumi.set(__self__, "api_method", api_method)
|
25
28
|
if display_name and not isinstance(display_name, str):
|
26
29
|
raise TypeError("Expected argument 'display_name' to be a str")
|
27
30
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -35,6 +38,11 @@ class GetActiveFolderResult:
|
|
35
38
|
raise TypeError("Expected argument 'parent' to be a str")
|
36
39
|
pulumi.set(__self__, "parent", parent)
|
37
40
|
|
41
|
+
@property
|
42
|
+
@pulumi.getter(name="apiMethod")
|
43
|
+
def api_method(self) -> Optional[str]:
|
44
|
+
return pulumi.get(self, "api_method")
|
45
|
+
|
38
46
|
@property
|
39
47
|
@pulumi.getter(name="displayName")
|
40
48
|
def display_name(self) -> str:
|
@@ -68,13 +76,15 @@ class AwaitableGetActiveFolderResult(GetActiveFolderResult):
|
|
68
76
|
if False:
|
69
77
|
yield self
|
70
78
|
return GetActiveFolderResult(
|
79
|
+
api_method=self.api_method,
|
71
80
|
display_name=self.display_name,
|
72
81
|
id=self.id,
|
73
82
|
name=self.name,
|
74
83
|
parent=self.parent)
|
75
84
|
|
76
85
|
|
77
|
-
def get_active_folder(
|
86
|
+
def get_active_folder(api_method: Optional[str] = None,
|
87
|
+
display_name: Optional[str] = None,
|
78
88
|
parent: Optional[str] = None,
|
79
89
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetActiveFolderResult:
|
80
90
|
"""
|
@@ -83,16 +93,19 @@ def get_active_folder(display_name: Optional[str] = None,
|
|
83
93
|
## Example Usage
|
84
94
|
|
85
95
|
|
96
|
+
:param str api_method: The API method to use to search for the folder. Valid values are `LIST` and `SEARCH`. Default Value is `LIST`. `LIST` is [strongly consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/list#:~:text=list()%20provides%20a-,strongly%20consistent,-view%20of%20the) and requires `resourcemanager.folders.list` on the parent folder, while `SEARCH` is [eventually consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/search#:~:text=eventually%20consistent) and only returns folders that the user has `resourcemanager.folders.get` permission on.
|
86
97
|
:param str display_name: The folder's display name.
|
87
98
|
:param str parent: The resource name of the parent Folder or Organization.
|
88
99
|
"""
|
89
100
|
__args__ = dict()
|
101
|
+
__args__['apiMethod'] = api_method
|
90
102
|
__args__['displayName'] = display_name
|
91
103
|
__args__['parent'] = parent
|
92
104
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
93
105
|
__ret__ = pulumi.runtime.invoke('gcp:organizations/getActiveFolder:getActiveFolder', __args__, opts=opts, typ=GetActiveFolderResult).value
|
94
106
|
|
95
107
|
return AwaitableGetActiveFolderResult(
|
108
|
+
api_method=pulumi.get(__ret__, 'api_method'),
|
96
109
|
display_name=pulumi.get(__ret__, 'display_name'),
|
97
110
|
id=pulumi.get(__ret__, 'id'),
|
98
111
|
name=pulumi.get(__ret__, 'name'),
|
@@ -100,7 +113,8 @@ def get_active_folder(display_name: Optional[str] = None,
|
|
100
113
|
|
101
114
|
|
102
115
|
@_utilities.lift_output_func(get_active_folder)
|
103
|
-
def get_active_folder_output(
|
116
|
+
def get_active_folder_output(api_method: Optional[pulumi.Input[Optional[str]]] = None,
|
117
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
104
118
|
parent: Optional[pulumi.Input[str]] = None,
|
105
119
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetActiveFolderResult]:
|
106
120
|
"""
|
@@ -109,6 +123,7 @@ def get_active_folder_output(display_name: Optional[pulumi.Input[str]] = None,
|
|
109
123
|
## Example Usage
|
110
124
|
|
111
125
|
|
126
|
+
:param str api_method: The API method to use to search for the folder. Valid values are `LIST` and `SEARCH`. Default Value is `LIST`. `LIST` is [strongly consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/list#:~:text=list()%20provides%20a-,strongly%20consistent,-view%20of%20the) and requires `resourcemanager.folders.list` on the parent folder, while `SEARCH` is [eventually consistent](https://cloud.google.com/resource-manager/reference/rest/v3/folders/search#:~:text=eventually%20consistent) and only returns folders that the user has `resourcemanager.folders.get` permission on.
|
112
127
|
:param str display_name: The folder's display name.
|
113
128
|
:param str parent: The resource name of the parent Folder or Organization.
|
114
129
|
"""
|
pulumi_gcp/projects/__init__.py
CHANGED