@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,178 @@
|
|
|
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 direct connect virtual interfaces
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
*
|
|
12
|
+
* const foo = volcengine.direct_connect.VirtualInterfaces({
|
|
13
|
+
* virtualInterfaceName: "tf-test",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function virtualInterfaces(args?: VirtualInterfacesArgs, opts?: pulumi.InvokeOptions): Promise<VirtualInterfacesResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking VirtualInterfaces.
|
|
20
|
+
*/
|
|
21
|
+
export interface VirtualInterfacesArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The direct connect connection ID that associated with this virtual interface.
|
|
24
|
+
*/
|
|
25
|
+
directConnectConnectionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The direct connect gateway ID that associated with this virtual interface.
|
|
28
|
+
*/
|
|
29
|
+
directConnectGatewayId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A list of IDs.
|
|
32
|
+
*/
|
|
33
|
+
ids?: string[];
|
|
34
|
+
/**
|
|
35
|
+
* The local IP that associated with this virtual interface.
|
|
36
|
+
*/
|
|
37
|
+
localIp?: string;
|
|
38
|
+
/**
|
|
39
|
+
* A Name Regex of Resource.
|
|
40
|
+
*/
|
|
41
|
+
nameRegex?: string;
|
|
42
|
+
/**
|
|
43
|
+
* File name where to save data source results.
|
|
44
|
+
*/
|
|
45
|
+
outputFile?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The peer IP that associated with this virtual interface.
|
|
48
|
+
*/
|
|
49
|
+
peerIp?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The route type of virtual interface.
|
|
52
|
+
*/
|
|
53
|
+
routeType?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The filter tag of direct connect virtual interface.
|
|
56
|
+
*/
|
|
57
|
+
tagFilters?: inputs.direct_connect.VirtualInterfacesTagFilter[];
|
|
58
|
+
/**
|
|
59
|
+
* The name of virtual interface.
|
|
60
|
+
*/
|
|
61
|
+
virtualInterfaceName?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The VLAN ID of virtual interface.
|
|
64
|
+
*/
|
|
65
|
+
vlanId?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A collection of values returned by VirtualInterfaces.
|
|
69
|
+
*/
|
|
70
|
+
export interface VirtualInterfacesResult {
|
|
71
|
+
/**
|
|
72
|
+
* The direct connect connection ID which associated with this virtual interface.
|
|
73
|
+
*/
|
|
74
|
+
readonly directConnectConnectionId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The direct connect gateway ID which associated with this virtual interface.
|
|
77
|
+
*/
|
|
78
|
+
readonly directConnectGatewayId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The provider-assigned unique ID for this managed resource.
|
|
81
|
+
*/
|
|
82
|
+
readonly id: string;
|
|
83
|
+
readonly ids?: string[];
|
|
84
|
+
/**
|
|
85
|
+
* The local IP that associated with this virtual interface.
|
|
86
|
+
*/
|
|
87
|
+
readonly localIp?: string;
|
|
88
|
+
readonly nameRegex?: string;
|
|
89
|
+
readonly outputFile?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The peer IP that associated with this virtual interface.
|
|
92
|
+
*/
|
|
93
|
+
readonly peerIp?: string;
|
|
94
|
+
/**
|
|
95
|
+
* The route type of this virtual interface.
|
|
96
|
+
*/
|
|
97
|
+
readonly routeType?: string;
|
|
98
|
+
readonly tagFilters?: outputs.direct_connect.VirtualInterfacesTagFilter[];
|
|
99
|
+
/**
|
|
100
|
+
* The total count of query.
|
|
101
|
+
*/
|
|
102
|
+
readonly totalCount: number;
|
|
103
|
+
/**
|
|
104
|
+
* The name of virtual interface.
|
|
105
|
+
*/
|
|
106
|
+
readonly virtualInterfaceName?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The collection of query.
|
|
109
|
+
*/
|
|
110
|
+
readonly virtualInterfaces: outputs.direct_connect.VirtualInterfacesVirtualInterface[];
|
|
111
|
+
/**
|
|
112
|
+
* The VLAN ID of virtual interface.
|
|
113
|
+
*/
|
|
114
|
+
readonly vlanId?: number;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Use this data source to query detailed information of direct connect virtual interfaces
|
|
118
|
+
* ## Example Usage
|
|
119
|
+
*
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
123
|
+
*
|
|
124
|
+
* const foo = volcengine.direct_connect.VirtualInterfaces({
|
|
125
|
+
* virtualInterfaceName: "tf-test",
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*/
|
|
129
|
+
export declare function virtualInterfacesOutput(args?: VirtualInterfacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VirtualInterfacesResult>;
|
|
130
|
+
/**
|
|
131
|
+
* A collection of arguments for invoking VirtualInterfaces.
|
|
132
|
+
*/
|
|
133
|
+
export interface VirtualInterfacesOutputArgs {
|
|
134
|
+
/**
|
|
135
|
+
* The direct connect connection ID that associated with this virtual interface.
|
|
136
|
+
*/
|
|
137
|
+
directConnectConnectionId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The direct connect gateway ID that associated with this virtual interface.
|
|
140
|
+
*/
|
|
141
|
+
directConnectGatewayId?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* A list of IDs.
|
|
144
|
+
*/
|
|
145
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
146
|
+
/**
|
|
147
|
+
* The local IP that associated with this virtual interface.
|
|
148
|
+
*/
|
|
149
|
+
localIp?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* A Name Regex of Resource.
|
|
152
|
+
*/
|
|
153
|
+
nameRegex?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* File name where to save data source results.
|
|
156
|
+
*/
|
|
157
|
+
outputFile?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The peer IP that associated with this virtual interface.
|
|
160
|
+
*/
|
|
161
|
+
peerIp?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* The route type of virtual interface.
|
|
164
|
+
*/
|
|
165
|
+
routeType?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The filter tag of direct connect virtual interface.
|
|
168
|
+
*/
|
|
169
|
+
tagFilters?: pulumi.Input<pulumi.Input<inputs.direct_connect.VirtualInterfacesTagFilterArgs>[]>;
|
|
170
|
+
/**
|
|
171
|
+
* The name of virtual interface.
|
|
172
|
+
*/
|
|
173
|
+
virtualInterfaceName?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The VLAN ID of virtual interface.
|
|
176
|
+
*/
|
|
177
|
+
vlanId?: pulumi.Input<number>;
|
|
178
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.virtualInterfacesOutput = exports.virtualInterfaces = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of direct connect virtual interfaces
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.direct_connect.VirtualInterfaces({
|
|
17
|
+
* virtualInterfaceName: "tf-test",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function virtualInterfaces(args, opts) {
|
|
22
|
+
args = args || {};
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:direct_connect/virtualInterfaces:VirtualInterfaces", {
|
|
25
|
+
"directConnectConnectionId": args.directConnectConnectionId,
|
|
26
|
+
"directConnectGatewayId": args.directConnectGatewayId,
|
|
27
|
+
"ids": args.ids,
|
|
28
|
+
"localIp": args.localIp,
|
|
29
|
+
"nameRegex": args.nameRegex,
|
|
30
|
+
"outputFile": args.outputFile,
|
|
31
|
+
"peerIp": args.peerIp,
|
|
32
|
+
"routeType": args.routeType,
|
|
33
|
+
"tagFilters": args.tagFilters,
|
|
34
|
+
"virtualInterfaceName": args.virtualInterfaceName,
|
|
35
|
+
"vlanId": args.vlanId,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.virtualInterfaces = virtualInterfaces;
|
|
39
|
+
/**
|
|
40
|
+
* Use this data source to query detailed information of direct connect virtual interfaces
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
46
|
+
*
|
|
47
|
+
* const foo = volcengine.direct_connect.VirtualInterfaces({
|
|
48
|
+
* virtualInterfaceName: "tf-test",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function virtualInterfacesOutput(args, opts) {
|
|
53
|
+
return pulumi.output(args).apply((a) => virtualInterfaces(a, opts));
|
|
54
|
+
}
|
|
55
|
+
exports.virtualInterfacesOutput = virtualInterfacesOutput;
|
|
56
|
+
//# sourceMappingURL=virtualInterfaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualInterfaces.js","sourceRoot":"","sources":["../../direct_connect/virtualInterfaces.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,+DAA+D,EAAE;QAC1F,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAjBD,8CAiBC;AAqGD;;;;;;;;;;;;GAYG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/ebs/volume.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
120
120
|
/**
|
|
121
121
|
* The ProjectName of the Volume.
|
|
122
122
|
*/
|
|
123
|
-
readonly projectName: pulumi.Output<string
|
|
123
|
+
readonly projectName: pulumi.Output<string>;
|
|
124
124
|
/**
|
|
125
125
|
* The size of Volume.
|
|
126
126
|
*/
|
|
@@ -0,0 +1,114 @@
|
|
|
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 ecs available resources
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.ecs.AvailableResources({
|
|
12
|
+
* destinationResource: "InstanceType",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function availableResources(args: AvailableResourcesArgs, opts?: pulumi.InvokeOptions): Promise<AvailableResourcesResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking AvailableResources.
|
|
19
|
+
*/
|
|
20
|
+
export interface AvailableResourcesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The type of resource to query. Valid values: `InstanceType`, `DedicatedHost`.
|
|
23
|
+
*/
|
|
24
|
+
destinationResource: string;
|
|
25
|
+
/**
|
|
26
|
+
* The charge type of instance. Valid values: `PostPaid`, `PrePaid`, `ReservedInstance`. Default is `PostPaid`.
|
|
27
|
+
*/
|
|
28
|
+
instanceChargeType?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The id of instance type.
|
|
31
|
+
*/
|
|
32
|
+
instanceTypeId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* File name where to save data source results.
|
|
35
|
+
*/
|
|
36
|
+
outputFile?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The spot strategy of PostPaid instance. Valid values: `NoSpot`, `SpotAsPriceGo`. Default is `NoSpot`.
|
|
39
|
+
*/
|
|
40
|
+
spotStrategy?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The id of available zone.
|
|
43
|
+
*/
|
|
44
|
+
zoneId?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A collection of values returned by AvailableResources.
|
|
48
|
+
*/
|
|
49
|
+
export interface AvailableResourcesResult {
|
|
50
|
+
/**
|
|
51
|
+
* The collection of query.
|
|
52
|
+
*/
|
|
53
|
+
readonly availableZones: outputs.ecs.AvailableResourcesAvailableZone[];
|
|
54
|
+
readonly destinationResource: string;
|
|
55
|
+
/**
|
|
56
|
+
* The provider-assigned unique ID for this managed resource.
|
|
57
|
+
*/
|
|
58
|
+
readonly id: string;
|
|
59
|
+
readonly instanceChargeType?: string;
|
|
60
|
+
readonly instanceTypeId?: string;
|
|
61
|
+
readonly outputFile?: string;
|
|
62
|
+
readonly spotStrategy?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The total count of query.
|
|
65
|
+
*/
|
|
66
|
+
readonly totalCount: number;
|
|
67
|
+
/**
|
|
68
|
+
* The id of the available zone.
|
|
69
|
+
*/
|
|
70
|
+
readonly zoneId?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Use this data source to query detailed information of ecs available resources
|
|
74
|
+
* ## Example Usage
|
|
75
|
+
*
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
79
|
+
*
|
|
80
|
+
* const foo = volcengine.ecs.AvailableResources({
|
|
81
|
+
* destinationResource: "InstanceType",
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function availableResourcesOutput(args: AvailableResourcesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AvailableResourcesResult>;
|
|
86
|
+
/**
|
|
87
|
+
* A collection of arguments for invoking AvailableResources.
|
|
88
|
+
*/
|
|
89
|
+
export interface AvailableResourcesOutputArgs {
|
|
90
|
+
/**
|
|
91
|
+
* The type of resource to query. Valid values: `InstanceType`, `DedicatedHost`.
|
|
92
|
+
*/
|
|
93
|
+
destinationResource: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The charge type of instance. Valid values: `PostPaid`, `PrePaid`, `ReservedInstance`. Default is `PostPaid`.
|
|
96
|
+
*/
|
|
97
|
+
instanceChargeType?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The id of instance type.
|
|
100
|
+
*/
|
|
101
|
+
instanceTypeId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* File name where to save data source results.
|
|
104
|
+
*/
|
|
105
|
+
outputFile?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The spot strategy of PostPaid instance. Valid values: `NoSpot`, `SpotAsPriceGo`. Default is `NoSpot`.
|
|
108
|
+
*/
|
|
109
|
+
spotStrategy?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The id of available zone.
|
|
112
|
+
*/
|
|
113
|
+
zoneId?: pulumi.Input<string>;
|
|
114
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.availableResourcesOutput = exports.availableResources = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of ecs available resources
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.ecs.AvailableResources({
|
|
17
|
+
* destinationResource: "InstanceType",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function availableResources(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:ecs/availableResources:AvailableResources", {
|
|
24
|
+
"destinationResource": args.destinationResource,
|
|
25
|
+
"instanceChargeType": args.instanceChargeType,
|
|
26
|
+
"instanceTypeId": args.instanceTypeId,
|
|
27
|
+
"outputFile": args.outputFile,
|
|
28
|
+
"spotStrategy": args.spotStrategy,
|
|
29
|
+
"zoneId": args.zoneId,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.availableResources = availableResources;
|
|
33
|
+
/**
|
|
34
|
+
* Use this data source to query detailed information of ecs available resources
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
40
|
+
*
|
|
41
|
+
* const foo = volcengine.ecs.AvailableResources({
|
|
42
|
+
* destinationResource: "InstanceType",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function availableResourcesOutput(args, opts) {
|
|
47
|
+
return pulumi.output(args).apply((a) => availableResources(a, opts));
|
|
48
|
+
}
|
|
49
|
+
exports.availableResourcesOutput = availableResourcesOutput;
|
|
50
|
+
//# sourceMappingURL=availableResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"availableResources.js","sourceRoot":"","sources":["../../ecs/availableResources.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gDAWC;AA0DD;;;;;;;;;;;;GAYG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/ecs/command.d.ts
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage ecs command
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.ecs.Command("foo", {
|
|
11
|
+
* commandContent: "IyEvYmluL2Jhc2gKCgplY2hvICJvcGVyYXRpb24gc3VjY2VzcyEi",
|
|
12
|
+
* description: "tf",
|
|
13
|
+
* timeout: 100,
|
|
14
|
+
* username: "root",
|
|
15
|
+
* workingDir: "/home",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* EcsCommand can be imported using the id, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcengine:ecs/command:Command default cmd-ychkepkhtim0tr3bcsw1
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class Command extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing Command resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CommandState, opts?: pulumi.CustomResourceOptions): Command;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of Command. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is Command;
|
|
43
|
+
/**
|
|
44
|
+
* The base64 encoded content of the ecs command.
|
|
45
|
+
*/
|
|
46
|
+
readonly commandContent: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The create time of the ecs command.
|
|
49
|
+
*/
|
|
50
|
+
readonly createdAt: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The description of the ecs command.
|
|
53
|
+
*/
|
|
54
|
+
readonly description: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The invocation times of the ecs command. Public commands do not display the invocation times.
|
|
57
|
+
*/
|
|
58
|
+
readonly invocationTimes: pulumi.Output<number>;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the ecs command.
|
|
61
|
+
*/
|
|
62
|
+
readonly name: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The timeout of the ecs command. Valid value range: 10-600.
|
|
65
|
+
*/
|
|
66
|
+
readonly timeout: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* The update time of the ecs command.
|
|
69
|
+
*/
|
|
70
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The username of the ecs command.
|
|
73
|
+
*/
|
|
74
|
+
readonly username: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The working directory of the ecs command.
|
|
77
|
+
*/
|
|
78
|
+
readonly workingDir: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Create a Command resource with the given unique name, arguments, and options.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resource.
|
|
83
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
84
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
85
|
+
*/
|
|
86
|
+
constructor(name: string, args: CommandArgs, opts?: pulumi.CustomResourceOptions);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Input properties used for looking up and filtering Command resources.
|
|
90
|
+
*/
|
|
91
|
+
export interface CommandState {
|
|
92
|
+
/**
|
|
93
|
+
* The base64 encoded content of the ecs command.
|
|
94
|
+
*/
|
|
95
|
+
commandContent?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The create time of the ecs command.
|
|
98
|
+
*/
|
|
99
|
+
createdAt?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The description of the ecs command.
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The invocation times of the ecs command. Public commands do not display the invocation times.
|
|
106
|
+
*/
|
|
107
|
+
invocationTimes?: pulumi.Input<number>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the ecs command.
|
|
110
|
+
*/
|
|
111
|
+
name?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The timeout of the ecs command. Valid value range: 10-600.
|
|
114
|
+
*/
|
|
115
|
+
timeout?: pulumi.Input<number>;
|
|
116
|
+
/**
|
|
117
|
+
* The update time of the ecs command.
|
|
118
|
+
*/
|
|
119
|
+
updatedAt?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The username of the ecs command.
|
|
122
|
+
*/
|
|
123
|
+
username?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The working directory of the ecs command.
|
|
126
|
+
*/
|
|
127
|
+
workingDir?: pulumi.Input<string>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* The set of arguments for constructing a Command resource.
|
|
131
|
+
*/
|
|
132
|
+
export interface CommandArgs {
|
|
133
|
+
/**
|
|
134
|
+
* The base64 encoded content of the ecs command.
|
|
135
|
+
*/
|
|
136
|
+
commandContent: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The description of the ecs command.
|
|
139
|
+
*/
|
|
140
|
+
description?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The name of the ecs command.
|
|
143
|
+
*/
|
|
144
|
+
name?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The timeout of the ecs command. Valid value range: 10-600.
|
|
147
|
+
*/
|
|
148
|
+
timeout?: pulumi.Input<number>;
|
|
149
|
+
/**
|
|
150
|
+
* The username of the ecs command.
|
|
151
|
+
*/
|
|
152
|
+
username?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The working directory of the ecs command.
|
|
155
|
+
*/
|
|
156
|
+
workingDir?: pulumi.Input<string>;
|
|
157
|
+
}
|
package/ecs/command.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
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.Command = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage ecs command
|
|
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.ecs.Command("foo", {
|
|
17
|
+
* commandContent: "IyEvYmluL2Jhc2gKCgplY2hvICJvcGVyYXRpb24gc3VjY2VzcyEi",
|
|
18
|
+
* description: "tf",
|
|
19
|
+
* timeout: 100,
|
|
20
|
+
* username: "root",
|
|
21
|
+
* workingDir: "/home",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* EcsCommand can be imported using the id, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcengine:ecs/command:Command default cmd-ychkepkhtim0tr3bcsw1
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class Command extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing Command resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new Command(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Command. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === Command.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["commandContent"] = state ? state.commandContent : undefined;
|
|
62
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
63
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
64
|
+
resourceInputs["invocationTimes"] = state ? state.invocationTimes : undefined;
|
|
65
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["timeout"] = state ? state.timeout : undefined;
|
|
67
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
68
|
+
resourceInputs["username"] = state ? state.username : undefined;
|
|
69
|
+
resourceInputs["workingDir"] = state ? state.workingDir : undefined;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
if ((!args || args.commandContent === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'commandContent'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["commandContent"] = args ? args.commandContent : undefined;
|
|
77
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
78
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
79
|
+
resourceInputs["timeout"] = args ? args.timeout : undefined;
|
|
80
|
+
resourceInputs["username"] = args ? args.username : undefined;
|
|
81
|
+
resourceInputs["workingDir"] = args ? args.workingDir : undefined;
|
|
82
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["invocationTimes"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(Command.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.Command = Command;
|
|
91
|
+
/** @internal */
|
|
92
|
+
Command.__pulumiType = 'volcengine:ecs/command:Command';
|
|
93
|
+
//# sourceMappingURL=command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../ecs/command.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxGL,0BAyGC;AA3FG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|