public class CreateFlowLogRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateFlowLogRequest.CreateFlowLogRequestTag |
限定符和类型 | 字段和说明 |
---|---|
Integer |
aggregationInterval
The sampling interval of the flow log.
|
String |
description
The description of the flow log.
|
String |
flowLogName
The name of the flow log.
|
String |
logStoreName
The name of the Logstore that stores the captured traffic data.
|
String |
ownerAccount |
Long |
ownerId |
String |
projectName
The name of the project that stores the captured traffic data.
|
String |
regionId
The ID of the region where you want to create the flow log.
|
String |
resourceGroupId
The ID of the resource group.
|
String |
resourceId
The ID of the resource whose traffic you want to capture.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
resourceType
The type of the resource whose traffic you want to capture.
|
List<CreateFlowLogRequest.CreateFlowLogRequestTag> |
tag
The tag of the resource.
|
List<String> |
trafficPath
The scope of the traffic that you want to capture.
|
String |
trafficType
The type of traffic that you want to capture.
|
构造器和说明 |
---|
CreateFlowLogRequest() |
@NameInMap(value="AggregationInterval") public Integer aggregationInterval
The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
example:10
@NameInMap(value="Description") public String description
The description of the flow log.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
This is my Flowlog.
@NameInMap(value="FlowLogName") public String flowLogName
The name of the flow log.
The name must be 1 to 128 characters in length and cannot start with http://
or https://
.
myFlowlog
@NameInMap(value="LogStoreName") public String logStoreName
The name of the Logstore that stores the captured traffic data.
This parameter is required.
example:FlowLogStore
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ProjectName") public String projectName
The name of the project that stores the captured traffic data.
This parameter is required.
example:FlowLogProject
@NameInMap(value="RegionId") public String regionId
The ID of the region where you want to create the flow log. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-qingdao
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
example:rg-acfmxazdjdhd****
@NameInMap(value="ResourceId") public String resourceId
The ID of the resource whose traffic you want to capture.
This parameter is required.
example:eni-askldfas****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ResourceType") public String resourceType
The type of the resource whose traffic you want to capture. Valid values:
This parameter is required.
example:NetworkInterface
@NameInMap(value="Tag") public List<CreateFlowLogRequest.CreateFlowLogRequestTag> tag
The tag of the resource.
@NameInMap(value="TrafficPath") public List<String> trafficPath
The scope of the traffic that you want to capture. Valid values:
@NameInMap(value="TrafficType") public String trafficType
The type of traffic that you want to capture. Valid values:
This parameter is required.
example:All
public static CreateFlowLogRequest build(Map<String,?> map) throws Exception
Exception
public CreateFlowLogRequest setAggregationInterval(Integer aggregationInterval)
public Integer getAggregationInterval()
public CreateFlowLogRequest setDescription(String description)
public String getDescription()
public CreateFlowLogRequest setFlowLogName(String flowLogName)
public String getFlowLogName()
public CreateFlowLogRequest setLogStoreName(String logStoreName)
public String getLogStoreName()
public CreateFlowLogRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateFlowLogRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateFlowLogRequest setProjectName(String projectName)
public String getProjectName()
public CreateFlowLogRequest setRegionId(String regionId)
public String getRegionId()
public CreateFlowLogRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateFlowLogRequest setResourceId(String resourceId)
public String getResourceId()
public CreateFlowLogRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateFlowLogRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateFlowLogRequest setResourceType(String resourceType)
public String getResourceType()
public CreateFlowLogRequest setTag(List<CreateFlowLogRequest.CreateFlowLogRequestTag> tag)
public List<CreateFlowLogRequest.CreateFlowLogRequestTag> getTag()
public CreateFlowLogRequest setTrafficPath(List<String> trafficPath)
public CreateFlowLogRequest setTrafficType(String trafficType)
public String getTrafficType()
Copyright © 2024. All rights reserved.