@pulumi/alicloud 3.43.0 → 3.43.1
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/actiontrail/getGlobalEventsStorageRegion.d.ts +18 -0
- package/actiontrail/getGlobalEventsStorageRegion.js +22 -1
- package/actiontrail/getGlobalEventsStorageRegion.js.map +1 -1
- package/actiontrail/index.d.ts +1 -0
- package/actiontrail/index.js +3 -2
- package/actiontrail/index.js.map +1 -1
- package/cddc/dedicatedHost.d.ts +0 -51
- package/cddc/dedicatedHost.js +0 -51
- package/cddc/dedicatedHost.js.map +1 -1
- package/cddc/dedicatedHostAccount.d.ts +59 -2
- package/cddc/dedicatedHostAccount.js +59 -2
- package/cddc/dedicatedHostAccount.js.map +1 -1
- package/cddc/dedicatedHostGroup.d.ts +11 -9
- package/cddc/dedicatedHostGroup.js +11 -9
- package/cddc/dedicatedHostGroup.js.map +1 -1
- package/cdn/domainNew.d.ts +11 -11
- package/cdn/domainNew.js +5 -5
- package/cdn/realTimeLogDelivery.d.ts +35 -7
- package/cdn/realTimeLogDelivery.js +35 -7
- package/cdn/realTimeLogDelivery.js.map +1 -1
- package/clickhouse/account.d.ts +18 -16
- package/clickhouse/account.js +18 -16
- package/clickhouse/account.js.map +1 -1
- package/clickhouse/backupPolicy.d.ts +17 -12
- package/clickhouse/backupPolicy.js +17 -12
- package/clickhouse/backupPolicy.js.map +1 -1
- package/clickhouse/dbCluster.d.ts +23 -22
- package/clickhouse/dbCluster.js +16 -15
- package/clickhouse/dbCluster.js.map +1 -1
- package/cloudconnect/network.d.ts +5 -3
- package/cloudconnect/network.js +5 -3
- package/cloudconnect/network.js.map +1 -1
- package/cloudconnect/networkAttachment.d.ts +13 -8
- package/cloudconnect/networkAttachment.js +13 -8
- package/cloudconnect/networkAttachment.js.map +1 -1
- package/cloudconnect/networkGrant.d.ts +29 -16
- package/cloudconnect/networkGrant.js +29 -16
- package/cloudconnect/networkGrant.js.map +1 -1
- package/cloudfirewall/addressBook.d.ts +15 -21
- package/cloudfirewall/addressBook.js +2 -2
- package/cloudfirewall/addressBook.js.map +1 -1
- package/cloudfirewall/firewallVpcFirewall.d.ts +57 -19
- package/cloudfirewall/firewallVpcFirewall.js +40 -2
- package/cloudfirewall/firewallVpcFirewall.js.map +1 -1
- package/cloudfirewall/firewallVpcFirewallCen.d.ts +12 -12
- package/cloudfirewall/firewallVpcFirewallCen.js +2 -2
- package/cloudfirewall/firewallVpcFirewallControlPolicy.d.ts +13 -23
- package/cloudfirewall/firewallVpcFirewallControlPolicy.js +1 -1
- package/cloudfirewall/firewallVpcFirewallControlPolicy.js.map +1 -1
- package/cloudfirewall/instance.d.ts +70 -37
- package/cloudfirewall/instance.js +10 -13
- package/cloudfirewall/instance.js.map +1 -1
- package/cr/chain.d.ts +152 -5
- package/cr/chain.js +149 -2
- package/cr/chain.js.map +1 -1
- package/cr/chartNamespace.d.ts +11 -7
- package/cr/chartNamespace.js +11 -7
- package/cr/chartNamespace.js.map +1 -1
- package/cr/chartRepository.d.ts +15 -11
- package/cr/chartRepository.js +15 -11
- package/cr/chartRepository.js.map +1 -1
- package/cr/namespace.d.ts +5 -3
- package/cr/namespace.js +5 -3
- package/cr/namespace.js.map +1 -1
- package/cr/registryEnterpriseInstance.d.ts +0 -24
- package/cr/registryEnterpriseInstance.js +0 -24
- package/cr/registryEnterpriseInstance.js.map +1 -1
- package/cr/repo.d.ts +7 -5
- package/cr/repo.js +7 -5
- package/cr/repo.js.map +1 -1
- package/cr/vpcEndpointLinkedVpc.d.ts +30 -7
- package/cr/vpcEndpointLinkedVpc.js +30 -7
- package/cr/vpcEndpointLinkedVpc.js.map +1 -1
- package/cs/registryEnterpriseNamespace.d.ts +14 -4
- package/cs/registryEnterpriseNamespace.js +14 -4
- package/cs/registryEnterpriseNamespace.js.map +1 -1
- package/cs/registryEnterpriseRepo.d.ts +17 -7
- package/cs/registryEnterpriseRepo.js +17 -7
- package/cs/registryEnterpriseRepo.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +55 -10
- package/cs/registryEnterpriseSyncRule.js +55 -10
- package/cs/registryEnterpriseSyncRule.js.map +1 -1
- package/datahub/project.d.ts +5 -1
- package/datahub/project.js +5 -1
- package/datahub/project.js.map +1 -1
- package/datahub/subscription.d.ts +16 -4
- package/datahub/subscription.js +16 -4
- package/datahub/subscription.js.map +1 -1
- package/datahub/topic.d.ts +18 -22
- package/datahub/topic.js +18 -22
- package/datahub/topic.js.map +1 -1
- package/ddos/basicDefenseThreshold.d.ts +7 -5
- package/ddos/basicDefenseThreshold.js +7 -5
- package/ddos/basicDefenseThreshold.js.map +1 -1
- package/ddos/basicThreshold.d.ts +20 -16
- package/ddos/basicThreshold.js +20 -16
- package/ddos/basicThreshold.js.map +1 -1
- package/ddos/bgpIp.d.ts +13 -4
- package/ddos/bgpIp.js +13 -4
- package/ddos/bgpIp.js.map +1 -1
- package/ddos/ddosBgpInstance.d.ts +4 -2
- package/ddos/ddosBgpInstance.js +4 -2
- package/ddos/ddosBgpInstance.js.map +1 -1
- package/ddos/ddosCooInstance.d.ts +7 -5
- package/ddos/ddosCooInstance.js +7 -5
- package/ddos/ddosCooInstance.js.map +1 -1
- package/ddos/domainResource.d.ts +19 -7
- package/ddos/domainResource.js +19 -7
- package/ddos/domainResource.js.map +1 -1
- package/ddos/port.d.ts +10 -5
- package/ddos/port.js +10 -5
- package/ddos/port.js.map +1 -1
- package/ddos/schedulerRule.d.ts +8 -6
- package/ddos/schedulerRule.js +5 -3
- package/ddos/schedulerRule.js.map +1 -1
- package/dms/enterpriseInstance.d.ts +72 -13
- package/dms/enterpriseInstance.js +72 -13
- package/dms/enterpriseInstance.js.map +1 -1
- package/dms/enterpriseProxy.d.ts +92 -1
- package/dms/enterpriseProxy.js +92 -1
- package/dms/enterpriseProxy.js.map +1 -1
- package/dms/enterpriseUser.d.ts +14 -6
- package/dms/enterpriseUser.js +14 -6
- package/dms/enterpriseUser.js.map +1 -1
- package/dns/ddosBgpInstance.d.ts +4 -2
- package/dns/ddosBgpInstance.js +4 -2
- package/dns/ddosBgpInstance.js.map +1 -1
- package/dns/ddosCooInstance.d.ts +7 -5
- package/dns/ddosCooInstance.js +7 -5
- package/dns/ddosCooInstance.js.map +1 -1
- package/eci/containerGroup.d.ts +22 -7
- package/eci/containerGroup.js +22 -7
- package/eci/containerGroup.js.map +1 -1
- package/eci/imageCache.d.ts +35 -10
- package/eci/imageCache.js +32 -7
- package/eci/imageCache.js.map +1 -1
- package/eci/virtualNode.d.ts +27 -17
- package/eci/virtualNode.js +24 -14
- package/eci/virtualNode.js.map +1 -1
- package/ecp/instance.d.ts +42 -2
- package/ecp/instance.js +42 -2
- package/ecp/instance.js.map +1 -1
- package/eds/bundle.d.ts +2 -2
- package/eflo/subnet.d.ts +12 -10
- package/eflo/subnet.js +6 -4
- package/eflo/subnet.js.map +1 -1
- package/eflo/vpd.d.ts +14 -10
- package/eflo/vpd.js +8 -4
- package/eflo/vpd.js.map +1 -1
- package/ehpc/cluster.d.ts +31 -28
- package/ehpc/cluster.js +22 -19
- package/ehpc/cluster.js.map +1 -1
- package/eipanycast/anycastEipAddress.d.ts +2 -2
- package/eipanycast/anycastEipAddress.js +2 -2
- package/eipanycast/anycastEipAddressAttachment.d.ts +163 -0
- package/eipanycast/anycastEipAddressAttachment.js +163 -0
- package/eipanycast/anycastEipAddressAttachment.js.map +1 -1
- package/emrv2/cluster.d.ts +24 -24
- package/emrv2/cluster.js +9 -9
- package/ens/keyPair.d.ts +6 -4
- package/ens/keyPair.js +6 -4
- package/ens/keyPair.js.map +1 -1
- package/fc/service.d.ts +0 -187
- package/fc/service.js +0 -76
- package/fc/service.js.map +1 -1
- package/fc/v2function.d.ts +0 -365
- package/fc/v2function.js +0 -122
- package/fc/v2function.js.map +1 -1
- package/ga/additionalCertificate.d.ts +3 -3
- package/getAccount.d.ts +14 -0
- package/getAccount.js +18 -1
- package/getAccount.js.map +1 -1
- package/getCallerIdentity.d.ts +16 -0
- package/getCallerIdentity.js +20 -1
- package/getCallerIdentity.js.map +1 -1
- package/gpdb/account.d.ts +53 -1
- package/gpdb/account.js +53 -1
- package/gpdb/account.js.map +1 -1
- package/gpdb/connection.d.ts +49 -1
- package/gpdb/connection.js +49 -1
- package/gpdb/connection.js.map +1 -1
- package/gpdb/dbInstancePlan.d.ts +5 -5
- package/gpdb/dbInstancePlan.js +2 -2
- package/gpdb/instance.d.ts +46 -0
- package/gpdb/instance.js +46 -0
- package/gpdb/instance.js.map +1 -1
- package/graphdatabase/dbInstance.d.ts +12 -10
- package/graphdatabase/dbInstance.js +9 -7
- package/graphdatabase/dbInstance.js.map +1 -1
- package/hbr/vault.d.ts +10 -22
- package/hbr/vault.js +2 -4
- package/hbr/vault.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +7 -5
- package/index.js.map +1 -1
- package/kvstore/account.d.ts +27 -15
- package/kvstore/account.js +27 -15
- package/kvstore/account.js.map +1 -1
- package/kvstore/auditLogConfig.d.ts +36 -2
- package/kvstore/auditLogConfig.js +36 -2
- package/kvstore/auditLogConfig.js.map +1 -1
- package/kvstore/connection.d.ts +38 -4
- package/kvstore/connection.js +38 -4
- package/kvstore/connection.js.map +1 -1
- package/kvstore/instance.d.ts +18 -26
- package/lindorm/instance.d.ts +35 -0
- package/lindorm/instance.js +35 -0
- package/lindorm/instance.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/rds/getInstances.d.ts +4 -0
- package/rds/getInstances.js +4 -0
- package/rds/getInstances.js.map +1 -1
- package/rds/instance.d.ts +28 -4
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/rds/readOnlyInstance.d.ts +24 -0
- package/rds/readOnlyInstance.js +2 -0
- package/rds/readOnlyInstance.js.map +1 -1
- package/rocketmq/acl.d.ts +2 -2
- package/rocketmq/acl.js +2 -2
- package/rocketmq/aclRule.d.ts +27 -2
- package/rocketmq/aclRule.js +27 -2
- package/rocketmq/aclRule.js.map +1 -1
- package/rocketmq/clientUser.d.ts +27 -6
- package/rocketmq/clientUser.js +9 -6
- package/rocketmq/clientUser.js.map +1 -1
- package/rocketmq/dnatEntry.d.ts +10 -8
- package/rocketmq/dnatEntry.js +10 -8
- package/rocketmq/dnatEntry.js.map +1 -1
- package/rocketmq/qos.d.ts +2 -2
- package/rocketmq/qos.js +2 -2
- package/rocketmq/qosCar.d.ts +5 -3
- package/rocketmq/qosCar.js +5 -3
- package/rocketmq/qosCar.js.map +1 -1
- package/rocketmq/qosPolicy.d.ts +2 -25
- package/rocketmq/qosPolicy.js +2 -25
- package/rocketmq/qosPolicy.js.map +1 -1
- package/rocketmq/snatEntry.d.ts +5 -3
- package/rocketmq/snatEntry.js +5 -3
- package/rocketmq/snatEntry.js.map +1 -1
- package/sae/application.d.ts +28 -17
- package/sae/application.js +28 -17
- package/sae/application.js.map +1 -1
- package/sae/applicationScalingRule.d.ts +47 -28
- package/sae/applicationScalingRule.js +41 -22
- package/sae/applicationScalingRule.js.map +1 -1
- package/sae/configMap.d.ts +18 -9
- package/sae/configMap.js +18 -9
- package/sae/configMap.js.map +1 -1
- package/sae/greyTagRoute.d.ts +92 -8
- package/sae/greyTagRoute.js +86 -2
- package/sae/greyTagRoute.js.map +1 -1
- package/sae/ingress.d.ts +46 -26
- package/sae/ingress.js +46 -26
- package/sae/ingress.js.map +1 -1
- package/sae/loadBalancerInternet.d.ts +60 -9
- package/sae/loadBalancerInternet.js +57 -6
- package/sae/loadBalancerInternet.js.map +1 -1
- package/sae/loadBalancerIntranet.d.ts +60 -9
- package/sae/loadBalancerIntranet.js +57 -6
- package/sae/loadBalancerIntranet.js.map +1 -1
- package/sae/namespace.d.ts +15 -4
- package/sae/namespace.js +15 -4
- package/sae/namespace.js.map +1 -1
- package/sag/smartagFlowLog.d.ts +5 -8
- package/sag/smartagFlowLog.js +5 -8
- package/sag/smartagFlowLog.js.map +1 -1
- package/types/input.d.ts +114 -82
- package/types/output.d.ts +160 -83
- package/vpc/dhcpOptionsSetAttachment.d.ts +7 -5
- package/vpc/dhcpOptionsSetAttachment.js +7 -5
- package/vpc/dhcpOptionsSetAttachment.js.map +1 -1
- package/vpc/flowLog.d.ts +1 -39
- package/vpc/flowLog.js +1 -39
- package/vpc/flowLog.js.map +1 -1
- package/vpc/havip.d.ts +87 -3
- package/vpc/havip.js +18 -3
- package/vpc/havip.js.map +1 -1
- package/vpc/havipAttachment.d.ts +30 -27
- package/vpc/havipAttachment.js +30 -27
- package/vpc/havipAttachment.js.map +1 -1
- package/vpc/ipv6EgressRule.d.ts +53 -14
- package/vpc/ipv6EgressRule.js +53 -14
- package/vpc/ipv6EgressRule.js.map +1 -1
- package/vpc/networkAcl.d.ts +62 -12
- package/vpc/networkAcl.js +51 -1
- package/vpc/networkAcl.js.map +1 -1
- package/vpc/peerConnectionAccepter.d.ts +29 -14
- package/vpc/peerConnectionAccepter.js +29 -14
- package/vpc/peerConnectionAccepter.js.map +1 -1
- package/vpc/publicIpAddressPool.d.ts +9 -12
- package/vpc/publicIpAddressPool.js +9 -12
- package/vpc/publicIpAddressPool.js.map +1 -1
- package/vpc/publicIpAddressPoolCidrBlock.d.ts +6 -2
- package/vpc/publicIpAddressPoolCidrBlock.js +6 -2
- package/vpc/publicIpAddressPoolCidrBlock.js.map +1 -1
- package/vpc/trafficMirrorSession.d.ts +25 -21
- package/vpc/trafficMirrorSession.js +25 -21
- package/vpc/trafficMirrorSession.js.map +1 -1
- package/vpc/vpcNetworkAclAttachment.d.ts +1 -1
- package/vpc/vpcNetworkAclAttachment.js +1 -1
- package/wafv3/domain.d.ts +7 -7
- package/wafv3/domain.js +1 -1
package/fc/v2function.d.ts
CHANGED
|
@@ -1,128 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Provides a FCV2 Function resource. Function is the unit of system scheduling and operation. Functions must be subordinate to services. All functions under the same service share some identical settings, such as service authorization and log configuration.
|
|
6
|
-
*
|
|
7
|
-
* For information about FCV2 Function and how to use it, see [What is Function](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-fc-function).
|
|
8
|
-
*
|
|
9
|
-
* > **NOTE:** Available since v1.208.0.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* Basic Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
-
*
|
|
19
|
-
* const config = new pulumi.Config();
|
|
20
|
-
* const name = config.get("name") || "terraform-example";
|
|
21
|
-
* const defaultProject = new alicloud.log.Project("defaultProject", {description: name});
|
|
22
|
-
* const defaultStore = new alicloud.log.Store("defaultStore", {
|
|
23
|
-
* project: defaultProject.name,
|
|
24
|
-
* retentionPeriod: 3000,
|
|
25
|
-
* shardCount: 1,
|
|
26
|
-
* });
|
|
27
|
-
* const defaultRole = new alicloud.ram.Role("defaultRole", {
|
|
28
|
-
* document: ` {
|
|
29
|
-
* "Statement": [
|
|
30
|
-
* {
|
|
31
|
-
* "Action": "sts:AssumeRole",
|
|
32
|
-
* "Effect": "Allow",
|
|
33
|
-
* "Principal": {
|
|
34
|
-
* "Service": [
|
|
35
|
-
* "fc.aliyuncs.com"
|
|
36
|
-
* ]
|
|
37
|
-
* }
|
|
38
|
-
* }
|
|
39
|
-
* ],
|
|
40
|
-
* "Version": "1"
|
|
41
|
-
* }
|
|
42
|
-
* `,
|
|
43
|
-
* description: name,
|
|
44
|
-
* force: true,
|
|
45
|
-
* });
|
|
46
|
-
* const defaultRolePolicyAttachment = new alicloud.ram.RolePolicyAttachment("defaultRolePolicyAttachment", {
|
|
47
|
-
* roleName: defaultRole.name,
|
|
48
|
-
* policyName: "AliyunLogFullAccess",
|
|
49
|
-
* policyType: "System",
|
|
50
|
-
* });
|
|
51
|
-
* const defaultService = new alicloud.fc.Service("defaultService", {
|
|
52
|
-
* description: name,
|
|
53
|
-
* logConfig: {
|
|
54
|
-
* project: defaultProject.name,
|
|
55
|
-
* logstore: defaultStore.name,
|
|
56
|
-
* },
|
|
57
|
-
* role: defaultRole.arn,
|
|
58
|
-
* });
|
|
59
|
-
* const defaultV2Function = new alicloud.fc.V2Function("defaultV2Function", {
|
|
60
|
-
* functionName: name,
|
|
61
|
-
* memorySize: 1024,
|
|
62
|
-
* runtime: "custom.debian10",
|
|
63
|
-
* description: name,
|
|
64
|
-
* serviceName: defaultService.name,
|
|
65
|
-
* initializer: "index.initializer",
|
|
66
|
-
* initializationTimeout: 10,
|
|
67
|
-
* timeout: 60,
|
|
68
|
-
* handler: "index.handler",
|
|
69
|
-
* instanceType: "e1",
|
|
70
|
-
* instanceLifecycleConfig: {
|
|
71
|
-
* preFreeze: {
|
|
72
|
-
* handler: "index.prefreeze",
|
|
73
|
-
* timeout: 30,
|
|
74
|
-
* },
|
|
75
|
-
* preStop: {
|
|
76
|
-
* handler: "index.prestop",
|
|
77
|
-
* timeout: 30,
|
|
78
|
-
* },
|
|
79
|
-
* },
|
|
80
|
-
* code: {
|
|
81
|
-
* ossBucketName: "code-sample-cn-hangzhou",
|
|
82
|
-
* ossObjectName: "quick-start-sample-codes/quick-start-sample-codes-nodejs/RocketMQ-producer-nodejs14-event/code.zip",
|
|
83
|
-
* },
|
|
84
|
-
* customDns: {
|
|
85
|
-
* nameServers: ["223.5.5.5"],
|
|
86
|
-
* searches: ["mydomain.com"],
|
|
87
|
-
* dnsOptions: [{
|
|
88
|
-
* name: name,
|
|
89
|
-
* value: "1",
|
|
90
|
-
* }],
|
|
91
|
-
* },
|
|
92
|
-
* diskSize: 512,
|
|
93
|
-
* instanceConcurrency: 10,
|
|
94
|
-
* layers: [
|
|
95
|
-
* "d3fc5de8d120687be2bfab761518d5de#Nodejs-Aliyun-SDK#2",
|
|
96
|
-
* "d3fc5de8d120687be2bfab761518d5de#Python39#2",
|
|
97
|
-
* ],
|
|
98
|
-
* cpu: 1,
|
|
99
|
-
* customHealthCheckConfig: {
|
|
100
|
-
* httpGetUrl: "/healthcheck",
|
|
101
|
-
* initialDelaySeconds: 3,
|
|
102
|
-
* periodSeconds: 3,
|
|
103
|
-
* timeoutSeconds: 3,
|
|
104
|
-
* failureThreshold: 1,
|
|
105
|
-
* successThreshold: 1,
|
|
106
|
-
* },
|
|
107
|
-
* caPort: 9000,
|
|
108
|
-
* customRuntimeConfig: {
|
|
109
|
-
* commands: ["npm"],
|
|
110
|
-
* args: [
|
|
111
|
-
* "run",
|
|
112
|
-
* "start",
|
|
113
|
-
* ],
|
|
114
|
-
* },
|
|
115
|
-
* });
|
|
116
|
-
* ```
|
|
117
|
-
*
|
|
118
|
-
* ## Import
|
|
119
|
-
*
|
|
120
|
-
* FCV2 Function can be imported using the id, e.g.
|
|
121
|
-
*
|
|
122
|
-
* ```sh
|
|
123
|
-
* $ pulumi import alicloud:fc/v2Function:V2Function example <service_name>:<function_name>
|
|
124
|
-
* ```
|
|
125
|
-
*/
|
|
126
4
|
export declare class V2Function extends pulumi.CustomResource {
|
|
127
5
|
/**
|
|
128
6
|
* Get an existing V2Function resource's state with the given name, ID, and optional extra
|
|
@@ -139,113 +17,32 @@ export declare class V2Function extends pulumi.CustomResource {
|
|
|
139
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
140
18
|
*/
|
|
141
19
|
static isInstance(obj: any): obj is V2Function;
|
|
142
|
-
/**
|
|
143
|
-
* The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
|
|
144
|
-
*/
|
|
145
20
|
readonly caPort: pulumi.Output<number>;
|
|
146
|
-
/**
|
|
147
|
-
* Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
|
|
148
|
-
*/
|
|
149
21
|
readonly code: pulumi.Output<outputs.fc.V2FunctionCode | undefined>;
|
|
150
|
-
/**
|
|
151
|
-
* crc64 of function code.
|
|
152
|
-
*/
|
|
153
22
|
readonly codeChecksum: pulumi.Output<string>;
|
|
154
|
-
/**
|
|
155
|
-
* The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
|
|
156
|
-
*/
|
|
157
23
|
readonly cpu: pulumi.Output<number | undefined>;
|
|
158
|
-
/**
|
|
159
|
-
* create time of function.
|
|
160
|
-
*/
|
|
161
24
|
readonly createTime: pulumi.Output<string>;
|
|
162
|
-
/**
|
|
163
|
-
* Custom-container runtime related function configuration. See `customContainerConfig` below.
|
|
164
|
-
*/
|
|
165
25
|
readonly customContainerConfig: pulumi.Output<outputs.fc.V2FunctionCustomContainerConfig | undefined>;
|
|
166
|
-
/**
|
|
167
|
-
* Function custom DNS configuration. See `customDns` below.
|
|
168
|
-
*/
|
|
169
26
|
readonly customDns: pulumi.Output<outputs.fc.V2FunctionCustomDns | undefined>;
|
|
170
|
-
/**
|
|
171
|
-
* Custom runtime/container Custom health check configuration. See `customHealthCheckConfig` below.
|
|
172
|
-
*/
|
|
173
27
|
readonly customHealthCheckConfig: pulumi.Output<outputs.fc.V2FunctionCustomHealthCheckConfig | undefined>;
|
|
174
|
-
/**
|
|
175
|
-
* Detailed configuration of Custom Runtime function. See `customRuntimeConfig` below.
|
|
176
|
-
*/
|
|
177
28
|
readonly customRuntimeConfig: pulumi.Output<outputs.fc.V2FunctionCustomRuntimeConfig | undefined>;
|
|
178
|
-
/**
|
|
179
|
-
* description of function.
|
|
180
|
-
*/
|
|
181
29
|
readonly description: pulumi.Output<string | undefined>;
|
|
182
|
-
/**
|
|
183
|
-
* The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
|
|
184
|
-
*/
|
|
185
30
|
readonly diskSize: pulumi.Output<number | undefined>;
|
|
186
|
-
/**
|
|
187
|
-
* The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
|
|
188
|
-
*/
|
|
189
31
|
readonly environmentVariables: pulumi.Output<{
|
|
190
32
|
[key: string]: any;
|
|
191
33
|
} | undefined>;
|
|
192
|
-
/**
|
|
193
|
-
* function name.
|
|
194
|
-
*/
|
|
195
34
|
readonly functionName: pulumi.Output<string>;
|
|
196
|
-
/**
|
|
197
|
-
* The GPU memory specification of the function, in MB, is a multiple of 1024MB.
|
|
198
|
-
*/
|
|
199
35
|
readonly gpuMemorySize: pulumi.Output<number | undefined>;
|
|
200
|
-
/**
|
|
201
|
-
* entry point of function.
|
|
202
|
-
*/
|
|
203
36
|
readonly handler: pulumi.Output<string>;
|
|
204
|
-
/**
|
|
205
|
-
* max running time of initializer.
|
|
206
|
-
*/
|
|
207
37
|
readonly initializationTimeout: pulumi.Output<number>;
|
|
208
|
-
/**
|
|
209
|
-
* initializer entry point of function.
|
|
210
|
-
*/
|
|
211
38
|
readonly initializer: pulumi.Output<string | undefined>;
|
|
212
|
-
/**
|
|
213
|
-
* The maximum concurrency allowed for a single function instance.
|
|
214
|
-
*/
|
|
215
39
|
readonly instanceConcurrency: pulumi.Output<number>;
|
|
216
|
-
/**
|
|
217
|
-
* Instance lifecycle configuration. See `instanceLifecycleConfig` below.
|
|
218
|
-
*/
|
|
219
40
|
readonly instanceLifecycleConfig: pulumi.Output<outputs.fc.V2FunctionInstanceLifecycleConfig | undefined>;
|
|
220
|
-
/**
|
|
221
|
-
* The instance type of the function. Valid values:
|
|
222
|
-
* - **e1**: Elastic instance.
|
|
223
|
-
* - **c1**: performance instance.
|
|
224
|
-
* - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
|
|
225
|
-
* - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
|
|
226
|
-
* - **g1**: Same as **fc.gpu.tesla.1**.
|
|
227
|
-
*/
|
|
228
41
|
readonly instanceType: pulumi.Output<string>;
|
|
229
|
-
/**
|
|
230
|
-
* List of layers.
|
|
231
|
-
* > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
|
|
232
|
-
*/
|
|
233
42
|
readonly layers: pulumi.Output<string[] | undefined>;
|
|
234
|
-
/**
|
|
235
|
-
* memory size needed by function.
|
|
236
|
-
*/
|
|
237
43
|
readonly memorySize: pulumi.Output<number>;
|
|
238
|
-
/**
|
|
239
|
-
* runtime of function code.
|
|
240
|
-
*/
|
|
241
44
|
readonly runtime: pulumi.Output<string>;
|
|
242
|
-
/**
|
|
243
|
-
* The name of the function Service.
|
|
244
|
-
*/
|
|
245
45
|
readonly serviceName: pulumi.Output<string>;
|
|
246
|
-
/**
|
|
247
|
-
* max running time of function.
|
|
248
|
-
*/
|
|
249
46
|
readonly timeout: pulumi.Output<number>;
|
|
250
47
|
/**
|
|
251
48
|
* Create a V2Function resource with the given unique name, arguments, and options.
|
|
@@ -256,225 +53,63 @@ export declare class V2Function extends pulumi.CustomResource {
|
|
|
256
53
|
*/
|
|
257
54
|
constructor(name: string, args: V2FunctionArgs, opts?: pulumi.CustomResourceOptions);
|
|
258
55
|
}
|
|
259
|
-
/**
|
|
260
|
-
* Input properties used for looking up and filtering V2Function resources.
|
|
261
|
-
*/
|
|
262
56
|
export interface V2FunctionState {
|
|
263
|
-
/**
|
|
264
|
-
* The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
|
|
265
|
-
*/
|
|
266
57
|
caPort?: pulumi.Input<number>;
|
|
267
|
-
/**
|
|
268
|
-
* Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
|
|
269
|
-
*/
|
|
270
58
|
code?: pulumi.Input<inputs.fc.V2FunctionCode>;
|
|
271
|
-
/**
|
|
272
|
-
* crc64 of function code.
|
|
273
|
-
*/
|
|
274
59
|
codeChecksum?: pulumi.Input<string>;
|
|
275
|
-
/**
|
|
276
|
-
* The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
|
|
277
|
-
*/
|
|
278
60
|
cpu?: pulumi.Input<number>;
|
|
279
|
-
/**
|
|
280
|
-
* create time of function.
|
|
281
|
-
*/
|
|
282
61
|
createTime?: pulumi.Input<string>;
|
|
283
|
-
/**
|
|
284
|
-
* Custom-container runtime related function configuration. See `customContainerConfig` below.
|
|
285
|
-
*/
|
|
286
62
|
customContainerConfig?: pulumi.Input<inputs.fc.V2FunctionCustomContainerConfig>;
|
|
287
|
-
/**
|
|
288
|
-
* Function custom DNS configuration. See `customDns` below.
|
|
289
|
-
*/
|
|
290
63
|
customDns?: pulumi.Input<inputs.fc.V2FunctionCustomDns>;
|
|
291
|
-
/**
|
|
292
|
-
* Custom runtime/container Custom health check configuration. See `customHealthCheckConfig` below.
|
|
293
|
-
*/
|
|
294
64
|
customHealthCheckConfig?: pulumi.Input<inputs.fc.V2FunctionCustomHealthCheckConfig>;
|
|
295
|
-
/**
|
|
296
|
-
* Detailed configuration of Custom Runtime function. See `customRuntimeConfig` below.
|
|
297
|
-
*/
|
|
298
65
|
customRuntimeConfig?: pulumi.Input<inputs.fc.V2FunctionCustomRuntimeConfig>;
|
|
299
|
-
/**
|
|
300
|
-
* description of function.
|
|
301
|
-
*/
|
|
302
66
|
description?: pulumi.Input<string>;
|
|
303
|
-
/**
|
|
304
|
-
* The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
|
|
305
|
-
*/
|
|
306
67
|
diskSize?: pulumi.Input<number>;
|
|
307
|
-
/**
|
|
308
|
-
* The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
|
|
309
|
-
*/
|
|
310
68
|
environmentVariables?: pulumi.Input<{
|
|
311
69
|
[key: string]: any;
|
|
312
70
|
}>;
|
|
313
|
-
/**
|
|
314
|
-
* function name.
|
|
315
|
-
*/
|
|
316
71
|
functionName?: pulumi.Input<string>;
|
|
317
|
-
/**
|
|
318
|
-
* The GPU memory specification of the function, in MB, is a multiple of 1024MB.
|
|
319
|
-
*/
|
|
320
72
|
gpuMemorySize?: pulumi.Input<number>;
|
|
321
|
-
/**
|
|
322
|
-
* entry point of function.
|
|
323
|
-
*/
|
|
324
73
|
handler?: pulumi.Input<string>;
|
|
325
|
-
/**
|
|
326
|
-
* max running time of initializer.
|
|
327
|
-
*/
|
|
328
74
|
initializationTimeout?: pulumi.Input<number>;
|
|
329
|
-
/**
|
|
330
|
-
* initializer entry point of function.
|
|
331
|
-
*/
|
|
332
75
|
initializer?: pulumi.Input<string>;
|
|
333
|
-
/**
|
|
334
|
-
* The maximum concurrency allowed for a single function instance.
|
|
335
|
-
*/
|
|
336
76
|
instanceConcurrency?: pulumi.Input<number>;
|
|
337
|
-
/**
|
|
338
|
-
* Instance lifecycle configuration. See `instanceLifecycleConfig` below.
|
|
339
|
-
*/
|
|
340
77
|
instanceLifecycleConfig?: pulumi.Input<inputs.fc.V2FunctionInstanceLifecycleConfig>;
|
|
341
|
-
/**
|
|
342
|
-
* The instance type of the function. Valid values:
|
|
343
|
-
* - **e1**: Elastic instance.
|
|
344
|
-
* - **c1**: performance instance.
|
|
345
|
-
* - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
|
|
346
|
-
* - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
|
|
347
|
-
* - **g1**: Same as **fc.gpu.tesla.1**.
|
|
348
|
-
*/
|
|
349
78
|
instanceType?: pulumi.Input<string>;
|
|
350
|
-
/**
|
|
351
|
-
* List of layers.
|
|
352
|
-
* > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
|
|
353
|
-
*/
|
|
354
79
|
layers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
355
|
-
/**
|
|
356
|
-
* memory size needed by function.
|
|
357
|
-
*/
|
|
358
80
|
memorySize?: pulumi.Input<number>;
|
|
359
|
-
/**
|
|
360
|
-
* runtime of function code.
|
|
361
|
-
*/
|
|
362
81
|
runtime?: pulumi.Input<string>;
|
|
363
|
-
/**
|
|
364
|
-
* The name of the function Service.
|
|
365
|
-
*/
|
|
366
82
|
serviceName?: pulumi.Input<string>;
|
|
367
|
-
/**
|
|
368
|
-
* max running time of function.
|
|
369
|
-
*/
|
|
370
83
|
timeout?: pulumi.Input<number>;
|
|
371
84
|
}
|
|
372
85
|
/**
|
|
373
86
|
* The set of arguments for constructing a V2Function resource.
|
|
374
87
|
*/
|
|
375
88
|
export interface V2FunctionArgs {
|
|
376
|
-
/**
|
|
377
|
-
* The listening port of the HTTP Server when the Custom Runtime or Custom Container is running.
|
|
378
|
-
*/
|
|
379
89
|
caPort?: pulumi.Input<number>;
|
|
380
|
-
/**
|
|
381
|
-
* Function Code ZIP package. code and customContainerConfig choose one. See `code` below.
|
|
382
|
-
*/
|
|
383
90
|
code?: pulumi.Input<inputs.fc.V2FunctionCode>;
|
|
384
|
-
/**
|
|
385
|
-
* crc64 of function code.
|
|
386
|
-
*/
|
|
387
91
|
codeChecksum?: pulumi.Input<string>;
|
|
388
|
-
/**
|
|
389
|
-
* The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
|
|
390
|
-
*/
|
|
391
92
|
cpu?: pulumi.Input<number>;
|
|
392
|
-
/**
|
|
393
|
-
* Custom-container runtime related function configuration. See `customContainerConfig` below.
|
|
394
|
-
*/
|
|
395
93
|
customContainerConfig?: pulumi.Input<inputs.fc.V2FunctionCustomContainerConfig>;
|
|
396
|
-
/**
|
|
397
|
-
* Function custom DNS configuration. See `customDns` below.
|
|
398
|
-
*/
|
|
399
94
|
customDns?: pulumi.Input<inputs.fc.V2FunctionCustomDns>;
|
|
400
|
-
/**
|
|
401
|
-
* Custom runtime/container Custom health check configuration. See `customHealthCheckConfig` below.
|
|
402
|
-
*/
|
|
403
95
|
customHealthCheckConfig?: pulumi.Input<inputs.fc.V2FunctionCustomHealthCheckConfig>;
|
|
404
|
-
/**
|
|
405
|
-
* Detailed configuration of Custom Runtime function. See `customRuntimeConfig` below.
|
|
406
|
-
*/
|
|
407
96
|
customRuntimeConfig?: pulumi.Input<inputs.fc.V2FunctionCustomRuntimeConfig>;
|
|
408
|
-
/**
|
|
409
|
-
* description of function.
|
|
410
|
-
*/
|
|
411
97
|
description?: pulumi.Input<string>;
|
|
412
|
-
/**
|
|
413
|
-
* The disk specification of the function. The unit is MB. The optional value is 512 MB or 10240MB.
|
|
414
|
-
*/
|
|
415
98
|
diskSize?: pulumi.Input<number>;
|
|
416
|
-
/**
|
|
417
|
-
* The environment variable set for the function can get the value of the environment variable in the function. For more information, see Environment Variables.
|
|
418
|
-
*/
|
|
419
99
|
environmentVariables?: pulumi.Input<{
|
|
420
100
|
[key: string]: any;
|
|
421
101
|
}>;
|
|
422
|
-
/**
|
|
423
|
-
* function name.
|
|
424
|
-
*/
|
|
425
102
|
functionName: pulumi.Input<string>;
|
|
426
|
-
/**
|
|
427
|
-
* The GPU memory specification of the function, in MB, is a multiple of 1024MB.
|
|
428
|
-
*/
|
|
429
103
|
gpuMemorySize?: pulumi.Input<number>;
|
|
430
|
-
/**
|
|
431
|
-
* entry point of function.
|
|
432
|
-
*/
|
|
433
104
|
handler: pulumi.Input<string>;
|
|
434
|
-
/**
|
|
435
|
-
* max running time of initializer.
|
|
436
|
-
*/
|
|
437
105
|
initializationTimeout?: pulumi.Input<number>;
|
|
438
|
-
/**
|
|
439
|
-
* initializer entry point of function.
|
|
440
|
-
*/
|
|
441
106
|
initializer?: pulumi.Input<string>;
|
|
442
|
-
/**
|
|
443
|
-
* The maximum concurrency allowed for a single function instance.
|
|
444
|
-
*/
|
|
445
107
|
instanceConcurrency?: pulumi.Input<number>;
|
|
446
|
-
/**
|
|
447
|
-
* Instance lifecycle configuration. See `instanceLifecycleConfig` below.
|
|
448
|
-
*/
|
|
449
108
|
instanceLifecycleConfig?: pulumi.Input<inputs.fc.V2FunctionInstanceLifecycleConfig>;
|
|
450
|
-
/**
|
|
451
|
-
* The instance type of the function. Valid values:
|
|
452
|
-
* - **e1**: Elastic instance.
|
|
453
|
-
* - **c1**: performance instance.
|
|
454
|
-
* - **fc.gpu.tesla.1**: the T4 card type of the Tesla series of GPU instances.
|
|
455
|
-
* - **fc.gpu.ampere.1**: The Ampere series A10 card type of the GPU instance.
|
|
456
|
-
* - **g1**: Same as **fc.gpu.tesla.1**.
|
|
457
|
-
*/
|
|
458
109
|
instanceType?: pulumi.Input<string>;
|
|
459
|
-
/**
|
|
460
|
-
* List of layers.
|
|
461
|
-
* > **NOTE:** Multiple layers will be merged in the order of array subscripts from large to small, and the contents of layers with small subscripts will overwrite the files with the same name of layers with large subscripts.
|
|
462
|
-
*/
|
|
463
110
|
layers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
464
|
-
/**
|
|
465
|
-
* memory size needed by function.
|
|
466
|
-
*/
|
|
467
111
|
memorySize?: pulumi.Input<number>;
|
|
468
|
-
/**
|
|
469
|
-
* runtime of function code.
|
|
470
|
-
*/
|
|
471
112
|
runtime: pulumi.Input<string>;
|
|
472
|
-
/**
|
|
473
|
-
* The name of the function Service.
|
|
474
|
-
*/
|
|
475
113
|
serviceName: pulumi.Input<string>;
|
|
476
|
-
/**
|
|
477
|
-
* max running time of function.
|
|
478
|
-
*/
|
|
479
114
|
timeout?: pulumi.Input<number>;
|
|
480
115
|
}
|
package/fc/v2function.js
CHANGED
|
@@ -5,128 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.V2Function = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides a FCV2 Function resource. Function is the unit of system scheduling and operation. Functions must be subordinate to services. All functions under the same service share some identical settings, such as service authorization and log configuration.
|
|
10
|
-
*
|
|
11
|
-
* For information about FCV2 Function and how to use it, see [What is Function](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-fc-function).
|
|
12
|
-
*
|
|
13
|
-
* > **NOTE:** Available since v1.208.0.
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* Basic Usage
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
-
*
|
|
23
|
-
* const config = new pulumi.Config();
|
|
24
|
-
* const name = config.get("name") || "terraform-example";
|
|
25
|
-
* const defaultProject = new alicloud.log.Project("defaultProject", {description: name});
|
|
26
|
-
* const defaultStore = new alicloud.log.Store("defaultStore", {
|
|
27
|
-
* project: defaultProject.name,
|
|
28
|
-
* retentionPeriod: 3000,
|
|
29
|
-
* shardCount: 1,
|
|
30
|
-
* });
|
|
31
|
-
* const defaultRole = new alicloud.ram.Role("defaultRole", {
|
|
32
|
-
* document: ` {
|
|
33
|
-
* "Statement": [
|
|
34
|
-
* {
|
|
35
|
-
* "Action": "sts:AssumeRole",
|
|
36
|
-
* "Effect": "Allow",
|
|
37
|
-
* "Principal": {
|
|
38
|
-
* "Service": [
|
|
39
|
-
* "fc.aliyuncs.com"
|
|
40
|
-
* ]
|
|
41
|
-
* }
|
|
42
|
-
* }
|
|
43
|
-
* ],
|
|
44
|
-
* "Version": "1"
|
|
45
|
-
* }
|
|
46
|
-
* `,
|
|
47
|
-
* description: name,
|
|
48
|
-
* force: true,
|
|
49
|
-
* });
|
|
50
|
-
* const defaultRolePolicyAttachment = new alicloud.ram.RolePolicyAttachment("defaultRolePolicyAttachment", {
|
|
51
|
-
* roleName: defaultRole.name,
|
|
52
|
-
* policyName: "AliyunLogFullAccess",
|
|
53
|
-
* policyType: "System",
|
|
54
|
-
* });
|
|
55
|
-
* const defaultService = new alicloud.fc.Service("defaultService", {
|
|
56
|
-
* description: name,
|
|
57
|
-
* logConfig: {
|
|
58
|
-
* project: defaultProject.name,
|
|
59
|
-
* logstore: defaultStore.name,
|
|
60
|
-
* },
|
|
61
|
-
* role: defaultRole.arn,
|
|
62
|
-
* });
|
|
63
|
-
* const defaultV2Function = new alicloud.fc.V2Function("defaultV2Function", {
|
|
64
|
-
* functionName: name,
|
|
65
|
-
* memorySize: 1024,
|
|
66
|
-
* runtime: "custom.debian10",
|
|
67
|
-
* description: name,
|
|
68
|
-
* serviceName: defaultService.name,
|
|
69
|
-
* initializer: "index.initializer",
|
|
70
|
-
* initializationTimeout: 10,
|
|
71
|
-
* timeout: 60,
|
|
72
|
-
* handler: "index.handler",
|
|
73
|
-
* instanceType: "e1",
|
|
74
|
-
* instanceLifecycleConfig: {
|
|
75
|
-
* preFreeze: {
|
|
76
|
-
* handler: "index.prefreeze",
|
|
77
|
-
* timeout: 30,
|
|
78
|
-
* },
|
|
79
|
-
* preStop: {
|
|
80
|
-
* handler: "index.prestop",
|
|
81
|
-
* timeout: 30,
|
|
82
|
-
* },
|
|
83
|
-
* },
|
|
84
|
-
* code: {
|
|
85
|
-
* ossBucketName: "code-sample-cn-hangzhou",
|
|
86
|
-
* ossObjectName: "quick-start-sample-codes/quick-start-sample-codes-nodejs/RocketMQ-producer-nodejs14-event/code.zip",
|
|
87
|
-
* },
|
|
88
|
-
* customDns: {
|
|
89
|
-
* nameServers: ["223.5.5.5"],
|
|
90
|
-
* searches: ["mydomain.com"],
|
|
91
|
-
* dnsOptions: [{
|
|
92
|
-
* name: name,
|
|
93
|
-
* value: "1",
|
|
94
|
-
* }],
|
|
95
|
-
* },
|
|
96
|
-
* diskSize: 512,
|
|
97
|
-
* instanceConcurrency: 10,
|
|
98
|
-
* layers: [
|
|
99
|
-
* "d3fc5de8d120687be2bfab761518d5de#Nodejs-Aliyun-SDK#2",
|
|
100
|
-
* "d3fc5de8d120687be2bfab761518d5de#Python39#2",
|
|
101
|
-
* ],
|
|
102
|
-
* cpu: 1,
|
|
103
|
-
* customHealthCheckConfig: {
|
|
104
|
-
* httpGetUrl: "/healthcheck",
|
|
105
|
-
* initialDelaySeconds: 3,
|
|
106
|
-
* periodSeconds: 3,
|
|
107
|
-
* timeoutSeconds: 3,
|
|
108
|
-
* failureThreshold: 1,
|
|
109
|
-
* successThreshold: 1,
|
|
110
|
-
* },
|
|
111
|
-
* caPort: 9000,
|
|
112
|
-
* customRuntimeConfig: {
|
|
113
|
-
* commands: ["npm"],
|
|
114
|
-
* args: [
|
|
115
|
-
* "run",
|
|
116
|
-
* "start",
|
|
117
|
-
* ],
|
|
118
|
-
* },
|
|
119
|
-
* });
|
|
120
|
-
* ```
|
|
121
|
-
*
|
|
122
|
-
* ## Import
|
|
123
|
-
*
|
|
124
|
-
* FCV2 Function can be imported using the id, e.g.
|
|
125
|
-
*
|
|
126
|
-
* ```sh
|
|
127
|
-
* $ pulumi import alicloud:fc/v2Function:V2Function example <service_name>:<function_name>
|
|
128
|
-
* ```
|
|
129
|
-
*/
|
|
130
8
|
class V2Function extends pulumi.CustomResource {
|
|
131
9
|
/**
|
|
132
10
|
* Get an existing V2Function resource's state with the given name, ID, and optional extra
|
package/fc/v2function.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2function.js","sourceRoot":"","sources":["../../fc/v2function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"v2function.js","sourceRoot":"","sources":["../../fc/v2function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAoCD,YAAY,IAAY,EAAE,WAA8C,E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,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtIL,gCAuIC;AAzHG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -35,7 +35,7 @@ export declare class AdditionalCertificate extends pulumi.CustomResource {
|
|
|
35
35
|
*/
|
|
36
36
|
readonly acceleratorId: pulumi.Output<string>;
|
|
37
37
|
/**
|
|
38
|
-
* The Certificate ID.
|
|
38
|
+
* The Certificate ID. **NOTE:** From version 1.209.1, `certificateId` can be modified.
|
|
39
39
|
*/
|
|
40
40
|
readonly certificateId: pulumi.Output<string>;
|
|
41
41
|
/**
|
|
@@ -64,7 +64,7 @@ export interface AdditionalCertificateState {
|
|
|
64
64
|
*/
|
|
65
65
|
acceleratorId?: pulumi.Input<string>;
|
|
66
66
|
/**
|
|
67
|
-
* The Certificate ID.
|
|
67
|
+
* The Certificate ID. **NOTE:** From version 1.209.1, `certificateId` can be modified.
|
|
68
68
|
*/
|
|
69
69
|
certificateId?: pulumi.Input<string>;
|
|
70
70
|
/**
|
|
@@ -85,7 +85,7 @@ export interface AdditionalCertificateArgs {
|
|
|
85
85
|
*/
|
|
86
86
|
acceleratorId: pulumi.Input<string>;
|
|
87
87
|
/**
|
|
88
|
-
* The Certificate ID.
|
|
88
|
+
* The Certificate ID. **NOTE:** From version 1.209.1, `certificateId` can be modified.
|
|
89
89
|
*/
|
|
90
90
|
certificateId: pulumi.Input<string>;
|
|
91
91
|
/**
|
package/getAccount.d.ts
CHANGED
|
@@ -22,3 +22,17 @@ export interface GetAccountResult {
|
|
|
22
22
|
*/
|
|
23
23
|
readonly id: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* This data source provides information about the current account.
|
|
27
|
+
*
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
33
|
+
*
|
|
34
|
+
* const current = alicloud.getAccount({});
|
|
35
|
+
* export const currentAccountId = current.then(current => current.id);
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare function getAccountOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetAccountResult>;
|