@pulumi/alicloud 3.18.0 → 3.19.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/actiontrail/trail.d.ts +1 -1
- package/actiontrail/trailDeprecated.d.ts +1 -1
- package/alikafka/saslUser.d.ts +17 -3
- package/alikafka/saslUser.js +7 -3
- package/alikafka/saslUser.js.map +1 -1
- package/bastionhost/instance.d.ts +0 -9
- package/bastionhost/instance.js.map +1 -1
- package/cen/instance.d.ts +3 -3
- package/cen/transitRouterPeerAttachment.d.ts +1 -1
- package/cloudfirewall/instance.d.ts +0 -2
- package/cloudfirewall/instance.js +0 -2
- package/cloudfirewall/instance.js.map +1 -1
- package/databasefilesystem/getSnapshots.d.ts +82 -0
- package/databasefilesystem/getSnapshots.js +53 -0
- package/databasefilesystem/getSnapshots.js.map +1 -0
- package/databasefilesystem/index.d.ts +1 -0
- package/databasefilesystem/index.js +1 -0
- package/databasefilesystem/index.js.map +1 -1
- package/dcdn/domain.d.ts +9 -0
- package/dcdn/domain.js.map +1 -1
- package/dcdn/getIpaDomains.d.ts +91 -0
- package/dcdn/getIpaDomains.js +54 -0
- package/dcdn/getIpaDomains.js.map +1 -0
- package/dcdn/index.d.ts +1 -0
- package/dcdn/index.js +1 -0
- package/dcdn/index.js.map +1 -1
- package/dts/getMigrationJobs.d.ts +74 -0
- package/dts/getMigrationJobs.js +45 -0
- package/dts/getMigrationJobs.js.map +1 -0
- package/dts/index.d.ts +1 -0
- package/dts/index.js +1 -0
- package/dts/index.js.map +1 -1
- package/dts/synchronizationInstance.d.ts +24 -0
- package/dts/synchronizationInstance.js +4 -0
- package/dts/synchronizationInstance.js.map +1 -1
- package/dts/synchronizationJob.d.ts +2 -2
- package/dts/synchronizationJob.js +3 -0
- package/dts/synchronizationJob.js.map +1 -1
- package/ecp/getInstanceTypes.d.ts +45 -0
- package/ecp/getInstanceTypes.js +41 -0
- package/ecp/getInstanceTypes.js.map +1 -0
- package/ecp/getInstances.d.ts +120 -0
- package/ecp/getInstances.js +39 -0
- package/ecp/getInstances.js.map +1 -0
- package/ecp/getZones.d.ts +45 -0
- package/ecp/getZones.js +41 -0
- package/ecp/getZones.js.map +1 -0
- package/ecp/index.d.ts +3 -0
- package/ecp/index.js +3 -0
- package/ecp/index.js.map +1 -1
- package/ecs/disk.d.ts +1 -1
- package/ecs/ecsDisk.d.ts +10 -1
- package/ecs/ecsDisk.js.map +1 -1
- package/ecs/ecsImageComponent.d.ts +165 -0
- package/ecs/ecsImageComponent.js +103 -0
- package/ecs/ecsImageComponent.js.map +1 -0
- package/ecs/ecsSnapshotGroup.d.ts +251 -0
- package/ecs/ecsSnapshotGroup.js +160 -0
- package/ecs/ecsSnapshotGroup.js.map +1 -0
- package/ecs/getEcsImageComponents.d.ts +111 -0
- package/ecs/getEcsImageComponents.js +52 -0
- package/ecs/getEcsImageComponents.js.map +1 -0
- package/ecs/getEcsSnapshotGroups.d.ts +119 -0
- package/ecs/getEcsSnapshotGroups.js +60 -0
- package/ecs/getEcsSnapshotGroups.js.map +1 -0
- package/ecs/getEcsStorageCapacityUnits.d.ts +76 -0
- package/ecs/getEcsStorageCapacityUnits.js +47 -0
- package/ecs/getEcsStorageCapacityUnits.js.map +1 -0
- package/ecs/index.d.ts +5 -0
- package/ecs/index.js +13 -0
- package/ecs/index.js.map +1 -1
- package/ess/scalingGroup.d.ts +39 -3
- package/ess/scalingGroup.js +4 -0
- package/ess/scalingGroup.js.map +1 -1
- package/getMscSubContactVerificationMessage.d.ts +71 -0
- package/getMscSubContactVerificationMessage.js +46 -0
- package/getMscSubContactVerificationMessage.js.map +1 -0
- package/gpdb/instance.d.ts +2 -2
- package/gpdb/instance.js +6 -0
- package/gpdb/instance.js.map +1 -1
- package/hbase/instance.d.ts +18 -3
- package/hbase/instance.js.map +1 -1
- package/hbr/ecsBackupPlan.d.ts +3 -3
- package/hbr/getBackupJobs.d.ts +2 -2
- package/hbr/getRestoreJobs.d.ts +4 -4
- package/hbr/getSnapshots.d.ts +0 -9
- package/hbr/getSnapshots.js +0 -1
- package/hbr/getSnapshots.js.map +1 -1
- package/hbr/nasBackupPlan.d.ts +0 -9
- package/hbr/nasBackupPlan.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/mongodb/getShardingNetworkPrivateAddresses.d.ts +59 -0
- package/mongodb/getShardingNetworkPrivateAddresses.js +30 -0
- package/mongodb/getShardingNetworkPrivateAddresses.js.map +1 -0
- package/mongodb/index.d.ts +1 -0
- package/mongodb/index.js +1 -0
- package/mongodb/index.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +3 -3
- package/mse/getGateways.d.ts +109 -0
- package/mse/getGateways.js +56 -0
- package/mse/getGateways.js.map +1 -0
- package/mse/index.d.ts +1 -0
- package/mse/index.js +1 -0
- package/mse/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/sae/applicationScalingRule.d.ts +234 -0
- package/sae/applicationScalingRule.js +173 -0
- package/sae/applicationScalingRule.js.map +1 -0
- package/sae/getApplicationScalingRules.d.ts +68 -0
- package/sae/getApplicationScalingRules.js +47 -0
- package/sae/getApplicationScalingRules.js.map +1 -0
- package/sae/getGreyTagRoutes.d.ts +75 -0
- package/sae/getGreyTagRoutes.js +45 -0
- package/sae/getGreyTagRoutes.js.map +1 -0
- package/sae/greyTagRoute.d.ts +112 -0
- package/sae/greyTagRoute.js +78 -0
- package/sae/greyTagRoute.js.map +1 -0
- package/sae/index.d.ts +4 -0
- package/sae/index.js +12 -0
- package/sae/index.js.map +1 -1
- package/sddp/dataLimit.d.ts +171 -0
- package/sddp/dataLimit.js +85 -0
- package/sddp/dataLimit.js.map +1 -0
- package/sddp/getDataLimits.d.ts +71 -0
- package/sddp/getDataLimits.js +43 -0
- package/sddp/getDataLimits.js.map +1 -0
- package/sddp/index.d.ts +2 -0
- package/sddp/index.js +6 -0
- package/sddp/index.js.map +1 -1
- package/types/input.d.ts +190 -5
- package/types/output.d.ts +1185 -52
- package/vpn/customerGateway.d.ts +12 -0
- package/vpn/customerGateway.js +2 -0
- package/vpn/customerGateway.js.map +1 -1
- package/vpn/gateway.d.ts +36 -0
- package/vpn/gateway.js +4 -0
- package/vpn/gateway.js.map +1 -1
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Data Security Center Data Limit resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about Data Security Center Data Limit and how to use it, see [What is Data Limit](https://www.alibabacloud.com/help/en/doc-detail/158987.html).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available in v1.159.0+.
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Data Security Center Data Limit can be imported using the id, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import alicloud:sddp/dataLimit:DataLimit example <id>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class DataLimit extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing DataLimit resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataLimitState, opts?: pulumi.CustomResourceOptions): DataLimit;
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of DataLimit. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
static isInstance(obj: any): obj is DataLimit;
|
|
33
|
+
/**
|
|
34
|
+
* Whether to enable the log auditing feature. Valid values: `0`, `1`.
|
|
35
|
+
*/
|
|
36
|
+
readonly auditStatus: pulumi.Output<number>;
|
|
37
|
+
/**
|
|
38
|
+
* The type of the database. Valid values: `MySQL`, `SQLServer`.
|
|
39
|
+
*/
|
|
40
|
+
readonly engineType: pulumi.Output<string | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* The lang.
|
|
43
|
+
*/
|
|
44
|
+
readonly lang: pulumi.Output<string | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`logStoreDay` is valid when the `auditStatus` is `1`.
|
|
47
|
+
*/
|
|
48
|
+
readonly logStoreDay: pulumi.Output<number | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of the data asset.
|
|
51
|
+
*/
|
|
52
|
+
readonly parentId: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The password that is used to connect to the database.
|
|
55
|
+
*/
|
|
56
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The port that is used to connect to the database.
|
|
59
|
+
*/
|
|
60
|
+
readonly port: pulumi.Output<number | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
|
|
63
|
+
*/
|
|
64
|
+
readonly resourceType: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The region ID of the data asset.
|
|
67
|
+
*/
|
|
68
|
+
readonly serviceRegionId: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the service to which the data asset belongs.
|
|
71
|
+
*/
|
|
72
|
+
readonly userName: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a DataLimit resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args: DataLimitArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering DataLimit resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface DataLimitState {
|
|
86
|
+
/**
|
|
87
|
+
* Whether to enable the log auditing feature. Valid values: `0`, `1`.
|
|
88
|
+
*/
|
|
89
|
+
auditStatus?: pulumi.Input<number>;
|
|
90
|
+
/**
|
|
91
|
+
* The type of the database. Valid values: `MySQL`, `SQLServer`.
|
|
92
|
+
*/
|
|
93
|
+
engineType?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The lang.
|
|
96
|
+
*/
|
|
97
|
+
lang?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`logStoreDay` is valid when the `auditStatus` is `1`.
|
|
100
|
+
*/
|
|
101
|
+
logStoreDay?: pulumi.Input<number>;
|
|
102
|
+
/**
|
|
103
|
+
* The ID of the data asset.
|
|
104
|
+
*/
|
|
105
|
+
parentId?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The password that is used to connect to the database.
|
|
108
|
+
*/
|
|
109
|
+
password?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The port that is used to connect to the database.
|
|
112
|
+
*/
|
|
113
|
+
port?: pulumi.Input<number>;
|
|
114
|
+
/**
|
|
115
|
+
* The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
|
|
116
|
+
*/
|
|
117
|
+
resourceType?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The region ID of the data asset.
|
|
120
|
+
*/
|
|
121
|
+
serviceRegionId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The name of the service to which the data asset belongs.
|
|
124
|
+
*/
|
|
125
|
+
userName?: pulumi.Input<string>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The set of arguments for constructing a DataLimit resource.
|
|
129
|
+
*/
|
|
130
|
+
export interface DataLimitArgs {
|
|
131
|
+
/**
|
|
132
|
+
* Whether to enable the log auditing feature. Valid values: `0`, `1`.
|
|
133
|
+
*/
|
|
134
|
+
auditStatus?: pulumi.Input<number>;
|
|
135
|
+
/**
|
|
136
|
+
* The type of the database. Valid values: `MySQL`, `SQLServer`.
|
|
137
|
+
*/
|
|
138
|
+
engineType?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The lang.
|
|
141
|
+
*/
|
|
142
|
+
lang?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`logStoreDay` is valid when the `auditStatus` is `1`.
|
|
145
|
+
*/
|
|
146
|
+
logStoreDay?: pulumi.Input<number>;
|
|
147
|
+
/**
|
|
148
|
+
* The ID of the data asset.
|
|
149
|
+
*/
|
|
150
|
+
parentId?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The password that is used to connect to the database.
|
|
153
|
+
*/
|
|
154
|
+
password?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The port that is used to connect to the database.
|
|
157
|
+
*/
|
|
158
|
+
port?: pulumi.Input<number>;
|
|
159
|
+
/**
|
|
160
|
+
* The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
|
|
161
|
+
*/
|
|
162
|
+
resourceType: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The region ID of the data asset.
|
|
165
|
+
*/
|
|
166
|
+
serviceRegionId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The name of the service to which the data asset belongs.
|
|
169
|
+
*/
|
|
170
|
+
userName?: pulumi.Input<string>;
|
|
171
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.DataLimit = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Data Security Center Data Limit resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about Data Security Center Data Limit and how to use it, see [What is Data Limit](https://www.alibabacloud.com/help/en/doc-detail/158987.html).
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Available in v1.159.0+.
|
|
14
|
+
*
|
|
15
|
+
* ## Import
|
|
16
|
+
*
|
|
17
|
+
* Data Security Center Data Limit can be imported using the id, e.g.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import alicloud:sddp/dataLimit:DataLimit example <id>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
class DataLimit extends pulumi.CustomResource {
|
|
24
|
+
constructor(name, argsOrState, opts) {
|
|
25
|
+
let resourceInputs = {};
|
|
26
|
+
opts = opts || {};
|
|
27
|
+
if (opts.id) {
|
|
28
|
+
const state = argsOrState;
|
|
29
|
+
resourceInputs["auditStatus"] = state ? state.auditStatus : undefined;
|
|
30
|
+
resourceInputs["engineType"] = state ? state.engineType : undefined;
|
|
31
|
+
resourceInputs["lang"] = state ? state.lang : undefined;
|
|
32
|
+
resourceInputs["logStoreDay"] = state ? state.logStoreDay : undefined;
|
|
33
|
+
resourceInputs["parentId"] = state ? state.parentId : undefined;
|
|
34
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
35
|
+
resourceInputs["port"] = state ? state.port : undefined;
|
|
36
|
+
resourceInputs["resourceType"] = state ? state.resourceType : undefined;
|
|
37
|
+
resourceInputs["serviceRegionId"] = state ? state.serviceRegionId : undefined;
|
|
38
|
+
resourceInputs["userName"] = state ? state.userName : undefined;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if ((!args || args.resourceType === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'resourceType'");
|
|
44
|
+
}
|
|
45
|
+
resourceInputs["auditStatus"] = args ? args.auditStatus : undefined;
|
|
46
|
+
resourceInputs["engineType"] = args ? args.engineType : undefined;
|
|
47
|
+
resourceInputs["lang"] = args ? args.lang : undefined;
|
|
48
|
+
resourceInputs["logStoreDay"] = args ? args.logStoreDay : undefined;
|
|
49
|
+
resourceInputs["parentId"] = args ? args.parentId : undefined;
|
|
50
|
+
resourceInputs["password"] = args ? args.password : undefined;
|
|
51
|
+
resourceInputs["port"] = args ? args.port : undefined;
|
|
52
|
+
resourceInputs["resourceType"] = args ? args.resourceType : undefined;
|
|
53
|
+
resourceInputs["serviceRegionId"] = args ? args.serviceRegionId : undefined;
|
|
54
|
+
resourceInputs["userName"] = args ? args.userName : undefined;
|
|
55
|
+
}
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
super(DataLimit.__pulumiType, name, resourceInputs, opts);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing DataLimit resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name, id, state, opts) {
|
|
69
|
+
return new DataLimit(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if the given object is an instance of DataLimit. This is designed to work even
|
|
73
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
+
*/
|
|
75
|
+
static isInstance(obj) {
|
|
76
|
+
if (obj === undefined || obj === null) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
return obj['__pulumiType'] === DataLimit.__pulumiType;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.DataLimit = DataLimit;
|
|
83
|
+
/** @internal */
|
|
84
|
+
DataLimit.__pulumiType = 'alicloud:sddp/dataLimit:DataLimit';
|
|
85
|
+
//# sourceMappingURL=dataLimit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataLimit.js","sourceRoot":"","sources":["../../sddp/dataLimit.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA6EhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,C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U,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA+GC;AAjGG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the Sddp Data Limits of the current Alibaba Cloud user.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** Available in v1.159.0+.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
15
|
+
*
|
|
16
|
+
* const ids = alicloud.sddp.getDataLimits({});
|
|
17
|
+
* export const sddpDataLimitId1 = ids.then(ids => ids.limits?[0]?.id);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getDataLimits(args?: GetDataLimitsArgs, opts?: pulumi.InvokeOptions): Promise<GetDataLimitsResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getDataLimits.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetDataLimitsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* A list of Data Limit IDs.
|
|
27
|
+
*/
|
|
28
|
+
ids?: string[];
|
|
29
|
+
outputFile?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the data asset.
|
|
32
|
+
*/
|
|
33
|
+
parentId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The type of the service to which the data asset belongs.
|
|
36
|
+
*/
|
|
37
|
+
resourceType?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getDataLimits.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetDataLimitsResult {
|
|
43
|
+
/**
|
|
44
|
+
* The provider-assigned unique ID for this managed resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly ids: string[];
|
|
48
|
+
readonly limits: outputs.sddp.GetDataLimitsLimit[];
|
|
49
|
+
readonly outputFile?: string;
|
|
50
|
+
readonly parentId?: string;
|
|
51
|
+
readonly resourceType?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function getDataLimitsOutput(args?: GetDataLimitsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataLimitsResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getDataLimits.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetDataLimitsOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* A list of Data Limit IDs.
|
|
60
|
+
*/
|
|
61
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
62
|
+
outputFile?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The ID of the data asset.
|
|
65
|
+
*/
|
|
66
|
+
parentId?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The type of the service to which the data asset belongs.
|
|
69
|
+
*/
|
|
70
|
+
resourceType?: pulumi.Input<string>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.getDataLimitsOutput = exports.getDataLimits = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the Sddp Data Limits of the current Alibaba Cloud user.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Available in v1.159.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 ids = alicloud.sddp.getDataLimits({});
|
|
22
|
+
* export const sddpDataLimitId1 = ids.then(ids => ids.limits?[0]?.id);
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getDataLimits(args, opts) {
|
|
26
|
+
args = args || {};
|
|
27
|
+
if (!opts) {
|
|
28
|
+
opts = {};
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
return pulumi.runtime.invoke("alicloud:sddp/getDataLimits:getDataLimits", {
|
|
32
|
+
"ids": args.ids,
|
|
33
|
+
"outputFile": args.outputFile,
|
|
34
|
+
"parentId": args.parentId,
|
|
35
|
+
"resourceType": args.resourceType,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getDataLimits = getDataLimits;
|
|
39
|
+
function getDataLimitsOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => getDataLimits(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getDataLimitsOutput = getDataLimitsOutput;
|
|
43
|
+
//# sourceMappingURL=getDataLimits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataLimits.js","sourceRoot":"","sources":["../../sddp/getDataLimits.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,sCAaC;AAoCD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/sddp/index.d.ts
CHANGED
package/sddp/index.js
CHANGED
|
@@ -20,13 +20,16 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
20
20
|
const utilities = require("../utilities");
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./config"), exports);
|
|
23
|
+
__exportStar(require("./dataLimit"), exports);
|
|
23
24
|
__exportStar(require("./getConfigs"), exports);
|
|
25
|
+
__exportStar(require("./getDataLimits"), exports);
|
|
24
26
|
__exportStar(require("./getInstances"), exports);
|
|
25
27
|
__exportStar(require("./getRules"), exports);
|
|
26
28
|
__exportStar(require("./instance"), exports);
|
|
27
29
|
__exportStar(require("./rule"), exports);
|
|
28
30
|
// Import resources to register:
|
|
29
31
|
const config_1 = require("./config");
|
|
32
|
+
const dataLimit_1 = require("./dataLimit");
|
|
30
33
|
const instance_1 = require("./instance");
|
|
31
34
|
const rule_1 = require("./rule");
|
|
32
35
|
const _module = {
|
|
@@ -35,6 +38,8 @@ const _module = {
|
|
|
35
38
|
switch (type) {
|
|
36
39
|
case "alicloud:sddp/config:Config":
|
|
37
40
|
return new config_1.Config(name, undefined, { urn });
|
|
41
|
+
case "alicloud:sddp/dataLimit:DataLimit":
|
|
42
|
+
return new dataLimit_1.DataLimit(name, undefined, { urn });
|
|
38
43
|
case "alicloud:sddp/instance:Instance":
|
|
39
44
|
return new instance_1.Instance(name, undefined, { urn });
|
|
40
45
|
case "alicloud:sddp/rule:Rule":
|
|
@@ -45,6 +50,7 @@ const _module = {
|
|
|
45
50
|
},
|
|
46
51
|
};
|
|
47
52
|
pulumi.runtime.registerResourceModule("alicloud", "sddp/config", _module);
|
|
53
|
+
pulumi.runtime.registerResourceModule("alicloud", "sddp/dataLimit", _module);
|
|
48
54
|
pulumi.runtime.registerResourceModule("alicloud", "sddp/instance", _module);
|
|
49
55
|
pulumi.runtime.registerResourceModule("alicloud", "sddp/rule", _module);
|
|
50
56
|
//# sourceMappingURL=index.js.map
|
package/sddp/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../sddp/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,+CAA6B;AAC7B,iDAA+B;AAC/B,6CAA2B;AAC3B,6CAA2B;AAC3B,yCAAuB;AAEvB,gCAAgC;AAChC,qCAAkC;AAClC,yCAAsC;AACtC,iCAA8B;AAE9B,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,eAAM,CAA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E,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,mCAAmC;gBACpC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,WAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
|
package/types/input.d.ts
CHANGED
|
@@ -2659,18 +2659,18 @@ export declare namespace ecs {
|
|
|
2659
2659
|
*/
|
|
2660
2660
|
lockReason?: string;
|
|
2661
2661
|
}
|
|
2662
|
-
interface GetDisksOperationLock {
|
|
2663
|
-
lockReason?: string;
|
|
2664
|
-
}
|
|
2665
2662
|
interface GetDisksOperationLockArgs {
|
|
2666
2663
|
lockReason?: pulumi.Input<string>;
|
|
2667
2664
|
}
|
|
2668
|
-
interface
|
|
2669
|
-
lockReason?:
|
|
2665
|
+
interface GetDisksOperationLock {
|
|
2666
|
+
lockReason?: string;
|
|
2670
2667
|
}
|
|
2671
2668
|
interface GetEcsDisksOperationLock {
|
|
2672
2669
|
lockReason?: string;
|
|
2673
2670
|
}
|
|
2671
|
+
interface GetEcsDisksOperationLockArgs {
|
|
2672
|
+
lockReason?: pulumi.Input<string>;
|
|
2673
|
+
}
|
|
2674
2674
|
interface ImageDiskDeviceMapping {
|
|
2675
2675
|
/**
|
|
2676
2676
|
* Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz.
|
|
@@ -4617,6 +4617,191 @@ export declare namespace sae {
|
|
|
4617
4617
|
*/
|
|
4618
4618
|
targetPort?: pulumi.Input<number>;
|
|
4619
4619
|
}
|
|
4620
|
+
interface ApplicationScalingRuleScalingRuleMetric {
|
|
4621
|
+
/**
|
|
4622
|
+
* Maximum number of instances applied.
|
|
4623
|
+
*/
|
|
4624
|
+
maxReplicas?: pulumi.Input<number>;
|
|
4625
|
+
/**
|
|
4626
|
+
* Indicator rule configuration. See the following `Block metrics`.
|
|
4627
|
+
*/
|
|
4628
|
+
metrics?: pulumi.Input<pulumi.Input<inputs.sae.ApplicationScalingRuleScalingRuleMetricMetric>[]>;
|
|
4629
|
+
/**
|
|
4630
|
+
* Minimum number of instances applied.
|
|
4631
|
+
*/
|
|
4632
|
+
minReplicas?: pulumi.Input<number>;
|
|
4633
|
+
/**
|
|
4634
|
+
* Apply shrink rules. See the following `Block scaleDownRules`.
|
|
4635
|
+
*/
|
|
4636
|
+
scaleDownRules?: pulumi.Input<inputs.sae.ApplicationScalingRuleScalingRuleMetricScaleDownRules>;
|
|
4637
|
+
/**
|
|
4638
|
+
* Apply expansion rules. See the following `Block scaleUpRules`.
|
|
4639
|
+
*/
|
|
4640
|
+
scaleUpRules?: pulumi.Input<inputs.sae.ApplicationScalingRuleScalingRuleMetricScaleUpRules>;
|
|
4641
|
+
}
|
|
4642
|
+
interface ApplicationScalingRuleScalingRuleMetricMetric {
|
|
4643
|
+
/**
|
|
4644
|
+
* According to different `metricType`, set the target value of the corresponding monitoring index.
|
|
4645
|
+
*/
|
|
4646
|
+
metricTargetAverageUtilization?: pulumi.Input<number>;
|
|
4647
|
+
/**
|
|
4648
|
+
* Monitoring indicator trigger condition. Valid values: `CPU`, `MEMORY`, `tcpActiveConn`, `SLB_QPS` and `SLB_RT`. The values are described as follows:
|
|
4649
|
+
* - CPU: CPU usage.
|
|
4650
|
+
* - MEMORY: MEMORY usage.
|
|
4651
|
+
* - tcpActiveConn: the average number of TCP active connections for a single instance in 30 seconds.
|
|
4652
|
+
* - SLB_QPS: the average public network SLB QPS of a single instance within 15 seconds.
|
|
4653
|
+
* - SLB_RT: the average response time of public network SLB within 15 seconds.
|
|
4654
|
+
*/
|
|
4655
|
+
metricType?: pulumi.Input<string>;
|
|
4656
|
+
}
|
|
4657
|
+
interface ApplicationScalingRuleScalingRuleMetricScaleDownRules {
|
|
4658
|
+
/**
|
|
4659
|
+
* Whether shrinkage is prohibited.
|
|
4660
|
+
*/
|
|
4661
|
+
disabled?: pulumi.Input<boolean>;
|
|
4662
|
+
/**
|
|
4663
|
+
* Cooling time for expansion or contraction. Valid values: `0` to `3600`. Unit: seconds. The default is `0` seconds.
|
|
4664
|
+
*/
|
|
4665
|
+
stabilizationWindowSeconds?: pulumi.Input<number>;
|
|
4666
|
+
/**
|
|
4667
|
+
* Elastic expansion or contraction step size. the maximum number of instances to be scaled in per unit time.
|
|
4668
|
+
*/
|
|
4669
|
+
step?: pulumi.Input<number>;
|
|
4670
|
+
}
|
|
4671
|
+
interface ApplicationScalingRuleScalingRuleMetricScaleUpRules {
|
|
4672
|
+
/**
|
|
4673
|
+
* Whether shrinkage is prohibited.
|
|
4674
|
+
*/
|
|
4675
|
+
disabled?: pulumi.Input<boolean>;
|
|
4676
|
+
/**
|
|
4677
|
+
* Cooling time for expansion or contraction. Valid values: `0` to `3600`. Unit: seconds. The default is `0` seconds.
|
|
4678
|
+
*/
|
|
4679
|
+
stabilizationWindowSeconds?: pulumi.Input<number>;
|
|
4680
|
+
/**
|
|
4681
|
+
* Elastic expansion or contraction step size. the maximum number of instances to be scaled in per unit time.
|
|
4682
|
+
*/
|
|
4683
|
+
step?: pulumi.Input<number>;
|
|
4684
|
+
}
|
|
4685
|
+
interface ApplicationScalingRuleScalingRuleTimer {
|
|
4686
|
+
/**
|
|
4687
|
+
* The Start date. When the `beginDate` and `endDate` values are empty. it indicates long-term execution and is the default value.
|
|
4688
|
+
*/
|
|
4689
|
+
beginDate?: pulumi.Input<string>;
|
|
4690
|
+
/**
|
|
4691
|
+
* The End Date. When the `beginDate` and `endDate` values are empty. it indicates long-term execution and is the default value.
|
|
4692
|
+
*/
|
|
4693
|
+
endDate?: pulumi.Input<string>;
|
|
4694
|
+
/**
|
|
4695
|
+
* The period in which a timed elastic scaling strategy is executed.
|
|
4696
|
+
*/
|
|
4697
|
+
period?: pulumi.Input<string>;
|
|
4698
|
+
/**
|
|
4699
|
+
* Resilient Scaling Strategy Trigger Timing. See the following `Block schedules`.
|
|
4700
|
+
*/
|
|
4701
|
+
schedules?: pulumi.Input<pulumi.Input<inputs.sae.ApplicationScalingRuleScalingRuleTimerSchedule>[]>;
|
|
4702
|
+
}
|
|
4703
|
+
interface ApplicationScalingRuleScalingRuleTimerSchedule {
|
|
4704
|
+
/**
|
|
4705
|
+
* Trigger point in time. When supporting format: minutes, for example: `08:00`.
|
|
4706
|
+
*/
|
|
4707
|
+
atTime?: pulumi.Input<string>;
|
|
4708
|
+
/**
|
|
4709
|
+
* Maximum number of instances applied.
|
|
4710
|
+
*/
|
|
4711
|
+
maxReplicas?: pulumi.Input<number>;
|
|
4712
|
+
/**
|
|
4713
|
+
* Minimum number of instances applied.
|
|
4714
|
+
*/
|
|
4715
|
+
minReplicas?: pulumi.Input<number>;
|
|
4716
|
+
/**
|
|
4717
|
+
* This parameter can specify the number of instances to be applied or the minimum number of surviving instances per deployment. value range [1,50].
|
|
4718
|
+
*/
|
|
4719
|
+
targetReplicas?: pulumi.Input<number>;
|
|
4720
|
+
}
|
|
4721
|
+
interface GreyTagRouteDubboRule {
|
|
4722
|
+
/**
|
|
4723
|
+
* The Conditional Patterns for Grayscale Rules. Valid values: `AND`, `OR`.
|
|
4724
|
+
*/
|
|
4725
|
+
condition?: pulumi.Input<string>;
|
|
4726
|
+
/**
|
|
4727
|
+
* The service group.
|
|
4728
|
+
*/
|
|
4729
|
+
group?: pulumi.Input<string>;
|
|
4730
|
+
/**
|
|
4731
|
+
* A list of conditions items. The details see Block `dubboRulesItems`.
|
|
4732
|
+
*/
|
|
4733
|
+
items?: pulumi.Input<pulumi.Input<inputs.sae.GreyTagRouteDubboRuleItem>[]>;
|
|
4734
|
+
/**
|
|
4735
|
+
* The method name
|
|
4736
|
+
*/
|
|
4737
|
+
methodName?: pulumi.Input<string>;
|
|
4738
|
+
/**
|
|
4739
|
+
* The service name.
|
|
4740
|
+
*/
|
|
4741
|
+
serviceName?: pulumi.Input<string>;
|
|
4742
|
+
/**
|
|
4743
|
+
* The service version.
|
|
4744
|
+
*/
|
|
4745
|
+
version?: pulumi.Input<string>;
|
|
4746
|
+
}
|
|
4747
|
+
interface GreyTagRouteDubboRuleItem {
|
|
4748
|
+
/**
|
|
4749
|
+
* The comparison operator. Valid values: `>`, `<`, `>=`, `<=`, `==`, `!=`.
|
|
4750
|
+
*/
|
|
4751
|
+
cond?: pulumi.Input<string>;
|
|
4752
|
+
/**
|
|
4753
|
+
* The parameter value gets the expression.
|
|
4754
|
+
*/
|
|
4755
|
+
expr?: pulumi.Input<string>;
|
|
4756
|
+
/**
|
|
4757
|
+
* The parameter number.
|
|
4758
|
+
*/
|
|
4759
|
+
index?: pulumi.Input<number>;
|
|
4760
|
+
/**
|
|
4761
|
+
* The operator. Valid values: `rawvalue`, `list`, `mod`, `deterministicProportionalSteamingDivision`
|
|
4762
|
+
*/
|
|
4763
|
+
operator?: pulumi.Input<string>;
|
|
4764
|
+
/**
|
|
4765
|
+
* The value of the parameter.
|
|
4766
|
+
*/
|
|
4767
|
+
value?: pulumi.Input<string>;
|
|
4768
|
+
}
|
|
4769
|
+
interface GreyTagRouteScRule {
|
|
4770
|
+
/**
|
|
4771
|
+
* The conditional Patterns for Grayscale Rules. Valid values: `AND`, `OR`.
|
|
4772
|
+
*/
|
|
4773
|
+
condition?: pulumi.Input<string>;
|
|
4774
|
+
/**
|
|
4775
|
+
* A list of conditions items. The details see Block `scRulesItems`.
|
|
4776
|
+
*/
|
|
4777
|
+
items?: pulumi.Input<pulumi.Input<inputs.sae.GreyTagRouteScRuleItem>[]>;
|
|
4778
|
+
/**
|
|
4779
|
+
* The path corresponding to the grayscale rule.
|
|
4780
|
+
*/
|
|
4781
|
+
path?: pulumi.Input<string>;
|
|
4782
|
+
}
|
|
4783
|
+
interface GreyTagRouteScRuleItem {
|
|
4784
|
+
/**
|
|
4785
|
+
* The comparison operator. Valid values: `>`, `<`, `>=`, `<=`, `==`, `!=`.
|
|
4786
|
+
*/
|
|
4787
|
+
cond?: pulumi.Input<string>;
|
|
4788
|
+
/**
|
|
4789
|
+
* The name of the parameter.
|
|
4790
|
+
*/
|
|
4791
|
+
name?: pulumi.Input<string>;
|
|
4792
|
+
/**
|
|
4793
|
+
* The operator. Valid values: `rawvalue`, `list`, `mod`, `deterministicProportionalSteamingDivision`
|
|
4794
|
+
*/
|
|
4795
|
+
operator?: pulumi.Input<string>;
|
|
4796
|
+
/**
|
|
4797
|
+
* The compare types. Valid values: `param`, `cookie`, `header`.
|
|
4798
|
+
*/
|
|
4799
|
+
type?: pulumi.Input<string>;
|
|
4800
|
+
/**
|
|
4801
|
+
* The value of the parameter.
|
|
4802
|
+
*/
|
|
4803
|
+
value?: pulumi.Input<string>;
|
|
4804
|
+
}
|
|
4620
4805
|
interface IngressDefaultRule {
|
|
4621
4806
|
/**
|
|
4622
4807
|
* Target application ID.
|