PolicyDetailResponse
- Print
- PDF
PolicyDetailResponse
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
These are policy details.
Syntax
The syntax is as follows.
public class PolicyRequest {
private Long sid;
private String name;
private Long geoMapId;
private LoadBalancerType lbType;
private Long geoMapId;
private List<ResourceGroup> resourceGroups;
private Monitor monitor;
private Long createdDate;
private List<String> domainNames;
private Boolean monitoringYn;
}
public class ResourceGroup {
private Long sid;
private Long geoMapDetailId;
private String geoMapDetailName;
private Long weighted;
private List<Resource> active;
private List<Resource> standby;
}
public class Resource {
private String content;
private Long healthCheckRegionId;
private RegionCode healthCheckRegionCode;
private ResourceType type;
private Status status;
}
public class Monitor {
private String hostHeader;
private String path;
private Long period;
private Long port;
private String protocol;
private Long thresholdFail;
private Long thresholdNormal;
private Boolean advancedYn;
}
Field
The following describes the fields.
PolicyRequest
Parameter name | Type | Required | Description |
---|---|---|---|
sid | Long | - | Policy ID |
name | String | - | Policy Name |
geoMapId | Long | - | Geo/CIDR Map ID |
lbType | Enum | - | Load balancer type
|
resourceGroups | List<ResourceGroups> | - | Resource group information |
monitor | Monitor | - | Health check monitoring information |
createdDate | Long | - | Creation date and time (UTC 0) |
domainNames | List<String> | - | Connected domain (profile) |
monitoringYn | Boolean | - | Health check usage status
|
ResourceGroup
Parameter name | Type | Required | Description |
---|---|---|---|
sid | Long | - | Resource group ID |
geoMapDetailId | Long | - | Geo/CIDR map details ID |
geoMapDetailName | String | - | Geo/CIDR map details name |
weighted | Long | - | Weights used when LBType is WEIGHTED_ROUND_ROBIN |
active | List<Resource> | - | Active resource information |
standby | List<Resource> | - | Backup resource information |
monitor | Monitor | - | Health check monitoring information |
Resource
Parameter name | Type | Required | Description |
---|---|---|---|
content | String | - | Resource value |
type | Enum | - | Resource type
|
healthCheckRegionId | Long | - | Health check Region ID |
healthCheckRegionCode | Enum | - | Region code
|
status | Enum | - | Health check status
|
Monitor
Parameter name | Type | Required | Description |
---|---|---|---|
hostHeader | String | - | Host header |
path | String | - | Path |
period | Long | - | Health check interval |
port | Long | - | Port
|
protocol | String | - | Protocol
|
thresholdFail | Long | - | Failure threshold
|
thresholdNormal | Long | - | Normal threshold
|
advancedYn | Boolean | - | Whether to set advanced health checks
|
Was this article helpful?