pulumi-gcp 7.5.0a1704347630__py3-none-any.whl → 7.6.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. pulumi_gcp/__init__.py +99 -0
  2. pulumi_gcp/bigqueryanalyticshub/_inputs.py +40 -0
  3. pulumi_gcp/bigqueryanalyticshub/listing.py +117 -3
  4. pulumi_gcp/bigqueryanalyticshub/outputs.py +49 -0
  5. pulumi_gcp/clouddeploy/__init__.py +1 -0
  6. pulumi_gcp/clouddeploy/_inputs.py +239 -0
  7. pulumi_gcp/clouddeploy/automation.py +1103 -0
  8. pulumi_gcp/clouddeploy/outputs.py +246 -0
  9. pulumi_gcp/clouddomains/__init__.py +10 -0
  10. pulumi_gcp/clouddomains/_inputs.py +1098 -0
  11. pulumi_gcp/clouddomains/outputs.py +1156 -0
  12. pulumi_gcp/clouddomains/registration.py +1068 -0
  13. pulumi_gcp/cloudrunv2/job.py +4 -4
  14. pulumi_gcp/composer/_inputs.py +79 -1
  15. pulumi_gcp/composer/outputs.py +131 -4
  16. pulumi_gcp/compute/__init__.py +1 -0
  17. pulumi_gcp/compute/_inputs.py +180 -0
  18. pulumi_gcp/compute/get_instance_template.py +11 -1
  19. pulumi_gcp/compute/get_region_instance_template.py +11 -1
  20. pulumi_gcp/compute/get_reservation.py +212 -0
  21. pulumi_gcp/compute/instance_template.py +47 -0
  22. pulumi_gcp/compute/network_firewall_policy.py +20 -22
  23. pulumi_gcp/compute/outputs.py +325 -0
  24. pulumi_gcp/compute/region_instance_template.py +47 -0
  25. pulumi_gcp/compute/region_network_firewall_policy.py +31 -35
  26. pulumi_gcp/compute/router_peer.py +54 -0
  27. pulumi_gcp/compute/vpn_tunnel.py +8 -4
  28. pulumi_gcp/config/__init__.pyi +2 -0
  29. pulumi_gcp/config/vars.py +4 -0
  30. pulumi_gcp/container/_inputs.py +23 -0
  31. pulumi_gcp/container/aws_node_pool.py +7 -7
  32. pulumi_gcp/container/cluster.py +68 -14
  33. pulumi_gcp/container/get_cluster.py +11 -1
  34. pulumi_gcp/container/outputs.py +49 -0
  35. pulumi_gcp/dataflow/pipeline.py +1 -1
  36. pulumi_gcp/dataproc/_inputs.py +413 -39
  37. pulumi_gcp/dataproc/metastore_service.py +63 -0
  38. pulumi_gcp/dataproc/outputs.py +461 -39
  39. pulumi_gcp/dns/__init__.py +1 -0
  40. pulumi_gcp/dns/_inputs.py +94 -0
  41. pulumi_gcp/dns/get_managed_zones.py +89 -0
  42. pulumi_gcp/dns/outputs.py +62 -0
  43. pulumi_gcp/edgecontainer/vpn_connection.py +10 -10
  44. pulumi_gcp/filestore/__init__.py +1 -0
  45. pulumi_gcp/filestore/get_instance.py +258 -0
  46. pulumi_gcp/filestore/instance.py +7 -7
  47. pulumi_gcp/filestore/outputs.py +126 -0
  48. pulumi_gcp/gkebackup/backup_plan.py +24 -8
  49. pulumi_gcp/gkebackup/restore_plan.py +36 -12
  50. pulumi_gcp/gkebackup/restore_plan_iam_binding.py +36 -12
  51. pulumi_gcp/gkebackup/restore_plan_iam_member.py +36 -12
  52. pulumi_gcp/gkebackup/restore_plan_iam_policy.py +36 -12
  53. pulumi_gcp/gkehub/_inputs.py +502 -2
  54. pulumi_gcp/gkehub/feature.py +34 -0
  55. pulumi_gcp/gkehub/feature_membership.py +177 -0
  56. pulumi_gcp/gkehub/membership.py +18 -6
  57. pulumi_gcp/gkehub/outputs.py +502 -2
  58. pulumi_gcp/gkeonprem/_inputs.py +21 -25
  59. pulumi_gcp/gkeonprem/outputs.py +34 -25
  60. pulumi_gcp/gkeonprem/v_mware_node_pool.py +34 -0
  61. pulumi_gcp/integrationconnectors/__init__.py +1 -0
  62. pulumi_gcp/integrationconnectors/endpoint_attachment.py +669 -0
  63. pulumi_gcp/kms/_inputs.py +42 -0
  64. pulumi_gcp/kms/crypto_key.py +36 -0
  65. pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
  66. pulumi_gcp/kms/outputs.py +62 -0
  67. pulumi_gcp/logging/__init__.py +2 -0
  68. pulumi_gcp/logging/folder_settings.py +490 -0
  69. pulumi_gcp/logging/folder_sink.py +21 -21
  70. pulumi_gcp/logging/organization_settings.py +484 -0
  71. pulumi_gcp/logging/organization_sink.py +21 -21
  72. pulumi_gcp/logging/project_sink.py +7 -14
  73. pulumi_gcp/netapp/__init__.py +3 -0
  74. pulumi_gcp/netapp/active_directory.py +1413 -0
  75. pulumi_gcp/netapp/backup_vault.py +593 -0
  76. pulumi_gcp/netapp/kmsconfig.py +649 -0
  77. pulumi_gcp/orgpolicy/policy.py +28 -0
  78. pulumi_gcp/provider.py +20 -0
  79. pulumi_gcp/pubsub/subscription.py +29 -37
  80. pulumi_gcp/serviceaccount/account.py +47 -0
  81. pulumi_gcp/servicenetworking/connection.py +55 -1
  82. pulumi_gcp/sql/database_instance.py +2 -2
  83. pulumi_gcp/sql/ssl_cert.py +1 -1
  84. pulumi_gcp/sql/user.py +7 -7
  85. pulumi_gcp/storage/transfer_job.py +24 -5
  86. pulumi_gcp/vertex/__init__.py +3 -0
  87. pulumi_gcp/vertex/_inputs.py +339 -0
  88. pulumi_gcp/vertex/ai_feature_group.py +710 -0
  89. pulumi_gcp/vertex/ai_feature_online_store.py +962 -0
  90. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +804 -0
  91. pulumi_gcp/vertex/outputs.py +406 -0
  92. pulumi_gcp/vmwareengine/__init__.py +2 -0
  93. pulumi_gcp/vmwareengine/_inputs.py +84 -0
  94. pulumi_gcp/vmwareengine/external_access_rule.py +947 -0
  95. pulumi_gcp/vmwareengine/get_external_access_rule.py +245 -0
  96. pulumi_gcp/vmwareengine/outputs.py +146 -0
  97. pulumi_gcp/workflows/workflow.py +7 -7
  98. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/METADATA +1 -1
  99. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/RECORD +101 -82
  100. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/WHEEL +0 -0
  101. {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/top_level.txt +0 -0
@@ -11,6 +11,7 @@ from .dns_managed_zone_iam_policy import *
11
11
  from .get_keys import *
12
12
  from .get_managed_zone import *
13
13
  from .get_managed_zone_iam_policy import *
14
+ from .get_managed_zones import *
14
15
  from .get_record_set import *
15
16
  from .managed_zone import *
16
17
  from .policy import *
pulumi_gcp/dns/_inputs.py CHANGED
@@ -44,6 +44,7 @@ __all__ = [
44
44
  'ResponsePolicyNetworkArgs',
45
45
  'ResponsePolicyRuleLocalDataArgs',
46
46
  'ResponsePolicyRuleLocalDataLocalDataArgs',
47
+ 'GetManagedZonesManagedZoneArgs',
47
48
  ]
48
49
 
49
50
  @pulumi.input_type
@@ -1690,3 +1691,96 @@ class ResponsePolicyRuleLocalDataLocalDataArgs:
1690
1691
  pulumi.set(self, "ttl", value)
1691
1692
 
1692
1693
 
1694
+ @pulumi.input_type
1695
+ class GetManagedZonesManagedZoneArgs:
1696
+ def __init__(__self__, *,
1697
+ description: str,
1698
+ dns_name: str,
1699
+ id: str,
1700
+ managed_zone_id: int,
1701
+ name: str,
1702
+ name_servers: Sequence[str],
1703
+ project: str,
1704
+ visibility: str):
1705
+ pulumi.set(__self__, "description", description)
1706
+ pulumi.set(__self__, "dns_name", dns_name)
1707
+ pulumi.set(__self__, "id", id)
1708
+ pulumi.set(__self__, "managed_zone_id", managed_zone_id)
1709
+ pulumi.set(__self__, "name", name)
1710
+ pulumi.set(__self__, "name_servers", name_servers)
1711
+ pulumi.set(__self__, "project", project)
1712
+ pulumi.set(__self__, "visibility", visibility)
1713
+
1714
+ @property
1715
+ @pulumi.getter
1716
+ def description(self) -> str:
1717
+ return pulumi.get(self, "description")
1718
+
1719
+ @description.setter
1720
+ def description(self, value: str):
1721
+ pulumi.set(self, "description", value)
1722
+
1723
+ @property
1724
+ @pulumi.getter(name="dnsName")
1725
+ def dns_name(self) -> str:
1726
+ return pulumi.get(self, "dns_name")
1727
+
1728
+ @dns_name.setter
1729
+ def dns_name(self, value: str):
1730
+ pulumi.set(self, "dns_name", value)
1731
+
1732
+ @property
1733
+ @pulumi.getter
1734
+ def id(self) -> str:
1735
+ return pulumi.get(self, "id")
1736
+
1737
+ @id.setter
1738
+ def id(self, value: str):
1739
+ pulumi.set(self, "id", value)
1740
+
1741
+ @property
1742
+ @pulumi.getter(name="managedZoneId")
1743
+ def managed_zone_id(self) -> int:
1744
+ return pulumi.get(self, "managed_zone_id")
1745
+
1746
+ @managed_zone_id.setter
1747
+ def managed_zone_id(self, value: int):
1748
+ pulumi.set(self, "managed_zone_id", value)
1749
+
1750
+ @property
1751
+ @pulumi.getter
1752
+ def name(self) -> str:
1753
+ return pulumi.get(self, "name")
1754
+
1755
+ @name.setter
1756
+ def name(self, value: str):
1757
+ pulumi.set(self, "name", value)
1758
+
1759
+ @property
1760
+ @pulumi.getter(name="nameServers")
1761
+ def name_servers(self) -> Sequence[str]:
1762
+ return pulumi.get(self, "name_servers")
1763
+
1764
+ @name_servers.setter
1765
+ def name_servers(self, value: Sequence[str]):
1766
+ pulumi.set(self, "name_servers", value)
1767
+
1768
+ @property
1769
+ @pulumi.getter
1770
+ def project(self) -> str:
1771
+ return pulumi.get(self, "project")
1772
+
1773
+ @project.setter
1774
+ def project(self, value: str):
1775
+ pulumi.set(self, "project", value)
1776
+
1777
+ @property
1778
+ @pulumi.getter
1779
+ def visibility(self) -> str:
1780
+ return pulumi.get(self, "visibility")
1781
+
1782
+ @visibility.setter
1783
+ def visibility(self, value: str):
1784
+ pulumi.set(self, "visibility", value)
1785
+
1786
+
@@ -0,0 +1,89 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = [
15
+ 'GetManagedZonesResult',
16
+ 'AwaitableGetManagedZonesResult',
17
+ 'get_managed_zones',
18
+ 'get_managed_zones_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetManagedZonesResult:
23
+ """
24
+ A collection of values returned by getManagedZones.
25
+ """
26
+ def __init__(__self__, id=None, managed_zones=None, project=None):
27
+ if id and not isinstance(id, str):
28
+ raise TypeError("Expected argument 'id' to be a str")
29
+ pulumi.set(__self__, "id", id)
30
+ if managed_zones and not isinstance(managed_zones, list):
31
+ raise TypeError("Expected argument 'managed_zones' to be a list")
32
+ pulumi.set(__self__, "managed_zones", managed_zones)
33
+ if project and not isinstance(project, str):
34
+ raise TypeError("Expected argument 'project' to be a str")
35
+ pulumi.set(__self__, "project", project)
36
+
37
+ @property
38
+ @pulumi.getter
39
+ def id(self) -> str:
40
+ return pulumi.get(self, "id")
41
+
42
+ @property
43
+ @pulumi.getter(name="managedZones")
44
+ def managed_zones(self) -> Optional[Sequence['outputs.GetManagedZonesManagedZoneResult']]:
45
+ return pulumi.get(self, "managed_zones")
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def project(self) -> Optional[str]:
50
+ return pulumi.get(self, "project")
51
+
52
+
53
+ class AwaitableGetManagedZonesResult(GetManagedZonesResult):
54
+ # pylint: disable=using-constant-test
55
+ def __await__(self):
56
+ if False:
57
+ yield self
58
+ return GetManagedZonesResult(
59
+ id=self.id,
60
+ managed_zones=self.managed_zones,
61
+ project=self.project)
62
+
63
+
64
+ def get_managed_zones(managed_zones: Optional[Sequence[pulumi.InputType['GetManagedZonesManagedZoneArgs']]] = None,
65
+ project: Optional[str] = None,
66
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedZonesResult:
67
+ """
68
+ Use this data source to access information about an existing resource.
69
+ """
70
+ __args__ = dict()
71
+ __args__['managedZones'] = managed_zones
72
+ __args__['project'] = project
73
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
74
+ __ret__ = pulumi.runtime.invoke('gcp:dns/getManagedZones:getManagedZones', __args__, opts=opts, typ=GetManagedZonesResult).value
75
+
76
+ return AwaitableGetManagedZonesResult(
77
+ id=pulumi.get(__ret__, 'id'),
78
+ managed_zones=pulumi.get(__ret__, 'managed_zones'),
79
+ project=pulumi.get(__ret__, 'project'))
80
+
81
+
82
+ @_utilities.lift_output_func(get_managed_zones)
83
+ def get_managed_zones_output(managed_zones: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedZonesManagedZoneArgs']]]]] = None,
84
+ project: Optional[pulumi.Input[Optional[str]]] = None,
85
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedZonesResult]:
86
+ """
87
+ Use this data source to access information about an existing resource.
88
+ """
89
+ ...
pulumi_gcp/dns/outputs.py CHANGED
@@ -49,6 +49,7 @@ __all__ = [
49
49
  'GetKeysKeySigningKeyDigestResult',
50
50
  'GetKeysZoneSigningKeyResult',
51
51
  'GetKeysZoneSigningKeyDigestResult',
52
+ 'GetManagedZonesManagedZoneResult',
52
53
  ]
53
54
 
54
55
  @pulumi.output_type
@@ -2180,3 +2181,64 @@ class GetKeysZoneSigningKeyDigestResult(dict):
2180
2181
  return pulumi.get(self, "type")
2181
2182
 
2182
2183
 
2184
+ @pulumi.output_type
2185
+ class GetManagedZonesManagedZoneResult(dict):
2186
+ def __init__(__self__, *,
2187
+ description: str,
2188
+ dns_name: str,
2189
+ id: str,
2190
+ managed_zone_id: int,
2191
+ name: str,
2192
+ name_servers: Sequence[str],
2193
+ project: str,
2194
+ visibility: str):
2195
+ pulumi.set(__self__, "description", description)
2196
+ pulumi.set(__self__, "dns_name", dns_name)
2197
+ pulumi.set(__self__, "id", id)
2198
+ pulumi.set(__self__, "managed_zone_id", managed_zone_id)
2199
+ pulumi.set(__self__, "name", name)
2200
+ pulumi.set(__self__, "name_servers", name_servers)
2201
+ pulumi.set(__self__, "project", project)
2202
+ pulumi.set(__self__, "visibility", visibility)
2203
+
2204
+ @property
2205
+ @pulumi.getter
2206
+ def description(self) -> str:
2207
+ return pulumi.get(self, "description")
2208
+
2209
+ @property
2210
+ @pulumi.getter(name="dnsName")
2211
+ def dns_name(self) -> str:
2212
+ return pulumi.get(self, "dns_name")
2213
+
2214
+ @property
2215
+ @pulumi.getter
2216
+ def id(self) -> str:
2217
+ return pulumi.get(self, "id")
2218
+
2219
+ @property
2220
+ @pulumi.getter(name="managedZoneId")
2221
+ def managed_zone_id(self) -> int:
2222
+ return pulumi.get(self, "managed_zone_id")
2223
+
2224
+ @property
2225
+ @pulumi.getter
2226
+ def name(self) -> str:
2227
+ return pulumi.get(self, "name")
2228
+
2229
+ @property
2230
+ @pulumi.getter(name="nameServers")
2231
+ def name_servers(self) -> Sequence[str]:
2232
+ return pulumi.get(self, "name_servers")
2233
+
2234
+ @property
2235
+ @pulumi.getter
2236
+ def project(self) -> str:
2237
+ return pulumi.get(self, "project")
2238
+
2239
+ @property
2240
+ @pulumi.getter
2241
+ def visibility(self) -> str:
2242
+ return pulumi.get(self, "visibility")
2243
+
2244
+
@@ -530,9 +530,9 @@ class VpnConnection(pulumi.CustomResource):
530
530
 
531
531
  ## Import
532
532
 
533
- VpnConnection can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/vpnConnections` * `{{project}}/{{location}}` * `{{location}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import VpnConnection using one of the formats above. For exampletf import {
533
+ VpnConnection can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/vpnConnections/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import VpnConnection using one of the formats above. For exampletf import {
534
534
 
535
- id = "projects/{{project}}/locations/{{location}}/vpnConnections"
535
+ id = "projects/{{project}}/locations/{{location}}/vpnConnections/{{name}}"
536
536
 
537
537
  to = google_edgecontainer_vpn_connection.default }
538
538
 
@@ -541,15 +541,15 @@ class VpnConnection(pulumi.CustomResource):
541
541
  ```
542
542
 
543
543
  ```sh
544
- $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default projects/{{project}}/locations/{{location}}/vpnConnections
544
+ $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default projects/{{project}}/locations/{{location}}/vpnConnections/{{name}}
545
545
  ```
546
546
 
547
547
  ```sh
548
- $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{project}}/{{location}}
548
+ $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{project}}/{{location}}/{{name}}
549
549
  ```
550
550
 
551
551
  ```sh
552
- $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{location}}
552
+ $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{location}}/{{name}}
553
553
  ```
554
554
 
555
555
  :param str resource_name: The name of the resource.
@@ -630,9 +630,9 @@ class VpnConnection(pulumi.CustomResource):
630
630
 
631
631
  ## Import
632
632
 
633
- VpnConnection can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/vpnConnections` * `{{project}}/{{location}}` * `{{location}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import VpnConnection using one of the formats above. For exampletf import {
633
+ VpnConnection can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/vpnConnections/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import VpnConnection using one of the formats above. For exampletf import {
634
634
 
635
- id = "projects/{{project}}/locations/{{location}}/vpnConnections"
635
+ id = "projects/{{project}}/locations/{{location}}/vpnConnections/{{name}}"
636
636
 
637
637
  to = google_edgecontainer_vpn_connection.default }
638
638
 
@@ -641,15 +641,15 @@ class VpnConnection(pulumi.CustomResource):
641
641
  ```
642
642
 
643
643
  ```sh
644
- $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default projects/{{project}}/locations/{{location}}/vpnConnections
644
+ $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default projects/{{project}}/locations/{{location}}/vpnConnections/{{name}}
645
645
  ```
646
646
 
647
647
  ```sh
648
- $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{project}}/{{location}}
648
+ $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{project}}/{{location}}/{{name}}
649
649
  ```
650
650
 
651
651
  ```sh
652
- $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{location}}
652
+ $ pulumi import gcp:edgecontainer/vpnConnection:VpnConnection default {{location}}/{{name}}
653
653
  ```
654
654
 
655
655
  :param str resource_name: The name of the resource.
@@ -6,6 +6,7 @@ from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
8
  from .backup import *
9
+ from .get_instance import *
9
10
  from .instance import *
10
11
  from .snapshot import *
11
12
  from ._inputs import *
@@ -0,0 +1,258 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetInstanceResult',
15
+ 'AwaitableGetInstanceResult',
16
+ 'get_instance',
17
+ 'get_instance_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetInstanceResult:
22
+ """
23
+ A collection of values returned by getInstance.
24
+ """
25
+ def __init__(__self__, create_time=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, project=None, pulumi_labels=None, tier=None, zone=None):
26
+ if create_time and not isinstance(create_time, str):
27
+ raise TypeError("Expected argument 'create_time' to be a str")
28
+ pulumi.set(__self__, "create_time", create_time)
29
+ if description and not isinstance(description, str):
30
+ raise TypeError("Expected argument 'description' to be a str")
31
+ pulumi.set(__self__, "description", description)
32
+ if effective_labels and not isinstance(effective_labels, dict):
33
+ raise TypeError("Expected argument 'effective_labels' to be a dict")
34
+ pulumi.set(__self__, "effective_labels", effective_labels)
35
+ if etag and not isinstance(etag, str):
36
+ raise TypeError("Expected argument 'etag' to be a str")
37
+ pulumi.set(__self__, "etag", etag)
38
+ if file_shares and not isinstance(file_shares, list):
39
+ raise TypeError("Expected argument 'file_shares' to be a list")
40
+ pulumi.set(__self__, "file_shares", file_shares)
41
+ if id and not isinstance(id, str):
42
+ raise TypeError("Expected argument 'id' to be a str")
43
+ pulumi.set(__self__, "id", id)
44
+ if kms_key_name and not isinstance(kms_key_name, str):
45
+ raise TypeError("Expected argument 'kms_key_name' to be a str")
46
+ pulumi.set(__self__, "kms_key_name", kms_key_name)
47
+ if labels and not isinstance(labels, dict):
48
+ raise TypeError("Expected argument 'labels' to be a dict")
49
+ pulumi.set(__self__, "labels", labels)
50
+ if location and not isinstance(location, str):
51
+ raise TypeError("Expected argument 'location' to be a str")
52
+ pulumi.set(__self__, "location", location)
53
+ if name and not isinstance(name, str):
54
+ raise TypeError("Expected argument 'name' to be a str")
55
+ pulumi.set(__self__, "name", name)
56
+ if networks and not isinstance(networks, list):
57
+ raise TypeError("Expected argument 'networks' to be a list")
58
+ pulumi.set(__self__, "networks", networks)
59
+ if project and not isinstance(project, str):
60
+ raise TypeError("Expected argument 'project' to be a str")
61
+ pulumi.set(__self__, "project", project)
62
+ if pulumi_labels and not isinstance(pulumi_labels, dict):
63
+ raise TypeError("Expected argument 'pulumi_labels' to be a dict")
64
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
65
+ if tier and not isinstance(tier, str):
66
+ raise TypeError("Expected argument 'tier' to be a str")
67
+ pulumi.set(__self__, "tier", tier)
68
+ if zone and not isinstance(zone, str):
69
+ raise TypeError("Expected argument 'zone' to be a str")
70
+ pulumi.set(__self__, "zone", zone)
71
+
72
+ @property
73
+ @pulumi.getter(name="createTime")
74
+ def create_time(self) -> str:
75
+ return pulumi.get(self, "create_time")
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def description(self) -> str:
80
+ return pulumi.get(self, "description")
81
+
82
+ @property
83
+ @pulumi.getter(name="effectiveLabels")
84
+ def effective_labels(self) -> Mapping[str, str]:
85
+ return pulumi.get(self, "effective_labels")
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def etag(self) -> str:
90
+ return pulumi.get(self, "etag")
91
+
92
+ @property
93
+ @pulumi.getter(name="fileShares")
94
+ def file_shares(self) -> Sequence['outputs.GetInstanceFileShareResult']:
95
+ return pulumi.get(self, "file_shares")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def id(self) -> str:
100
+ """
101
+ The provider-assigned unique ID for this managed resource.
102
+ """
103
+ return pulumi.get(self, "id")
104
+
105
+ @property
106
+ @pulumi.getter(name="kmsKeyName")
107
+ def kms_key_name(self) -> str:
108
+ return pulumi.get(self, "kms_key_name")
109
+
110
+ @property
111
+ @pulumi.getter
112
+ def labels(self) -> Mapping[str, str]:
113
+ return pulumi.get(self, "labels")
114
+
115
+ @property
116
+ @pulumi.getter
117
+ def location(self) -> Optional[str]:
118
+ return pulumi.get(self, "location")
119
+
120
+ @property
121
+ @pulumi.getter
122
+ def name(self) -> str:
123
+ return pulumi.get(self, "name")
124
+
125
+ @property
126
+ @pulumi.getter
127
+ def networks(self) -> Sequence['outputs.GetInstanceNetworkResult']:
128
+ return pulumi.get(self, "networks")
129
+
130
+ @property
131
+ @pulumi.getter
132
+ def project(self) -> Optional[str]:
133
+ return pulumi.get(self, "project")
134
+
135
+ @property
136
+ @pulumi.getter(name="pulumiLabels")
137
+ def pulumi_labels(self) -> Mapping[str, str]:
138
+ return pulumi.get(self, "pulumi_labels")
139
+
140
+ @property
141
+ @pulumi.getter
142
+ def tier(self) -> str:
143
+ return pulumi.get(self, "tier")
144
+
145
+ @property
146
+ @pulumi.getter
147
+ def zone(self) -> str:
148
+ return pulumi.get(self, "zone")
149
+
150
+
151
+ class AwaitableGetInstanceResult(GetInstanceResult):
152
+ # pylint: disable=using-constant-test
153
+ def __await__(self):
154
+ if False:
155
+ yield self
156
+ return GetInstanceResult(
157
+ create_time=self.create_time,
158
+ description=self.description,
159
+ effective_labels=self.effective_labels,
160
+ etag=self.etag,
161
+ file_shares=self.file_shares,
162
+ id=self.id,
163
+ kms_key_name=self.kms_key_name,
164
+ labels=self.labels,
165
+ location=self.location,
166
+ name=self.name,
167
+ networks=self.networks,
168
+ project=self.project,
169
+ pulumi_labels=self.pulumi_labels,
170
+ tier=self.tier,
171
+ zone=self.zone)
172
+
173
+
174
+ def get_instance(location: Optional[str] = None,
175
+ name: Optional[str] = None,
176
+ project: Optional[str] = None,
177
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
178
+ """
179
+ Get info about a Google Cloud Filestore instance.
180
+
181
+ ## Example Usage
182
+
183
+ ```python
184
+ import pulumi
185
+ import pulumi_gcp as gcp
186
+
187
+ my_instance = gcp.filestore.get_instance(name="my-filestore-instance")
188
+ pulumi.export("instanceIpAddresses", my_instance.networks.ip_addresses)
189
+ pulumi.export("instanceConnectMode", my_instance.networks.connect_mode)
190
+ pulumi.export("instanceFileShareName", my_instance.file_shares.name)
191
+ ```
192
+
193
+
194
+ :param str location: The name of the location of the instance. This
195
+ can be a region for ENTERPRISE tier instances. If it is not provided,
196
+ the provider region or zone is used.
197
+ :param str name: The name of a Filestore instance.
198
+
199
+ - - -
200
+ :param str project: The project in which the resource belongs. If it
201
+ is not provided, the provider project is used.
202
+ """
203
+ __args__ = dict()
204
+ __args__['location'] = location
205
+ __args__['name'] = name
206
+ __args__['project'] = project
207
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
208
+ __ret__ = pulumi.runtime.invoke('gcp:filestore/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult).value
209
+
210
+ return AwaitableGetInstanceResult(
211
+ create_time=pulumi.get(__ret__, 'create_time'),
212
+ description=pulumi.get(__ret__, 'description'),
213
+ effective_labels=pulumi.get(__ret__, 'effective_labels'),
214
+ etag=pulumi.get(__ret__, 'etag'),
215
+ file_shares=pulumi.get(__ret__, 'file_shares'),
216
+ id=pulumi.get(__ret__, 'id'),
217
+ kms_key_name=pulumi.get(__ret__, 'kms_key_name'),
218
+ labels=pulumi.get(__ret__, 'labels'),
219
+ location=pulumi.get(__ret__, 'location'),
220
+ name=pulumi.get(__ret__, 'name'),
221
+ networks=pulumi.get(__ret__, 'networks'),
222
+ project=pulumi.get(__ret__, 'project'),
223
+ pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
224
+ tier=pulumi.get(__ret__, 'tier'),
225
+ zone=pulumi.get(__ret__, 'zone'))
226
+
227
+
228
+ @_utilities.lift_output_func(get_instance)
229
+ def get_instance_output(location: Optional[pulumi.Input[Optional[str]]] = None,
230
+ name: Optional[pulumi.Input[str]] = None,
231
+ project: Optional[pulumi.Input[Optional[str]]] = None,
232
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceResult]:
233
+ """
234
+ Get info about a Google Cloud Filestore instance.
235
+
236
+ ## Example Usage
237
+
238
+ ```python
239
+ import pulumi
240
+ import pulumi_gcp as gcp
241
+
242
+ my_instance = gcp.filestore.get_instance(name="my-filestore-instance")
243
+ pulumi.export("instanceIpAddresses", my_instance.networks.ip_addresses)
244
+ pulumi.export("instanceConnectMode", my_instance.networks.connect_mode)
245
+ pulumi.export("instanceFileShareName", my_instance.file_shares.name)
246
+ ```
247
+
248
+
249
+ :param str location: The name of the location of the instance. This
250
+ can be a region for ENTERPRISE tier instances. If it is not provided,
251
+ the provider region or zone is used.
252
+ :param str name: The name of a Filestore instance.
253
+
254
+ - - -
255
+ :param str project: The project in which the resource belongs. If it
256
+ is not provided, the provider project is used.
257
+ """
258
+ ...
@@ -35,7 +35,7 @@ class InstanceArgs:
35
35
  only a single network is supported.
36
36
  Structure is documented below.
37
37
  :param pulumi.Input[str] tier: The service tier of the instance.
38
- Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL and ENTERPRISE
38
+ Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
39
39
  :param pulumi.Input[str] description: A description of the instance.
40
40
  :param pulumi.Input[str] kms_key_name: KMS key name used for data encryption.
41
41
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user-provided metadata.
@@ -105,7 +105,7 @@ class InstanceArgs:
105
105
  def tier(self) -> pulumi.Input[str]:
106
106
  """
107
107
  The service tier of the instance.
108
- Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL and ENTERPRISE
108
+ Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
109
109
  """
110
110
  return pulumi.get(self, "tier")
111
111
 
@@ -250,7 +250,7 @@ class _InstanceState:
250
250
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
251
251
  and default labels configured on the provider.
252
252
  :param pulumi.Input[str] tier: The service tier of the instance.
253
- Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL and ENTERPRISE
253
+ Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
254
254
  :param pulumi.Input[str] zone: (Optional, Deprecated)
255
255
  The name of the Filestore zone of the instance.
256
256
 
@@ -447,7 +447,7 @@ class _InstanceState:
447
447
  def tier(self) -> Optional[pulumi.Input[str]]:
448
448
  """
449
449
  The service tier of the instance.
450
- Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL and ENTERPRISE
450
+ Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
451
451
  """
452
452
  return pulumi.get(self, "tier")
453
453
 
@@ -618,7 +618,7 @@ class Instance(pulumi.CustomResource):
618
618
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
619
619
  If it is not provided, the provider project is used.
620
620
  :param pulumi.Input[str] tier: The service tier of the instance.
621
- Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL and ENTERPRISE
621
+ Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
622
622
  :param pulumi.Input[str] zone: (Optional, Deprecated)
623
623
  The name of the Filestore zone of the instance.
624
624
 
@@ -849,7 +849,7 @@ class Instance(pulumi.CustomResource):
849
849
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
850
850
  and default labels configured on the provider.
851
851
  :param pulumi.Input[str] tier: The service tier of the instance.
852
- Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL and ENTERPRISE
852
+ Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
853
853
  :param pulumi.Input[str] zone: (Optional, Deprecated)
854
854
  The name of the Filestore zone of the instance.
855
855
 
@@ -986,7 +986,7 @@ class Instance(pulumi.CustomResource):
986
986
  def tier(self) -> pulumi.Output[str]:
987
987
  """
988
988
  The service tier of the instance.
989
- Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL and ENTERPRISE
989
+ Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
990
990
  """
991
991
  return pulumi.get(self, "tier")
992
992