@pulumi/coreweave 0.1.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/LICENSE +202 -0
- package/README.md +106 -0
- package/cksCluster.d.ts +282 -0
- package/cksCluster.d.ts.map +1 -0
- package/cksCluster.js +130 -0
- package/cksCluster.js.map +1 -0
- package/config/index.d.ts +2 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +17 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +54 -0
- package/config/vars.js.map +1 -0
- package/getCksCluster.d.ts +44 -0
- package/getCksCluster.d.ts.map +1 -0
- package/getCksCluster.js +45 -0
- package/getCksCluster.js.map +1 -0
- package/getNetworkingVpc.d.ts +34 -0
- package/getNetworkingVpc.d.ts.map +1 -0
- package/getNetworkingVpc.js +45 -0
- package/getNetworkingVpc.js.map +1 -0
- package/getObjectStorageBucketPolicyDocument.d.ts +31 -0
- package/getObjectStorageBucketPolicyDocument.d.ts.map +1 -0
- package/getObjectStorageBucketPolicyDocument.js +51 -0
- package/getObjectStorageBucketPolicyDocument.js.map +1 -0
- package/index.d.ts +38 -0
- package/index.d.ts.map +1 -0
- package/index.js +108 -0
- package/index.js.map +1 -0
- package/networkingVpc.d.ts +147 -0
- package/networkingVpc.d.ts.map +1 -0
- package/networkingVpc.js +89 -0
- package/networkingVpc.js.map +1 -0
- package/objectStorageBucket.d.ts +79 -0
- package/objectStorageBucket.d.ts.map +1 -0
- package/objectStorageBucket.js +79 -0
- package/objectStorageBucket.js.map +1 -0
- package/objectStorageBucketLifecycleConfiguration.d.ts +63 -0
- package/objectStorageBucketLifecycleConfiguration.d.ts.map +1 -0
- package/objectStorageBucketLifecycleConfiguration.js +77 -0
- package/objectStorageBucketLifecycleConfiguration.js.map +1 -0
- package/objectStorageBucketPolicy.d.ts +61 -0
- package/objectStorageBucketPolicy.d.ts.map +1 -0
- package/objectStorageBucketPolicy.js +80 -0
- package/objectStorageBucketPolicy.js.map +1 -0
- package/objectStorageBucketSettings.d.ts +61 -0
- package/objectStorageBucketSettings.d.ts.map +1 -0
- package/objectStorageBucketSettings.js +77 -0
- package/objectStorageBucketSettings.js.map +1 -0
- package/objectStorageBucketVersioning.d.ts +54 -0
- package/objectStorageBucketVersioning.d.ts.map +1 -0
- package/objectStorageBucketVersioning.js +77 -0
- package/objectStorageBucketVersioning.js.map +1 -0
- package/objectStorageOrganizationAccessPolicy.d.ts +63 -0
- package/objectStorageOrganizationAccessPolicy.d.ts.map +1 -0
- package/objectStorageOrganizationAccessPolicy.js +77 -0
- package/objectStorageOrganizationAccessPolicy.js.map +1 -0
- package/package.json +27 -0
- package/provider.d.ts +74 -0
- package/provider.d.ts.map +1 -0
- package/provider.js +81 -0
- package/provider.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +34 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +344 -0
- package/types/input.d.ts.map +1 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +407 -0
- package/types/output.d.ts.map +1 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +5 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +114 -0
- package/utilities.js.map +1 -0
package/index.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
28
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
exports.types = exports.config = exports.ObjectStorageOrganizationAccessPolicy = exports.ObjectStorageBucketVersioning = exports.ObjectStorageBucketSettings = exports.ObjectStorageBucketPolicy = exports.ObjectStorageBucketLifecycleConfiguration = exports.ObjectStorageBucket = exports.NetworkingVpc = exports.getObjectStorageBucketPolicyDocumentOutput = exports.getObjectStorageBucketPolicyDocument = exports.getNetworkingVpcOutput = exports.getNetworkingVpc = exports.getCksClusterOutput = exports.getCksCluster = exports.CksCluster = void 0;
|
|
32
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
33
|
+
const utilities = __importStar(require("./utilities"));
|
|
34
|
+
exports.CksCluster = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["CksCluster"], () => require("./cksCluster"));
|
|
36
|
+
exports.getCksCluster = null;
|
|
37
|
+
exports.getCksClusterOutput = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["getCksCluster", "getCksClusterOutput"], () => require("./getCksCluster"));
|
|
39
|
+
exports.getNetworkingVpc = null;
|
|
40
|
+
exports.getNetworkingVpcOutput = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["getNetworkingVpc", "getNetworkingVpcOutput"], () => require("./getNetworkingVpc"));
|
|
42
|
+
exports.getObjectStorageBucketPolicyDocument = null;
|
|
43
|
+
exports.getObjectStorageBucketPolicyDocumentOutput = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["getObjectStorageBucketPolicyDocument", "getObjectStorageBucketPolicyDocumentOutput"], () => require("./getObjectStorageBucketPolicyDocument"));
|
|
45
|
+
exports.NetworkingVpc = null;
|
|
46
|
+
utilities.lazyLoad(exports, ["NetworkingVpc"], () => require("./networkingVpc"));
|
|
47
|
+
exports.ObjectStorageBucket = null;
|
|
48
|
+
utilities.lazyLoad(exports, ["ObjectStorageBucket"], () => require("./objectStorageBucket"));
|
|
49
|
+
exports.ObjectStorageBucketLifecycleConfiguration = null;
|
|
50
|
+
utilities.lazyLoad(exports, ["ObjectStorageBucketLifecycleConfiguration"], () => require("./objectStorageBucketLifecycleConfiguration"));
|
|
51
|
+
exports.ObjectStorageBucketPolicy = null;
|
|
52
|
+
utilities.lazyLoad(exports, ["ObjectStorageBucketPolicy"], () => require("./objectStorageBucketPolicy"));
|
|
53
|
+
exports.ObjectStorageBucketSettings = null;
|
|
54
|
+
utilities.lazyLoad(exports, ["ObjectStorageBucketSettings"], () => require("./objectStorageBucketSettings"));
|
|
55
|
+
exports.ObjectStorageBucketVersioning = null;
|
|
56
|
+
utilities.lazyLoad(exports, ["ObjectStorageBucketVersioning"], () => require("./objectStorageBucketVersioning"));
|
|
57
|
+
exports.ObjectStorageOrganizationAccessPolicy = null;
|
|
58
|
+
utilities.lazyLoad(exports, ["ObjectStorageOrganizationAccessPolicy"], () => require("./objectStorageOrganizationAccessPolicy"));
|
|
59
|
+
__exportStar(require("./provider"), exports);
|
|
60
|
+
const provider_1 = require("./provider");
|
|
61
|
+
// Export sub-modules:
|
|
62
|
+
const config = __importStar(require("./config"));
|
|
63
|
+
exports.config = config;
|
|
64
|
+
const types = __importStar(require("./types"));
|
|
65
|
+
exports.types = types;
|
|
66
|
+
const _module = {
|
|
67
|
+
version: utilities.getVersion(),
|
|
68
|
+
construct: (name, type, urn) => {
|
|
69
|
+
switch (type) {
|
|
70
|
+
case "coreweave:index/cksCluster:CksCluster":
|
|
71
|
+
return new exports.CksCluster(name, undefined, { urn });
|
|
72
|
+
case "coreweave:index/networkingVpc:NetworkingVpc":
|
|
73
|
+
return new exports.NetworkingVpc(name, undefined, { urn });
|
|
74
|
+
case "coreweave:index/objectStorageBucket:ObjectStorageBucket":
|
|
75
|
+
return new exports.ObjectStorageBucket(name, undefined, { urn });
|
|
76
|
+
case "coreweave:index/objectStorageBucketLifecycleConfiguration:ObjectStorageBucketLifecycleConfiguration":
|
|
77
|
+
return new exports.ObjectStorageBucketLifecycleConfiguration(name, undefined, { urn });
|
|
78
|
+
case "coreweave:index/objectStorageBucketPolicy:ObjectStorageBucketPolicy":
|
|
79
|
+
return new exports.ObjectStorageBucketPolicy(name, undefined, { urn });
|
|
80
|
+
case "coreweave:index/objectStorageBucketSettings:ObjectStorageBucketSettings":
|
|
81
|
+
return new exports.ObjectStorageBucketSettings(name, undefined, { urn });
|
|
82
|
+
case "coreweave:index/objectStorageBucketVersioning:ObjectStorageBucketVersioning":
|
|
83
|
+
return new exports.ObjectStorageBucketVersioning(name, undefined, { urn });
|
|
84
|
+
case "coreweave:index/objectStorageOrganizationAccessPolicy:ObjectStorageOrganizationAccessPolicy":
|
|
85
|
+
return new exports.ObjectStorageOrganizationAccessPolicy(name, undefined, { urn });
|
|
86
|
+
default:
|
|
87
|
+
throw new Error(`unknown resource type ${type}`);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/cksCluster", _module);
|
|
92
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/networkingVpc", _module);
|
|
93
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/objectStorageBucket", _module);
|
|
94
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/objectStorageBucketLifecycleConfiguration", _module);
|
|
95
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/objectStorageBucketPolicy", _module);
|
|
96
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/objectStorageBucketSettings", _module);
|
|
97
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/objectStorageBucketVersioning", _module);
|
|
98
|
+
pulumi.runtime.registerResourceModule("coreweave", "index/objectStorageOrganizationAccessPolicy", _module);
|
|
99
|
+
pulumi.runtime.registerResourcePackage("coreweave", {
|
|
100
|
+
version: utilities.getVersion(),
|
|
101
|
+
constructProvider: (name, type, urn) => {
|
|
102
|
+
if (type !== "pulumi:providers:coreweave") {
|
|
103
|
+
throw new Error(`unknown provider type ${type}`);
|
|
104
|
+
}
|
|
105
|
+
return new provider_1.Provider(name, undefined, { urn });
|
|
106
|
+
},
|
|
107
|
+
});
|
|
108
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAK5B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG9D,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OA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AC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class NetworkingVpc extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing NetworkingVpc resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkingVpcState, opts?: pulumi.CustomResourceOptions): NetworkingVpc;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of NetworkingVpc. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is NetworkingVpc;
|
|
20
|
+
/**
|
|
21
|
+
* Settings affecting DHCP behavior within the VPC.
|
|
22
|
+
*/
|
|
23
|
+
readonly dhcp: pulumi.Output<outputs.NetworkingVpcDhcp | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Settings affecting traffic leaving the VPC.
|
|
26
|
+
*/
|
|
27
|
+
readonly egress: pulumi.Output<outputs.NetworkingVpcEgress>;
|
|
28
|
+
/**
|
|
29
|
+
* An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.
|
|
30
|
+
* This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server.
|
|
31
|
+
* This field is immutable once set.
|
|
32
|
+
*
|
|
33
|
+
* @deprecated `hostPrefix` is deprecated. Use `hostPrefixes` instead. The field will be removed in a future version. The equivalent expression for a given resource may be found by refreshing state and running `terraform state show coreweave_networking_vpc.example`.
|
|
34
|
+
*/
|
|
35
|
+
readonly hostPrefix: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
|
|
38
|
+
*/
|
|
39
|
+
readonly hostPrefixes: pulumi.Output<outputs.NetworkingVpcHostPrefix[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Settings affecting traffic entering the VPC.
|
|
42
|
+
*/
|
|
43
|
+
readonly ingress: pulumi.Output<outputs.NetworkingVpcIngress>;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the VPC. Must not be longer than 30 characters.
|
|
46
|
+
*/
|
|
47
|
+
readonly name: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
|
|
50
|
+
*/
|
|
51
|
+
readonly vpcPrefixes: pulumi.Output<outputs.NetworkingVpcVpcPrefix[] | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The Availability Zone in which the VPC is located.
|
|
54
|
+
*/
|
|
55
|
+
readonly zone: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a NetworkingVpc resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: NetworkingVpcArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering NetworkingVpc resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface NetworkingVpcState {
|
|
69
|
+
/**
|
|
70
|
+
* Settings affecting DHCP behavior within the VPC.
|
|
71
|
+
*/
|
|
72
|
+
dhcp?: pulumi.Input<inputs.NetworkingVpcDhcp>;
|
|
73
|
+
/**
|
|
74
|
+
* Settings affecting traffic leaving the VPC.
|
|
75
|
+
*/
|
|
76
|
+
egress?: pulumi.Input<inputs.NetworkingVpcEgress>;
|
|
77
|
+
/**
|
|
78
|
+
* An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.
|
|
79
|
+
* This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server.
|
|
80
|
+
* This field is immutable once set.
|
|
81
|
+
*
|
|
82
|
+
* @deprecated `hostPrefix` is deprecated. Use `hostPrefixes` instead. The field will be removed in a future version. The equivalent expression for a given resource may be found by refreshing state and running `terraform state show coreweave_networking_vpc.example`.
|
|
83
|
+
*/
|
|
84
|
+
hostPrefix?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
|
|
87
|
+
*/
|
|
88
|
+
hostPrefixes?: pulumi.Input<pulumi.Input<inputs.NetworkingVpcHostPrefix>[]>;
|
|
89
|
+
/**
|
|
90
|
+
* Settings affecting traffic entering the VPC.
|
|
91
|
+
*/
|
|
92
|
+
ingress?: pulumi.Input<inputs.NetworkingVpcIngress>;
|
|
93
|
+
/**
|
|
94
|
+
* The name of the VPC. Must not be longer than 30 characters.
|
|
95
|
+
*/
|
|
96
|
+
name?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
|
|
99
|
+
*/
|
|
100
|
+
vpcPrefixes?: pulumi.Input<pulumi.Input<inputs.NetworkingVpcVpcPrefix>[]>;
|
|
101
|
+
/**
|
|
102
|
+
* The Availability Zone in which the VPC is located.
|
|
103
|
+
*/
|
|
104
|
+
zone?: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a NetworkingVpc resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface NetworkingVpcArgs {
|
|
110
|
+
/**
|
|
111
|
+
* Settings affecting DHCP behavior within the VPC.
|
|
112
|
+
*/
|
|
113
|
+
dhcp?: pulumi.Input<inputs.NetworkingVpcDhcp>;
|
|
114
|
+
/**
|
|
115
|
+
* Settings affecting traffic leaving the VPC.
|
|
116
|
+
*/
|
|
117
|
+
egress?: pulumi.Input<inputs.NetworkingVpcEgress>;
|
|
118
|
+
/**
|
|
119
|
+
* An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC.
|
|
120
|
+
* This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server.
|
|
121
|
+
* This field is immutable once set.
|
|
122
|
+
*
|
|
123
|
+
* @deprecated `hostPrefix` is deprecated. Use `hostPrefixes` instead. The field will be removed in a future version. The equivalent expression for a given resource may be found by refreshing state and running `terraform state show coreweave_networking_vpc.example`.
|
|
124
|
+
*/
|
|
125
|
+
hostPrefix?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
|
|
128
|
+
*/
|
|
129
|
+
hostPrefixes?: pulumi.Input<pulumi.Input<inputs.NetworkingVpcHostPrefix>[]>;
|
|
130
|
+
/**
|
|
131
|
+
* Settings affecting traffic entering the VPC.
|
|
132
|
+
*/
|
|
133
|
+
ingress?: pulumi.Input<inputs.NetworkingVpcIngress>;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the VPC. Must not be longer than 30 characters.
|
|
136
|
+
*/
|
|
137
|
+
name?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
|
|
140
|
+
*/
|
|
141
|
+
vpcPrefixes?: pulumi.Input<pulumi.Input<inputs.NetworkingVpcVpcPrefix>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* The Availability Zone in which the VPC is located.
|
|
144
|
+
*/
|
|
145
|
+
zone: pulumi.Input<string>;
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=networkingVpc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkingVpc.d.ts","sourceRoot":"","sources":["../networkingVpc.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IACnF;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC3E;;;;;;OAMG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,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AC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;IAC1E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAC9C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAClD;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,EAAE,CAAC,CAAC;IAC5E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;IAC1E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/networkingVpc.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.NetworkingVpc = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class NetworkingVpc extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing NetworkingVpc resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new NetworkingVpc(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'coreweave:index/networkingVpc:NetworkingVpc';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of NetworkingVpc. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === NetworkingVpc.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["dhcp"] = state?.dhcp;
|
|
62
|
+
resourceInputs["egress"] = state?.egress;
|
|
63
|
+
resourceInputs["hostPrefix"] = state?.hostPrefix;
|
|
64
|
+
resourceInputs["hostPrefixes"] = state?.hostPrefixes;
|
|
65
|
+
resourceInputs["ingress"] = state?.ingress;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["vpcPrefixes"] = state?.vpcPrefixes;
|
|
68
|
+
resourceInputs["zone"] = state?.zone;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if (args?.zone === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'zone'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["dhcp"] = args?.dhcp;
|
|
76
|
+
resourceInputs["egress"] = args?.egress;
|
|
77
|
+
resourceInputs["hostPrefix"] = args?.hostPrefix;
|
|
78
|
+
resourceInputs["hostPrefixes"] = args?.hostPrefixes;
|
|
79
|
+
resourceInputs["ingress"] = args?.ingress;
|
|
80
|
+
resourceInputs["name"] = args?.name;
|
|
81
|
+
resourceInputs["vpcPrefixes"] = args?.vpcPrefixes;
|
|
82
|
+
resourceInputs["zone"] = args?.zone;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(NetworkingVpc.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.NetworkingVpc = NetworkingVpc;
|
|
89
|
+
//# sourceMappingURL=networkingVpc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkingVpc.js","sourceRoot":"","sources":["../networkingVpc.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6CAA6C,CAAC;IAEpF;;;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;IA+CD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG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B,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAtGL,sCAuGC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class ObjectStorageBucket extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing ObjectStorageBucket resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ObjectStorageBucketState, opts?: pulumi.CustomResourceOptions): ObjectStorageBucket;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of ObjectStorageBucket. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is ObjectStorageBucket;
|
|
18
|
+
/**
|
|
19
|
+
* The name of the bucket, must be unique
|
|
20
|
+
*/
|
|
21
|
+
readonly name: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Map of tags to assign to the bucket.
|
|
24
|
+
*/
|
|
25
|
+
readonly tags: pulumi.Output<{
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
} | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The Availability Zone in which the bucket is located.
|
|
30
|
+
*/
|
|
31
|
+
readonly zone: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Create a ObjectStorageBucket resource with the given unique name, arguments, and options.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resource.
|
|
36
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
37
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
38
|
+
*/
|
|
39
|
+
constructor(name: string, args: ObjectStorageBucketArgs, opts?: pulumi.CustomResourceOptions);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Input properties used for looking up and filtering ObjectStorageBucket resources.
|
|
43
|
+
*/
|
|
44
|
+
export interface ObjectStorageBucketState {
|
|
45
|
+
/**
|
|
46
|
+
* The name of the bucket, must be unique
|
|
47
|
+
*/
|
|
48
|
+
name?: pulumi.Input<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Map of tags to assign to the bucket.
|
|
51
|
+
*/
|
|
52
|
+
tags?: pulumi.Input<{
|
|
53
|
+
[key: string]: pulumi.Input<string>;
|
|
54
|
+
}>;
|
|
55
|
+
/**
|
|
56
|
+
* The Availability Zone in which the bucket is located.
|
|
57
|
+
*/
|
|
58
|
+
zone?: pulumi.Input<string>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The set of arguments for constructing a ObjectStorageBucket resource.
|
|
62
|
+
*/
|
|
63
|
+
export interface ObjectStorageBucketArgs {
|
|
64
|
+
/**
|
|
65
|
+
* The name of the bucket, must be unique
|
|
66
|
+
*/
|
|
67
|
+
name?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Map of tags to assign to the bucket.
|
|
70
|
+
*/
|
|
71
|
+
tags?: pulumi.Input<{
|
|
72
|
+
[key: string]: pulumi.Input<string>;
|
|
73
|
+
}>;
|
|
74
|
+
/**
|
|
75
|
+
* The Availability Zone in which the bucket is located.
|
|
76
|
+
*/
|
|
77
|
+
zone: pulumi.Input<string>;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=objectStorageBucket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objectStorageBucket.d.ts","sourceRoot":"","sources":["../objectStorageBucket.ts"],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ACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,CAAC,CAAC;IAC3D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ObjectStorageBucket = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class ObjectStorageBucket extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ObjectStorageBucket resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new ObjectStorageBucket(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'coreweave:index/objectStorageBucket:ObjectStorageBucket';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of ObjectStorageBucket. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === ObjectStorageBucket.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["name"] = state?.name;
|
|
62
|
+
resourceInputs["tags"] = state?.tags;
|
|
63
|
+
resourceInputs["zone"] = state?.zone;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if (args?.zone === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'zone'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["name"] = args?.name;
|
|
71
|
+
resourceInputs["tags"] = args?.tags;
|
|
72
|
+
resourceInputs["zone"] = args?.zone;
|
|
73
|
+
}
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
+
super(ObjectStorageBucket.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.ObjectStorageBucket = ObjectStorageBucket;
|
|
79
|
+
//# sourceMappingURL=objectStorageBucket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objectStorageBucket.js","sourceRoot":"","sources":["../objectStorageBucket.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yDAAyD,CAAC;IAEhG;;;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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AApEL,kDAqEC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class ObjectStorageBucketLifecycleConfiguration extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing ObjectStorageBucketLifecycleConfiguration resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ObjectStorageBucketLifecycleConfigurationState, opts?: pulumi.CustomResourceOptions): ObjectStorageBucketLifecycleConfiguration;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of ObjectStorageBucketLifecycleConfiguration. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is ObjectStorageBucketLifecycleConfiguration;
|
|
20
|
+
/**
|
|
21
|
+
* Name of the bucket to apply lifecycle configuration to
|
|
22
|
+
*/
|
|
23
|
+
readonly bucket: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* One or more lifecycle rule blocks
|
|
26
|
+
*/
|
|
27
|
+
readonly rules: pulumi.Output<outputs.ObjectStorageBucketLifecycleConfigurationRule[] | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Create a ObjectStorageBucketLifecycleConfiguration resource with the given unique name, arguments, and options.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resource.
|
|
32
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
33
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
34
|
+
*/
|
|
35
|
+
constructor(name: string, args: ObjectStorageBucketLifecycleConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Input properties used for looking up and filtering ObjectStorageBucketLifecycleConfiguration resources.
|
|
39
|
+
*/
|
|
40
|
+
export interface ObjectStorageBucketLifecycleConfigurationState {
|
|
41
|
+
/**
|
|
42
|
+
* Name of the bucket to apply lifecycle configuration to
|
|
43
|
+
*/
|
|
44
|
+
bucket?: pulumi.Input<string>;
|
|
45
|
+
/**
|
|
46
|
+
* One or more lifecycle rule blocks
|
|
47
|
+
*/
|
|
48
|
+
rules?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRule>[]>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The set of arguments for constructing a ObjectStorageBucketLifecycleConfiguration resource.
|
|
52
|
+
*/
|
|
53
|
+
export interface ObjectStorageBucketLifecycleConfigurationArgs {
|
|
54
|
+
/**
|
|
55
|
+
* Name of the bucket to apply lifecycle configuration to
|
|
56
|
+
*/
|
|
57
|
+
bucket: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* One or more lifecycle rule blocks
|
|
60
|
+
*/
|
|
61
|
+
rules?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRule>[]>;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=objectStorageBucketLifecycleConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objectStorageBucketLifecycleConfiguration.d.ts","sourceRoot":"","sources":["../objectStorageBucketLifecycleConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,yCAA0C,SAAQ,MAAM,CAAC,cAAc;IAChF;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,8CAA8C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,yCAAyC;IAOpM;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,yCAAyC;IAOpF;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,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