PolicyDetailResponse
    • PDF

    PolicyDetailResponse

    • PDF

    Article summary

    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 nameTypeRequiredDescription
    sidLong-Policy ID
    nameString-Policy Name
    geoMapIdLong-Geo/CIDR Map ID
    lbTypeEnum-Load balancer type
    • ROUND_ROBIN | WEIGHTED_ROUND_ROBIN | GEOLOCATION | CIDR
    resourceGroupsList<ResourceGroups>-Resource group information
    monitorMonitor-Health check monitoring information
    createdDateLong-Creation date and time (UTC 0)
    domainNamesList<String>-Connected domain (profile)
    monitoringYnBoolean-Health check usage status
    • true | false

    ResourceGroup

    Parameter nameTypeRequiredDescription
    sidLong-Resource group ID
    geoMapDetailIdLong-Geo/CIDR map details ID
    geoMapDetailNameString-Geo/CIDR map details name
    weightedLong-Weights used when LBType is WEIGHTED_ROUND_ROBIN
    activeList<Resource>-Active resource information
    standbyList<Resource>-Backup resource information
    monitorMonitor-Health check monitoring information

    Resource

    Parameter nameTypeRequiredDescription
    contentString-Resource value
    typeEnum-Resource type
    • PUBLIC_IP | EXTERNAL_DOMAIN
    healthCheckRegionIdLong-Health check Region ID
    healthCheckRegionCodeEnum-Region code
    • KR | JP | SG | DE | USW
    statusEnum-Health check status
    • UP | DOWN | UNKNOWN

    Monitor

    Parameter nameTypeRequiredDescription
    hostHeaderString-Host header
    pathString-Path
    periodLong-Health check interval
    portLong-Port
    • 0 - 65535
    protocolString-Protocol
    • HTTP | HTTPS | TCP
    thresholdFailLong-Failure threshold
    • 1 (default)
    thresholdNormalLong-Normal threshold
    • 1 (default)
    advancedYnBoolean-Whether to set advanced health checks
    • true | false

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.