@volcengine/pulumi 0.0.17 → 0.0.20
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/scalingGroup.d.ts +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/cr/registry.d.ts +1 -1
- package/cr/registry.js +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/command.d.ts +157 -0
- package/ecs/command.js +93 -0
- package/ecs/command.js.map +1 -0
- package/ecs/commands.d.ts +132 -0
- package/ecs/commands.js +52 -0
- package/ecs/commands.js.map +1 -0
- package/ecs/index.d.ts +21 -0
- package/ecs/index.js +26 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +25 -4
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/ecs/invocation.d.ts +223 -0
- package/ecs/invocation.js +118 -0
- package/ecs/invocation.js.map +1 -0
- package/ecs/invocationResults.d.ts +116 -0
- package/ecs/invocationResults.js +51 -0
- package/ecs/invocationResults.js.map +1 -0
- package/ecs/invocations.d.ts +161 -0
- package/ecs/invocations.js +56 -0
- package/ecs/invocations.js.map +1 -0
- package/ecs/regions.d.ts +75 -0
- package/ecs/regions.js +47 -0
- package/ecs/regions.js.map +1 -0
- package/eip/address.d.ts +1 -1
- package/escloud/instance.d.ts +26 -13
- package/escloud/instance.js +26 -13
- package/escloud/instance.js.map +1 -1
- package/escloud/instances.d.ts +100 -6
- package/escloud/instances.js +100 -6
- package/escloud/instances.js.map +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/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/rds_mysql/account.d.ts +48 -4
- package/rds_mysql/account.js +48 -4
- package/rds_mysql/account.js.map +1 -1
- package/rds_mysql/accounts.d.ts +106 -6
- package/rds_mysql/accounts.js +106 -6
- package/rds_mysql/accounts.js.map +1 -1
- package/rds_mysql/allowlist.d.ts +7 -3
- package/rds_mysql/allowlist.js +7 -3
- package/rds_mysql/allowlist.js.map +1 -1
- package/rds_mysql/allowlistAssociate.d.ts +47 -3
- package/rds_mysql/allowlistAssociate.js +47 -3
- package/rds_mysql/allowlistAssociate.js.map +1 -1
- package/rds_mysql/allowlists.d.ts +102 -4
- package/rds_mysql/allowlists.js +102 -4
- package/rds_mysql/allowlists.js.map +1 -1
- package/rds_mysql/database.d.ts +38 -4
- package/rds_mysql/database.js +38 -4
- package/rds_mysql/database.js.map +1 -1
- package/rds_mysql/databases.d.ts +84 -6
- package/rds_mysql/databases.js +84 -6
- package/rds_mysql/databases.js.map +1 -1
- package/rds_mysql/instance.d.ts +18 -15
- package/rds_mysql/instance.js +17 -14
- package/rds_mysql/instance.js.map +1 -1
- package/rds_mysql/instanceReadonlyNode.d.ts +38 -3
- package/rds_mysql/instanceReadonlyNode.js +38 -3
- package/rds_mysql/instanceReadonlyNode.js.map +1 -1
- package/rds_mysql/instances.d.ts +74 -4
- package/rds_mysql/instances.js +74 -4
- package/rds_mysql/instances.js.map +1 -1
- package/redis/account.d.ts +32 -5
- package/redis/account.js +32 -5
- package/redis/account.js.map +1 -1
- package/redis/accounts.d.ts +74 -4
- package/redis/accounts.js +74 -4
- package/redis/accounts.js.map +1 -1
- package/redis/allowList.d.ts +2 -2
- package/redis/allowList.js +2 -2
- package/redis/allowListAssociate.d.ts +34 -6
- package/redis/allowListAssociate.js +34 -6
- package/redis/allowListAssociate.js.map +1 -1
- package/redis/allowLists.d.ts +78 -2
- package/redis/allowLists.js +78 -2
- package/redis/allowLists.js.map +1 -1
- package/redis/backup.d.ts +29 -1
- package/redis/backup.js +29 -1
- package/redis/backup.js.map +1 -1
- package/redis/backupRestore.d.ts +33 -3
- package/redis/backupRestore.js +33 -3
- package/redis/backupRestore.js.map +1 -1
- package/redis/backups.d.ts +68 -6
- package/redis/backups.js +68 -6
- package/redis/backups.js.map +1 -1
- package/redis/continuousBackup.d.ts +29 -1
- package/redis/continuousBackup.js +29 -1
- package/redis/continuousBackup.js.map +1 -1
- package/redis/endpoint.d.ts +37 -3
- package/redis/endpoint.js +37 -3
- package/redis/endpoint.js.map +1 -1
- package/redis/instance.d.ts +47 -35
- package/redis/instance.js +41 -32
- package/redis/instance.js.map +1 -1
- package/redis/instances.d.ts +60 -4
- package/redis/instances.js +60 -4
- package/redis/instances.js.map +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/tls/index_.d.ts +33 -8
- package/tls/index_.js +23 -8
- package/tls/index_.js.map +1 -1
- package/tls/indexes.d.ts +2 -2
- package/tls/indexes.js +2 -2
- 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 +320 -2
- package/types/output.d.ts +5482 -3219
- package/vke/index.d.ts +3 -0
- package/vke/index.js +4 -1
- package/vke/index.js.map +1 -1
- 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/vpc/securityGroup.d.ts +2 -2
- package/vpc/securityGroup.js +1 -1
- package/vpc/vpc.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,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":"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"}
|
|
@@ -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,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,mBAAmB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChE,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA1EL,0CA2EC;AA7DG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -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
|
+
* Use this data source to query detailed information of nas permission groups
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
12
|
+
*
|
|
13
|
+
* const foo = new volcengine.nas.PermissionGroup("foo", {
|
|
14
|
+
* permissionGroupName: "acc-test",
|
|
15
|
+
* description: "acctest",
|
|
16
|
+
* permissionRules: [
|
|
17
|
+
* {
|
|
18
|
+
* cidrIp: "*",
|
|
19
|
+
* rwMode: "RW",
|
|
20
|
+
* useMode: "All_squash",
|
|
21
|
+
* },
|
|
22
|
+
* {
|
|
23
|
+
* cidrIp: "192.168.0.0",
|
|
24
|
+
* rwMode: "RO",
|
|
25
|
+
* useMode: "All_squash",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* });
|
|
29
|
+
* const default = volcengine.nas.PermissionGroupsOutput({
|
|
30
|
+
* filters: [{
|
|
31
|
+
* key: "PermissionGroupId",
|
|
32
|
+
* value: foo.id,
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function permissionGroups(args?: PermissionGroupsArgs, opts?: pulumi.InvokeOptions): Promise<PermissionGroupsResult>;
|
|
38
|
+
/**
|
|
39
|
+
* A collection of arguments for invoking PermissionGroups.
|
|
40
|
+
*/
|
|
41
|
+
export interface PermissionGroupsArgs {
|
|
42
|
+
/**
|
|
43
|
+
* Filter permission groups for specified characteristics.
|
|
44
|
+
*/
|
|
45
|
+
filters?: inputs.nas.PermissionGroupsFilter[];
|
|
46
|
+
/**
|
|
47
|
+
* File name where to save data source results.
|
|
48
|
+
*/
|
|
49
|
+
outputFile?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A collection of values returned by PermissionGroups.
|
|
53
|
+
*/
|
|
54
|
+
export interface PermissionGroupsResult {
|
|
55
|
+
readonly filters?: outputs.nas.PermissionGroupsFilter[];
|
|
56
|
+
/**
|
|
57
|
+
* The provider-assigned unique ID for this managed resource.
|
|
58
|
+
*/
|
|
59
|
+
readonly id: string;
|
|
60
|
+
readonly outputFile?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The list of permissions groups.
|
|
63
|
+
*/
|
|
64
|
+
readonly permissionGroups: outputs.nas.PermissionGroupsPermissionGroup[];
|
|
65
|
+
/**
|
|
66
|
+
* The total count of nas permission groups query.
|
|
67
|
+
*/
|
|
68
|
+
readonly totalCount: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Use this data source to query detailed information of nas permission groups
|
|
72
|
+
* ## Example Usage
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
77
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
78
|
+
*
|
|
79
|
+
* const foo = new volcengine.nas.PermissionGroup("foo", {
|
|
80
|
+
* permissionGroupName: "acc-test",
|
|
81
|
+
* description: "acctest",
|
|
82
|
+
* permissionRules: [
|
|
83
|
+
* {
|
|
84
|
+
* cidrIp: "*",
|
|
85
|
+
* rwMode: "RW",
|
|
86
|
+
* useMode: "All_squash",
|
|
87
|
+
* },
|
|
88
|
+
* {
|
|
89
|
+
* cidrIp: "192.168.0.0",
|
|
90
|
+
* rwMode: "RO",
|
|
91
|
+
* useMode: "All_squash",
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* });
|
|
95
|
+
* const default = volcengine.nas.PermissionGroupsOutput({
|
|
96
|
+
* filters: [{
|
|
97
|
+
* key: "PermissionGroupId",
|
|
98
|
+
* value: foo.id,
|
|
99
|
+
* }],
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
export declare function permissionGroupsOutput(args?: PermissionGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PermissionGroupsResult>;
|
|
104
|
+
/**
|
|
105
|
+
* A collection of arguments for invoking PermissionGroups.
|
|
106
|
+
*/
|
|
107
|
+
export interface PermissionGroupsOutputArgs {
|
|
108
|
+
/**
|
|
109
|
+
* Filter permission groups for specified characteristics.
|
|
110
|
+
*/
|
|
111
|
+
filters?: pulumi.Input<pulumi.Input<inputs.nas.PermissionGroupsFilterArgs>[]>;
|
|
112
|
+
/**
|
|
113
|
+
* File name where to save data source results.
|
|
114
|
+
*/
|
|
115
|
+
outputFile?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.permissionGroupsOutput = exports.permissionGroups = 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 permission groups
|
|
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 foo = new volcengine.nas.PermissionGroup("foo", {
|
|
18
|
+
* permissionGroupName: "acc-test",
|
|
19
|
+
* description: "acctest",
|
|
20
|
+
* permissionRules: [
|
|
21
|
+
* {
|
|
22
|
+
* cidrIp: "*",
|
|
23
|
+
* rwMode: "RW",
|
|
24
|
+
* useMode: "All_squash",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* cidrIp: "192.168.0.0",
|
|
28
|
+
* rwMode: "RO",
|
|
29
|
+
* useMode: "All_squash",
|
|
30
|
+
* },
|
|
31
|
+
* ],
|
|
32
|
+
* });
|
|
33
|
+
* const default = volcengine.nas.PermissionGroupsOutput({
|
|
34
|
+
* filters: [{
|
|
35
|
+
* key: "PermissionGroupId",
|
|
36
|
+
* value: foo.id,
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
function permissionGroups(args, opts) {
|
|
42
|
+
args = args || {};
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invoke("volcengine:nas/permissionGroups:PermissionGroups", {
|
|
45
|
+
"filters": args.filters,
|
|
46
|
+
"outputFile": args.outputFile,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.permissionGroups = permissionGroups;
|
|
50
|
+
/**
|
|
51
|
+
* Use this data source to query detailed information of nas permission groups
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
57
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
58
|
+
*
|
|
59
|
+
* const foo = new volcengine.nas.PermissionGroup("foo", {
|
|
60
|
+
* permissionGroupName: "acc-test",
|
|
61
|
+
* description: "acctest",
|
|
62
|
+
* permissionRules: [
|
|
63
|
+
* {
|
|
64
|
+
* cidrIp: "*",
|
|
65
|
+
* rwMode: "RW",
|
|
66
|
+
* useMode: "All_squash",
|
|
67
|
+
* },
|
|
68
|
+
* {
|
|
69
|
+
* cidrIp: "192.168.0.0",
|
|
70
|
+
* rwMode: "RO",
|
|
71
|
+
* useMode: "All_squash",
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* });
|
|
75
|
+
* const default = volcengine.nas.PermissionGroupsOutput({
|
|
76
|
+
* filters: [{
|
|
77
|
+
* key: "PermissionGroupId",
|
|
78
|
+
* value: foo.id,
|
|
79
|
+
* }],
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
function permissionGroupsOutput(args, opts) {
|
|
84
|
+
return pulumi.output(args).apply((a) => permissionGroups(a, opts));
|
|
85
|
+
}
|
|
86
|
+
exports.permissionGroupsOutput = permissionGroupsOutput;
|
|
87
|
+
//# sourceMappingURL=permissionGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionGroups.js","sourceRoot":"","sources":["../../nas/permissionGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,kDAAkD,EAAE;QAC7E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|