getFlowLogConfigurationList

Prev Next

VPC 환경에서 이용 가능합니다.

개요

FlowLog 설정 정보를 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String - 리전 코드
네트워크 인터페이스 리스트가 조회될 리전(Region) 결정 가능
regionCode는 getRegionList 액션을 통해 획득 가능
Default : getRegionList 조회 결과의 첫 번째 리전을 선택
networkInterfaceNoList.N No List<String> - 네트워크 인터페이스 번호 리스트
네트워크 인터페이스 번호로 필터링하여 검색 가능
networkInterfaceNo는 getNetworkInterfaceList 액션을 통해 획득 가능
ex) networkInterfaceNoList.1=1234&networkInterfaceNoList.2=2345
responseFormatType No String - 응답 결과의 포맷 타입
Options : xml | json
Default : xml

응답

응답 데이터 타입

  • FlowLogConfigurationList 타입
FlowLogConfigurationList extends CommonResponse
private Integer totalRows;
private List FlowLogConfigurationList = new ArrayList<>();
FlowLogConfiguration
private String networkInterfaceNo
private CommonCode collectActionType
private Integer collectIntervalMinute
private CommonCode storageType
private String storageBucketName
private String storageBucketDirectoryName

예시

요청 예시

ncloud vserver getFlowLogConfigurationList --regionCode KR --networkInterfaceNoList.1 34*** 11***

응답 예시

  <getFlowLogConfigurationListResponse>
    <requestId>002bff47-48c8-4e2b-a376-eaab45c0e52f</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <flowLogConfigurationList>
      <FlowLogConfiguration>
        <networkInterfaceNo>34***</networkInterfaceNo>
        <collectActionType>
          <code>ALLOW</code>
          <codeName>Allow</codeName>
        </collectActionType>
        <collectIntervalMinute>5</collectIntervalMinute>
        <storageType>
          <code>OBJT</code>
          <codeName>Object Storage</codeName>
        </storageType>
        <storageBucketName>mybk**</storageBucketName>
        <storageBucketDirectoryName>VPC_FLOW_LOG</storageBucketDirectoryName>
      </FlowLogConfiguration>
    </flowLogConfigurationList>
  </getFlowLogConfigurationListResponse>