@volcengine/pulumi 0.0.18 → 0.0.21
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/autoscaling/scalingConfiguration.d.ts +18 -0
- package/autoscaling/scalingConfiguration.js +2 -0
- package/autoscaling/scalingConfiguration.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +62 -4
- package/autoscaling/scalingGroup.js +11 -1
- package/autoscaling/scalingGroup.js.map +1 -1
- package/autoscaling/scalingGroups.d.ts +12 -0
- package/autoscaling/scalingGroups.js +1 -0
- package/autoscaling/scalingGroups.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +31 -6
- package/autoscaling/scalingLifecycleHook.js +16 -3
- package/autoscaling/scalingLifecycleHook.js.map +1 -1
- package/bioos/cluster.d.ts +11 -11
- package/bioos/cluster.js +6 -6
- package/bioos/cluster.js.map +1 -1
- package/bioos/clusters.d.ts +3 -0
- package/bioos/clusters.js.map +1 -1
- package/bioos/workspace.d.ts +1 -1
- package/cen/grantInstance.d.ts +1 -1
- package/cen/grantInstance.js +1 -1
- package/clb/acl.d.ts +1 -1
- package/clb/certificate.d.ts +1 -1
- package/clb/clb.d.ts +68 -18
- package/clb/clb.js +38 -17
- package/clb/clb.js.map +1 -1
- package/clb/listener.d.ts +101 -0
- package/clb/listener.js +26 -0
- package/clb/listener.js.map +1 -1
- package/clb/serverGroup.d.ts +12 -0
- package/clb/serverGroup.js +2 -0
- package/clb/serverGroup.js.map +1 -1
- package/direct_connect/bgpPeer.d.ts +175 -0
- package/direct_connect/bgpPeer.js +100 -0
- package/direct_connect/bgpPeer.js.map +1 -0
- package/direct_connect/bgpPeers.d.ts +129 -0
- package/direct_connect/bgpPeers.js +52 -0
- package/direct_connect/bgpPeers.js.map +1 -0
- package/direct_connect/connection.d.ts +217 -0
- package/direct_connect/connection.js +133 -0
- package/direct_connect/connection.js.map +1 -0
- package/direct_connect/connections.d.ts +154 -0
- package/direct_connect/connections.js +54 -0
- package/direct_connect/connections.js.map +1 -0
- package/direct_connect/gateway.d.ts +100 -0
- package/direct_connect/gateway.js +79 -0
- package/direct_connect/gateway.js.map +1 -0
- package/direct_connect/gatewayRoute.d.ts +143 -0
- package/direct_connect/gatewayRoute.js +97 -0
- package/direct_connect/gatewayRoute.js.map +1 -0
- package/direct_connect/gatewayRoutes.d.ts +141 -0
- package/direct_connect/gatewayRoutes.js +58 -0
- package/direct_connect/gatewayRoutes.js.map +1 -0
- package/direct_connect/gateways.d.ts +118 -0
- package/direct_connect/gateways.js +51 -0
- package/direct_connect/gateways.js.map +1 -0
- package/direct_connect/index.d.ts +30 -0
- package/direct_connect/index.js +57 -0
- package/direct_connect/index.js.map +1 -0
- package/direct_connect/virtualInterface.d.ts +263 -0
- package/direct_connect/virtualInterface.js +127 -0
- package/direct_connect/virtualInterface.js.map +1 -0
- package/direct_connect/virtualInterfaces.d.ts +178 -0
- package/direct_connect/virtualInterfaces.js +56 -0
- package/direct_connect/virtualInterfaces.js.map +1 -0
- package/ebs/volume.d.ts +1 -1
- package/ecs/availableResources.d.ts +114 -0
- package/ecs/availableResources.js +50 -0
- package/ecs/availableResources.js.map +1 -0
- package/ecs/index.d.ts +3 -0
- package/ecs/index.js +4 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +24 -3
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/eip/address.d.ts +1 -1
- package/iam/index.d.ts +15 -0
- package/iam/index.js +22 -1
- package/iam/index.js.map +1 -1
- package/iam/userGroup.d.ts +95 -0
- package/iam/userGroup.js +79 -0
- package/iam/userGroup.js.map +1 -0
- package/iam/userGroupAttachment.d.ts +92 -0
- package/iam/userGroupAttachment.js +89 -0
- package/iam/userGroupAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachment.d.ts +105 -0
- package/iam/userGroupPolicyAttachment.js +95 -0
- package/iam/userGroupPolicyAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachments.d.ts +107 -0
- package/iam/userGroupPolicyAttachments.js +78 -0
- package/iam/userGroupPolicyAttachments.js.map +1 -0
- package/iam/userGroups.d.ts +87 -0
- package/iam/userGroups.js +59 -0
- package/iam/userGroups.js.map +1 -0
- package/index.d.ts +4 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +0 -12
- package/mongodb/mongoAllowList.js +0 -2
- package/mongodb/mongoAllowList.js.map +1 -1
- package/nas/fileSystem.d.ts +241 -0
- package/nas/fileSystem.js +123 -0
- package/nas/fileSystem.js.map +1 -0
- package/nas/fileSystems.d.ts +231 -0
- package/nas/fileSystems.js +90 -0
- package/nas/fileSystems.js.map +1 -0
- package/nas/index.d.ts +30 -0
- package/nas/index.js +55 -0
- package/nas/index.js.map +1 -0
- package/nas/mountPoint.d.ts +103 -0
- package/nas/mountPoint.js +80 -0
- package/nas/mountPoint.js.map +1 -0
- package/nas/mountPoints.d.ts +91 -0
- package/nas/mountPoints.js +29 -0
- package/nas/mountPoints.js.map +1 -0
- package/nas/permissionGroup.d.ts +116 -0
- package/nas/permissionGroup.js +92 -0
- package/nas/permissionGroup.js.map +1 -0
- package/nas/permissionGroups.d.ts +116 -0
- package/nas/permissionGroups.js +87 -0
- package/nas/permissionGroups.js.map +1 -0
- package/nas/regions.d.ts +62 -0
- package/nas/regions.js +42 -0
- package/nas/regions.js.map +1 -0
- package/nas/snapshot.d.ts +167 -0
- package/nas/snapshot.js +100 -0
- package/nas/snapshot.js.map +1 -0
- package/nas/snapshots.d.ts +131 -0
- package/nas/snapshots.js +59 -0
- package/nas/snapshots.js.map +1 -0
- package/nas/zones.d.ts +62 -0
- package/nas/zones.js +42 -0
- package/nas/zones.js.map +1 -0
- package/nat/gateway.d.ts +1 -1
- package/package.json +2 -2
- package/redis/instance.d.ts +7 -4
- package/redis/instance.js +1 -1
- package/redis/instance.js.map +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/transit_router/bandwidthPackage.d.ts +211 -0
- package/transit_router/bandwidthPackage.js +102 -0
- package/transit_router/bandwidthPackage.js.map +1 -0
- package/transit_router/bandwidthPackages.d.ts +115 -0
- package/transit_router/bandwidthPackages.js +65 -0
- package/transit_router/bandwidthPackages.js.map +1 -0
- package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
- package/transit_router/directConnectGatewayAttachment.js +87 -0
- package/transit_router/directConnectGatewayAttachment.js.map +1 -0
- package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
- package/transit_router/directConnectGatewayAttachments.js +48 -0
- package/transit_router/directConnectGatewayAttachments.js.map +1 -0
- package/transit_router/grantRule.d.ts +95 -0
- package/transit_router/grantRule.js +82 -0
- package/transit_router/grantRule.js.map +1 -0
- package/transit_router/grantRules.d.ts +90 -0
- package/transit_router/grantRules.js +47 -0
- package/transit_router/grantRules.js.map +1 -0
- package/transit_router/index.d.ts +69 -0
- package/transit_router/index.js +110 -0
- package/transit_router/index.js.map +1 -0
- package/transit_router/peerAttachment.d.ts +179 -0
- package/transit_router/peerAttachment.js +105 -0
- package/transit_router/peerAttachment.js.map +1 -0
- package/transit_router/peerAttachments.d.ts +132 -0
- package/transit_router/peerAttachments.js +52 -0
- package/transit_router/peerAttachments.js.map +1 -0
- package/transit_router/routeEntries.d.ts +122 -0
- package/transit_router/routeEntries.js +52 -0
- package/transit_router/routeEntries.js.map +1 -0
- package/transit_router/routeEntry.d.ts +173 -0
- package/transit_router/routeEntry.js +103 -0
- package/transit_router/routeEntry.js.map +1 -0
- package/transit_router/routeTable.d.ts +135 -0
- package/transit_router/routeTable.js +89 -0
- package/transit_router/routeTable.js.map +1 -0
- package/transit_router/routeTableAssociation.d.ts +82 -0
- package/transit_router/routeTableAssociation.js +79 -0
- package/transit_router/routeTableAssociation.js.map +1 -0
- package/transit_router/routeTableAssociations.d.ts +92 -0
- package/transit_router/routeTableAssociations.js +49 -0
- package/transit_router/routeTableAssociations.js.map +1 -0
- package/transit_router/routeTablePropagation.d.ts +82 -0
- package/transit_router/routeTablePropagation.js +79 -0
- package/transit_router/routeTablePropagation.js.map +1 -0
- package/transit_router/routeTablePropagations.d.ts +92 -0
- package/transit_router/routeTablePropagations.js +49 -0
- package/transit_router/routeTablePropagations.js.map +1 -0
- package/transit_router/routeTables.d.ts +98 -0
- package/transit_router/routeTables.js +50 -0
- package/transit_router/routeTables.js.map +1 -0
- package/transit_router/sharedTransitRouterState.d.ts +82 -0
- package/transit_router/sharedTransitRouterState.js +79 -0
- package/transit_router/sharedTransitRouterState.js.map +1 -0
- package/transit_router/transitRouter.d.ts +148 -0
- package/transit_router/transitRouter.js +89 -0
- package/transit_router/transitRouter.js.map +1 -0
- package/transit_router/transitRouters.d.ts +89 -0
- package/transit_router/transitRouters.js +50 -0
- package/transit_router/transitRouters.js.map +1 -0
- package/transit_router/vpcAttachment.d.ts +164 -0
- package/transit_router/vpcAttachment.js +108 -0
- package/transit_router/vpcAttachment.js.map +1 -0
- package/transit_router/vpcAttachments.d.ts +101 -0
- package/transit_router/vpcAttachments.js +50 -0
- package/transit_router/vpcAttachments.js.map +1 -0
- package/transit_router/vpnAttachment.d.ts +153 -0
- package/transit_router/vpnAttachment.js +99 -0
- package/transit_router/vpnAttachment.js.map +1 -0
- package/transit_router/vpnAttachments.d.ts +101 -0
- package/transit_router/vpnAttachments.js +50 -0
- package/transit_router/vpnAttachments.js.map +1 -0
- package/types/input.d.ts +299 -4
- package/types/output.d.ts +5396 -3373
- package/vke/index.d.ts +3 -0
- package/vke/index.js +4 -1
- package/vke/index.js.map +1 -1
- package/vke/nodePool.d.ts +3 -3
- package/vke/nodePool.js +3 -3
- package/vke/supportResourceTypes.d.ts +80 -0
- package/vke/supportResourceTypes.js +44 -0
- package/vke/supportResourceTypes.js.map +1 -0
- package/vpc/haVip.d.ts +206 -0
- package/vpc/haVip.js +120 -0
- package/vpc/haVip.js.map +1 -0
- package/vpc/haVipAssociate.d.ts +131 -0
- package/vpc/haVipAssociate.js +118 -0
- package/vpc/haVipAssociate.js.map +1 -0
- package/vpc/haVips.d.ts +192 -0
- package/vpc/haVips.js +90 -0
- package/vpc/haVips.js.map +1 -0
- package/vpc/index.d.ts +15 -0
- package/vpc/index.js +22 -1
- package/vpc/index.js.map +1 -1
- package/vpc/networkAcl.d.ts +1 -1
- package/vpc/networkInterface.d.ts +31 -1
- package/vpc/networkInterface.js +4 -0
- package/vpc/networkInterface.js.map +1 -1
- package/vpc/prefixList.d.ts +166 -0
- package/vpc/prefixList.js +106 -0
- package/vpc/prefixList.js.map +1 -0
- package/vpc/prefixLists.d.ts +151 -0
- package/vpc/prefixLists.js +92 -0
- package/vpc/prefixLists.js.map +1 -0
- package/vpc/routeTable.d.ts +1 -1
- package/vpn/connection.d.ts +1 -1
- package/vpn/customerGateway.d.ts +1 -1
- package/vpn/gateway.d.ts +37 -1
- package/vpn/gateway.js +6 -0
- package/vpn/gateway.js.map +1 -1
- package/vpn/index.d.ts +12 -0
- package/vpn/index.js +17 -1
- package/vpn/index.js.map +1 -1
- package/vpn/sslVpnClientCert.d.ts +201 -0
- package/vpn/sslVpnClientCert.js +131 -0
- package/vpn/sslVpnClientCert.js.map +1 -0
- package/vpn/sslVpnClientCerts.d.ts +192 -0
- package/vpn/sslVpnClientCerts.js +134 -0
- package/vpn/sslVpnClientCerts.js.map +1 -0
- package/vpn/sslVpnServer.d.ts +231 -0
- package/vpn/sslVpnServer.js +128 -0
- package/vpn/sslVpnServer.js.map +1 -0
- package/vpn/sslVpnServers.d.ts +167 -0
- package/vpn/sslVpnServers.js +117 -0
- package/vpn/sslVpnServers.js.map +1 -0
package/vke/index.d.ts
CHANGED
|
@@ -37,3 +37,6 @@ export declare const nodesOutput: typeof import("./nodes").nodesOutput;
|
|
|
37
37
|
export { SupportAddonsArgs, SupportAddonsResult, SupportAddonsOutputArgs } from "./supportAddons";
|
|
38
38
|
export declare const supportAddons: typeof import("./supportAddons").supportAddons;
|
|
39
39
|
export declare const supportAddonsOutput: typeof import("./supportAddons").supportAddonsOutput;
|
|
40
|
+
export { SupportResourceTypesArgs, SupportResourceTypesResult, SupportResourceTypesOutputArgs } from "./supportResourceTypes";
|
|
41
|
+
export declare const supportResourceTypes: typeof import("./supportResourceTypes").supportResourceTypes;
|
|
42
|
+
export declare const supportResourceTypesOutput: typeof import("./supportResourceTypes").supportResourceTypesOutput;
|
package/vke/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.supportAddonsOutput = exports.supportAddons = exports.nodesOutput = exports.nodes = exports.nodePoolsOutput = exports.nodePools = exports.NodePool = exports.Node = exports.kubeconfigsOutput = exports.kubeconfigs = exports.Kubeconfig = exports.DefaultNodePoolBatchAttach = exports.DefaultNodePool = exports.clustersOutput = exports.clusters = exports.Cluster = exports.addonsOutput = exports.addons = exports.Addon = void 0;
|
|
5
|
+
exports.supportResourceTypesOutput = exports.supportResourceTypes = exports.supportAddonsOutput = exports.supportAddons = exports.nodesOutput = exports.nodes = exports.nodePoolsOutput = exports.nodePools = exports.NodePool = exports.Node = exports.kubeconfigsOutput = exports.kubeconfigs = exports.Kubeconfig = exports.DefaultNodePoolBatchAttach = exports.DefaultNodePool = exports.clustersOutput = exports.clusters = exports.Cluster = exports.addonsOutput = exports.addons = exports.Addon = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Addon = null;
|
|
@@ -37,6 +37,9 @@ utilities.lazyLoad(exports, ["nodes", "nodesOutput"], () => require("./nodes"));
|
|
|
37
37
|
exports.supportAddons = null;
|
|
38
38
|
exports.supportAddonsOutput = null;
|
|
39
39
|
utilities.lazyLoad(exports, ["supportAddons", "supportAddonsOutput"], () => require("./supportAddons"));
|
|
40
|
+
exports.supportResourceTypes = null;
|
|
41
|
+
exports.supportResourceTypesOutput = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["supportResourceTypes", "supportResourceTypesOutput"], () => require("./supportResourceTypes"));
|
|
40
43
|
const _module = {
|
|
41
44
|
version: utilities.getVersion(),
|
|
42
45
|
construct: (name, type, urn) => {
|
package/vke/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../vke/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAGpD,QAAA,MAAM,GAAqC,IAAW,CAAC;AACvD,QAAA,YAAY,GAA2C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAIrE,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI3E,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAA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OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,0BAA0B;gBAC3B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,kCAAkC;gBACnC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AAC9F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
package/vke/nodePool.d.ts
CHANGED
|
@@ -72,12 +72,12 @@ import * as outputs from "../types/output";
|
|
|
72
72
|
* imageId: fooImages.then(fooImages => .filter(image => image.imageName == "veLinux 1.0 CentOS兼容版 64位").map(image => (image.imageId))[0]),
|
|
73
73
|
* systemVolume: {
|
|
74
74
|
* type: "ESSD_PL0",
|
|
75
|
-
* size:
|
|
75
|
+
* size: 80,
|
|
76
76
|
* },
|
|
77
77
|
* dataVolumes: [
|
|
78
78
|
* {
|
|
79
79
|
* type: "ESSD_PL0",
|
|
80
|
-
* size:
|
|
80
|
+
* size: 80,
|
|
81
81
|
* mountPoint: "/tf1",
|
|
82
82
|
* },
|
|
83
83
|
* {
|
|
@@ -94,7 +94,7 @@ import * as outputs from "../types/output";
|
|
|
94
94
|
* securityStrategies: ["Hids"],
|
|
95
95
|
* securityGroupIds: [fooSecurityGroup.id],
|
|
96
96
|
* },
|
|
97
|
-
* additionalContainerStorageEnabled:
|
|
97
|
+
* additionalContainerStorageEnabled: false,
|
|
98
98
|
* instanceChargeType: "PostPaid",
|
|
99
99
|
* namePrefix: "acc-test",
|
|
100
100
|
* ecsTags: [{
|
package/vke/nodePool.js
CHANGED
|
@@ -76,12 +76,12 @@ const utilities = require("../utilities");
|
|
|
76
76
|
* imageId: fooImages.then(fooImages => .filter(image => image.imageName == "veLinux 1.0 CentOS兼容版 64位").map(image => (image.imageId))[0]),
|
|
77
77
|
* systemVolume: {
|
|
78
78
|
* type: "ESSD_PL0",
|
|
79
|
-
* size:
|
|
79
|
+
* size: 80,
|
|
80
80
|
* },
|
|
81
81
|
* dataVolumes: [
|
|
82
82
|
* {
|
|
83
83
|
* type: "ESSD_PL0",
|
|
84
|
-
* size:
|
|
84
|
+
* size: 80,
|
|
85
85
|
* mountPoint: "/tf1",
|
|
86
86
|
* },
|
|
87
87
|
* {
|
|
@@ -98,7 +98,7 @@ const utilities = require("../utilities");
|
|
|
98
98
|
* securityStrategies: ["Hids"],
|
|
99
99
|
* securityGroupIds: [fooSecurityGroup.id],
|
|
100
100
|
* },
|
|
101
|
-
* additionalContainerStorageEnabled:
|
|
101
|
+
* additionalContainerStorageEnabled: false,
|
|
102
102
|
* instanceChargeType: "PostPaid",
|
|
103
103
|
* namePrefix: "acc-test",
|
|
104
104
|
* ecsTags: [{
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of vke support resource types
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.vke.SupportResourceTypes({});
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function supportResourceTypes(args?: SupportResourceTypesArgs, opts?: pulumi.InvokeOptions): Promise<SupportResourceTypesResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking SupportResourceTypes.
|
|
17
|
+
*/
|
|
18
|
+
export interface SupportResourceTypesArgs {
|
|
19
|
+
/**
|
|
20
|
+
* File name where to save data source results.
|
|
21
|
+
*/
|
|
22
|
+
outputFile?: string;
|
|
23
|
+
/**
|
|
24
|
+
* A list of resource types. Support Ecs or Zone.
|
|
25
|
+
*/
|
|
26
|
+
resourceTypes?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* A list of zone ids. If no parameter value, all available regions is returned.
|
|
29
|
+
*/
|
|
30
|
+
zoneIds?: string[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by SupportResourceTypes.
|
|
34
|
+
*/
|
|
35
|
+
export interface SupportResourceTypesResult {
|
|
36
|
+
/**
|
|
37
|
+
* The provider-assigned unique ID for this managed resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly outputFile?: string;
|
|
41
|
+
readonly resourceTypes?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* The collection of query.
|
|
44
|
+
*/
|
|
45
|
+
readonly resources: outputs.vke.SupportResourceTypesResource[];
|
|
46
|
+
/**
|
|
47
|
+
* The total count of query.
|
|
48
|
+
*/
|
|
49
|
+
readonly totalCount: number;
|
|
50
|
+
readonly zoneIds?: string[];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Use this data source to query detailed information of vke support resource types
|
|
54
|
+
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
59
|
+
*
|
|
60
|
+
* const default = volcengine.vke.SupportResourceTypes({});
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function supportResourceTypesOutput(args?: SupportResourceTypesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SupportResourceTypesResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking SupportResourceTypes.
|
|
66
|
+
*/
|
|
67
|
+
export interface SupportResourceTypesOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* File name where to save data source results.
|
|
70
|
+
*/
|
|
71
|
+
outputFile?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* A list of resource types. Support Ecs or Zone.
|
|
74
|
+
*/
|
|
75
|
+
resourceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
76
|
+
/**
|
|
77
|
+
* A list of zone ids. If no parameter value, all available regions is returned.
|
|
78
|
+
*/
|
|
79
|
+
zoneIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.supportResourceTypesOutput = exports.supportResourceTypes = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of vke support resource types
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.vke.SupportResourceTypes({});
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
function supportResourceTypes(args, opts) {
|
|
20
|
+
args = args || {};
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("volcengine:vke/supportResourceTypes:SupportResourceTypes", {
|
|
23
|
+
"outputFile": args.outputFile,
|
|
24
|
+
"resourceTypes": args.resourceTypes,
|
|
25
|
+
"zoneIds": args.zoneIds,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.supportResourceTypes = supportResourceTypes;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to query detailed information of vke support resource types
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
36
|
+
*
|
|
37
|
+
* const default = volcengine.vke.SupportResourceTypes({});
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function supportResourceTypesOutput(args, opts) {
|
|
41
|
+
return pulumi.output(args).apply((a) => supportResourceTypes(a, opts));
|
|
42
|
+
}
|
|
43
|
+
exports.supportResourceTypesOutput = supportResourceTypesOutput;
|
|
44
|
+
//# sourceMappingURL=supportResourceTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportResourceTypes.js","sourceRoot":"","sources":["../../vke/supportResourceTypes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC;AAwCD;;;;;;;;;;GAUG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
package/vpc/haVip.d.ts
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage ha vip
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
9
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
10
|
+
*
|
|
11
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
12
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
13
|
+
* vpcName: "acc-test-vpc",
|
|
14
|
+
* cidrBlock: "172.16.0.0/16",
|
|
15
|
+
* });
|
|
16
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
17
|
+
* subnetName: "acc-test-subnet",
|
|
18
|
+
* cidrBlock: "172.16.0.0/24",
|
|
19
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
20
|
+
* vpcId: fooVpc.id,
|
|
21
|
+
* });
|
|
22
|
+
* const fooHaVip = new volcengine.vpc.HaVip("fooHaVip", {
|
|
23
|
+
* haVipName: "acc-test-ha-vip",
|
|
24
|
+
* description: "acc-test",
|
|
25
|
+
* subnetId: fooSubnet.id,
|
|
26
|
+
* });
|
|
27
|
+
* // ip_address = "172.16.0.5"
|
|
28
|
+
* const fooAddress = new volcengine.eip.Address("fooAddress", {billingType: "PostPaidByTraffic"});
|
|
29
|
+
* const fooAssociate = new volcengine.eip.Associate("fooAssociate", {
|
|
30
|
+
* allocationId: fooAddress.id,
|
|
31
|
+
* instanceId: fooHaVip.id,
|
|
32
|
+
* instanceType: "HaVip",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* HaVip can be imported using the id, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import volcengine:vpc/haVip:HaVip default havip-2byzv8icq1b7k2dx0eegb****
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare class HaVip extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing HaVip resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HaVipState, opts?: pulumi.CustomResourceOptions): HaVip;
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of HaVip. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj: any): obj is HaVip;
|
|
60
|
+
/**
|
|
61
|
+
* The associated eip address of the Ha Vip.
|
|
62
|
+
*/
|
|
63
|
+
readonly associatedEipAddress: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The associated eip id of the Ha Vip.
|
|
66
|
+
*/
|
|
67
|
+
readonly associatedEipId: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The associated instance ids of the Ha Vip.
|
|
70
|
+
*/
|
|
71
|
+
readonly associatedInstanceIds: pulumi.Output<string[]>;
|
|
72
|
+
/**
|
|
73
|
+
* The associated instance type of the Ha Vip.
|
|
74
|
+
*/
|
|
75
|
+
readonly associatedInstanceType: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The create time of the Ha Vip.
|
|
78
|
+
*/
|
|
79
|
+
readonly createdAt: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The description of the Ha Vip.
|
|
82
|
+
*/
|
|
83
|
+
readonly description: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the Ha Vip.
|
|
86
|
+
*/
|
|
87
|
+
readonly haVipName: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The ip address of the Ha Vip.
|
|
90
|
+
*/
|
|
91
|
+
readonly ipAddress: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The master instance id of the Ha Vip.
|
|
94
|
+
*/
|
|
95
|
+
readonly masterInstanceId: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The project name of the Ha Vip.
|
|
98
|
+
*/
|
|
99
|
+
readonly projectName: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The status of the Ha Vip.
|
|
102
|
+
*/
|
|
103
|
+
readonly status: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The subnet id of the Ha Vip.
|
|
106
|
+
*/
|
|
107
|
+
readonly subnetId: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The update time of the Ha Vip.
|
|
110
|
+
*/
|
|
111
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The vpc id of the Ha Vip.
|
|
114
|
+
*/
|
|
115
|
+
readonly vpcId: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Create a HaVip resource with the given unique name, arguments, and options.
|
|
118
|
+
*
|
|
119
|
+
* @param name The _unique_ name of the resource.
|
|
120
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
121
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
122
|
+
*/
|
|
123
|
+
constructor(name: string, args: HaVipArgs, opts?: pulumi.CustomResourceOptions);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Input properties used for looking up and filtering HaVip resources.
|
|
127
|
+
*/
|
|
128
|
+
export interface HaVipState {
|
|
129
|
+
/**
|
|
130
|
+
* The associated eip address of the Ha Vip.
|
|
131
|
+
*/
|
|
132
|
+
associatedEipAddress?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The associated eip id of the Ha Vip.
|
|
135
|
+
*/
|
|
136
|
+
associatedEipId?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The associated instance ids of the Ha Vip.
|
|
139
|
+
*/
|
|
140
|
+
associatedInstanceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
141
|
+
/**
|
|
142
|
+
* The associated instance type of the Ha Vip.
|
|
143
|
+
*/
|
|
144
|
+
associatedInstanceType?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The create time of the Ha Vip.
|
|
147
|
+
*/
|
|
148
|
+
createdAt?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The description of the Ha Vip.
|
|
151
|
+
*/
|
|
152
|
+
description?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The name of the Ha Vip.
|
|
155
|
+
*/
|
|
156
|
+
haVipName?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The ip address of the Ha Vip.
|
|
159
|
+
*/
|
|
160
|
+
ipAddress?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The master instance id of the Ha Vip.
|
|
163
|
+
*/
|
|
164
|
+
masterInstanceId?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The project name of the Ha Vip.
|
|
167
|
+
*/
|
|
168
|
+
projectName?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The status of the Ha Vip.
|
|
171
|
+
*/
|
|
172
|
+
status?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The subnet id of the Ha Vip.
|
|
175
|
+
*/
|
|
176
|
+
subnetId?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The update time of the Ha Vip.
|
|
179
|
+
*/
|
|
180
|
+
updatedAt?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* The vpc id of the Ha Vip.
|
|
183
|
+
*/
|
|
184
|
+
vpcId?: pulumi.Input<string>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* The set of arguments for constructing a HaVip resource.
|
|
188
|
+
*/
|
|
189
|
+
export interface HaVipArgs {
|
|
190
|
+
/**
|
|
191
|
+
* The description of the Ha Vip.
|
|
192
|
+
*/
|
|
193
|
+
description?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* The name of the Ha Vip.
|
|
196
|
+
*/
|
|
197
|
+
haVipName?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* The ip address of the Ha Vip.
|
|
200
|
+
*/
|
|
201
|
+
ipAddress?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* The subnet id of the Ha Vip.
|
|
204
|
+
*/
|
|
205
|
+
subnetId: pulumi.Input<string>;
|
|
206
|
+
}
|
package/vpc/haVip.js
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
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.HaVip = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage ha vip
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
19
|
+
* vpcName: "acc-test-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* });
|
|
22
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
23
|
+
* subnetName: "acc-test-subnet",
|
|
24
|
+
* cidrBlock: "172.16.0.0/24",
|
|
25
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
26
|
+
* vpcId: fooVpc.id,
|
|
27
|
+
* });
|
|
28
|
+
* const fooHaVip = new volcengine.vpc.HaVip("fooHaVip", {
|
|
29
|
+
* haVipName: "acc-test-ha-vip",
|
|
30
|
+
* description: "acc-test",
|
|
31
|
+
* subnetId: fooSubnet.id,
|
|
32
|
+
* });
|
|
33
|
+
* // ip_address = "172.16.0.5"
|
|
34
|
+
* const fooAddress = new volcengine.eip.Address("fooAddress", {billingType: "PostPaidByTraffic"});
|
|
35
|
+
* const fooAssociate = new volcengine.eip.Associate("fooAssociate", {
|
|
36
|
+
* allocationId: fooAddress.id,
|
|
37
|
+
* instanceId: fooHaVip.id,
|
|
38
|
+
* instanceType: "HaVip",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* HaVip can be imported using the id, e.g.
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import volcengine:vpc/haVip:HaVip default havip-2byzv8icq1b7k2dx0eegb****
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
class HaVip extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing HaVip resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param state Any extra arguments used during the lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, state, opts) {
|
|
61
|
+
return new HaVip(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of HaVip. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === HaVip.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
constructor(name, argsOrState, opts) {
|
|
74
|
+
let resourceInputs = {};
|
|
75
|
+
opts = opts || {};
|
|
76
|
+
if (opts.id) {
|
|
77
|
+
const state = argsOrState;
|
|
78
|
+
resourceInputs["associatedEipAddress"] = state ? state.associatedEipAddress : undefined;
|
|
79
|
+
resourceInputs["associatedEipId"] = state ? state.associatedEipId : undefined;
|
|
80
|
+
resourceInputs["associatedInstanceIds"] = state ? state.associatedInstanceIds : undefined;
|
|
81
|
+
resourceInputs["associatedInstanceType"] = state ? state.associatedInstanceType : undefined;
|
|
82
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
83
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
84
|
+
resourceInputs["haVipName"] = state ? state.haVipName : undefined;
|
|
85
|
+
resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
86
|
+
resourceInputs["masterInstanceId"] = state ? state.masterInstanceId : undefined;
|
|
87
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
88
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
89
|
+
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
90
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
91
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
if ((!args || args.subnetId === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'subnetId'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
99
|
+
resourceInputs["haVipName"] = args ? args.haVipName : undefined;
|
|
100
|
+
resourceInputs["ipAddress"] = args ? args.ipAddress : undefined;
|
|
101
|
+
resourceInputs["subnetId"] = args ? args.subnetId : undefined;
|
|
102
|
+
resourceInputs["associatedEipAddress"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["associatedEipId"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["associatedInstanceIds"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["associatedInstanceType"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["masterInstanceId"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["projectName"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["vpcId"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(HaVip.__pulumiType, name, resourceInputs, opts);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.HaVip = HaVip;
|
|
118
|
+
/** @internal */
|
|
119
|
+
HaVip.__pulumiType = 'volcengine:vpc/haVip:HaVip';
|
|
120
|
+
//# sourceMappingURL=haVip.js.map
|
package/vpc/haVip.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"haVip.js","sourceRoot":"","sources":["../../vpc/haVip.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAmED,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GA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