@pulumi/gcp 6.4.0 → 6.6.0
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.
- package/apigee/environmentIamBinding.d.ts +166 -0
- package/apigee/environmentIamBinding.js +155 -0
- package/apigee/environmentIamBinding.js.map +1 -0
- package/apigee/environmentIamMember.d.ts +166 -0
- package/apigee/environmentIamMember.js +155 -0
- package/apigee/environmentIamMember.js.map +1 -0
- package/apigee/environmentIamPolicy.d.ts +156 -0
- package/apigee/environmentIamPolicy.js +148 -0
- package/apigee/environmentIamPolicy.js.map +1 -0
- package/apigee/index.d.ts +3 -0
- package/apigee/index.js +15 -0
- package/apigee/index.js.map +1 -1
- package/bigquery/dataTransferConfig.d.ts +3 -3
- package/bigquery/routine.d.ts +24 -3
- package/bigquery/routine.js +2 -0
- package/bigquery/routine.js.map +1 -1
- package/certificateauthority/authority.d.ts +2 -1
- package/certificateauthority/authority.js +2 -1
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +2 -0
- package/certificateauthority/certificate.js +2 -0
- package/certificateauthority/certificate.js.map +1 -1
- package/certificateauthority/certificateTemplate.d.ts +3 -0
- package/certificateauthority/certificateTemplate.js +3 -0
- package/certificateauthority/certificateTemplate.js.map +1 -1
- package/cloudbuild/trigger.d.ts +7 -0
- package/cloudbuild/trigger.js +7 -0
- package/cloudbuild/trigger.js.map +1 -1
- package/cloudbuild/workerPool.d.ts +60 -0
- package/cloudbuild/workerPool.js +60 -0
- package/cloudbuild/workerPool.js.map +1 -1
- package/cloudfunctions/function.d.ts +12 -0
- package/cloudfunctions/function.js +2 -0
- package/cloudfunctions/function.js.map +1 -1
- package/cloudfunctions/getFunction.d.ts +1 -0
- package/cloudfunctions/getFunction.js.map +1 -1
- package/compute/forwardingRule.d.ts +199 -10
- package/compute/forwardingRule.js +190 -4
- package/compute/forwardingRule.js.map +1 -1
- package/compute/networkPeering.d.ts +5 -5
- package/compute/networkPeering.js +5 -5
- package/compute/packetMirroring.d.ts +1 -1
- package/compute/packetMirroring.js +1 -1
- package/compute/regionBackendService.d.ts +6 -6
- package/compute/subnetwork.d.ts +9 -15
- package/compute/subnetwork.js.map +1 -1
- package/config/vars.d.ts +3 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/container/awsCluster.d.ts +326 -0
- package/container/awsCluster.js +198 -0
- package/container/awsCluster.js.map +1 -0
- package/container/awsNodePool.d.ts +355 -0
- package/container/awsNodePool.js +242 -0
- package/container/awsNodePool.js.map +1 -0
- package/container/azureClient.d.ts +156 -0
- package/container/azureClient.js +110 -0
- package/container/azureClient.js.map +1 -0
- package/container/azureCluster.d.ts +322 -0
- package/container/azureCluster.js +180 -0
- package/container/azureCluster.js.map +1 -0
- package/container/azureNodePool.d.ts +323 -0
- package/container/azureNodePool.js +200 -0
- package/container/azureNodePool.js.map +1 -0
- package/container/getAwsVersions.d.ts +66 -0
- package/container/getAwsVersions.js +42 -0
- package/container/getAwsVersions.js.map +1 -0
- package/container/getAzureVersions.d.ts +66 -0
- package/container/getAzureVersions.js +42 -0
- package/container/getAzureVersions.js.map +1 -0
- package/container/index.d.ts +7 -0
- package/container/index.js +27 -0
- package/container/index.js.map +1 -1
- package/filestore/instance.d.ts +33 -13
- package/filestore/instance.js +7 -12
- package/filestore/instance.js.map +1 -1
- package/notebooks/index.d.ts +3 -0
- package/notebooks/index.js +15 -0
- package/notebooks/index.js.map +1 -1
- package/notebooks/runtimeIamBinding.d.ts +193 -0
- package/notebooks/runtimeIamBinding.js +157 -0
- package/notebooks/runtimeIamBinding.js.map +1 -0
- package/notebooks/runtimeIamMember.d.ts +193 -0
- package/notebooks/runtimeIamMember.js +157 -0
- package/notebooks/runtimeIamMember.js.map +1 -0
- package/notebooks/runtimeIamPolicy.d.ts +183 -0
- package/notebooks/runtimeIamPolicy.js +150 -0
- package/notebooks/runtimeIamPolicy.js.map +1 -0
- package/osconfig/index.d.ts +1 -0
- package/osconfig/index.js +5 -0
- package/osconfig/index.js.map +1 -1
- package/osconfig/osPolicyAssignment.d.ts +672 -0
- package/osconfig/osPolicyAssignment.js +568 -0
- package/osconfig/osPolicyAssignment.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/provider.d.ts +6 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/storage/bucket.d.ts +12 -0
- package/storage/bucket.js +2 -0
- package/storage/bucket.js.map +1 -1
- package/storage/getBucket.d.ts +1 -0
- package/storage/getBucket.js.map +1 -1
- package/types/input.d.ts +7380 -6218
- package/types/output.d.ts +6360 -5196
- package/vertex/aiMetadataStore.d.ts +3 -3
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AzureNodePool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* An Anthos node pool running on Azure.
|
|
10
|
+
*
|
|
11
|
+
* For more information, see:
|
|
12
|
+
* * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
* ### Basic_azure_node_pool
|
|
15
|
+
* A basic example of a containerazure azure node pool
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as gcp from "@pulumi/gcp";
|
|
19
|
+
*
|
|
20
|
+
* const versions = gcp.container.getAzureVersions({
|
|
21
|
+
* project: "my-project-name",
|
|
22
|
+
* location: "us-west1",
|
|
23
|
+
* });
|
|
24
|
+
* const basic = new gcp.container.AzureClient("basic", {
|
|
25
|
+
* applicationId: "12345678-1234-1234-1234-123456789111",
|
|
26
|
+
* location: "us-west1",
|
|
27
|
+
* tenantId: "12345678-1234-1234-1234-123456789111",
|
|
28
|
+
* project: "my-project-name",
|
|
29
|
+
* });
|
|
30
|
+
* const primaryAzureCluster = new gcp.container.AzureCluster("primaryAzureCluster", {
|
|
31
|
+
* authorization: {
|
|
32
|
+
* adminUsers: [{
|
|
33
|
+
* username: "mmv2@google.com",
|
|
34
|
+
* }],
|
|
35
|
+
* },
|
|
36
|
+
* azureRegion: "westus2",
|
|
37
|
+
* client: pulumi.interpolate`projects/my-project-number/locations/us-west1/azureClients/${basic.name}`,
|
|
38
|
+
* controlPlane: {
|
|
39
|
+
* sshConfig: {
|
|
40
|
+
* authorizedKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
|
|
41
|
+
* },
|
|
42
|
+
* subnetId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
|
|
43
|
+
* version: versions.then(versions => versions.validVersions?[0]),
|
|
44
|
+
* },
|
|
45
|
+
* fleet: {
|
|
46
|
+
* project: "my-project-number",
|
|
47
|
+
* },
|
|
48
|
+
* location: "us-west1",
|
|
49
|
+
* networking: {
|
|
50
|
+
* podAddressCidrBlocks: ["10.200.0.0/16"],
|
|
51
|
+
* serviceAddressCidrBlocks: ["10.32.0.0/24"],
|
|
52
|
+
* virtualNetworkId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
|
|
53
|
+
* },
|
|
54
|
+
* resourceGroupId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
|
|
55
|
+
* project: "my-project-name",
|
|
56
|
+
* });
|
|
57
|
+
* const primaryAzureNodePool = new gcp.container.AzureNodePool("primaryAzureNodePool", {
|
|
58
|
+
* autoscaling: {
|
|
59
|
+
* maxNodeCount: 3,
|
|
60
|
+
* minNodeCount: 2,
|
|
61
|
+
* },
|
|
62
|
+
* cluster: primaryAzureCluster.name,
|
|
63
|
+
* config: {
|
|
64
|
+
* sshConfig: {
|
|
65
|
+
* authorizedKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
|
|
66
|
+
* },
|
|
67
|
+
* rootVolume: {
|
|
68
|
+
* sizeGib: 32,
|
|
69
|
+
* },
|
|
70
|
+
* tags: {
|
|
71
|
+
* owner: "mmv2",
|
|
72
|
+
* },
|
|
73
|
+
* vmSize: "Standard_DS2_v2",
|
|
74
|
+
* },
|
|
75
|
+
* location: "us-west1",
|
|
76
|
+
* maxPodsConstraint: {
|
|
77
|
+
* maxPodsPerNode: 110,
|
|
78
|
+
* },
|
|
79
|
+
* subnetId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
|
|
80
|
+
* version: versions.then(versions => versions.validVersions?[0]),
|
|
81
|
+
* annotations: {
|
|
82
|
+
* "annotation-one": "value-one",
|
|
83
|
+
* },
|
|
84
|
+
* project: "my-project-name",
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* ## Import
|
|
89
|
+
*
|
|
90
|
+
* NodePool can be imported using any of these accepted formats
|
|
91
|
+
*
|
|
92
|
+
* ```sh
|
|
93
|
+
* $ pulumi import gcp:container/azureNodePool:AzureNodePool default projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* ```sh
|
|
97
|
+
* $ pulumi import gcp:container/azureNodePool:AzureNodePool default {{project}}/{{location}}/{{cluster}}/{{name}}
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* ```sh
|
|
101
|
+
* $ pulumi import gcp:container/azureNodePool:AzureNodePool default {{location}}/{{cluster}}/{{name}}
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
class AzureNodePool extends pulumi.CustomResource {
|
|
105
|
+
constructor(name, argsOrState, opts) {
|
|
106
|
+
let inputs = {};
|
|
107
|
+
opts = opts || {};
|
|
108
|
+
if (opts.id) {
|
|
109
|
+
const state = argsOrState;
|
|
110
|
+
inputs["annotations"] = state ? state.annotations : undefined;
|
|
111
|
+
inputs["autoscaling"] = state ? state.autoscaling : undefined;
|
|
112
|
+
inputs["azureAvailabilityZone"] = state ? state.azureAvailabilityZone : undefined;
|
|
113
|
+
inputs["cluster"] = state ? state.cluster : undefined;
|
|
114
|
+
inputs["config"] = state ? state.config : undefined;
|
|
115
|
+
inputs["createTime"] = state ? state.createTime : undefined;
|
|
116
|
+
inputs["etag"] = state ? state.etag : undefined;
|
|
117
|
+
inputs["location"] = state ? state.location : undefined;
|
|
118
|
+
inputs["maxPodsConstraint"] = state ? state.maxPodsConstraint : undefined;
|
|
119
|
+
inputs["name"] = state ? state.name : undefined;
|
|
120
|
+
inputs["project"] = state ? state.project : undefined;
|
|
121
|
+
inputs["reconciling"] = state ? state.reconciling : undefined;
|
|
122
|
+
inputs["state"] = state ? state.state : undefined;
|
|
123
|
+
inputs["subnetId"] = state ? state.subnetId : undefined;
|
|
124
|
+
inputs["uid"] = state ? state.uid : undefined;
|
|
125
|
+
inputs["updateTime"] = state ? state.updateTime : undefined;
|
|
126
|
+
inputs["version"] = state ? state.version : undefined;
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
const args = argsOrState;
|
|
130
|
+
if ((!args || args.autoscaling === undefined) && !opts.urn) {
|
|
131
|
+
throw new Error("Missing required property 'autoscaling'");
|
|
132
|
+
}
|
|
133
|
+
if ((!args || args.cluster === undefined) && !opts.urn) {
|
|
134
|
+
throw new Error("Missing required property 'cluster'");
|
|
135
|
+
}
|
|
136
|
+
if ((!args || args.config === undefined) && !opts.urn) {
|
|
137
|
+
throw new Error("Missing required property 'config'");
|
|
138
|
+
}
|
|
139
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
140
|
+
throw new Error("Missing required property 'location'");
|
|
141
|
+
}
|
|
142
|
+
if ((!args || args.maxPodsConstraint === undefined) && !opts.urn) {
|
|
143
|
+
throw new Error("Missing required property 'maxPodsConstraint'");
|
|
144
|
+
}
|
|
145
|
+
if ((!args || args.subnetId === undefined) && !opts.urn) {
|
|
146
|
+
throw new Error("Missing required property 'subnetId'");
|
|
147
|
+
}
|
|
148
|
+
if ((!args || args.version === undefined) && !opts.urn) {
|
|
149
|
+
throw new Error("Missing required property 'version'");
|
|
150
|
+
}
|
|
151
|
+
inputs["annotations"] = args ? args.annotations : undefined;
|
|
152
|
+
inputs["autoscaling"] = args ? args.autoscaling : undefined;
|
|
153
|
+
inputs["azureAvailabilityZone"] = args ? args.azureAvailabilityZone : undefined;
|
|
154
|
+
inputs["cluster"] = args ? args.cluster : undefined;
|
|
155
|
+
inputs["config"] = args ? args.config : undefined;
|
|
156
|
+
inputs["location"] = args ? args.location : undefined;
|
|
157
|
+
inputs["maxPodsConstraint"] = args ? args.maxPodsConstraint : undefined;
|
|
158
|
+
inputs["name"] = args ? args.name : undefined;
|
|
159
|
+
inputs["project"] = args ? args.project : undefined;
|
|
160
|
+
inputs["subnetId"] = args ? args.subnetId : undefined;
|
|
161
|
+
inputs["version"] = args ? args.version : undefined;
|
|
162
|
+
inputs["createTime"] = undefined /*out*/;
|
|
163
|
+
inputs["etag"] = undefined /*out*/;
|
|
164
|
+
inputs["reconciling"] = undefined /*out*/;
|
|
165
|
+
inputs["state"] = undefined /*out*/;
|
|
166
|
+
inputs["uid"] = undefined /*out*/;
|
|
167
|
+
inputs["updateTime"] = undefined /*out*/;
|
|
168
|
+
}
|
|
169
|
+
if (!opts.version) {
|
|
170
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
171
|
+
}
|
|
172
|
+
super(AzureNodePool.__pulumiType, name, inputs, opts);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Get an existing AzureNodePool resource's state with the given name, ID, and optional extra
|
|
176
|
+
* properties used to qualify the lookup.
|
|
177
|
+
*
|
|
178
|
+
* @param name The _unique_ name of the resulting resource.
|
|
179
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
180
|
+
* @param state Any extra arguments used during the lookup.
|
|
181
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
182
|
+
*/
|
|
183
|
+
static get(name, id, state, opts) {
|
|
184
|
+
return new AzureNodePool(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Returns true if the given object is an instance of AzureNodePool. This is designed to work even
|
|
188
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
189
|
+
*/
|
|
190
|
+
static isInstance(obj) {
|
|
191
|
+
if (obj === undefined || obj === null) {
|
|
192
|
+
return false;
|
|
193
|
+
}
|
|
194
|
+
return obj['__pulumiType'] === AzureNodePool.__pulumiType;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.AzureNodePool = AzureNodePool;
|
|
198
|
+
/** @internal */
|
|
199
|
+
AzureNodePool.__pulumiType = 'gcp:container/azureNodePool:AzureNodePool';
|
|
200
|
+
//# sourceMappingURL=azureNodePool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureNodePool.js","sourceRoot":"","sources":["../../container/azureNodePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;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AAC;YACpC,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClC,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IA7KD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCA+KC;AAjKG,gBAAgB;AACO,0BAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides access to available Kubernetes versions in a location for a given project.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as gcp from "@pulumi/gcp";
|
|
10
|
+
*
|
|
11
|
+
* const central1b = gcp.container.getAwsVersions({
|
|
12
|
+
* location: "us-west1",
|
|
13
|
+
* project: "my-project",
|
|
14
|
+
* });
|
|
15
|
+
* export const firstAvailableVersion = data.google_container_aws_versions.versions.valid_versions[0];
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getAwsVersions(args?: GetAwsVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsVersionsResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getAwsVersions.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAwsVersionsArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The location to list versions for.
|
|
25
|
+
*/
|
|
26
|
+
location?: string;
|
|
27
|
+
/**
|
|
28
|
+
* ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to.
|
|
29
|
+
* Defaults to the project that the provider is authenticated with.
|
|
30
|
+
*/
|
|
31
|
+
project?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getAwsVersions.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetAwsVersionsResult {
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly location?: string;
|
|
42
|
+
readonly project?: string;
|
|
43
|
+
/**
|
|
44
|
+
* A list of AWS regions that are available for use with this project and GCP location.
|
|
45
|
+
*/
|
|
46
|
+
readonly supportedRegions: string[];
|
|
47
|
+
/**
|
|
48
|
+
* A list of versions available for use with this project and location.
|
|
49
|
+
*/
|
|
50
|
+
readonly validVersions: string[];
|
|
51
|
+
}
|
|
52
|
+
export declare function getAwsVersionsOutput(args?: GetAwsVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAwsVersionsResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getAwsVersions.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetAwsVersionsOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The location to list versions for.
|
|
59
|
+
*/
|
|
60
|
+
location?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to.
|
|
63
|
+
* Defaults to the project that the provider is authenticated with.
|
|
64
|
+
*/
|
|
65
|
+
project?: pulumi.Input<string>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getAwsVersionsOutput = exports.getAwsVersions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides access to available Kubernetes versions in a location for a given project.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gcp from "@pulumi/gcp";
|
|
16
|
+
*
|
|
17
|
+
* const central1b = gcp.container.getAwsVersions({
|
|
18
|
+
* location: "us-west1",
|
|
19
|
+
* project: "my-project",
|
|
20
|
+
* });
|
|
21
|
+
* export const firstAvailableVersion = data.google_container_aws_versions.versions.valid_versions[0];
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getAwsVersions(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
if (!opts.version) {
|
|
30
|
+
opts.version = utilities.getVersion();
|
|
31
|
+
}
|
|
32
|
+
return pulumi.runtime.invoke("gcp:container/getAwsVersions:getAwsVersions", {
|
|
33
|
+
"location": args.location,
|
|
34
|
+
"project": args.project,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getAwsVersions = getAwsVersions;
|
|
38
|
+
function getAwsVersionsOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getAwsVersions(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getAwsVersionsOutput = getAwsVersionsOutput;
|
|
42
|
+
//# sourceMappingURL=getAwsVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAwsVersions.js","sourceRoot":"","sources":["../../container/getAwsVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,wCAaC;AAqCD,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides access to available Kubernetes versions in a location for a given project.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as gcp from "@pulumi/gcp";
|
|
10
|
+
*
|
|
11
|
+
* const central1b = gcp.container.getAzureVersions({
|
|
12
|
+
* location: "us-west1",
|
|
13
|
+
* project: "my-project",
|
|
14
|
+
* });
|
|
15
|
+
* export const firstAvailableVersion = data.google_container_azure_versions.versions.valid_versions[0];
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getAzureVersions(args?: GetAzureVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureVersionsResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getAzureVersions.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAzureVersionsArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The location to list versions for.
|
|
25
|
+
*/
|
|
26
|
+
location?: string;
|
|
27
|
+
/**
|
|
28
|
+
* ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to.
|
|
29
|
+
* Defaults to the project that the provider is authenticated with.
|
|
30
|
+
*/
|
|
31
|
+
project?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getAzureVersions.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetAzureVersionsResult {
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly location?: string;
|
|
42
|
+
readonly project?: string;
|
|
43
|
+
/**
|
|
44
|
+
* A list of Azure regions that are available for use with this project and GCP location.
|
|
45
|
+
*/
|
|
46
|
+
readonly supportedRegions: string[];
|
|
47
|
+
/**
|
|
48
|
+
* A list of versions available for use with this project and location.
|
|
49
|
+
*/
|
|
50
|
+
readonly validVersions: string[];
|
|
51
|
+
}
|
|
52
|
+
export declare function getAzureVersionsOutput(args?: GetAzureVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAzureVersionsResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getAzureVersions.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetAzureVersionsOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The location to list versions for.
|
|
59
|
+
*/
|
|
60
|
+
location?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to.
|
|
63
|
+
* Defaults to the project that the provider is authenticated with.
|
|
64
|
+
*/
|
|
65
|
+
project?: pulumi.Input<string>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getAzureVersionsOutput = exports.getAzureVersions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides access to available Kubernetes versions in a location for a given project.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gcp from "@pulumi/gcp";
|
|
16
|
+
*
|
|
17
|
+
* const central1b = gcp.container.getAzureVersions({
|
|
18
|
+
* location: "us-west1",
|
|
19
|
+
* project: "my-project",
|
|
20
|
+
* });
|
|
21
|
+
* export const firstAvailableVersion = data.google_container_azure_versions.versions.valid_versions[0];
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getAzureVersions(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
if (!opts.version) {
|
|
30
|
+
opts.version = utilities.getVersion();
|
|
31
|
+
}
|
|
32
|
+
return pulumi.runtime.invoke("gcp:container/getAzureVersions:getAzureVersions", {
|
|
33
|
+
"location": args.location,
|
|
34
|
+
"project": args.project,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getAzureVersions = getAzureVersions;
|
|
38
|
+
function getAzureVersionsOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getAzureVersions(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getAzureVersionsOutput = getAzureVersionsOutput;
|
|
42
|
+
//# sourceMappingURL=getAzureVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAzureVersions.js","sourceRoot":"","sources":["../../container/getAzureVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4CAaC;AAqCD,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
package/container/index.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
export * from "./awsCluster";
|
|
2
|
+
export * from "./awsNodePool";
|
|
3
|
+
export * from "./azureClient";
|
|
4
|
+
export * from "./azureCluster";
|
|
5
|
+
export * from "./azureNodePool";
|
|
1
6
|
export * from "./cluster";
|
|
7
|
+
export * from "./getAwsVersions";
|
|
8
|
+
export * from "./getAzureVersions";
|
|
2
9
|
export * from "./getCluster";
|
|
3
10
|
export * from "./getEngineVersions";
|
|
4
11
|
export * from "./getRegistryImage";
|
package/container/index.js
CHANGED
|
@@ -15,7 +15,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const pulumi = require("@pulumi/pulumi");
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
|
+
__exportStar(require("./awsCluster"), exports);
|
|
19
|
+
__exportStar(require("./awsNodePool"), exports);
|
|
20
|
+
__exportStar(require("./azureClient"), exports);
|
|
21
|
+
__exportStar(require("./azureCluster"), exports);
|
|
22
|
+
__exportStar(require("./azureNodePool"), exports);
|
|
18
23
|
__exportStar(require("./cluster"), exports);
|
|
24
|
+
__exportStar(require("./getAwsVersions"), exports);
|
|
25
|
+
__exportStar(require("./getAzureVersions"), exports);
|
|
19
26
|
__exportStar(require("./getCluster"), exports);
|
|
20
27
|
__exportStar(require("./getEngineVersions"), exports);
|
|
21
28
|
__exportStar(require("./getRegistryImage"), exports);
|
|
@@ -23,6 +30,11 @@ __exportStar(require("./getRegistryRepository"), exports);
|
|
|
23
30
|
__exportStar(require("./nodePool"), exports);
|
|
24
31
|
__exportStar(require("./registry"), exports);
|
|
25
32
|
// Import resources to register:
|
|
33
|
+
const awsCluster_1 = require("./awsCluster");
|
|
34
|
+
const awsNodePool_1 = require("./awsNodePool");
|
|
35
|
+
const azureClient_1 = require("./azureClient");
|
|
36
|
+
const azureCluster_1 = require("./azureCluster");
|
|
37
|
+
const azureNodePool_1 = require("./azureNodePool");
|
|
26
38
|
const cluster_1 = require("./cluster");
|
|
27
39
|
const nodePool_1 = require("./nodePool");
|
|
28
40
|
const registry_1 = require("./registry");
|
|
@@ -30,6 +42,16 @@ const _module = {
|
|
|
30
42
|
version: utilities.getVersion(),
|
|
31
43
|
construct: (name, type, urn) => {
|
|
32
44
|
switch (type) {
|
|
45
|
+
case "gcp:container/awsCluster:AwsCluster":
|
|
46
|
+
return new awsCluster_1.AwsCluster(name, undefined, { urn });
|
|
47
|
+
case "gcp:container/awsNodePool:AwsNodePool":
|
|
48
|
+
return new awsNodePool_1.AwsNodePool(name, undefined, { urn });
|
|
49
|
+
case "gcp:container/azureClient:AzureClient":
|
|
50
|
+
return new azureClient_1.AzureClient(name, undefined, { urn });
|
|
51
|
+
case "gcp:container/azureCluster:AzureCluster":
|
|
52
|
+
return new azureCluster_1.AzureCluster(name, undefined, { urn });
|
|
53
|
+
case "gcp:container/azureNodePool:AzureNodePool":
|
|
54
|
+
return new azureNodePool_1.AzureNodePool(name, undefined, { urn });
|
|
33
55
|
case "gcp:container/cluster:Cluster":
|
|
34
56
|
return new cluster_1.Cluster(name, undefined, { urn });
|
|
35
57
|
case "gcp:container/nodePool:NodePool":
|
|
@@ -41,6 +63,11 @@ const _module = {
|
|
|
41
63
|
}
|
|
42
64
|
},
|
|
43
65
|
};
|
|
66
|
+
pulumi.runtime.registerResourceModule("gcp", "container/awsCluster", _module);
|
|
67
|
+
pulumi.runtime.registerResourceModule("gcp", "container/awsNodePool", _module);
|
|
68
|
+
pulumi.runtime.registerResourceModule("gcp", "container/azureClient", _module);
|
|
69
|
+
pulumi.runtime.registerResourceModule("gcp", "container/azureCluster", _module);
|
|
70
|
+
pulumi.runtime.registerResourceModule("gcp", "container/azureNodePool", _module);
|
|
44
71
|
pulumi.runtime.registerResourceModule("gcp", "container/cluster", _module);
|
|
45
72
|
pulumi.runtime.registerResourceModule("gcp", "container/nodePool", _module);
|
|
46
73
|
pulumi.runtime.registerResourceModule("gcp", "container/registry", _module);
|
package/container/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../container/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,4CAA0B;AAC1B,+CAA6B;AAC7B,sDAAoC;AACpC,qDAAmC;AACnC,0DAAwC;AACxC,6CAA2B;AAC3B,6CAA2B;AAE3B,gCAAgC;AAChC,uCAAoC;AACpC,yCAAsC;AACtC,yCAAsC;AAEtC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+BAA+B;gBAChC,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,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|
24
24
|
* name: "share1",
|
|
25
25
|
* },
|
|
26
|
+
* location: "us-central1-b",
|
|
26
27
|
* networks: [{
|
|
27
28
|
* modes: ["MODE_IPV4"],
|
|
28
29
|
* network: "default",
|
|
29
30
|
* }],
|
|
30
31
|
* tier: "PREMIUM",
|
|
31
|
-
* zone: "us-central1-b",
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
34
|
* ### Filestore Instance Full
|
|
@@ -38,7 +38,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
38
38
|
* import * as gcp from "@pulumi/gcp";
|
|
39
39
|
*
|
|
40
40
|
* const instance = new gcp.filestore.Instance("instance", {
|
|
41
|
-
*
|
|
41
|
+
* location: "us-central1-b",
|
|
42
42
|
* tier: "BASIC_SSD",
|
|
43
43
|
* fileShares: {
|
|
44
44
|
* capacityGb: 2660,
|
|
@@ -73,19 +73,15 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
73
73
|
* Instance can be imported using any of these accepted formats
|
|
74
74
|
*
|
|
75
75
|
* ```sh
|
|
76
|
-
* $ pulumi import gcp:filestore/instance:Instance default projects/{{project}}/locations/{{
|
|
76
|
+
* $ pulumi import gcp:filestore/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{name}}
|
|
77
77
|
* ```
|
|
78
78
|
*
|
|
79
79
|
* ```sh
|
|
80
|
-
* $ pulumi import gcp:filestore/instance:Instance default {{project}}/{{
|
|
80
|
+
* $ pulumi import gcp:filestore/instance:Instance default {{project}}/{{location}}/{{name}}
|
|
81
81
|
* ```
|
|
82
82
|
*
|
|
83
83
|
* ```sh
|
|
84
|
-
* $ pulumi import gcp:filestore/instance:Instance default {{
|
|
85
|
-
* ```
|
|
86
|
-
*
|
|
87
|
-
* ```sh
|
|
88
|
-
* $ pulumi import gcp:filestore/instance:Instance default {{name}}
|
|
84
|
+
* $ pulumi import gcp:filestore/instance:Instance default {{location}}/{{name}}
|
|
89
85
|
* ```
|
|
90
86
|
*/
|
|
91
87
|
export declare class Instance extends pulumi.CustomResource {
|
|
@@ -128,6 +124,10 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
128
124
|
readonly labels: pulumi.Output<{
|
|
129
125
|
[key: string]: string;
|
|
130
126
|
} | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The name of the location of the instance. This can be a region for ENTERPRISE tier instances.
|
|
129
|
+
*/
|
|
130
|
+
readonly location: pulumi.Output<string>;
|
|
131
131
|
/**
|
|
132
132
|
* The name of the fileshare (16 characters or less)
|
|
133
133
|
*/
|
|
@@ -145,11 +145,15 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
145
145
|
readonly project: pulumi.Output<string>;
|
|
146
146
|
/**
|
|
147
147
|
* The service tier of the instance.
|
|
148
|
-
* Possible values
|
|
148
|
+
* Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD and ENTERPRISE (beta only)
|
|
149
149
|
*/
|
|
150
150
|
readonly tier: pulumi.Output<string>;
|
|
151
151
|
/**
|
|
152
|
+
* -
|
|
153
|
+
* (Optional, Deprecated)
|
|
152
154
|
* The name of the Filestore zone of the instance.
|
|
155
|
+
*
|
|
156
|
+
* @deprecated Deprecated in favor of location.
|
|
153
157
|
*/
|
|
154
158
|
readonly zone: pulumi.Output<string>;
|
|
155
159
|
/**
|
|
@@ -189,6 +193,10 @@ export interface InstanceState {
|
|
|
189
193
|
labels?: pulumi.Input<{
|
|
190
194
|
[key: string]: pulumi.Input<string>;
|
|
191
195
|
}>;
|
|
196
|
+
/**
|
|
197
|
+
* The name of the location of the instance. This can be a region for ENTERPRISE tier instances.
|
|
198
|
+
*/
|
|
199
|
+
location?: pulumi.Input<string>;
|
|
192
200
|
/**
|
|
193
201
|
* The name of the fileshare (16 characters or less)
|
|
194
202
|
*/
|
|
@@ -206,11 +214,15 @@ export interface InstanceState {
|
|
|
206
214
|
project?: pulumi.Input<string>;
|
|
207
215
|
/**
|
|
208
216
|
* The service tier of the instance.
|
|
209
|
-
* Possible values
|
|
217
|
+
* Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD and ENTERPRISE (beta only)
|
|
210
218
|
*/
|
|
211
219
|
tier?: pulumi.Input<string>;
|
|
212
220
|
/**
|
|
221
|
+
* -
|
|
222
|
+
* (Optional, Deprecated)
|
|
213
223
|
* The name of the Filestore zone of the instance.
|
|
224
|
+
*
|
|
225
|
+
* @deprecated Deprecated in favor of location.
|
|
214
226
|
*/
|
|
215
227
|
zone?: pulumi.Input<string>;
|
|
216
228
|
}
|
|
@@ -234,6 +246,10 @@ export interface InstanceArgs {
|
|
|
234
246
|
labels?: pulumi.Input<{
|
|
235
247
|
[key: string]: pulumi.Input<string>;
|
|
236
248
|
}>;
|
|
249
|
+
/**
|
|
250
|
+
* The name of the location of the instance. This can be a region for ENTERPRISE tier instances.
|
|
251
|
+
*/
|
|
252
|
+
location?: pulumi.Input<string>;
|
|
237
253
|
/**
|
|
238
254
|
* The name of the fileshare (16 characters or less)
|
|
239
255
|
*/
|
|
@@ -251,11 +267,15 @@ export interface InstanceArgs {
|
|
|
251
267
|
project?: pulumi.Input<string>;
|
|
252
268
|
/**
|
|
253
269
|
* The service tier of the instance.
|
|
254
|
-
* Possible values
|
|
270
|
+
* Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD and ENTERPRISE (beta only)
|
|
255
271
|
*/
|
|
256
272
|
tier: pulumi.Input<string>;
|
|
257
273
|
/**
|
|
274
|
+
* -
|
|
275
|
+
* (Optional, Deprecated)
|
|
258
276
|
* The name of the Filestore zone of the instance.
|
|
277
|
+
*
|
|
278
|
+
* @deprecated Deprecated in favor of location.
|
|
259
279
|
*/
|
|
260
|
-
zone
|
|
280
|
+
zone?: pulumi.Input<string>;
|
|
261
281
|
}
|