CreateFlowMeter

Creates a flow meter. For example,
CreateFlowMeter type=NetFlow

Parameters

Name Description Optional Valid Value Starting Version
version The version of the flow meter protocol. Yes
  • V5
  • V9
3.6.0
type The type of the flow meter protocol.
  • NetFlow
  • sFlow
3.6.0
sample The sample rate of the flow meter. Yes 3.6.0
generateInterval The time interval that the flow meter sends the data packets to the flow collector. Yes 3.6.0
name The resource name. Yes 3.6.0
description The detailed description of the resource. Yes 3.6.0
server The IP address of the flow collector. Yes 3.6.0
port The UDP port of the flow collector. Yes 3.6.0
resourceUuid Yes 3.6.0
tagUuids The tag UUID list. Yes 3.6.0
userTags The user tags. For more information, see CreateUserTag. Yes 3.6.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 3.6.0
timeout Yes
Note:
  • When you create a flow meter resource in ZStack Cloud, you can specify the expiration interval of the flow by adding the FLOW_EXPIRE_INTERVAL option to SystemTags. The SystemTag is passed by using the expireInterval parameter.
    • Format of the FLOW_EXPIRE_INTERVAL option: expireInterval::xx. Here, the unit of xx is second.
    • Example: expireInterval::1200
  • When you create a flow meter resource in ZStack Cloud, you can specify the timeout configuration of the flow by adding the FLOW_ACTIVE_TIMEOUT option to SystemTags. The SystemTag is passed by using the activeTimeout parameter.
    • Format of the FLOW_ACTIVE_TIMEOUT option: activeTimeout::xx. Here, the unit of xx is second.
    • Example: activeTimeout::3600