@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,180 @@
|
|
|
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.AzureCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* An Anthos cluster 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_cluster
|
|
15
|
+
* A basic example of a containerazure azure cluster
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as gcp from "@pulumi/gcp";
|
|
19
|
+
*
|
|
20
|
+
* const versions = pulumi.output(gcp.container.getAzureVersions({
|
|
21
|
+
* location: "us-west1",
|
|
22
|
+
* project: "my-project-name",
|
|
23
|
+
* }));
|
|
24
|
+
* const basic = new gcp.container.AzureClient("basic", {
|
|
25
|
+
* applicationId: "12345678-1234-1234-1234-123456789111",
|
|
26
|
+
* location: "us-west1",
|
|
27
|
+
* project: "my-project-name",
|
|
28
|
+
* tenantId: "12345678-1234-1234-1234-123456789111",
|
|
29
|
+
* });
|
|
30
|
+
* const primary = new gcp.container.AzureCluster("primary", {
|
|
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.apply(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
|
+
* project: "my-project-name",
|
|
55
|
+
* resourceGroupId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ## Import
|
|
60
|
+
*
|
|
61
|
+
* Cluster can be imported using any of these accepted formats
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import gcp:container/azureCluster:AzureCluster default projects/{{project}}/locations/{{location}}/azureClusters/{{name}}
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* ```sh
|
|
68
|
+
* $ pulumi import gcp:container/azureCluster:AzureCluster default {{project}}/{{location}}/{{name}}
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* ```sh
|
|
72
|
+
* $ pulumi import gcp:container/azureCluster:AzureCluster default {{location}}/{{name}}
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
class AzureCluster extends pulumi.CustomResource {
|
|
76
|
+
constructor(name, argsOrState, opts) {
|
|
77
|
+
let inputs = {};
|
|
78
|
+
opts = opts || {};
|
|
79
|
+
if (opts.id) {
|
|
80
|
+
const state = argsOrState;
|
|
81
|
+
inputs["annotations"] = state ? state.annotations : undefined;
|
|
82
|
+
inputs["authorization"] = state ? state.authorization : undefined;
|
|
83
|
+
inputs["azureRegion"] = state ? state.azureRegion : undefined;
|
|
84
|
+
inputs["client"] = state ? state.client : undefined;
|
|
85
|
+
inputs["controlPlane"] = state ? state.controlPlane : undefined;
|
|
86
|
+
inputs["createTime"] = state ? state.createTime : undefined;
|
|
87
|
+
inputs["description"] = state ? state.description : undefined;
|
|
88
|
+
inputs["endpoint"] = state ? state.endpoint : undefined;
|
|
89
|
+
inputs["etag"] = state ? state.etag : undefined;
|
|
90
|
+
inputs["fleet"] = state ? state.fleet : undefined;
|
|
91
|
+
inputs["location"] = state ? state.location : undefined;
|
|
92
|
+
inputs["name"] = state ? state.name : undefined;
|
|
93
|
+
inputs["networking"] = state ? state.networking : undefined;
|
|
94
|
+
inputs["project"] = state ? state.project : undefined;
|
|
95
|
+
inputs["reconciling"] = state ? state.reconciling : undefined;
|
|
96
|
+
inputs["resourceGroupId"] = state ? state.resourceGroupId : undefined;
|
|
97
|
+
inputs["state"] = state ? state.state : undefined;
|
|
98
|
+
inputs["uid"] = state ? state.uid : undefined;
|
|
99
|
+
inputs["updateTime"] = state ? state.updateTime : undefined;
|
|
100
|
+
inputs["workloadIdentityConfigs"] = state ? state.workloadIdentityConfigs : undefined;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
const args = argsOrState;
|
|
104
|
+
if ((!args || args.authorization === undefined) && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'authorization'");
|
|
106
|
+
}
|
|
107
|
+
if ((!args || args.azureRegion === undefined) && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'azureRegion'");
|
|
109
|
+
}
|
|
110
|
+
if ((!args || args.client === undefined) && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'client'");
|
|
112
|
+
}
|
|
113
|
+
if ((!args || args.controlPlane === undefined) && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'controlPlane'");
|
|
115
|
+
}
|
|
116
|
+
if ((!args || args.fleet === undefined) && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'fleet'");
|
|
118
|
+
}
|
|
119
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
120
|
+
throw new Error("Missing required property 'location'");
|
|
121
|
+
}
|
|
122
|
+
if ((!args || args.networking === undefined) && !opts.urn) {
|
|
123
|
+
throw new Error("Missing required property 'networking'");
|
|
124
|
+
}
|
|
125
|
+
if ((!args || args.resourceGroupId === undefined) && !opts.urn) {
|
|
126
|
+
throw new Error("Missing required property 'resourceGroupId'");
|
|
127
|
+
}
|
|
128
|
+
inputs["annotations"] = args ? args.annotations : undefined;
|
|
129
|
+
inputs["authorization"] = args ? args.authorization : undefined;
|
|
130
|
+
inputs["azureRegion"] = args ? args.azureRegion : undefined;
|
|
131
|
+
inputs["client"] = args ? args.client : undefined;
|
|
132
|
+
inputs["controlPlane"] = args ? args.controlPlane : undefined;
|
|
133
|
+
inputs["description"] = args ? args.description : undefined;
|
|
134
|
+
inputs["fleet"] = args ? args.fleet : undefined;
|
|
135
|
+
inputs["location"] = args ? args.location : undefined;
|
|
136
|
+
inputs["name"] = args ? args.name : undefined;
|
|
137
|
+
inputs["networking"] = args ? args.networking : undefined;
|
|
138
|
+
inputs["project"] = args ? args.project : undefined;
|
|
139
|
+
inputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
140
|
+
inputs["createTime"] = undefined /*out*/;
|
|
141
|
+
inputs["endpoint"] = undefined /*out*/;
|
|
142
|
+
inputs["etag"] = undefined /*out*/;
|
|
143
|
+
inputs["reconciling"] = undefined /*out*/;
|
|
144
|
+
inputs["state"] = undefined /*out*/;
|
|
145
|
+
inputs["uid"] = undefined /*out*/;
|
|
146
|
+
inputs["updateTime"] = undefined /*out*/;
|
|
147
|
+
inputs["workloadIdentityConfigs"] = undefined /*out*/;
|
|
148
|
+
}
|
|
149
|
+
if (!opts.version) {
|
|
150
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
151
|
+
}
|
|
152
|
+
super(AzureCluster.__pulumiType, name, inputs, opts);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Get an existing AzureCluster resource's state with the given name, ID, and optional extra
|
|
156
|
+
* properties used to qualify the lookup.
|
|
157
|
+
*
|
|
158
|
+
* @param name The _unique_ name of the resulting resource.
|
|
159
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
160
|
+
* @param state Any extra arguments used during the lookup.
|
|
161
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
162
|
+
*/
|
|
163
|
+
static get(name, id, state, opts) {
|
|
164
|
+
return new AzureCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Returns true if the given object is an instance of AzureCluster. This is designed to work even
|
|
168
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
169
|
+
*/
|
|
170
|
+
static isInstance(obj) {
|
|
171
|
+
if (obj === undefined || obj === null) {
|
|
172
|
+
return false;
|
|
173
|
+
}
|
|
174
|
+
return obj['__pulumiType'] === AzureCluster.__pulumiType;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
exports.AzureCluster = AzureCluster;
|
|
178
|
+
/** @internal */
|
|
179
|
+
AzureCluster.__pulumiType = 'gcp:container/azureCluster:AzureCluster';
|
|
180
|
+
//# sourceMappingURL=azureCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureCluster.js","sourceRoot":"","sources":["../../container/azureCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,YAAa,SAAQ,MAA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AAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAoMC;AAtLG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* An Anthos node pool running on Azure.
|
|
5
|
+
*
|
|
6
|
+
* For more information, see:
|
|
7
|
+
* * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
* ### Basic_azure_node_pool
|
|
10
|
+
* A basic example of a containerazure azure node pool
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as gcp from "@pulumi/gcp";
|
|
14
|
+
*
|
|
15
|
+
* const versions = gcp.container.getAzureVersions({
|
|
16
|
+
* project: "my-project-name",
|
|
17
|
+
* location: "us-west1",
|
|
18
|
+
* });
|
|
19
|
+
* const basic = new gcp.container.AzureClient("basic", {
|
|
20
|
+
* applicationId: "12345678-1234-1234-1234-123456789111",
|
|
21
|
+
* location: "us-west1",
|
|
22
|
+
* tenantId: "12345678-1234-1234-1234-123456789111",
|
|
23
|
+
* project: "my-project-name",
|
|
24
|
+
* });
|
|
25
|
+
* const primaryAzureCluster = new gcp.container.AzureCluster("primaryAzureCluster", {
|
|
26
|
+
* authorization: {
|
|
27
|
+
* adminUsers: [{
|
|
28
|
+
* username: "mmv2@google.com",
|
|
29
|
+
* }],
|
|
30
|
+
* },
|
|
31
|
+
* azureRegion: "westus2",
|
|
32
|
+
* client: pulumi.interpolate`projects/my-project-number/locations/us-west1/azureClients/${basic.name}`,
|
|
33
|
+
* controlPlane: {
|
|
34
|
+
* sshConfig: {
|
|
35
|
+
* 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",
|
|
36
|
+
* },
|
|
37
|
+
* subnetId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
|
|
38
|
+
* version: versions.then(versions => versions.validVersions?[0]),
|
|
39
|
+
* },
|
|
40
|
+
* fleet: {
|
|
41
|
+
* project: "my-project-number",
|
|
42
|
+
* },
|
|
43
|
+
* location: "us-west1",
|
|
44
|
+
* networking: {
|
|
45
|
+
* podAddressCidrBlocks: ["10.200.0.0/16"],
|
|
46
|
+
* serviceAddressCidrBlocks: ["10.32.0.0/24"],
|
|
47
|
+
* virtualNetworkId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
|
|
48
|
+
* },
|
|
49
|
+
* resourceGroupId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
|
|
50
|
+
* project: "my-project-name",
|
|
51
|
+
* });
|
|
52
|
+
* const primaryAzureNodePool = new gcp.container.AzureNodePool("primaryAzureNodePool", {
|
|
53
|
+
* autoscaling: {
|
|
54
|
+
* maxNodeCount: 3,
|
|
55
|
+
* minNodeCount: 2,
|
|
56
|
+
* },
|
|
57
|
+
* cluster: primaryAzureCluster.name,
|
|
58
|
+
* config: {
|
|
59
|
+
* sshConfig: {
|
|
60
|
+
* 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",
|
|
61
|
+
* },
|
|
62
|
+
* rootVolume: {
|
|
63
|
+
* sizeGib: 32,
|
|
64
|
+
* },
|
|
65
|
+
* tags: {
|
|
66
|
+
* owner: "mmv2",
|
|
67
|
+
* },
|
|
68
|
+
* vmSize: "Standard_DS2_v2",
|
|
69
|
+
* },
|
|
70
|
+
* location: "us-west1",
|
|
71
|
+
* maxPodsConstraint: {
|
|
72
|
+
* maxPodsPerNode: 110,
|
|
73
|
+
* },
|
|
74
|
+
* subnetId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
|
|
75
|
+
* version: versions.then(versions => versions.validVersions?[0]),
|
|
76
|
+
* annotations: {
|
|
77
|
+
* "annotation-one": "value-one",
|
|
78
|
+
* },
|
|
79
|
+
* project: "my-project-name",
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* ## Import
|
|
84
|
+
*
|
|
85
|
+
* NodePool can be imported using any of these accepted formats
|
|
86
|
+
*
|
|
87
|
+
* ```sh
|
|
88
|
+
* $ pulumi import gcp:container/azureNodePool:AzureNodePool default projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* ```sh
|
|
92
|
+
* $ pulumi import gcp:container/azureNodePool:AzureNodePool default {{project}}/{{location}}/{{cluster}}/{{name}}
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* ```sh
|
|
96
|
+
* $ pulumi import gcp:container/azureNodePool:AzureNodePool default {{location}}/{{cluster}}/{{name}}
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
export declare class AzureNodePool extends pulumi.CustomResource {
|
|
100
|
+
/**
|
|
101
|
+
* Get an existing AzureNodePool resource's state with the given name, ID, and optional extra
|
|
102
|
+
* properties used to qualify the lookup.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resulting resource.
|
|
105
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
106
|
+
* @param state Any extra arguments used during the lookup.
|
|
107
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
108
|
+
*/
|
|
109
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureNodePoolState, opts?: pulumi.CustomResourceOptions): AzureNodePool;
|
|
110
|
+
/**
|
|
111
|
+
* Returns true if the given object is an instance of AzureNodePool. This is designed to work even
|
|
112
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
113
|
+
*/
|
|
114
|
+
static isInstance(obj: any): obj is AzureNodePool;
|
|
115
|
+
/**
|
|
116
|
+
* Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
|
|
117
|
+
*/
|
|
118
|
+
readonly annotations: pulumi.Output<{
|
|
119
|
+
[key: string]: string;
|
|
120
|
+
} | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Required. Autoscaler configuration for this node pool.
|
|
123
|
+
*/
|
|
124
|
+
readonly autoscaling: pulumi.Output<outputs.container.AzureNodePoolAutoscaling>;
|
|
125
|
+
/**
|
|
126
|
+
* Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to `1`.
|
|
127
|
+
*/
|
|
128
|
+
readonly azureAvailabilityZone: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The azureCluster for the resource
|
|
131
|
+
*/
|
|
132
|
+
readonly cluster: pulumi.Output<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Required. The node configuration of the node pool.
|
|
135
|
+
*/
|
|
136
|
+
readonly config: pulumi.Output<outputs.container.AzureNodePoolConfig>;
|
|
137
|
+
/**
|
|
138
|
+
* Output only. The time at which this node pool was created.
|
|
139
|
+
*/
|
|
140
|
+
readonly createTime: pulumi.Output<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update
|
|
143
|
+
* and delete requests to ensure the client has an up-to-date value before proceeding.
|
|
144
|
+
*/
|
|
145
|
+
readonly etag: pulumi.Output<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The location for the resource
|
|
148
|
+
*/
|
|
149
|
+
readonly location: pulumi.Output<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
|
|
152
|
+
*/
|
|
153
|
+
readonly maxPodsConstraint: pulumi.Output<outputs.container.AzureNodePoolMaxPodsConstraint>;
|
|
154
|
+
/**
|
|
155
|
+
* The name of this resource.
|
|
156
|
+
*/
|
|
157
|
+
readonly name: pulumi.Output<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The project for the resource
|
|
160
|
+
*/
|
|
161
|
+
readonly project: pulumi.Output<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Output only. If set, there are currently pending changes to the node pool.
|
|
164
|
+
*/
|
|
165
|
+
readonly reconciling: pulumi.Output<boolean>;
|
|
166
|
+
/**
|
|
167
|
+
* Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING,
|
|
168
|
+
* STOPPING, ERROR, DEGRADED
|
|
169
|
+
*/
|
|
170
|
+
readonly state: pulumi.Output<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
|
|
173
|
+
*/
|
|
174
|
+
readonly subnetId: pulumi.Output<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Output only. A globally unique identifier for the node pool.
|
|
177
|
+
*/
|
|
178
|
+
readonly uid: pulumi.Output<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Output only. The time at which this node pool was last updated.
|
|
181
|
+
*/
|
|
182
|
+
readonly updateTime: pulumi.Output<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this node pool.
|
|
185
|
+
*/
|
|
186
|
+
readonly version: pulumi.Output<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Create a AzureNodePool resource with the given unique name, arguments, and options.
|
|
189
|
+
*
|
|
190
|
+
* @param name The _unique_ name of the resource.
|
|
191
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
192
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
193
|
+
*/
|
|
194
|
+
constructor(name: string, args: AzureNodePoolArgs, opts?: pulumi.CustomResourceOptions);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Input properties used for looking up and filtering AzureNodePool resources.
|
|
198
|
+
*/
|
|
199
|
+
export interface AzureNodePoolState {
|
|
200
|
+
/**
|
|
201
|
+
* Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
|
|
202
|
+
*/
|
|
203
|
+
annotations?: pulumi.Input<{
|
|
204
|
+
[key: string]: pulumi.Input<string>;
|
|
205
|
+
}>;
|
|
206
|
+
/**
|
|
207
|
+
* Required. Autoscaler configuration for this node pool.
|
|
208
|
+
*/
|
|
209
|
+
autoscaling?: pulumi.Input<inputs.container.AzureNodePoolAutoscaling>;
|
|
210
|
+
/**
|
|
211
|
+
* Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to `1`.
|
|
212
|
+
*/
|
|
213
|
+
azureAvailabilityZone?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* The azureCluster for the resource
|
|
216
|
+
*/
|
|
217
|
+
cluster?: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* Required. The node configuration of the node pool.
|
|
220
|
+
*/
|
|
221
|
+
config?: pulumi.Input<inputs.container.AzureNodePoolConfig>;
|
|
222
|
+
/**
|
|
223
|
+
* Output only. The time at which this node pool was created.
|
|
224
|
+
*/
|
|
225
|
+
createTime?: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update
|
|
228
|
+
* and delete requests to ensure the client has an up-to-date value before proceeding.
|
|
229
|
+
*/
|
|
230
|
+
etag?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* The location for the resource
|
|
233
|
+
*/
|
|
234
|
+
location?: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
|
|
237
|
+
*/
|
|
238
|
+
maxPodsConstraint?: pulumi.Input<inputs.container.AzureNodePoolMaxPodsConstraint>;
|
|
239
|
+
/**
|
|
240
|
+
* The name of this resource.
|
|
241
|
+
*/
|
|
242
|
+
name?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* The project for the resource
|
|
245
|
+
*/
|
|
246
|
+
project?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Output only. If set, there are currently pending changes to the node pool.
|
|
249
|
+
*/
|
|
250
|
+
reconciling?: pulumi.Input<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
* Output only. The current state of the node pool. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING,
|
|
253
|
+
* STOPPING, ERROR, DEGRADED
|
|
254
|
+
*/
|
|
255
|
+
state?: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
|
|
258
|
+
*/
|
|
259
|
+
subnetId?: pulumi.Input<string>;
|
|
260
|
+
/**
|
|
261
|
+
* Output only. A globally unique identifier for the node pool.
|
|
262
|
+
*/
|
|
263
|
+
uid?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Output only. The time at which this node pool was last updated.
|
|
266
|
+
*/
|
|
267
|
+
updateTime?: pulumi.Input<string>;
|
|
268
|
+
/**
|
|
269
|
+
* Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this node pool.
|
|
270
|
+
*/
|
|
271
|
+
version?: pulumi.Input<string>;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* The set of arguments for constructing a AzureNodePool resource.
|
|
275
|
+
*/
|
|
276
|
+
export interface AzureNodePoolArgs {
|
|
277
|
+
/**
|
|
278
|
+
* Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
|
|
279
|
+
*/
|
|
280
|
+
annotations?: pulumi.Input<{
|
|
281
|
+
[key: string]: pulumi.Input<string>;
|
|
282
|
+
}>;
|
|
283
|
+
/**
|
|
284
|
+
* Required. Autoscaler configuration for this node pool.
|
|
285
|
+
*/
|
|
286
|
+
autoscaling: pulumi.Input<inputs.container.AzureNodePoolAutoscaling>;
|
|
287
|
+
/**
|
|
288
|
+
* Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to `1`.
|
|
289
|
+
*/
|
|
290
|
+
azureAvailabilityZone?: pulumi.Input<string>;
|
|
291
|
+
/**
|
|
292
|
+
* The azureCluster for the resource
|
|
293
|
+
*/
|
|
294
|
+
cluster: pulumi.Input<string>;
|
|
295
|
+
/**
|
|
296
|
+
* Required. The node configuration of the node pool.
|
|
297
|
+
*/
|
|
298
|
+
config: pulumi.Input<inputs.container.AzureNodePoolConfig>;
|
|
299
|
+
/**
|
|
300
|
+
* The location for the resource
|
|
301
|
+
*/
|
|
302
|
+
location: pulumi.Input<string>;
|
|
303
|
+
/**
|
|
304
|
+
* Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
|
|
305
|
+
*/
|
|
306
|
+
maxPodsConstraint: pulumi.Input<inputs.container.AzureNodePoolMaxPodsConstraint>;
|
|
307
|
+
/**
|
|
308
|
+
* The name of this resource.
|
|
309
|
+
*/
|
|
310
|
+
name?: pulumi.Input<string>;
|
|
311
|
+
/**
|
|
312
|
+
* The project for the resource
|
|
313
|
+
*/
|
|
314
|
+
project?: pulumi.Input<string>;
|
|
315
|
+
/**
|
|
316
|
+
* Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.
|
|
317
|
+
*/
|
|
318
|
+
subnetId: pulumi.Input<string>;
|
|
319
|
+
/**
|
|
320
|
+
* Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this node pool.
|
|
321
|
+
*/
|
|
322
|
+
version: pulumi.Input<string>;
|
|
323
|
+
}
|