PolicyRequest
    • PDF

    PolicyRequest

    • PDF

    기사 요약

    설명

    Policy 생성 및 수정 시 필요한 정보입니다.

    구문

    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;
    }
    
    
    public class ResourceGroup { 
        private Long sid;
        private Long geoMapDetailId;
        private Long weighted;
        private List<Resource> active;
        private List<Resource> standby;
    }
    
    public class Resource { 
        private String content;
        private Long healthCheckRegionId;
        private ResourceType type;
    }
    
    public class Monitor { 
        private String hostHeader; 
        private String path;
        private Long period;
        private Long port;
        private String protocol;
        private Long thresholdFail;
        private Long thresholdNormal;
    }
    
    

    필드

    PolicyRequest

    파라미터명타입설명
    sidLongPolicy ID
    nameStringPolicy 이름
    geoMapIdLongGeo/Cidr Map ID
    lbTypeEnumLoad Balancer 유형 (ROUND_ROBIN, WEIGHTED_ROUND_ROBIN, GEOLOCATION, CIDR)
    resourceGroupsList<ResourceGroups>Resource Group 정보
    monitorMonitor헬스체크 모니터링 정보

    ResourceGroup

    파라미터명타입설명
    sidLongResource Group ID
    geoMapDetailIdLongGeo/Cidr Map 상세 정보 ID
    weightedLongLBType이 WEIGHTED_ROUND_ROBIN일때 사용하는 가중치
    activeList<Resource>Active Resource 정보
    standbyList<Resource>백업 Resource 정보
    monitorMonitor헬스체크 모니터링 정보

    Resource

    파라미터명타입설명
    contentStringResource 값
    typeEnumResource 유형 (PUBLIC_IP, EXTERNAL_DOMAIN)
    healthCheckRegionIdLong헬스체크 리전 ID

    Monitor

    파라미터명타입설명
    hostHeaderStringHost Header
    pathStringPath
    periodLong헬스체크 주기
    portLongPort (0~65535)
    protocolStringProtocol (HTTP/HTTPS/TCP)
    thresholdFailLong실패 임곗값 (default = 1)
    thresholdNormalLong정상 임곗값 (default = 1)

    이 문서가 도움이 되었습니까?

    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.