-
Notifications
You must be signed in to change notification settings - Fork 271
/
struct_data_in_create_circuit_breaker_rule.go
35 lines (33 loc) · 1.89 KB
/
struct_data_in_create_circuit_breaker_rule.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package mse
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// DataInCreateCircuitBreakerRule is a nested struct in mse response
type DataInCreateCircuitBreakerRule struct {
Namespace string `json:"Namespace" xml:"Namespace"`
Id int64 `json:"Id" xml:"Id"`
AppName string `json:"AppName" xml:"AppName"`
Resource string `json:"Resource" xml:"Resource"`
StatIntervalMs int `json:"StatIntervalMs" xml:"StatIntervalMs"`
Threshold float64 `json:"Threshold" xml:"Threshold"`
Enable bool `json:"Enable" xml:"Enable"`
Strategy int `json:"Strategy" xml:"Strategy"`
RetryTimeoutMs int `json:"RetryTimeoutMs" xml:"RetryTimeoutMs"`
AppId string `json:"AppId" xml:"AppId"`
RegionId string `json:"RegionId" xml:"RegionId"`
MaxAllowedRtMs int `json:"MaxAllowedRtMs" xml:"MaxAllowedRtMs"`
MinRequestAmount int `json:"MinRequestAmount" xml:"MinRequestAmount"`
HalfOpenBaseAmountPerStep int `json:"HalfOpenBaseAmountPerStep" xml:"HalfOpenBaseAmountPerStep"`
HalfOpenRecoveryStepNum int `json:"HalfOpenRecoveryStepNum" xml:"HalfOpenRecoveryStepNum"`
}