@pulumi/alicloud 3.84.0 → 3.85.0
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/amqp/getInstances.d.ts +47 -24
- package/amqp/getInstances.js +34 -20
- package/amqp/getInstances.js.map +1 -1
- package/amqp/virtualHost.d.ts +21 -9
- package/amqp/virtualHost.js +21 -9
- package/amqp/virtualHost.js.map +1 -1
- package/cloudsso/delegateAccount.d.ts +85 -0
- package/cloudsso/delegateAccount.js +89 -0
- package/cloudsso/delegateAccount.js.map +1 -0
- package/cloudsso/index.d.ts +3 -0
- package/cloudsso/index.js +6 -1
- package/cloudsso/index.js.map +1 -1
- package/cs/nodePool.d.ts +3 -0
- package/cs/nodePool.js.map +1 -1
- package/ddos/bgpIp.d.ts +28 -22
- package/ddos/bgpIp.js +8 -8
- package/ddos/bgpIp.js.map +1 -1
- package/ddos/ddosBgpInstance.d.ts +86 -49
- package/ddos/ddosBgpInstance.js +10 -27
- package/ddos/ddosBgpInstance.js.map +1 -1
- package/dms/enterpriseWorkspace.d.ts +123 -0
- package/dms/enterpriseWorkspace.js +107 -0
- package/dms/enterpriseWorkspace.js.map +1 -0
- package/dms/index.d.ts +3 -0
- package/dms/index.js +6 -1
- package/dms/index.js.map +1 -1
- package/dns/ddosBgpInstance.d.ts +86 -49
- package/dns/ddosBgpInstance.js +10 -27
- package/dns/ddosBgpInstance.js.map +1 -1
- package/eflo/node.d.ts +15 -3
- package/eflo/node.js +2 -0
- package/eflo/node.js.map +1 -1
- package/esa/index.d.ts +9 -0
- package/esa/index.js +16 -1
- package/esa/index.js.map +1 -1
- package/esa/kvAccount.d.ts +53 -0
- package/esa/kvAccount.js +58 -0
- package/esa/kvAccount.js.map +1 -0
- package/esa/routineRelatedRecord.d.ts +47 -0
- package/esa/routineRelatedRecord.js +61 -0
- package/esa/routineRelatedRecord.js.map +1 -0
- package/esa/urlObservation.d.ts +123 -0
- package/esa/urlObservation.js +107 -0
- package/esa/urlObservation.js.map +1 -0
- package/fc/getService.d.ts +2 -2
- package/fc/getService.js +2 -2
- package/hologram/instance.d.ts +11 -0
- package/hologram/instance.js +2 -0
- package/hologram/instance.js.map +1 -1
- package/kms/instance.d.ts +18 -0
- package/kms/instance.js +2 -0
- package/kms/instance.js.map +1 -1
- package/log/ossExport.d.ts +3 -0
- package/log/ossExport.js +3 -0
- package/log/ossExport.js.map +1 -1
- package/message/serviceSubscription.d.ts +12 -0
- package/message/serviceSubscription.js +2 -0
- package/message/serviceSubscription.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +92 -0
- package/mongodb/shardingInstance.js +14 -0
- package/mongodb/shardingInstance.js.map +1 -1
- package/nlb/serverGroup.d.ts +12 -9
- package/nlb/serverGroup.js.map +1 -1
- package/oss/bucket.d.ts +32 -0
- package/oss/bucket.js +32 -0
- package/oss/bucket.js.map +1 -1
- package/package.json +2 -2
- package/privatelink/vpcEndpoint.d.ts +9 -3
- package/privatelink/vpcEndpoint.js.map +1 -1
- package/resourcemanager/delegatedAdministrator.d.ts +10 -20
- package/resourcemanager/delegatedAdministrator.js +4 -14
- package/resourcemanager/delegatedAdministrator.js.map +1 -1
- package/resourcemanager/folder.d.ts +39 -12
- package/resourcemanager/folder.js +11 -6
- package/resourcemanager/folder.js.map +1 -1
- package/resourcemanager/getAccounts.d.ts +29 -14
- package/resourcemanager/getAccounts.js +6 -4
- package/resourcemanager/getAccounts.js.map +1 -1
- package/resourcemanager/index.d.ts +3 -0
- package/resourcemanager/index.js +7 -1
- package/resourcemanager/index.js.map +1 -1
- package/resourcemanager/messageContact.d.ts +193 -0
- package/resourcemanager/messageContact.js +109 -0
- package/resourcemanager/messageContact.js.map +1 -0
- package/resourcemanager/resourceDirectory.d.ts +47 -21
- package/resourcemanager/resourceDirectory.js +7 -9
- package/resourcemanager/resourceDirectory.js.map +1 -1
- package/resourcemanager/sharedResource.d.ts +34 -21
- package/resourcemanager/sharedResource.js +19 -12
- package/resourcemanager/sharedResource.js.map +1 -1
- package/resourcemanager/sharedTarget.d.ts +24 -11
- package/resourcemanager/sharedTarget.js +12 -5
- package/resourcemanager/sharedTarget.js.map +1 -1
- package/sls/getLogtailConfigs.d.ts +263 -0
- package/sls/getLogtailConfigs.js +190 -0
- package/sls/getLogtailConfigs.js.map +1 -0
- package/sls/getMachineGroups.d.ts +141 -0
- package/sls/getMachineGroups.js +100 -0
- package/sls/getMachineGroups.js.map +1 -0
- package/sls/index.d.ts +12 -0
- package/sls/index.js +17 -1
- package/sls/index.js.map +1 -1
- package/sls/logtailConfig.d.ts +227 -0
- package/sls/logtailConfig.js +149 -0
- package/sls/logtailConfig.js.map +1 -0
- package/sls/machineGroup.d.ts +164 -0
- package/sls/machineGroup.js +113 -0
- package/sls/machineGroup.js.map +1 -0
- package/types/input.d.ts +53 -18
- package/types/output.d.ts +99 -38
- package/vpc/dhcpOptionsSet.d.ts +42 -25
- package/vpc/dhcpOptionsSet.js +3 -1
- package/vpc/dhcpOptionsSet.js.map +1 -1
- package/vpc/flowLog.d.ts +11 -11
- package/vpc/haVipv2.d.ts +47 -41
- package/vpc/haVipv2.js +11 -9
- package/vpc/haVipv2.js.map +1 -1
- package/vpc/havipAttachment.d.ts +19 -26
- package/vpc/havipAttachment.js +8 -0
- package/vpc/havipAttachment.js.map +1 -1
- package/vpc/networkAcl.d.ts +15 -10
- package/vpc/networkAcl.js +3 -1
- package/vpc/networkAcl.js.map +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a DMS Enterprise Workspace resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about DMS Enterprise Workspace and how to use it, see [What is Workspace](https://next.api.alibabacloud.com/document/dms-enterprise/2018-11-01/CreateWorkspace).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available since v1.259.0.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* Basic Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
16
|
+
* import * as random from "@pulumi/random";
|
|
17
|
+
*
|
|
18
|
+
* const config = new pulumi.Config();
|
|
19
|
+
* const name = config.get("name") || "terraform_example";
|
|
20
|
+
* const _default = new random.index.Integer("default", {
|
|
21
|
+
* min: 10000,
|
|
22
|
+
* max: 99999,
|
|
23
|
+
* });
|
|
24
|
+
* const vpcCreate = new alicloud.vpc.Network("vpc_create", {
|
|
25
|
+
* isDefault: false,
|
|
26
|
+
* description: "example vpc",
|
|
27
|
+
* cidrBlock: "192.168.0.0/16",
|
|
28
|
+
* vpcName: `${name}-${_default.result}`,
|
|
29
|
+
* });
|
|
30
|
+
* const defaultEnterpriseWorkspace = new alicloud.dms.EnterpriseWorkspace("default", {
|
|
31
|
+
* description: name,
|
|
32
|
+
* workspaceName: `${name}-${_default.result}`,
|
|
33
|
+
* vpcId: vpcCreate.id,
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* DMS Enterprise Workspace can be imported using the id, e.g.
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import alicloud:dms/enterpriseWorkspace:EnterpriseWorkspace example <id>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class EnterpriseWorkspace extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing EnterpriseWorkspace resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnterpriseWorkspaceState, opts?: pulumi.CustomResourceOptions): EnterpriseWorkspace;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of EnterpriseWorkspace. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is EnterpriseWorkspace;
|
|
61
|
+
/**
|
|
62
|
+
* The description of the Workspace.
|
|
63
|
+
*/
|
|
64
|
+
readonly description: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The region ID of the resource.
|
|
67
|
+
*/
|
|
68
|
+
readonly regionId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the VPC.
|
|
71
|
+
*/
|
|
72
|
+
readonly vpcId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the Workspace.
|
|
75
|
+
*/
|
|
76
|
+
readonly workspaceName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a EnterpriseWorkspace resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: EnterpriseWorkspaceArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering EnterpriseWorkspace resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface EnterpriseWorkspaceState {
|
|
90
|
+
/**
|
|
91
|
+
* The description of the Workspace.
|
|
92
|
+
*/
|
|
93
|
+
description?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The region ID of the resource.
|
|
96
|
+
*/
|
|
97
|
+
regionId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The ID of the VPC.
|
|
100
|
+
*/
|
|
101
|
+
vpcId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The name of the Workspace.
|
|
104
|
+
*/
|
|
105
|
+
workspaceName?: pulumi.Input<string>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The set of arguments for constructing a EnterpriseWorkspace resource.
|
|
109
|
+
*/
|
|
110
|
+
export interface EnterpriseWorkspaceArgs {
|
|
111
|
+
/**
|
|
112
|
+
* The description of the Workspace.
|
|
113
|
+
*/
|
|
114
|
+
description: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The ID of the VPC.
|
|
117
|
+
*/
|
|
118
|
+
vpcId: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The name of the Workspace.
|
|
121
|
+
*/
|
|
122
|
+
workspaceName: pulumi.Input<string>;
|
|
123
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.EnterpriseWorkspace = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a DMS Enterprise Workspace resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about DMS Enterprise Workspace and how to use it, see [What is Workspace](https://next.api.alibabacloud.com/document/dms-enterprise/2018-11-01/CreateWorkspace).
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Available since v1.259.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
|
+
* import * as random from "@pulumi/random";
|
|
23
|
+
*
|
|
24
|
+
* const config = new pulumi.Config();
|
|
25
|
+
* const name = config.get("name") || "terraform_example";
|
|
26
|
+
* const _default = new random.index.Integer("default", {
|
|
27
|
+
* min: 10000,
|
|
28
|
+
* max: 99999,
|
|
29
|
+
* });
|
|
30
|
+
* const vpcCreate = new alicloud.vpc.Network("vpc_create", {
|
|
31
|
+
* isDefault: false,
|
|
32
|
+
* description: "example vpc",
|
|
33
|
+
* cidrBlock: "192.168.0.0/16",
|
|
34
|
+
* vpcName: `${name}-${_default.result}`,
|
|
35
|
+
* });
|
|
36
|
+
* const defaultEnterpriseWorkspace = new alicloud.dms.EnterpriseWorkspace("default", {
|
|
37
|
+
* description: name,
|
|
38
|
+
* workspaceName: `${name}-${_default.result}`,
|
|
39
|
+
* vpcId: vpcCreate.id,
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* DMS Enterprise Workspace can be imported using the id, e.g.
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import alicloud:dms/enterpriseWorkspace:EnterpriseWorkspace example <id>
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
class EnterpriseWorkspace extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing EnterpriseWorkspace resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, state, opts) {
|
|
62
|
+
return new EnterpriseWorkspace(name, state, { ...opts, id: id });
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of EnterpriseWorkspace. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === EnterpriseWorkspace.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
constructor(name, argsOrState, opts) {
|
|
75
|
+
let resourceInputs = {};
|
|
76
|
+
opts = opts || {};
|
|
77
|
+
if (opts.id) {
|
|
78
|
+
const state = argsOrState;
|
|
79
|
+
resourceInputs["description"] = state?.description;
|
|
80
|
+
resourceInputs["regionId"] = state?.regionId;
|
|
81
|
+
resourceInputs["vpcId"] = state?.vpcId;
|
|
82
|
+
resourceInputs["workspaceName"] = state?.workspaceName;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
if (args?.description === undefined && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'description'");
|
|
88
|
+
}
|
|
89
|
+
if (args?.vpcId === undefined && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'vpcId'");
|
|
91
|
+
}
|
|
92
|
+
if (args?.workspaceName === undefined && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'workspaceName'");
|
|
94
|
+
}
|
|
95
|
+
resourceInputs["description"] = args?.description;
|
|
96
|
+
resourceInputs["vpcId"] = args?.vpcId;
|
|
97
|
+
resourceInputs["workspaceName"] = args?.workspaceName;
|
|
98
|
+
resourceInputs["regionId"] = undefined /*out*/;
|
|
99
|
+
}
|
|
100
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
+
super(EnterpriseWorkspace.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.EnterpriseWorkspace = EnterpriseWorkspace;
|
|
105
|
+
/** @internal */
|
|
106
|
+
EnterpriseWorkspace.__pulumiType = 'alicloud:dms/enterpriseWorkspace:EnterpriseWorkspace';
|
|
107
|
+
//# sourceMappingURL=enterpriseWorkspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enterpriseWorkspace.js","sourceRoot":"","sources":["../../dms/enterpriseWorkspace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;SAC1D;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAhFL,kDAiFC;AAnEG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/dms/index.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ export declare const EnterpriseProxyAccess: typeof import("./enterpriseProxyAcce
|
|
|
16
16
|
export { EnterpriseUserArgs, EnterpriseUserState } from "./enterpriseUser";
|
|
17
17
|
export type EnterpriseUser = import("./enterpriseUser").EnterpriseUser;
|
|
18
18
|
export declare const EnterpriseUser: typeof import("./enterpriseUser").EnterpriseUser;
|
|
19
|
+
export { EnterpriseWorkspaceArgs, EnterpriseWorkspaceState } from "./enterpriseWorkspace";
|
|
20
|
+
export type EnterpriseWorkspace = import("./enterpriseWorkspace").EnterpriseWorkspace;
|
|
21
|
+
export declare const EnterpriseWorkspace: typeof import("./enterpriseWorkspace").EnterpriseWorkspace;
|
|
19
22
|
export { GetEnterpriseDatabasesArgs, GetEnterpriseDatabasesResult, GetEnterpriseDatabasesOutputArgs } from "./getEnterpriseDatabases";
|
|
20
23
|
export declare const getEnterpriseDatabases: typeof import("./getEnterpriseDatabases").getEnterpriseDatabases;
|
|
21
24
|
export declare const getEnterpriseDatabasesOutput: typeof import("./getEnterpriseDatabases").getEnterpriseDatabasesOutput;
|
package/dms/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getUserTenantsOutput = exports.getUserTenants = exports.getEnterpriseUsersOutput = exports.getEnterpriseUsers = exports.getEnterpriseProxyAccessesOutput = exports.getEnterpriseProxyAccesses = exports.getEnterpriseProxiesOutput = exports.getEnterpriseProxies = exports.getEnterpriseLogicDatabasesOutput = exports.getEnterpriseLogicDatabases = exports.getEnterpriseInstancesOutput = exports.getEnterpriseInstances = exports.getEnterpriseDatabasesOutput = exports.getEnterpriseDatabases = exports.EnterpriseUser = exports.EnterpriseProxyAccess = exports.EnterpriseProxy = exports.EnterpriseLogicDatabase = exports.EnterpriseInstance = exports.EnterpriseAuthorityTemplate = void 0;
|
|
5
|
+
exports.getUserTenantsOutput = exports.getUserTenants = exports.getEnterpriseUsersOutput = exports.getEnterpriseUsers = exports.getEnterpriseProxyAccessesOutput = exports.getEnterpriseProxyAccesses = exports.getEnterpriseProxiesOutput = exports.getEnterpriseProxies = exports.getEnterpriseLogicDatabasesOutput = exports.getEnterpriseLogicDatabases = exports.getEnterpriseInstancesOutput = exports.getEnterpriseInstances = exports.getEnterpriseDatabasesOutput = exports.getEnterpriseDatabases = exports.EnterpriseWorkspace = exports.EnterpriseUser = exports.EnterpriseProxyAccess = exports.EnterpriseProxy = exports.EnterpriseLogicDatabase = exports.EnterpriseInstance = exports.EnterpriseAuthorityTemplate = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.EnterpriseAuthorityTemplate = null;
|
|
@@ -17,6 +17,8 @@ exports.EnterpriseProxyAccess = null;
|
|
|
17
17
|
utilities.lazyLoad(exports, ["EnterpriseProxyAccess"], () => require("./enterpriseProxyAccess"));
|
|
18
18
|
exports.EnterpriseUser = null;
|
|
19
19
|
utilities.lazyLoad(exports, ["EnterpriseUser"], () => require("./enterpriseUser"));
|
|
20
|
+
exports.EnterpriseWorkspace = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["EnterpriseWorkspace"], () => require("./enterpriseWorkspace"));
|
|
20
22
|
exports.getEnterpriseDatabases = null;
|
|
21
23
|
exports.getEnterpriseDatabasesOutput = null;
|
|
22
24
|
utilities.lazyLoad(exports, ["getEnterpriseDatabases", "getEnterpriseDatabasesOutput"], () => require("./getEnterpriseDatabases"));
|
|
@@ -54,6 +56,8 @@ const _module = {
|
|
|
54
56
|
return new exports.EnterpriseProxyAccess(name, undefined, { urn });
|
|
55
57
|
case "alicloud:dms/enterpriseUser:EnterpriseUser":
|
|
56
58
|
return new exports.EnterpriseUser(name, undefined, { urn });
|
|
59
|
+
case "alicloud:dms/enterpriseWorkspace:EnterpriseWorkspace":
|
|
60
|
+
return new exports.EnterpriseWorkspace(name, undefined, { urn });
|
|
57
61
|
default:
|
|
58
62
|
throw new Error(`unknown resource type ${type}`);
|
|
59
63
|
}
|
|
@@ -65,4 +69,5 @@ pulumi.runtime.registerResourceModule("alicloud", "dms/enterpriseLogicDatabase",
|
|
|
65
69
|
pulumi.runtime.registerResourceModule("alicloud", "dms/enterpriseProxy", _module);
|
|
66
70
|
pulumi.runtime.registerResourceModule("alicloud", "dms/enterpriseProxyAccess", _module);
|
|
67
71
|
pulumi.runtime.registerResourceModule("alicloud", "dms/enterpriseUser", _module);
|
|
72
|
+
pulumi.runtime.registerResourceModule("alicloud", "dms/enterpriseWorkspace", _module);
|
|
68
73
|
//# sourceMappingURL=index.js.map
|
package/dms/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../dms/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,2BAA2B,GAA+E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAAC,CAAC;AAIhG,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAIxF,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EA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
-
*
|
|
5
|
-
* > **NOTE:** Available since v1.183.0.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* Basic Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
14
|
-
*
|
|
15
|
-
* const config = new pulumi.Config();
|
|
16
|
-
* const name = config.get("name") || "tf-example";
|
|
17
|
-
* const instance = new alicloud.ddos.DdosBgpInstance("instance", {
|
|
18
|
-
* name: name,
|
|
19
|
-
* baseBandwidth: 20,
|
|
20
|
-
* bandwidth: -1,
|
|
21
|
-
* ipCount: 100,
|
|
22
|
-
* ipType: "IPv4",
|
|
23
|
-
* normalBandwidth: 100,
|
|
24
|
-
* type: "Enterprise",
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
3
|
* ## Import
|
|
29
4
|
*
|
|
30
|
-
*
|
|
5
|
+
* Anti-DDoS Pro (DdosBgp) Instance can be imported using the id, e.g.
|
|
31
6
|
*
|
|
32
7
|
* ```sh
|
|
33
|
-
* $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example
|
|
8
|
+
* $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example <id>
|
|
34
9
|
* ```
|
|
35
10
|
*
|
|
36
11
|
* @deprecated alicloud.dns.DdosBgpInstance has been deprecated in favor of alicloud.ddos.DdosBgpInstance
|
|
@@ -52,27 +27,35 @@ export declare class DdosBgpInstance extends pulumi.CustomResource {
|
|
|
52
27
|
*/
|
|
53
28
|
static isInstance(obj: any): obj is DdosBgpInstance;
|
|
54
29
|
/**
|
|
55
|
-
*
|
|
30
|
+
* The bandwidth of the package configuration.
|
|
56
31
|
*/
|
|
57
32
|
readonly bandwidth: pulumi.Output<number>;
|
|
58
33
|
/**
|
|
59
|
-
*
|
|
34
|
+
* The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
|
|
60
35
|
*/
|
|
61
36
|
readonly baseBandwidth: pulumi.Output<number | undefined>;
|
|
62
37
|
/**
|
|
63
|
-
*
|
|
38
|
+
* The name of the instance.
|
|
39
|
+
*/
|
|
40
|
+
readonly instanceName: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
|
|
64
43
|
*/
|
|
65
44
|
readonly ipCount: pulumi.Output<number>;
|
|
66
45
|
/**
|
|
67
|
-
* IP
|
|
46
|
+
* The protection IP address type of the protection package. Valid values:
|
|
47
|
+
* - `IPv4`
|
|
48
|
+
* - `IPv6`
|
|
68
49
|
*/
|
|
69
50
|
readonly ipType: pulumi.Output<string>;
|
|
70
51
|
/**
|
|
71
|
-
*
|
|
52
|
+
* Field `name` has been deprecated from provider version 1.259.0. New field `instanceName` instead.
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Field `name` has been deprecated from provider version 1.259.0. New field `instanceName` instead.
|
|
72
55
|
*/
|
|
73
56
|
readonly name: pulumi.Output<string>;
|
|
74
57
|
/**
|
|
75
|
-
*
|
|
58
|
+
* The normal clean bandwidth. Unit: Mbit/s.
|
|
76
59
|
*/
|
|
77
60
|
readonly normalBandwidth: pulumi.Output<number>;
|
|
78
61
|
/**
|
|
@@ -80,9 +63,23 @@ export declare class DdosBgpInstance extends pulumi.CustomResource {
|
|
|
80
63
|
*/
|
|
81
64
|
readonly period: pulumi.Output<number | undefined>;
|
|
82
65
|
/**
|
|
83
|
-
*
|
|
66
|
+
* Resource Group ID
|
|
67
|
+
*/
|
|
68
|
+
readonly resourceGroupId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* (Available since v1.259.0) The status of the Instance.
|
|
71
|
+
*/
|
|
72
|
+
readonly status: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The key of the tag that is added to the Anti-DDoS Origin instance.
|
|
75
|
+
*/
|
|
76
|
+
readonly tags: pulumi.Output<{
|
|
77
|
+
[key: string]: string;
|
|
78
|
+
} | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
|
|
84
81
|
*/
|
|
85
|
-
readonly type: pulumi.Output<string
|
|
82
|
+
readonly type: pulumi.Output<string>;
|
|
86
83
|
/**
|
|
87
84
|
* Create a DdosBgpInstance resource with the given unique name, arguments, and options.
|
|
88
85
|
*
|
|
@@ -98,27 +95,35 @@ export declare class DdosBgpInstance extends pulumi.CustomResource {
|
|
|
98
95
|
*/
|
|
99
96
|
export interface DdosBgpInstanceState {
|
|
100
97
|
/**
|
|
101
|
-
*
|
|
98
|
+
* The bandwidth of the package configuration.
|
|
102
99
|
*/
|
|
103
100
|
bandwidth?: pulumi.Input<number>;
|
|
104
101
|
/**
|
|
105
|
-
*
|
|
102
|
+
* The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
|
|
106
103
|
*/
|
|
107
104
|
baseBandwidth?: pulumi.Input<number>;
|
|
108
105
|
/**
|
|
109
|
-
*
|
|
106
|
+
* The name of the instance.
|
|
107
|
+
*/
|
|
108
|
+
instanceName?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
|
|
110
111
|
*/
|
|
111
112
|
ipCount?: pulumi.Input<number>;
|
|
112
113
|
/**
|
|
113
|
-
* IP
|
|
114
|
+
* The protection IP address type of the protection package. Valid values:
|
|
115
|
+
* - `IPv4`
|
|
116
|
+
* - `IPv6`
|
|
114
117
|
*/
|
|
115
118
|
ipType?: pulumi.Input<string>;
|
|
116
119
|
/**
|
|
117
|
-
*
|
|
120
|
+
* Field `name` has been deprecated from provider version 1.259.0. New field `instanceName` instead.
|
|
121
|
+
*
|
|
122
|
+
* @deprecated Field `name` has been deprecated from provider version 1.259.0. New field `instanceName` instead.
|
|
118
123
|
*/
|
|
119
124
|
name?: pulumi.Input<string>;
|
|
120
125
|
/**
|
|
121
|
-
*
|
|
126
|
+
* The normal clean bandwidth. Unit: Mbit/s.
|
|
122
127
|
*/
|
|
123
128
|
normalBandwidth?: pulumi.Input<number>;
|
|
124
129
|
/**
|
|
@@ -126,7 +131,21 @@ export interface DdosBgpInstanceState {
|
|
|
126
131
|
*/
|
|
127
132
|
period?: pulumi.Input<number>;
|
|
128
133
|
/**
|
|
129
|
-
*
|
|
134
|
+
* Resource Group ID
|
|
135
|
+
*/
|
|
136
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* (Available since v1.259.0) The status of the Instance.
|
|
139
|
+
*/
|
|
140
|
+
status?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The key of the tag that is added to the Anti-DDoS Origin instance.
|
|
143
|
+
*/
|
|
144
|
+
tags?: pulumi.Input<{
|
|
145
|
+
[key: string]: pulumi.Input<string>;
|
|
146
|
+
}>;
|
|
147
|
+
/**
|
|
148
|
+
* The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
|
|
130
149
|
*/
|
|
131
150
|
type?: pulumi.Input<string>;
|
|
132
151
|
}
|
|
@@ -135,27 +154,35 @@ export interface DdosBgpInstanceState {
|
|
|
135
154
|
*/
|
|
136
155
|
export interface DdosBgpInstanceArgs {
|
|
137
156
|
/**
|
|
138
|
-
*
|
|
157
|
+
* The bandwidth of the package configuration.
|
|
139
158
|
*/
|
|
140
159
|
bandwidth: pulumi.Input<number>;
|
|
141
160
|
/**
|
|
142
|
-
*
|
|
161
|
+
* The basic protection bandwidth of the Anti-DDoS Origin Enterprise instance. Default value: `20`. Valid values: `20`.
|
|
143
162
|
*/
|
|
144
163
|
baseBandwidth?: pulumi.Input<number>;
|
|
145
164
|
/**
|
|
146
|
-
*
|
|
165
|
+
* The name of the instance.
|
|
166
|
+
*/
|
|
167
|
+
instanceName?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The number of IP addresses that can be protected by the Anti-DDoS Origin Enterprise instance.
|
|
147
170
|
*/
|
|
148
171
|
ipCount: pulumi.Input<number>;
|
|
149
172
|
/**
|
|
150
|
-
* IP
|
|
173
|
+
* The protection IP address type of the protection package. Valid values:
|
|
174
|
+
* - `IPv4`
|
|
175
|
+
* - `IPv6`
|
|
151
176
|
*/
|
|
152
177
|
ipType: pulumi.Input<string>;
|
|
153
178
|
/**
|
|
154
|
-
*
|
|
179
|
+
* Field `name` has been deprecated from provider version 1.259.0. New field `instanceName` instead.
|
|
180
|
+
*
|
|
181
|
+
* @deprecated Field `name` has been deprecated from provider version 1.259.0. New field `instanceName` instead.
|
|
155
182
|
*/
|
|
156
183
|
name?: pulumi.Input<string>;
|
|
157
184
|
/**
|
|
158
|
-
*
|
|
185
|
+
* The normal clean bandwidth. Unit: Mbit/s.
|
|
159
186
|
*/
|
|
160
187
|
normalBandwidth: pulumi.Input<number>;
|
|
161
188
|
/**
|
|
@@ -163,7 +190,17 @@ export interface DdosBgpInstanceArgs {
|
|
|
163
190
|
*/
|
|
164
191
|
period?: pulumi.Input<number>;
|
|
165
192
|
/**
|
|
166
|
-
*
|
|
193
|
+
* Resource Group ID
|
|
194
|
+
*/
|
|
195
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The key of the tag that is added to the Anti-DDoS Origin instance.
|
|
198
|
+
*/
|
|
199
|
+
tags?: pulumi.Input<{
|
|
200
|
+
[key: string]: pulumi.Input<string>;
|
|
201
|
+
}>;
|
|
202
|
+
/**
|
|
203
|
+
* The protection package type of the DDoS native protection instance. Default value: `Enterprise`. Valid values: `Enterprise`, `Professional`.
|
|
167
204
|
*/
|
|
168
205
|
type?: pulumi.Input<string>;
|
|
169
206
|
}
|
package/dns/ddosBgpInstance.js
CHANGED
|
@@ -6,37 +6,12 @@ exports.DdosBgpInstance = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Anti-DDoS Advanced instance resource. "Ddosbgp" is the short term of this product.
|
|
10
|
-
*
|
|
11
|
-
* > **NOTE:** Available since v1.183.0.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* Basic Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
20
|
-
*
|
|
21
|
-
* const config = new pulumi.Config();
|
|
22
|
-
* const name = config.get("name") || "tf-example";
|
|
23
|
-
* const instance = new alicloud.ddos.DdosBgpInstance("instance", {
|
|
24
|
-
* name: name,
|
|
25
|
-
* baseBandwidth: 20,
|
|
26
|
-
* bandwidth: -1,
|
|
27
|
-
* ipCount: 100,
|
|
28
|
-
* ipType: "IPv4",
|
|
29
|
-
* normalBandwidth: 100,
|
|
30
|
-
* type: "Enterprise",
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
9
|
* ## Import
|
|
35
10
|
*
|
|
36
|
-
*
|
|
11
|
+
* Anti-DDoS Pro (DdosBgp) Instance can be imported using the id, e.g.
|
|
37
12
|
*
|
|
38
13
|
* ```sh
|
|
39
|
-
* $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example
|
|
14
|
+
* $ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example <id>
|
|
40
15
|
* ```
|
|
41
16
|
*
|
|
42
17
|
* @deprecated alicloud.dns.DdosBgpInstance has been deprecated in favor of alicloud.ddos.DdosBgpInstance
|
|
@@ -74,11 +49,15 @@ class DdosBgpInstance extends pulumi.CustomResource {
|
|
|
74
49
|
const state = argsOrState;
|
|
75
50
|
resourceInputs["bandwidth"] = state?.bandwidth;
|
|
76
51
|
resourceInputs["baseBandwidth"] = state?.baseBandwidth;
|
|
52
|
+
resourceInputs["instanceName"] = state?.instanceName;
|
|
77
53
|
resourceInputs["ipCount"] = state?.ipCount;
|
|
78
54
|
resourceInputs["ipType"] = state?.ipType;
|
|
79
55
|
resourceInputs["name"] = state?.name;
|
|
80
56
|
resourceInputs["normalBandwidth"] = state?.normalBandwidth;
|
|
81
57
|
resourceInputs["period"] = state?.period;
|
|
58
|
+
resourceInputs["resourceGroupId"] = state?.resourceGroupId;
|
|
59
|
+
resourceInputs["status"] = state?.status;
|
|
60
|
+
resourceInputs["tags"] = state?.tags;
|
|
82
61
|
resourceInputs["type"] = state?.type;
|
|
83
62
|
}
|
|
84
63
|
else {
|
|
@@ -97,12 +76,16 @@ class DdosBgpInstance extends pulumi.CustomResource {
|
|
|
97
76
|
}
|
|
98
77
|
resourceInputs["bandwidth"] = args?.bandwidth;
|
|
99
78
|
resourceInputs["baseBandwidth"] = args?.baseBandwidth;
|
|
79
|
+
resourceInputs["instanceName"] = args?.instanceName;
|
|
100
80
|
resourceInputs["ipCount"] = args?.ipCount;
|
|
101
81
|
resourceInputs["ipType"] = args?.ipType;
|
|
102
82
|
resourceInputs["name"] = args?.name;
|
|
103
83
|
resourceInputs["normalBandwidth"] = args?.normalBandwidth;
|
|
104
84
|
resourceInputs["period"] = args?.period;
|
|
85
|
+
resourceInputs["resourceGroupId"] = args?.resourceGroupId;
|
|
86
|
+
resourceInputs["tags"] = args?.tags;
|
|
105
87
|
resourceInputs["type"] = args?.type;
|
|
88
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
106
89
|
}
|
|
107
90
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
108
91
|
super(DdosBgpInstance.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ddosBgpInstance.js","sourceRoot":"","sources":["../../dns/ddosBgpInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,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