@alicloud/apig20240327 2.0.0 → 2.0.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/dist/client.d.ts +89 -0
- package/dist/client.js +160 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +206 -0
package/dist/client.d.ts
CHANGED
|
@@ -767,6 +767,47 @@ export declare class JwtIdentityConfig extends $tea.Model {
|
|
|
767
767
|
[key: string]: any;
|
|
768
768
|
});
|
|
769
769
|
}
|
|
770
|
+
export declare class ParentResourceInfo extends $tea.Model {
|
|
771
|
+
apiInfo?: HttpApiApiInfo;
|
|
772
|
+
resourceType?: string;
|
|
773
|
+
static names(): {
|
|
774
|
+
[key: string]: string;
|
|
775
|
+
};
|
|
776
|
+
static types(): {
|
|
777
|
+
[key: string]: any;
|
|
778
|
+
};
|
|
779
|
+
constructor(map?: {
|
|
780
|
+
[key: string]: any;
|
|
781
|
+
});
|
|
782
|
+
}
|
|
783
|
+
export declare class PluginClassInfo extends $tea.Model {
|
|
784
|
+
alias?: string;
|
|
785
|
+
configExample?: string;
|
|
786
|
+
description?: string;
|
|
787
|
+
executePriority?: number;
|
|
788
|
+
executeStage?: string;
|
|
789
|
+
imageName?: string;
|
|
790
|
+
innerPlugin?: boolean;
|
|
791
|
+
mode?: string;
|
|
792
|
+
name?: string;
|
|
793
|
+
pluginClassId?: string;
|
|
794
|
+
source?: string;
|
|
795
|
+
supportedMinGatewayVersion?: string;
|
|
796
|
+
type?: string;
|
|
797
|
+
version?: string;
|
|
798
|
+
versionDescription?: string;
|
|
799
|
+
wasmLanguage?: string;
|
|
800
|
+
wasmUrl?: string;
|
|
801
|
+
static names(): {
|
|
802
|
+
[key: string]: string;
|
|
803
|
+
};
|
|
804
|
+
static types(): {
|
|
805
|
+
[key: string]: any;
|
|
806
|
+
};
|
|
807
|
+
constructor(map?: {
|
|
808
|
+
[key: string]: any;
|
|
809
|
+
});
|
|
810
|
+
}
|
|
770
811
|
export declare class PolicyClassInfo extends $tea.Model {
|
|
771
812
|
alias?: string;
|
|
772
813
|
attachableResourceTypes?: string[];
|
|
@@ -829,6 +870,21 @@ export declare class PolicyInfo extends $tea.Model {
|
|
|
829
870
|
[key: string]: any;
|
|
830
871
|
});
|
|
831
872
|
}
|
|
873
|
+
export declare class ResourceInfo extends $tea.Model {
|
|
874
|
+
resourceId?: string;
|
|
875
|
+
resourceName?: string;
|
|
876
|
+
resourceType?: string;
|
|
877
|
+
resourceVersion?: string;
|
|
878
|
+
static names(): {
|
|
879
|
+
[key: string]: string;
|
|
880
|
+
};
|
|
881
|
+
static types(): {
|
|
882
|
+
[key: string]: any;
|
|
883
|
+
};
|
|
884
|
+
constructor(map?: {
|
|
885
|
+
[key: string]: any;
|
|
886
|
+
});
|
|
887
|
+
}
|
|
832
888
|
export declare class ResourceStatistic extends $tea.Model {
|
|
833
889
|
resourceCount?: number;
|
|
834
890
|
resourceType?: string;
|
|
@@ -981,6 +1037,19 @@ export declare class SubDomainInfo extends $tea.Model {
|
|
|
981
1037
|
[key: string]: any;
|
|
982
1038
|
});
|
|
983
1039
|
}
|
|
1040
|
+
export declare class TlsCipherSuitesConfig extends $tea.Model {
|
|
1041
|
+
cipherSuites?: TlsCipherSuitesConfigCipherSuites[];
|
|
1042
|
+
configType?: string;
|
|
1043
|
+
static names(): {
|
|
1044
|
+
[key: string]: string;
|
|
1045
|
+
};
|
|
1046
|
+
static types(): {
|
|
1047
|
+
[key: string]: any;
|
|
1048
|
+
};
|
|
1049
|
+
constructor(map?: {
|
|
1050
|
+
[key: string]: any;
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
984
1053
|
export declare class AddGatewaySecurityGroupRuleRequest extends $tea.Model {
|
|
985
1054
|
/**
|
|
986
1055
|
* @remarks
|
|
@@ -1121,6 +1190,7 @@ export declare class CreateDomainRequest extends $tea.Model {
|
|
|
1121
1190
|
*/
|
|
1122
1191
|
protocol?: string;
|
|
1123
1192
|
resourceGroupId?: string;
|
|
1193
|
+
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
1124
1194
|
/**
|
|
1125
1195
|
* @remarks
|
|
1126
1196
|
* Maximum TLS protocol version, supports up to TLS 1.3.
|
|
@@ -2562,6 +2632,7 @@ export declare class ListHttpApiOperationsRequest extends $tea.Model {
|
|
|
2562
2632
|
* cs-xxx
|
|
2563
2633
|
*/
|
|
2564
2634
|
withConsumerInfoById?: string;
|
|
2635
|
+
withPluginAttachmentByPluginId?: string;
|
|
2565
2636
|
static names(): {
|
|
2566
2637
|
[key: string]: string;
|
|
2567
2638
|
};
|
|
@@ -2690,6 +2761,7 @@ export declare class ListHttpApisRequest extends $tea.Model {
|
|
|
2690
2761
|
* env-xxx
|
|
2691
2762
|
*/
|
|
2692
2763
|
withAuthPolicyInEnvironmentId?: string;
|
|
2764
|
+
withAuthPolicyList?: boolean;
|
|
2693
2765
|
/**
|
|
2694
2766
|
* @remarks
|
|
2695
2767
|
* Each API information in the response carries a list of authorization rules for the specified consumer ID.
|
|
@@ -2699,6 +2771,8 @@ export declare class ListHttpApisRequest extends $tea.Model {
|
|
|
2699
2771
|
*/
|
|
2700
2772
|
withConsumerInfoById?: string;
|
|
2701
2773
|
withEnvironmentInfo?: boolean;
|
|
2774
|
+
withEnvironmentInfoById?: string;
|
|
2775
|
+
withPluginAttachmentByPluginId?: string;
|
|
2702
2776
|
static names(): {
|
|
2703
2777
|
[key: string]: string;
|
|
2704
2778
|
};
|
|
@@ -2811,6 +2885,7 @@ export declare class UpdateDomainRequest extends $tea.Model {
|
|
|
2811
2885
|
* HTTP
|
|
2812
2886
|
*/
|
|
2813
2887
|
protocol?: string;
|
|
2888
|
+
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
2814
2889
|
/**
|
|
2815
2890
|
* @remarks
|
|
2816
2891
|
* Maximum TLS protocol version, supports up to TLS 1.3.
|
|
@@ -4121,6 +4196,19 @@ export declare class ServicePorts extends $tea.Model {
|
|
|
4121
4196
|
[key: string]: any;
|
|
4122
4197
|
});
|
|
4123
4198
|
}
|
|
4199
|
+
export declare class TlsCipherSuitesConfigCipherSuites extends $tea.Model {
|
|
4200
|
+
name?: string;
|
|
4201
|
+
supportVersions?: string[];
|
|
4202
|
+
static names(): {
|
|
4203
|
+
[key: string]: string;
|
|
4204
|
+
};
|
|
4205
|
+
static types(): {
|
|
4206
|
+
[key: string]: any;
|
|
4207
|
+
};
|
|
4208
|
+
constructor(map?: {
|
|
4209
|
+
[key: string]: any;
|
|
4210
|
+
});
|
|
4211
|
+
}
|
|
4124
4212
|
export declare class CreateDomainResponseBodyData extends $tea.Model {
|
|
4125
4213
|
/**
|
|
4126
4214
|
* @remarks
|
|
@@ -4419,6 +4507,7 @@ export declare class GetDomainResponseBodyData extends $tea.Model {
|
|
|
4419
4507
|
*/
|
|
4420
4508
|
sans?: string;
|
|
4421
4509
|
statisticsInfo?: GetDomainResponseBodyDataStatisticsInfo;
|
|
4510
|
+
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
4422
4511
|
/**
|
|
4423
4512
|
* @remarks
|
|
4424
4513
|
* Maximum TLS protocol version, supports up to TLS 1.3.
|
package/dist/client.js
CHANGED
|
@@ -36,10 +36,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.UpdateHttpApiRequestIngressConfig = exports.UpdateDomainResponseBodyData = exports.ListHttpApisResponseBodyData = exports.ListHttpApiOperationsResponseBodyData = exports.ListGatewaysResponseBodyData = exports.ListGatewaysResponseBodyDataItems = exports.ListGatewaysResponseBodyDataItemsZones = exports.ListGatewaysResponseBodyDataItemsZonesVSwitch = exports.ListGatewaysResponseBodyDataItemsVpc = exports.ListGatewaysResponseBodyDataItemsVSwitch = exports.ListGatewaysResponseBodyDataItemsTags = exports.ListGatewaysResponseBodyDataItemsSecurityGroup = exports.ListGatewaysResponseBodyDataItemsLoadBalancers = exports.ListGatewaysResponseBodyDataItemsLoadBalancersPorts = exports.ListGatewaysRequestTags = exports.ListEnvironmentsResponseBodyData = exports.ListDomainsResponseBodyData = exports.GetGatewayResponseBodyData = exports.GetGatewayResponseBodyDataZones = exports.GetGatewayResponseBodyDataZonesVSwitch = exports.GetGatewayResponseBodyDataVpc = exports.GetGatewayResponseBodyDataVSwitch = exports.GetGatewayResponseBodyDataTags = exports.GetGatewayResponseBodyDataSecurityGroup = exports.GetGatewayResponseBodyDataLoadBalancers = exports.GetGatewayResponseBodyDataLoadBalancersPorts = exports.GetGatewayResponseBodyDataEnvironments = exports.GetEnvironmentResponseBodyData = exports.GetEnvironmentResponseBodyDataStatisticsInfo = exports.GetDomainResponseBodyData = exports.GetDomainResponseBodyDataStatisticsInfo = exports.CreateHttpApiOperationResponseBodyData = exports.CreateHttpApiOperationResponseBodyDataOperations = exports.CreateHttpApiResponseBodyData = exports.CreateHttpApiRequestIngressConfig = exports.CreateEnvironmentResponseBodyData = exports.CreateDomainResponseBodyData = exports.ServicePorts = exports.JwtIdentityConfigJwtTokenConfig = exports.JwtIdentityConfigJwtPayloadConfig = exports.HttpRouteMatchQueryParams = void 0;
|
|
39
|
+
exports.CreateDomainResponseBody = exports.CreateDomainRequest = exports.AddGatewaySecurityGroupRuleResponse = exports.AddGatewaySecurityGroupRuleResponseBody = exports.AddGatewaySecurityGroupRuleRequest = exports.TlsCipherSuitesConfig = exports.SubDomainInfo = exports.SslCertMetaInfo = exports.ServiceLinkedRole = exports.ServiceHealthCheck = exports.Service = exports.ResourceStatistic = exports.ResourceInfo = exports.PolicyInfo = exports.PolicyDetailInfo = exports.PolicyClassInfo = exports.PluginClassInfo = exports.ParentResourceInfo = exports.JwtIdentityConfig = exports.HttpRouteMatch = exports.HttpRoute = exports.HttpDubboTranscoder = exports.HttpApiVersionInfo = exports.HttpApiVersionConfig = exports.HttpApiResponseContract = exports.HttpApiRequestContract = exports.HttpApiPublishRevisionInfo = exports.HttpApiParameter = exports.HttpApiOperationInfo = exports.HttpApiOperation = exports.HttpApiMockContract = exports.HttpApiInfoByName = exports.HttpApiDomainInfo = exports.HttpApiDeployConfig = exports.HttpApiBackendMatchConditions = exports.HttpApiBackendMatchCondition = exports.HttpApiApiInfo = exports.GatewayLogConfig = exports.GatewayInfo = exports.EnvironmentInfo = exports.DomainInfo = exports.DashboardFilter = exports.CheckServiceLinkedRoleResult = exports.Backend = exports.AuthorizationResourceInfo = exports.Attachment = exports.ApiRouteConflictInfo = exports.ApiKeyIdentityConfig = exports.AkSkIdentityConfig = exports.AiServiceConfig = void 0;
|
|
40
|
+
exports.ListHttpApisResponse = exports.ListHttpApisResponseBody = exports.ListHttpApisRequest = exports.ListHttpApiOperationsResponse = exports.ListHttpApiOperationsResponseBody = exports.ListHttpApiOperationsRequest = exports.ListGatewaysResponse = exports.ListGatewaysResponseBody = exports.ListGatewaysShrinkRequest = exports.ListGatewaysRequest = exports.ListEnvironmentsResponse = exports.ListEnvironmentsResponseBody = exports.ListEnvironmentsRequest = exports.ListDomainsResponse = exports.ListDomainsResponseBody = exports.ListDomainsRequest = exports.GetHttpApiRouteResponse = exports.GetHttpApiRouteResponseBody = exports.GetHttpApiOperationResponse = exports.GetHttpApiOperationResponseBody = exports.GetHttpApiResponse = exports.GetHttpApiResponseBody = exports.GetGatewayResponse = exports.GetGatewayResponseBody = exports.GetEnvironmentResponse = exports.GetEnvironmentResponseBody = exports.GetEnvironmentRequest = exports.GetDomainResponse = exports.GetDomainResponseBody = exports.GetDomainRequest = exports.DeleteHttpApiOperationResponse = exports.DeleteHttpApiOperationResponseBody = exports.DeleteHttpApiResponse = exports.DeleteHttpApiResponseBody = exports.DeleteGatewayResponse = exports.DeleteGatewayResponseBody = exports.DeleteEnvironmentResponse = exports.DeleteEnvironmentResponseBody = exports.DeleteDomainResponse = exports.DeleteDomainResponseBody = exports.CreateHttpApiOperationResponse = exports.CreateHttpApiOperationResponseBody = exports.CreateHttpApiOperationRequest = exports.CreateHttpApiResponse = exports.CreateHttpApiResponseBody = exports.CreateHttpApiRequest = exports.CreateEnvironmentResponse = exports.CreateEnvironmentResponseBody = exports.CreateEnvironmentRequest = exports.CreateDomainResponse = void 0;
|
|
41
|
+
exports.HttpRouteEnvironmentInfoGatewayInfo = exports.HttpRouteDomainInfos = exports.HttpDubboTranscoderMothedMapList = exports.HttpDubboTranscoderMothedMapListParamMapsList = exports.HttpApiResponseContractItems = exports.HttpApiRequestContractBody = exports.HttpApiPublishRevisionInfoVipConfigs = exports.HttpApiPublishRevisionInfoServiceConfigs = exports.HttpApiPublishRevisionInfoEnvironmentInfo = exports.HttpApiPublishRevisionInfoEnvironmentInfoGatewayInfo = exports.HttpApiPublishRevisionInfoDnsConfigs = exports.HttpApiPublishRevisionInfoCloudProductConfig = exports.HttpApiPublishRevisionInfoCloudProductConfigMseNacosConfigs = exports.HttpApiPublishRevisionInfoCloudProductConfigFunctionConfigs = exports.HttpApiPublishRevisionInfoCloudProductConfigContainerServiceConfigs = exports.HttpApiDeployConfigServiceConfigs = exports.HttpApiDeployConfigPolicyConfigs = exports.HttpApiDeployConfigPolicyConfigsAiFallbackConfig = exports.HttpApiApiInfoIngressInfo = exports.HttpApiApiInfoIngressInfoK8sClusterInfo = exports.HttpApiApiInfoIngressInfoEnvironmentInfo = exports.HttpApiApiInfoEnvironments = exports.HttpApiApiInfoEnvironmentsSubDomains = exports.HttpApiApiInfoEnvironmentsServiceConfigs = exports.HttpApiApiInfoEnvironmentsGatewayInfo = exports.GatewayLogConfigSlsConfig = exports.GatewayInfoVpcInfo = exports.BackendServices = exports.ApiRouteConflictInfoDomainInfo = exports.ApiRouteConflictInfoConflicts = exports.ApiRouteConflictInfoConflictsRouteInfo = exports.ApiRouteConflictInfoConflictsEnvironmentInfo = exports.ApiRouteConflictInfoConflictsDetails = exports.ApiRouteConflictInfoConflictsDetailsDetectedMatch = exports.ApiRouteConflictInfoConflictsDetailsDetectedMatchOperationInfo = exports.ApiRouteConflictInfoConflictsDetailsConflictingMatch = exports.ApiRouteConflictInfoConflictsDetailsConflictingMatchOperationInfo = exports.ApiKeyIdentityConfigApikeySource = exports.UpdateHttpApiOperationResponse = exports.UpdateHttpApiOperationResponseBody = exports.UpdateHttpApiOperationRequest = exports.UpdateHttpApiResponse = exports.UpdateHttpApiResponseBody = exports.UpdateHttpApiRequest = exports.UpdateEnvironmentResponse = exports.UpdateEnvironmentResponseBody = exports.UpdateEnvironmentRequest = exports.UpdateDomainResponse = exports.UpdateDomainResponseBody = exports.UpdateDomainRequest = void 0;
|
|
42
|
+
exports.UpdateHttpApiRequestIngressConfig = exports.UpdateDomainResponseBodyData = exports.ListHttpApisResponseBodyData = exports.ListHttpApiOperationsResponseBodyData = exports.ListGatewaysResponseBodyData = exports.ListGatewaysResponseBodyDataItems = exports.ListGatewaysResponseBodyDataItemsZones = exports.ListGatewaysResponseBodyDataItemsZonesVSwitch = exports.ListGatewaysResponseBodyDataItemsVpc = exports.ListGatewaysResponseBodyDataItemsVSwitch = exports.ListGatewaysResponseBodyDataItemsTags = exports.ListGatewaysResponseBodyDataItemsSecurityGroup = exports.ListGatewaysResponseBodyDataItemsLoadBalancers = exports.ListGatewaysResponseBodyDataItemsLoadBalancersPorts = exports.ListGatewaysRequestTags = exports.ListEnvironmentsResponseBodyData = exports.ListDomainsResponseBodyData = exports.GetGatewayResponseBodyData = exports.GetGatewayResponseBodyDataZones = exports.GetGatewayResponseBodyDataZonesVSwitch = exports.GetGatewayResponseBodyDataVpc = exports.GetGatewayResponseBodyDataVSwitch = exports.GetGatewayResponseBodyDataTags = exports.GetGatewayResponseBodyDataSecurityGroup = exports.GetGatewayResponseBodyDataLoadBalancers = exports.GetGatewayResponseBodyDataLoadBalancersPorts = exports.GetGatewayResponseBodyDataEnvironments = exports.GetEnvironmentResponseBodyData = exports.GetEnvironmentResponseBodyDataStatisticsInfo = exports.GetDomainResponseBodyData = exports.GetDomainResponseBodyDataStatisticsInfo = exports.CreateHttpApiOperationResponseBodyData = exports.CreateHttpApiOperationResponseBodyDataOperations = exports.CreateHttpApiResponseBodyData = exports.CreateHttpApiRequestIngressConfig = exports.CreateEnvironmentResponseBodyData = exports.CreateDomainResponseBodyData = exports.TlsCipherSuitesConfigCipherSuites = exports.ServicePorts = exports.JwtIdentityConfigJwtTokenConfig = exports.JwtIdentityConfigJwtPayloadConfig = exports.HttpRouteMatchQueryParams = exports.HttpRouteMatchPath = exports.HttpRouteMatchHeaders = exports.HttpRouteEnvironmentInfo = exports.HttpRouteEnvironmentInfoSubDomains = void 0;
|
|
43
43
|
// This file is auto-generated, don't edit it
|
|
44
44
|
/**
|
|
45
45
|
*/
|
|
@@ -818,6 +818,72 @@ class JwtIdentityConfig extends $tea.Model {
|
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
exports.JwtIdentityConfig = JwtIdentityConfig;
|
|
821
|
+
class ParentResourceInfo extends $tea.Model {
|
|
822
|
+
static names() {
|
|
823
|
+
return {
|
|
824
|
+
apiInfo: 'apiInfo',
|
|
825
|
+
resourceType: 'resourceType',
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
static types() {
|
|
829
|
+
return {
|
|
830
|
+
apiInfo: HttpApiApiInfo,
|
|
831
|
+
resourceType: 'string',
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
constructor(map) {
|
|
835
|
+
super(map);
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
exports.ParentResourceInfo = ParentResourceInfo;
|
|
839
|
+
class PluginClassInfo extends $tea.Model {
|
|
840
|
+
static names() {
|
|
841
|
+
return {
|
|
842
|
+
alias: 'alias',
|
|
843
|
+
configExample: 'configExample',
|
|
844
|
+
description: 'description',
|
|
845
|
+
executePriority: 'executePriority',
|
|
846
|
+
executeStage: 'executeStage',
|
|
847
|
+
imageName: 'imageName',
|
|
848
|
+
innerPlugin: 'innerPlugin',
|
|
849
|
+
mode: 'mode',
|
|
850
|
+
name: 'name',
|
|
851
|
+
pluginClassId: 'pluginClassId',
|
|
852
|
+
source: 'source',
|
|
853
|
+
supportedMinGatewayVersion: 'supportedMinGatewayVersion',
|
|
854
|
+
type: 'type',
|
|
855
|
+
version: 'version',
|
|
856
|
+
versionDescription: 'versionDescription',
|
|
857
|
+
wasmLanguage: 'wasmLanguage',
|
|
858
|
+
wasmUrl: 'wasmUrl',
|
|
859
|
+
};
|
|
860
|
+
}
|
|
861
|
+
static types() {
|
|
862
|
+
return {
|
|
863
|
+
alias: 'string',
|
|
864
|
+
configExample: 'string',
|
|
865
|
+
description: 'string',
|
|
866
|
+
executePriority: 'number',
|
|
867
|
+
executeStage: 'string',
|
|
868
|
+
imageName: 'string',
|
|
869
|
+
innerPlugin: 'boolean',
|
|
870
|
+
mode: 'string',
|
|
871
|
+
name: 'string',
|
|
872
|
+
pluginClassId: 'string',
|
|
873
|
+
source: 'string',
|
|
874
|
+
supportedMinGatewayVersion: 'string',
|
|
875
|
+
type: 'string',
|
|
876
|
+
version: 'string',
|
|
877
|
+
versionDescription: 'string',
|
|
878
|
+
wasmLanguage: 'string',
|
|
879
|
+
wasmUrl: 'string',
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
constructor(map) {
|
|
883
|
+
super(map);
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
exports.PluginClassInfo = PluginClassInfo;
|
|
821
887
|
class PolicyClassInfo extends $tea.Model {
|
|
822
888
|
static names() {
|
|
823
889
|
return {
|
|
@@ -918,6 +984,28 @@ class PolicyInfo extends $tea.Model {
|
|
|
918
984
|
}
|
|
919
985
|
}
|
|
920
986
|
exports.PolicyInfo = PolicyInfo;
|
|
987
|
+
class ResourceInfo extends $tea.Model {
|
|
988
|
+
static names() {
|
|
989
|
+
return {
|
|
990
|
+
resourceId: 'resourceId',
|
|
991
|
+
resourceName: 'resourceName',
|
|
992
|
+
resourceType: 'resourceType',
|
|
993
|
+
resourceVersion: 'resourceVersion',
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
static types() {
|
|
997
|
+
return {
|
|
998
|
+
resourceId: 'string',
|
|
999
|
+
resourceName: 'string',
|
|
1000
|
+
resourceType: 'string',
|
|
1001
|
+
resourceVersion: 'string',
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
constructor(map) {
|
|
1005
|
+
super(map);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
exports.ResourceInfo = ResourceInfo;
|
|
921
1009
|
class ResourceStatistic extends $tea.Model {
|
|
922
1010
|
static names() {
|
|
923
1011
|
return {
|
|
@@ -1118,6 +1206,24 @@ class SubDomainInfo extends $tea.Model {
|
|
|
1118
1206
|
}
|
|
1119
1207
|
}
|
|
1120
1208
|
exports.SubDomainInfo = SubDomainInfo;
|
|
1209
|
+
class TlsCipherSuitesConfig extends $tea.Model {
|
|
1210
|
+
static names() {
|
|
1211
|
+
return {
|
|
1212
|
+
cipherSuites: 'cipherSuites',
|
|
1213
|
+
configType: 'configType',
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
static types() {
|
|
1217
|
+
return {
|
|
1218
|
+
cipherSuites: { 'type': 'array', 'itemType': TlsCipherSuitesConfigCipherSuites },
|
|
1219
|
+
configType: 'string',
|
|
1220
|
+
};
|
|
1221
|
+
}
|
|
1222
|
+
constructor(map) {
|
|
1223
|
+
super(map);
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
exports.TlsCipherSuitesConfig = TlsCipherSuitesConfig;
|
|
1121
1227
|
class AddGatewaySecurityGroupRuleRequest extends $tea.Model {
|
|
1122
1228
|
static names() {
|
|
1123
1229
|
return {
|
|
@@ -1188,6 +1294,7 @@ class CreateDomainRequest extends $tea.Model {
|
|
|
1188
1294
|
name: 'name',
|
|
1189
1295
|
protocol: 'protocol',
|
|
1190
1296
|
resourceGroupId: 'resourceGroupId',
|
|
1297
|
+
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
1191
1298
|
tlsMax: 'tlsMax',
|
|
1192
1299
|
tlsMin: 'tlsMin',
|
|
1193
1300
|
};
|
|
@@ -1201,6 +1308,7 @@ class CreateDomainRequest extends $tea.Model {
|
|
|
1201
1308
|
name: 'string',
|
|
1202
1309
|
protocol: 'string',
|
|
1203
1310
|
resourceGroupId: 'string',
|
|
1311
|
+
tlsCipherSuitesConfig: TlsCipherSuitesConfig,
|
|
1204
1312
|
tlsMax: 'string',
|
|
1205
1313
|
tlsMin: 'string',
|
|
1206
1314
|
};
|
|
@@ -2184,6 +2292,7 @@ class ListHttpApiOperationsRequest extends $tea.Model {
|
|
|
2184
2292
|
pathLike: 'pathLike',
|
|
2185
2293
|
withConsumerInEnvironmentId: 'withConsumerInEnvironmentId',
|
|
2186
2294
|
withConsumerInfoById: 'withConsumerInfoById',
|
|
2295
|
+
withPluginAttachmentByPluginId: 'withPluginAttachmentByPluginId',
|
|
2187
2296
|
};
|
|
2188
2297
|
}
|
|
2189
2298
|
static types() {
|
|
@@ -2197,6 +2306,7 @@ class ListHttpApiOperationsRequest extends $tea.Model {
|
|
|
2197
2306
|
pathLike: 'string',
|
|
2198
2307
|
withConsumerInEnvironmentId: 'string',
|
|
2199
2308
|
withConsumerInfoById: 'string',
|
|
2309
|
+
withPluginAttachmentByPluginId: 'string',
|
|
2200
2310
|
};
|
|
2201
2311
|
}
|
|
2202
2312
|
constructor(map) {
|
|
@@ -2257,8 +2367,11 @@ class ListHttpApisRequest extends $tea.Model {
|
|
|
2257
2367
|
resourceGroupId: 'resourceGroupId',
|
|
2258
2368
|
types: 'types',
|
|
2259
2369
|
withAuthPolicyInEnvironmentId: 'withAuthPolicyInEnvironmentId',
|
|
2370
|
+
withAuthPolicyList: 'withAuthPolicyList',
|
|
2260
2371
|
withConsumerInfoById: 'withConsumerInfoById',
|
|
2261
2372
|
withEnvironmentInfo: 'withEnvironmentInfo',
|
|
2373
|
+
withEnvironmentInfoById: 'withEnvironmentInfoById',
|
|
2374
|
+
withPluginAttachmentByPluginId: 'withPluginAttachmentByPluginId',
|
|
2262
2375
|
};
|
|
2263
2376
|
}
|
|
2264
2377
|
static types() {
|
|
@@ -2271,8 +2384,11 @@ class ListHttpApisRequest extends $tea.Model {
|
|
|
2271
2384
|
resourceGroupId: 'string',
|
|
2272
2385
|
types: 'string',
|
|
2273
2386
|
withAuthPolicyInEnvironmentId: 'string',
|
|
2387
|
+
withAuthPolicyList: 'boolean',
|
|
2274
2388
|
withConsumerInfoById: 'string',
|
|
2275
2389
|
withEnvironmentInfo: 'boolean',
|
|
2390
|
+
withEnvironmentInfoById: 'string',
|
|
2391
|
+
withPluginAttachmentByPluginId: 'string',
|
|
2276
2392
|
};
|
|
2277
2393
|
}
|
|
2278
2394
|
constructor(map) {
|
|
@@ -2330,6 +2446,7 @@ class UpdateDomainRequest extends $tea.Model {
|
|
|
2330
2446
|
forceHttps: 'forceHttps',
|
|
2331
2447
|
http2Option: 'http2Option',
|
|
2332
2448
|
protocol: 'protocol',
|
|
2449
|
+
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
2333
2450
|
tlsMax: 'tlsMax',
|
|
2334
2451
|
tlsMin: 'tlsMin',
|
|
2335
2452
|
};
|
|
@@ -2341,6 +2458,7 @@ class UpdateDomainRequest extends $tea.Model {
|
|
|
2341
2458
|
forceHttps: 'boolean',
|
|
2342
2459
|
http2Option: 'string',
|
|
2343
2460
|
protocol: 'string',
|
|
2461
|
+
tlsCipherSuitesConfig: TlsCipherSuitesConfig,
|
|
2344
2462
|
tlsMax: 'string',
|
|
2345
2463
|
tlsMin: 'string',
|
|
2346
2464
|
};
|
|
@@ -3542,6 +3660,24 @@ class ServicePorts extends $tea.Model {
|
|
|
3542
3660
|
}
|
|
3543
3661
|
}
|
|
3544
3662
|
exports.ServicePorts = ServicePorts;
|
|
3663
|
+
class TlsCipherSuitesConfigCipherSuites extends $tea.Model {
|
|
3664
|
+
static names() {
|
|
3665
|
+
return {
|
|
3666
|
+
name: 'name',
|
|
3667
|
+
supportVersions: 'supportVersions',
|
|
3668
|
+
};
|
|
3669
|
+
}
|
|
3670
|
+
static types() {
|
|
3671
|
+
return {
|
|
3672
|
+
name: 'string',
|
|
3673
|
+
supportVersions: { 'type': 'array', 'itemType': 'string' },
|
|
3674
|
+
};
|
|
3675
|
+
}
|
|
3676
|
+
constructor(map) {
|
|
3677
|
+
super(map);
|
|
3678
|
+
}
|
|
3679
|
+
}
|
|
3680
|
+
exports.TlsCipherSuitesConfigCipherSuites = TlsCipherSuitesConfigCipherSuites;
|
|
3545
3681
|
class CreateDomainResponseBodyData extends $tea.Model {
|
|
3546
3682
|
static names() {
|
|
3547
3683
|
return {
|
|
@@ -3687,6 +3823,7 @@ class GetDomainResponseBodyData extends $tea.Model {
|
|
|
3687
3823
|
resourceGroupId: 'resourceGroupId',
|
|
3688
3824
|
sans: 'sans',
|
|
3689
3825
|
statisticsInfo: 'statisticsInfo',
|
|
3826
|
+
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
3690
3827
|
tlsMax: 'tlsMax',
|
|
3691
3828
|
tlsMin: 'tlsMin',
|
|
3692
3829
|
updatetimestamp: 'updatetimestamp',
|
|
@@ -3712,6 +3849,7 @@ class GetDomainResponseBodyData extends $tea.Model {
|
|
|
3712
3849
|
resourceGroupId: 'string',
|
|
3713
3850
|
sans: 'string',
|
|
3714
3851
|
statisticsInfo: GetDomainResponseBodyDataStatisticsInfo,
|
|
3852
|
+
tlsCipherSuitesConfig: TlsCipherSuitesConfig,
|
|
3715
3853
|
tlsMax: 'string',
|
|
3716
3854
|
tlsMin: 'string',
|
|
3717
3855
|
updatetimestamp: 'number',
|
|
@@ -4479,6 +4617,9 @@ class Client extends openapi_client_1.default {
|
|
|
4479
4617
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
4480
4618
|
body["resourceGroupId"] = request.resourceGroupId;
|
|
4481
4619
|
}
|
|
4620
|
+
if (!tea_util_1.default.isUnset(request.tlsCipherSuitesConfig)) {
|
|
4621
|
+
body["tlsCipherSuitesConfig"] = request.tlsCipherSuitesConfig;
|
|
4622
|
+
}
|
|
4482
4623
|
if (!tea_util_1.default.isUnset(request.tlsMax)) {
|
|
4483
4624
|
body["tlsMax"] = request.tlsMax;
|
|
4484
4625
|
}
|
|
@@ -5288,6 +5429,9 @@ class Client extends openapi_client_1.default {
|
|
|
5288
5429
|
if (!tea_util_1.default.isUnset(request.withConsumerInfoById)) {
|
|
5289
5430
|
query["withConsumerInfoById"] = request.withConsumerInfoById;
|
|
5290
5431
|
}
|
|
5432
|
+
if (!tea_util_1.default.isUnset(request.withPluginAttachmentByPluginId)) {
|
|
5433
|
+
query["withPluginAttachmentByPluginId"] = request.withPluginAttachmentByPluginId;
|
|
5434
|
+
}
|
|
5291
5435
|
let req = new $OpenApi.OpenApiRequest({
|
|
5292
5436
|
headers: headers,
|
|
5293
5437
|
query: openapi_util_1.default.query(query),
|
|
@@ -5351,12 +5495,21 @@ class Client extends openapi_client_1.default {
|
|
|
5351
5495
|
if (!tea_util_1.default.isUnset(request.withAuthPolicyInEnvironmentId)) {
|
|
5352
5496
|
query["withAuthPolicyInEnvironmentId"] = request.withAuthPolicyInEnvironmentId;
|
|
5353
5497
|
}
|
|
5498
|
+
if (!tea_util_1.default.isUnset(request.withAuthPolicyList)) {
|
|
5499
|
+
query["withAuthPolicyList"] = request.withAuthPolicyList;
|
|
5500
|
+
}
|
|
5354
5501
|
if (!tea_util_1.default.isUnset(request.withConsumerInfoById)) {
|
|
5355
5502
|
query["withConsumerInfoById"] = request.withConsumerInfoById;
|
|
5356
5503
|
}
|
|
5357
5504
|
if (!tea_util_1.default.isUnset(request.withEnvironmentInfo)) {
|
|
5358
5505
|
query["withEnvironmentInfo"] = request.withEnvironmentInfo;
|
|
5359
5506
|
}
|
|
5507
|
+
if (!tea_util_1.default.isUnset(request.withEnvironmentInfoById)) {
|
|
5508
|
+
query["withEnvironmentInfoById"] = request.withEnvironmentInfoById;
|
|
5509
|
+
}
|
|
5510
|
+
if (!tea_util_1.default.isUnset(request.withPluginAttachmentByPluginId)) {
|
|
5511
|
+
query["withPluginAttachmentByPluginId"] = request.withPluginAttachmentByPluginId;
|
|
5512
|
+
}
|
|
5360
5513
|
let req = new $OpenApi.OpenApiRequest({
|
|
5361
5514
|
headers: headers,
|
|
5362
5515
|
query: openapi_util_1.default.query(query),
|
|
@@ -5411,6 +5564,9 @@ class Client extends openapi_client_1.default {
|
|
|
5411
5564
|
if (!tea_util_1.default.isUnset(request.protocol)) {
|
|
5412
5565
|
body["protocol"] = request.protocol;
|
|
5413
5566
|
}
|
|
5567
|
+
if (!tea_util_1.default.isUnset(request.tlsCipherSuitesConfig)) {
|
|
5568
|
+
body["tlsCipherSuitesConfig"] = request.tlsCipherSuitesConfig;
|
|
5569
|
+
}
|
|
5414
5570
|
if (!tea_util_1.default.isUnset(request.tlsMax)) {
|
|
5415
5571
|
body["tlsMax"] = request.tlsMax;
|
|
5416
5572
|
}
|