@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystems.js","sourceRoot":"","sources":["../../nas/fileSystems.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,wCAAwC,EAAE;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAnBD,kCAmBC;AAkHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/nas/index.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { FileSystemArgs, FileSystemState } from "./fileSystem";
|
|
2
|
+
export type FileSystem = import("./fileSystem").FileSystem;
|
|
3
|
+
export declare const FileSystem: typeof import("./fileSystem").FileSystem;
|
|
4
|
+
export { FileSystemsArgs, FileSystemsResult, FileSystemsOutputArgs } from "./fileSystems";
|
|
5
|
+
export declare const fileSystems: typeof import("./fileSystems").fileSystems;
|
|
6
|
+
export declare const fileSystemsOutput: typeof import("./fileSystems").fileSystemsOutput;
|
|
7
|
+
export { MountPointArgs, MountPointState } from "./mountPoint";
|
|
8
|
+
export type MountPoint = import("./mountPoint").MountPoint;
|
|
9
|
+
export declare const MountPoint: typeof import("./mountPoint").MountPoint;
|
|
10
|
+
export { MountPointsArgs, MountPointsResult, MountPointsOutputArgs } from "./mountPoints";
|
|
11
|
+
export declare const mountPoints: typeof import("./mountPoints").mountPoints;
|
|
12
|
+
export declare const mountPointsOutput: typeof import("./mountPoints").mountPointsOutput;
|
|
13
|
+
export { PermissionGroupArgs, PermissionGroupState } from "./permissionGroup";
|
|
14
|
+
export type PermissionGroup = import("./permissionGroup").PermissionGroup;
|
|
15
|
+
export declare const PermissionGroup: typeof import("./permissionGroup").PermissionGroup;
|
|
16
|
+
export { PermissionGroupsArgs, PermissionGroupsResult, PermissionGroupsOutputArgs } from "./permissionGroups";
|
|
17
|
+
export declare const permissionGroups: typeof import("./permissionGroups").permissionGroups;
|
|
18
|
+
export declare const permissionGroupsOutput: typeof import("./permissionGroups").permissionGroupsOutput;
|
|
19
|
+
export { RegionsArgs, RegionsResult, RegionsOutputArgs } from "./regions";
|
|
20
|
+
export declare const regions: typeof import("./regions").regions;
|
|
21
|
+
export declare const regionsOutput: typeof import("./regions").regionsOutput;
|
|
22
|
+
export { SnapshotArgs, SnapshotState } from "./snapshot";
|
|
23
|
+
export type Snapshot = import("./snapshot").Snapshot;
|
|
24
|
+
export declare const Snapshot: typeof import("./snapshot").Snapshot;
|
|
25
|
+
export { SnapshotsArgs, SnapshotsResult, SnapshotsOutputArgs } from "./snapshots";
|
|
26
|
+
export declare const snapshots: typeof import("./snapshots").snapshots;
|
|
27
|
+
export declare const snapshotsOutput: typeof import("./snapshots").snapshotsOutput;
|
|
28
|
+
export { ZonesArgs, ZonesResult, ZonesOutputArgs } from "./zones";
|
|
29
|
+
export declare const zones: typeof import("./zones").zones;
|
|
30
|
+
export declare const zonesOutput: typeof import("./zones").zonesOutput;
|
package/nas/index.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
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.zonesOutput = exports.zones = exports.snapshotsOutput = exports.snapshots = exports.Snapshot = exports.regionsOutput = exports.regions = exports.permissionGroupsOutput = exports.permissionGroups = exports.PermissionGroup = exports.mountPointsOutput = exports.mountPoints = exports.MountPoint = exports.fileSystemsOutput = exports.fileSystems = exports.FileSystem = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.FileSystem = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["FileSystem"], () => require("./fileSystem"));
|
|
10
|
+
exports.fileSystems = null;
|
|
11
|
+
exports.fileSystemsOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["fileSystems", "fileSystemsOutput"], () => require("./fileSystems"));
|
|
13
|
+
exports.MountPoint = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["MountPoint"], () => require("./mountPoint"));
|
|
15
|
+
exports.mountPoints = null;
|
|
16
|
+
exports.mountPointsOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["mountPoints", "mountPointsOutput"], () => require("./mountPoints"));
|
|
18
|
+
exports.PermissionGroup = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["PermissionGroup"], () => require("./permissionGroup"));
|
|
20
|
+
exports.permissionGroups = null;
|
|
21
|
+
exports.permissionGroupsOutput = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["permissionGroups", "permissionGroupsOutput"], () => require("./permissionGroups"));
|
|
23
|
+
exports.regions = null;
|
|
24
|
+
exports.regionsOutput = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["regions", "regionsOutput"], () => require("./regions"));
|
|
26
|
+
exports.Snapshot = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["Snapshot"], () => require("./snapshot"));
|
|
28
|
+
exports.snapshots = null;
|
|
29
|
+
exports.snapshotsOutput = null;
|
|
30
|
+
utilities.lazyLoad(exports, ["snapshots", "snapshotsOutput"], () => require("./snapshots"));
|
|
31
|
+
exports.zones = null;
|
|
32
|
+
exports.zonesOutput = null;
|
|
33
|
+
utilities.lazyLoad(exports, ["zones", "zonesOutput"], () => require("./zones"));
|
|
34
|
+
const _module = {
|
|
35
|
+
version: utilities.getVersion(),
|
|
36
|
+
construct: (name, type, urn) => {
|
|
37
|
+
switch (type) {
|
|
38
|
+
case "volcengine:nas/fileSystem:FileSystem":
|
|
39
|
+
return new exports.FileSystem(name, undefined, { urn });
|
|
40
|
+
case "volcengine:nas/mountPoint:MountPoint":
|
|
41
|
+
return new exports.MountPoint(name, undefined, { urn });
|
|
42
|
+
case "volcengine:nas/permissionGroup:PermissionGroup":
|
|
43
|
+
return new exports.PermissionGroup(name, undefined, { urn });
|
|
44
|
+
case "volcengine:nas/snapshot:Snapshot":
|
|
45
|
+
return new exports.Snapshot(name, undefined, { urn });
|
|
46
|
+
default:
|
|
47
|
+
throw new Error(`unknown resource type ${type}`);
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
pulumi.runtime.registerResourceModule("volcengine", "nas/fileSystem", _module);
|
|
52
|
+
pulumi.runtime.registerResourceModule("volcengine", "nas/mountPoint", _module);
|
|
53
|
+
pulumi.runtime.registerResourceModule("volcengine", "nas/permissionGroup", _module);
|
|
54
|
+
pulumi.runtime.registerResourceModule("volcengine", "nas/snapshot", _module);
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
package/nas/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["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AS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D,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,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage nas mount point
|
|
4
|
+
*
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* Nas Mount Point can be imported using the file system id and mount point id, e.g.
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcengine:nas/mountPoint:MountPoint default enas-cnbj18bcb923****:mount-a6ee****
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class MountPoint extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing MountPoint resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MountPointState, opts?: pulumi.CustomResourceOptions): MountPoint;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of MountPoint. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is MountPoint;
|
|
29
|
+
/**
|
|
30
|
+
* The file system id.
|
|
31
|
+
*/
|
|
32
|
+
readonly fileSystemId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The mount point id.
|
|
35
|
+
*/
|
|
36
|
+
readonly mountPointId: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The mount point name.
|
|
39
|
+
*/
|
|
40
|
+
readonly mountPointName: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The permission group id.
|
|
43
|
+
*/
|
|
44
|
+
readonly permissionGroupId: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The subnet id.
|
|
47
|
+
*/
|
|
48
|
+
readonly subnetId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a MountPoint resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: MountPointArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering MountPoint resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface MountPointState {
|
|
62
|
+
/**
|
|
63
|
+
* The file system id.
|
|
64
|
+
*/
|
|
65
|
+
fileSystemId?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The mount point id.
|
|
68
|
+
*/
|
|
69
|
+
mountPointId?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The mount point name.
|
|
72
|
+
*/
|
|
73
|
+
mountPointName?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The permission group id.
|
|
76
|
+
*/
|
|
77
|
+
permissionGroupId?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The subnet id.
|
|
80
|
+
*/
|
|
81
|
+
subnetId?: pulumi.Input<string>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The set of arguments for constructing a MountPoint resource.
|
|
85
|
+
*/
|
|
86
|
+
export interface MountPointArgs {
|
|
87
|
+
/**
|
|
88
|
+
* The file system id.
|
|
89
|
+
*/
|
|
90
|
+
fileSystemId: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The mount point name.
|
|
93
|
+
*/
|
|
94
|
+
mountPointName: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The permission group id.
|
|
97
|
+
*/
|
|
98
|
+
permissionGroupId: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The subnet id.
|
|
101
|
+
*/
|
|
102
|
+
subnetId: pulumi.Input<string>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.MountPoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage nas mount point
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* Nas Mount Point can be imported using the file system id and mount point id, e.g.
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import volcengine:nas/mountPoint:MountPoint default enas-cnbj18bcb923****:mount-a6ee****
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
class MountPoint extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing MountPoint resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, state, opts) {
|
|
30
|
+
return new MountPoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of MountPoint. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === MountPoint.__pulumiType;
|
|
41
|
+
}
|
|
42
|
+
constructor(name, argsOrState, opts) {
|
|
43
|
+
let resourceInputs = {};
|
|
44
|
+
opts = opts || {};
|
|
45
|
+
if (opts.id) {
|
|
46
|
+
const state = argsOrState;
|
|
47
|
+
resourceInputs["fileSystemId"] = state ? state.fileSystemId : undefined;
|
|
48
|
+
resourceInputs["mountPointId"] = state ? state.mountPointId : undefined;
|
|
49
|
+
resourceInputs["mountPointName"] = state ? state.mountPointName : undefined;
|
|
50
|
+
resourceInputs["permissionGroupId"] = state ? state.permissionGroupId : undefined;
|
|
51
|
+
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const args = argsOrState;
|
|
55
|
+
if ((!args || args.fileSystemId === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'fileSystemId'");
|
|
57
|
+
}
|
|
58
|
+
if ((!args || args.mountPointName === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'mountPointName'");
|
|
60
|
+
}
|
|
61
|
+
if ((!args || args.permissionGroupId === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'permissionGroupId'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.subnetId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'subnetId'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["fileSystemId"] = args ? args.fileSystemId : undefined;
|
|
68
|
+
resourceInputs["mountPointName"] = args ? args.mountPointName : undefined;
|
|
69
|
+
resourceInputs["permissionGroupId"] = args ? args.permissionGroupId : undefined;
|
|
70
|
+
resourceInputs["subnetId"] = args ? args.subnetId : undefined;
|
|
71
|
+
resourceInputs["mountPointId"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(MountPoint.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.MountPoint = MountPoint;
|
|
78
|
+
/** @internal */
|
|
79
|
+
MountPoint.__pulumiType = 'volcengine:nas/mountPoint:MountPoint';
|
|
80
|
+
//# sourceMappingURL=mountPoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mountPoint.js","sourceRoot":"","sources":["../../nas/mountPoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,E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Ac,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzFL,gCA0FC;AA5EG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 nas mount points
|
|
5
|
+
*/
|
|
6
|
+
export declare function mountPoints(args: MountPointsArgs, opts?: pulumi.InvokeOptions): Promise<MountPointsResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking MountPoints.
|
|
9
|
+
*/
|
|
10
|
+
export interface MountPointsArgs {
|
|
11
|
+
/**
|
|
12
|
+
* The id of the file system.
|
|
13
|
+
*/
|
|
14
|
+
fileSystemId: string;
|
|
15
|
+
/**
|
|
16
|
+
* The id of the mount point.
|
|
17
|
+
*/
|
|
18
|
+
mountPointId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The name of the mount point.
|
|
21
|
+
*/
|
|
22
|
+
mountPointName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* File name where to save data source results.
|
|
25
|
+
*/
|
|
26
|
+
outputFile?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The id of the vpc.
|
|
29
|
+
*/
|
|
30
|
+
vpcsId?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by MountPoints.
|
|
34
|
+
*/
|
|
35
|
+
export interface MountPointsResult {
|
|
36
|
+
/**
|
|
37
|
+
* The id of the file system.
|
|
38
|
+
*/
|
|
39
|
+
readonly fileSystemId: string;
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The id of the mount point.
|
|
46
|
+
*/
|
|
47
|
+
readonly mountPointId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The name of the mount point.
|
|
50
|
+
*/
|
|
51
|
+
readonly mountPointName?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The list of the mount point.
|
|
54
|
+
*/
|
|
55
|
+
readonly mountPoints: outputs.nas.MountPointsMountPoint[];
|
|
56
|
+
readonly outputFile?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The total count of nas mount points query.
|
|
59
|
+
*/
|
|
60
|
+
readonly totalCount: number;
|
|
61
|
+
readonly vpcsId?: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Use this data source to query detailed information of nas mount points
|
|
65
|
+
*/
|
|
66
|
+
export declare function mountPointsOutput(args: MountPointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<MountPointsResult>;
|
|
67
|
+
/**
|
|
68
|
+
* A collection of arguments for invoking MountPoints.
|
|
69
|
+
*/
|
|
70
|
+
export interface MountPointsOutputArgs {
|
|
71
|
+
/**
|
|
72
|
+
* The id of the file system.
|
|
73
|
+
*/
|
|
74
|
+
fileSystemId: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The id of the mount point.
|
|
77
|
+
*/
|
|
78
|
+
mountPointId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the mount point.
|
|
81
|
+
*/
|
|
82
|
+
mountPointName?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* File name where to save data source results.
|
|
85
|
+
*/
|
|
86
|
+
outputFile?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The id of the vpc.
|
|
89
|
+
*/
|
|
90
|
+
vpcsId?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.mountPointsOutput = exports.mountPoints = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of nas mount points
|
|
10
|
+
*/
|
|
11
|
+
function mountPoints(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcengine:nas/mountPoints:MountPoints", {
|
|
14
|
+
"fileSystemId": args.fileSystemId,
|
|
15
|
+
"mountPointId": args.mountPointId,
|
|
16
|
+
"mountPointName": args.mountPointName,
|
|
17
|
+
"outputFile": args.outputFile,
|
|
18
|
+
"vpcsId": args.vpcsId,
|
|
19
|
+
}, opts);
|
|
20
|
+
}
|
|
21
|
+
exports.mountPoints = mountPoints;
|
|
22
|
+
/**
|
|
23
|
+
* Use this data source to query detailed information of nas mount points
|
|
24
|
+
*/
|
|
25
|
+
function mountPointsOutput(args, opts) {
|
|
26
|
+
return pulumi.output(args).apply((a) => mountPoints(a, opts));
|
|
27
|
+
}
|
|
28
|
+
exports.mountPointsOutput = mountPointsOutput;
|
|
29
|
+
//# sourceMappingURL=mountPoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mountPoints.js","sourceRoot":"","sources":["../../nas/mountPoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC;AA2DD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage nas permission group
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.nas.PermissionGroup("foo", {
|
|
13
|
+
* description: "acctest1",
|
|
14
|
+
* permissionGroupName: "acc-test1",
|
|
15
|
+
* permissionRules: [
|
|
16
|
+
* {
|
|
17
|
+
* cidrIp: "*",
|
|
18
|
+
* rwMode: "RW",
|
|
19
|
+
* useMode: "All_squash",
|
|
20
|
+
* },
|
|
21
|
+
* {
|
|
22
|
+
* cidrIp: "192.168.0.0",
|
|
23
|
+
* rwMode: "RO",
|
|
24
|
+
* useMode: "All_squash",
|
|
25
|
+
* },
|
|
26
|
+
* ],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Nas Permission Group can be imported using the id, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcengine:nas/permissionGroup:PermissionGroup default pgroup-1f85db2c****
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class PermissionGroup extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing PermissionGroup resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PermissionGroupState, opts?: pulumi.CustomResourceOptions): PermissionGroup;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of PermissionGroup. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is PermissionGroup;
|
|
54
|
+
/**
|
|
55
|
+
* The description of the permission group.
|
|
56
|
+
*/
|
|
57
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* The id of the permission group.
|
|
60
|
+
*/
|
|
61
|
+
readonly permissionGroupId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the permission group.
|
|
64
|
+
*/
|
|
65
|
+
readonly permissionGroupName: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The list of permissions rules.
|
|
68
|
+
*/
|
|
69
|
+
readonly permissionRules: pulumi.Output<outputs.nas.PermissionGroupPermissionRule[] | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a PermissionGroup resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args: PermissionGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Input properties used for looking up and filtering PermissionGroup resources.
|
|
81
|
+
*/
|
|
82
|
+
export interface PermissionGroupState {
|
|
83
|
+
/**
|
|
84
|
+
* The description of the permission group.
|
|
85
|
+
*/
|
|
86
|
+
description?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The id of the permission group.
|
|
89
|
+
*/
|
|
90
|
+
permissionGroupId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The name of the permission group.
|
|
93
|
+
*/
|
|
94
|
+
permissionGroupName?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The list of permissions rules.
|
|
97
|
+
*/
|
|
98
|
+
permissionRules?: pulumi.Input<pulumi.Input<inputs.nas.PermissionGroupPermissionRule>[]>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a PermissionGroup resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface PermissionGroupArgs {
|
|
104
|
+
/**
|
|
105
|
+
* The description of the permission group.
|
|
106
|
+
*/
|
|
107
|
+
description?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the permission group.
|
|
110
|
+
*/
|
|
111
|
+
permissionGroupName: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The list of permissions rules.
|
|
114
|
+
*/
|
|
115
|
+
permissionRules?: pulumi.Input<pulumi.Input<inputs.nas.PermissionGroupPermissionRule>[]>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.PermissionGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage nas permission group
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.nas.PermissionGroup("foo", {
|
|
17
|
+
* description: "acctest1",
|
|
18
|
+
* permissionGroupName: "acc-test1",
|
|
19
|
+
* permissionRules: [
|
|
20
|
+
* {
|
|
21
|
+
* cidrIp: "*",
|
|
22
|
+
* rwMode: "RW",
|
|
23
|
+
* useMode: "All_squash",
|
|
24
|
+
* },
|
|
25
|
+
* {
|
|
26
|
+
* cidrIp: "192.168.0.0",
|
|
27
|
+
* rwMode: "RO",
|
|
28
|
+
* useMode: "All_squash",
|
|
29
|
+
* },
|
|
30
|
+
* ],
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Nas Permission Group can be imported using the id, e.g.
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import volcengine:nas/permissionGroup:PermissionGroup default pgroup-1f85db2c****
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class PermissionGroup extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing PermissionGroup resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new PermissionGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of PermissionGroup. 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) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === PermissionGroup.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
71
|
+
resourceInputs["permissionGroupId"] = state ? state.permissionGroupId : undefined;
|
|
72
|
+
resourceInputs["permissionGroupName"] = state ? state.permissionGroupName : undefined;
|
|
73
|
+
resourceInputs["permissionRules"] = state ? state.permissionRules : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.permissionGroupName === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'permissionGroupName'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
81
|
+
resourceInputs["permissionGroupName"] = args ? args.permissionGroupName : undefined;
|
|
82
|
+
resourceInputs["permissionRules"] = args ? args.permissionRules : undefined;
|
|
83
|
+
resourceInputs["permissionGroupId"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(PermissionGroup.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.PermissionGroup = PermissionGroup;
|
|
90
|
+
/** @internal */
|
|
91
|
+
PermissionGroup.__pulumiType = 'volcengine:nas/permissionGroup:PermissionGroup';
|
|
92
|
+
//# sourceMappingURL=permissionGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionGroup.js","sourceRoot":"","sources":["../../nas/permissionGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,q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