@byteplus/pulumi-bytepluscc 0.0.45 → 0.0.47
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/README.md +0 -7
- package/certificateservice/childCertInstance.d.ts +421 -0
- package/certificateservice/childCertInstance.d.ts.map +1 -0
- package/certificateservice/childCertInstance.js +175 -0
- package/certificateservice/childCertInstance.js.map +1 -0
- package/certificateservice/getChildCertInstance.d.ts +178 -0
- package/certificateservice/getChildCertInstance.d.ts.map +1 -0
- package/certificateservice/getChildCertInstance.js +51 -0
- package/certificateservice/getChildCertInstance.js.map +1 -0
- package/certificateservice/getChildCertInstances.d.ts +23 -0
- package/certificateservice/getChildCertInstances.d.ts.map +1 -0
- package/certificateservice/getChildCertInstances.js +47 -0
- package/certificateservice/getChildCertInstances.js.map +1 -0
- package/certificateservice/getOrganizationInfo.d.ts +106 -0
- package/certificateservice/getOrganizationInfo.d.ts.map +1 -0
- package/certificateservice/getOrganizationInfo.js +51 -0
- package/certificateservice/getOrganizationInfo.js.map +1 -0
- package/certificateservice/getOrganizationInfos.d.ts +23 -0
- package/certificateservice/getOrganizationInfos.d.ts.map +1 -0
- package/certificateservice/getOrganizationInfos.js +47 -0
- package/certificateservice/getOrganizationInfos.js.map +1 -0
- package/certificateservice/index.d.ts +19 -0
- package/certificateservice/index.d.ts.map +1 -0
- package/certificateservice/index.js +62 -0
- package/certificateservice/index.js.map +1 -0
- package/certificateservice/organizationInfo.d.ts +273 -0
- package/certificateservice/organizationInfo.d.ts.map +1 -0
- package/certificateservice/organizationInfo.js +152 -0
- package/certificateservice/organizationInfo.js.map +1 -0
- package/config/getGroupRule.d.ts +86 -0
- package/config/getGroupRule.d.ts.map +1 -0
- package/config/getGroupRule.js +51 -0
- package/config/getGroupRule.js.map +1 -0
- package/config/getGroupRules.d.ts +23 -0
- package/config/getGroupRules.d.ts.map +1 -0
- package/config/getGroupRules.js +47 -0
- package/config/getGroupRules.js.map +1 -0
- package/config/getRule.d.ts +82 -0
- package/config/getRule.d.ts.map +1 -0
- package/config/getRule.js +51 -0
- package/config/getRule.js.map +1 -0
- package/config/getRules.d.ts +23 -0
- package/config/getRules.d.ts.map +1 -0
- package/config/getRules.js +47 -0
- package/config/getRules.js.map +1 -0
- package/config/groupRule.d.ts +227 -0
- package/config/groupRule.d.ts.map +1 -0
- package/config/groupRule.js +164 -0
- package/config/groupRule.js.map +1 -0
- package/config/index.d.ts +18 -0
- package/config/index.d.ts.map +1 -1
- package/config/index.js +46 -1
- package/config/index.js.map +1 -1
- package/config/rule.d.ts +214 -0
- package/config/rule.d.ts.map +1 -0
- package/config/rule.js +161 -0
- package/config/rule.js.map +1 -0
- package/config/vars.d.ts +18 -6
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/ecs/getScheduledInstance.d.ts +69 -0
- package/ecs/getScheduledInstance.d.ts.map +1 -0
- package/ecs/getScheduledInstance.js +51 -0
- package/ecs/getScheduledInstance.js.map +1 -0
- package/ecs/getScheduledInstances.d.ts +23 -0
- package/ecs/getScheduledInstances.d.ts.map +1 -0
- package/ecs/getScheduledInstances.js +47 -0
- package/ecs/getScheduledInstances.js.map +1 -0
- package/ecs/index.d.ts +9 -0
- package/ecs/index.d.ts.map +1 -1
- package/ecs/index.js +12 -1
- package/ecs/index.js.map +1 -1
- package/ecs/scheduledInstance.d.ts +741 -0
- package/ecs/scheduledInstance.d.ts.map +1 -0
- package/ecs/scheduledInstance.js +248 -0
- package/ecs/scheduledInstance.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.d.ts.map +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +31 -11
- package/provider.d.ts.map +1 -1
- package/provider.js +5 -0
- package/provider.js.map +1 -1
- package/resourceshare/getResourceShare.d.ts +82 -0
- package/resourceshare/getResourceShare.d.ts.map +1 -0
- package/resourceshare/getResourceShare.js +51 -0
- package/resourceshare/getResourceShare.js.map +1 -0
- package/resourceshare/getResourceShares.d.ts +23 -0
- package/resourceshare/getResourceShares.d.ts.map +1 -0
- package/resourceshare/getResourceShares.js +47 -0
- package/resourceshare/getResourceShares.js.map +1 -0
- package/resourceshare/index.d.ts +10 -0
- package/resourceshare/index.d.ts.map +1 -0
- package/resourceshare/index.js +51 -0
- package/resourceshare/index.js.map +1 -0
- package/resourceshare/resourceShare.d.ts +183 -0
- package/resourceshare/resourceShare.d.ts.map +1 -0
- package/resourceshare/resourceShare.js +128 -0
- package/resourceshare/resourceShare.js.map +1 -0
- package/types/input.d.ts +790 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1742 -173
- package/types/output.d.ts.map +1 -1
- package/vpc/getIpPool.d.ts +114 -0
- package/vpc/getIpPool.d.ts.map +1 -0
- package/vpc/getIpPool.js +51 -0
- package/vpc/getIpPool.js.map +1 -0
- package/vpc/getIpPoolCidrBlock.d.ts +65 -0
- package/vpc/getIpPoolCidrBlock.d.ts.map +1 -0
- package/vpc/getIpPoolCidrBlock.js +51 -0
- package/vpc/getIpPoolCidrBlock.js.map +1 -0
- package/vpc/getIpPoolCidrBlocks.d.ts +23 -0
- package/vpc/getIpPoolCidrBlocks.d.ts.map +1 -0
- package/vpc/getIpPoolCidrBlocks.js +47 -0
- package/vpc/getIpPoolCidrBlocks.js.map +1 -0
- package/vpc/getIpPools.d.ts +23 -0
- package/vpc/getIpPools.d.ts.map +1 -0
- package/vpc/getIpPools.js +47 -0
- package/vpc/getIpPools.js.map +1 -0
- package/vpc/index.d.ts +18 -0
- package/vpc/index.d.ts.map +1 -1
- package/vpc/index.js +24 -2
- package/vpc/index.js.map +1 -1
- package/vpc/ipPool.d.ts +250 -0
- package/vpc/ipPool.d.ts.map +1 -0
- package/vpc/ipPool.js +139 -0
- package/vpc/ipPool.js.map +1 -0
- package/vpc/ipPoolCidrBlock.d.ts +126 -0
- package/vpc/ipPoolCidrBlock.d.ts.map +1 -0
- package/vpc/ipPoolCidrBlock.js +108 -0
- package/vpc/ipPoolCidrBlock.js.map +1 -0
|
@@ -0,0 +1,51 @@
|
|
|
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.getResourceShareOutput = exports.getResourceShare = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::ResourceShare::ResourceShare
|
|
33
|
+
*/
|
|
34
|
+
function getResourceShare(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:resourceshare/getResourceShare:getResourceShare", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getResourceShare = getResourceShare;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::ResourceShare::ResourceShare
|
|
43
|
+
*/
|
|
44
|
+
function getResourceShareOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:resourceshare/getResourceShare:getResourceShare", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getResourceShareOutput = getResourceShareOutput;
|
|
51
|
+
//# sourceMappingURL=getResourceShare.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResourceShare.js","sourceRoot":"","sources":["../../resourceshare/getResourceShare.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC;AAiED;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::ResourceShare::ResourceShare
|
|
4
|
+
*/
|
|
5
|
+
export declare function getResourceShares(opts?: pulumi.InvokeOptions): Promise<GetResourceSharesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getResourceShares.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetResourceSharesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Byteplus::ResourceShare::ResourceShare
|
|
21
|
+
*/
|
|
22
|
+
export declare function getResourceSharesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceSharesResult>;
|
|
23
|
+
//# sourceMappingURL=getResourceShares.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResourceShares.d.ts","sourceRoot":"","sources":["../../resourceshare/getResourceShares.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAI/F;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAIjH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.getResourceSharesOutput = exports.getResourceShares = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::ResourceShare::ResourceShare
|
|
33
|
+
*/
|
|
34
|
+
function getResourceShares(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:resourceshare/getResourceShares:getResourceShares", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getResourceShares = getResourceShares;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::ResourceShare::ResourceShare
|
|
41
|
+
*/
|
|
42
|
+
function getResourceSharesOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:resourceshare/getResourceShares:getResourceShares", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getResourceSharesOutput = getResourceSharesOutput;
|
|
47
|
+
//# sourceMappingURL=getResourceShares.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResourceShares.js","sourceRoot":"","sources":["../../resourceshare/getResourceShares.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IACzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE,EAC5F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC;AAeD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC;IACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE,EAClG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0DAIC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { GetResourceShareArgs, GetResourceShareResult, GetResourceShareOutputArgs } from "./getResourceShare";
|
|
2
|
+
export declare const getResourceShare: typeof import("./getResourceShare").getResourceShare;
|
|
3
|
+
export declare const getResourceShareOutput: typeof import("./getResourceShare").getResourceShareOutput;
|
|
4
|
+
export { GetResourceSharesResult } from "./getResourceShares";
|
|
5
|
+
export declare const getResourceShares: typeof import("./getResourceShares").getResourceShares;
|
|
6
|
+
export declare const getResourceSharesOutput: typeof import("./getResourceShares").getResourceSharesOutput;
|
|
7
|
+
export { ResourceShareArgs, ResourceShareState } from "./resourceShare";
|
|
8
|
+
export type ResourceShare = import("./resourceShare").ResourceShare;
|
|
9
|
+
export declare const ResourceShare: typeof import("./resourceShare").ResourceShare;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../resourceshare/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC9G,eAAO,MAAM,gBAAgB,EAAE,cAAc,oBAAoB,EAAE,gBAA8B,CAAC;AAClG,eAAO,MAAM,sBAAsB,EAAE,cAAc,oBAAoB,EAAE,sBAAoC,CAAC;AAG9G,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,eAAO,MAAM,iBAAiB,EAAE,cAAc,qBAAqB,EAAE,iBAA+B,CAAC;AACrG,eAAO,MAAM,uBAAuB,EAAE,cAAc,qBAAqB,EAAE,uBAAqC,CAAC;AAGjH,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACxE,MAAM,MAAM,aAAa,GAAG,OAAO,iBAAiB,EAAE,aAAa,CAAC;AACpE,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.ResourceShare = exports.getResourceSharesOutput = exports.getResourceShares = exports.getResourceShareOutput = exports.getResourceShare = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.getResourceShare = null;
|
|
32
|
+
exports.getResourceShareOutput = null;
|
|
33
|
+
utilities.lazyLoad(exports, ["getResourceShare", "getResourceShareOutput"], () => require("./getResourceShare"));
|
|
34
|
+
exports.getResourceShares = null;
|
|
35
|
+
exports.getResourceSharesOutput = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["getResourceShares", "getResourceSharesOutput"], () => require("./getResourceShares"));
|
|
37
|
+
exports.ResourceShare = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["ResourceShare"], () => require("./resourceShare"));
|
|
39
|
+
const _module = {
|
|
40
|
+
version: utilities.getVersion(),
|
|
41
|
+
construct: (name, type, urn) => {
|
|
42
|
+
switch (type) {
|
|
43
|
+
case "bytepluscc:resourceshare/resourceShare:ResourceShare":
|
|
44
|
+
return new exports.ResourceShare(name, undefined, { urn });
|
|
45
|
+
default:
|
|
46
|
+
throw new Error(`unknown resource type ${type}`);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "resourceshare/resourceShare", _module);
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../resourceshare/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAI7B,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAGnG,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAItG,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAGjF,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,sDAAsD;gBACvD,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Volcano Engine Resource Share unit. Resource share units allow you to share resources under your account (such as subnets) with specified principals (Principal, which can be an account, organization, or organizational unit) for their use
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new bytepluscc.resourceshare.ResourceShare("example", {
|
|
14
|
+
* resourceShareName: "cc-test-example",
|
|
15
|
+
* allowShareType: "ANY",
|
|
16
|
+
* resourceTrns: "trn:vpc:ap-southeast-1:210000****:subnet/subnet-example",
|
|
17
|
+
* principals: "210000****,210001****",
|
|
18
|
+
* tags: [
|
|
19
|
+
* {
|
|
20
|
+
* key: "key1",
|
|
21
|
+
* value: "value1",
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* key: "key2",
|
|
25
|
+
* value: "value2",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import bytepluscc:resourceshare/resourceShare:ResourceShare example "resource_share_trn"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class ResourceShare extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing ResourceShare resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceShareState, opts?: pulumi.CustomResourceOptions): ResourceShare;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of ResourceShare. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is ResourceShare;
|
|
53
|
+
/**
|
|
54
|
+
* Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
|
|
55
|
+
*/
|
|
56
|
+
readonly allowShareType: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Creation time
|
|
59
|
+
*/
|
|
60
|
+
readonly createTime: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Resource share unit creator account ID
|
|
63
|
+
*/
|
|
64
|
+
readonly owningAccountId: pulumi.Output<number>;
|
|
65
|
+
/**
|
|
66
|
+
* Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
|
|
67
|
+
*/
|
|
68
|
+
readonly principals: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Resource share unit ID
|
|
71
|
+
*/
|
|
72
|
+
readonly resourceShareId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Resource share unit name
|
|
75
|
+
*/
|
|
76
|
+
readonly resourceShareName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Resource share unit Trn
|
|
79
|
+
*/
|
|
80
|
+
readonly resourceShareTrn: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Associated resources
|
|
83
|
+
*/
|
|
84
|
+
readonly resourceTrns: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
|
|
87
|
+
*/
|
|
88
|
+
readonly status: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Tag key-value pair
|
|
91
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
92
|
+
*/
|
|
93
|
+
readonly tags: pulumi.Output<outputs.resourceshare.ResourceShareTag[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Update time
|
|
96
|
+
*/
|
|
97
|
+
readonly updateTime: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a ResourceShare resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: ResourceShareArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering ResourceShare resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface ResourceShareState {
|
|
111
|
+
/**
|
|
112
|
+
* Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
|
|
113
|
+
*/
|
|
114
|
+
allowShareType?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Creation time
|
|
117
|
+
*/
|
|
118
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* Resource share unit creator account ID
|
|
121
|
+
*/
|
|
122
|
+
owningAccountId?: pulumi.Input<number | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
|
|
125
|
+
*/
|
|
126
|
+
principals?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Resource share unit ID
|
|
129
|
+
*/
|
|
130
|
+
resourceShareId?: pulumi.Input<string | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Resource share unit name
|
|
133
|
+
*/
|
|
134
|
+
resourceShareName?: pulumi.Input<string | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Resource share unit Trn
|
|
137
|
+
*/
|
|
138
|
+
resourceShareTrn?: pulumi.Input<string | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* Associated resources
|
|
141
|
+
*/
|
|
142
|
+
resourceTrns?: pulumi.Input<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
|
|
145
|
+
*/
|
|
146
|
+
status?: pulumi.Input<string | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Tag key-value pair
|
|
149
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
150
|
+
*/
|
|
151
|
+
tags?: pulumi.Input<pulumi.Input<inputs.resourceshare.ResourceShareTag>[] | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Update time
|
|
154
|
+
*/
|
|
155
|
+
updateTime?: pulumi.Input<string | undefined>;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The set of arguments for constructing a ResourceShare resource.
|
|
159
|
+
*/
|
|
160
|
+
export interface ResourceShareArgs {
|
|
161
|
+
/**
|
|
162
|
+
* Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
|
|
163
|
+
*/
|
|
164
|
+
allowShareType?: pulumi.Input<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
|
|
167
|
+
*/
|
|
168
|
+
principals?: pulumi.Input<string | undefined>;
|
|
169
|
+
/**
|
|
170
|
+
* Resource share unit name
|
|
171
|
+
*/
|
|
172
|
+
resourceShareName: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Associated resources
|
|
175
|
+
*/
|
|
176
|
+
resourceTrns?: pulumi.Input<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* Tag key-value pair
|
|
179
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
180
|
+
*/
|
|
181
|
+
tags?: pulumi.Input<pulumi.Input<inputs.resourceshare.ResourceShareTag>[] | undefined>;
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=resourceShare.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceShare.d.ts","sourceRoot":"","sources":["../../resourceshare/resourceShare.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,128 @@
|
|
|
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.ResourceShare = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Volcano Engine Resource Share unit. Resource share units allow you to share resources under your account (such as subnets) with specified principals (Principal, which can be an account, organization, or organizational unit) for their use
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new bytepluscc.resourceshare.ResourceShare("example", {
|
|
41
|
+
* resourceShareName: "cc-test-example",
|
|
42
|
+
* allowShareType: "ANY",
|
|
43
|
+
* resourceTrns: "trn:vpc:ap-southeast-1:210000****:subnet/subnet-example",
|
|
44
|
+
* principals: "210000****,210001****",
|
|
45
|
+
* tags: [
|
|
46
|
+
* {
|
|
47
|
+
* key: "key1",
|
|
48
|
+
* value: "value1",
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* key: "key2",
|
|
52
|
+
* value: "value2",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* ```sh
|
|
61
|
+
* $ pulumi import bytepluscc:resourceshare/resourceShare:ResourceShare example "resource_share_trn"
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
class ResourceShare extends pulumi.CustomResource {
|
|
65
|
+
/**
|
|
66
|
+
* Get an existing ResourceShare resource's state with the given name, ID, and optional extra
|
|
67
|
+
* properties used to qualify the lookup.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resulting resource.
|
|
70
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
71
|
+
* @param state Any extra arguments used during the lookup.
|
|
72
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
|
+
*/
|
|
74
|
+
static get(name, id, state, opts) {
|
|
75
|
+
return new ResourceShare(name, state, { ...opts, id: id });
|
|
76
|
+
}
|
|
77
|
+
/** @internal */
|
|
78
|
+
static __pulumiType = 'bytepluscc:resourceshare/resourceShare:ResourceShare';
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of ResourceShare. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === ResourceShare.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
constructor(name, argsOrState, opts) {
|
|
90
|
+
let resourceInputs = {};
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
if (opts.id) {
|
|
93
|
+
const state = argsOrState;
|
|
94
|
+
resourceInputs["allowShareType"] = state?.allowShareType;
|
|
95
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
96
|
+
resourceInputs["owningAccountId"] = state?.owningAccountId;
|
|
97
|
+
resourceInputs["principals"] = state?.principals;
|
|
98
|
+
resourceInputs["resourceShareId"] = state?.resourceShareId;
|
|
99
|
+
resourceInputs["resourceShareName"] = state?.resourceShareName;
|
|
100
|
+
resourceInputs["resourceShareTrn"] = state?.resourceShareTrn;
|
|
101
|
+
resourceInputs["resourceTrns"] = state?.resourceTrns;
|
|
102
|
+
resourceInputs["status"] = state?.status;
|
|
103
|
+
resourceInputs["tags"] = state?.tags;
|
|
104
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
const args = argsOrState;
|
|
108
|
+
if (args?.resourceShareName === undefined && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'resourceShareName'");
|
|
110
|
+
}
|
|
111
|
+
resourceInputs["allowShareType"] = args?.allowShareType;
|
|
112
|
+
resourceInputs["principals"] = args?.principals;
|
|
113
|
+
resourceInputs["resourceShareName"] = args?.resourceShareName;
|
|
114
|
+
resourceInputs["resourceTrns"] = args?.resourceTrns;
|
|
115
|
+
resourceInputs["tags"] = args?.tags;
|
|
116
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["owningAccountId"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["resourceShareId"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["resourceShareTrn"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
122
|
+
}
|
|
123
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
124
|
+
super(ResourceShare.__pulumiType, name, resourceInputs, opts);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.ResourceShare = ResourceShare;
|
|
128
|
+
//# sourceMappingURL=resourceShare.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceShare.js","sourceRoot":"","sources":["../../resourceshare/resourceShare.ts"],"names":[],"mappings":"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"}
|