Class CreateVtapDetails
These details are included in a request to create a virtual test access point (VTAP).
Inherited Members
Namespace: Oci.VnmonitoringService.Models
Assembly: OCI.DotNetSDK.Vnmonitoring.dll
Syntax
public class CreateVtapDetails
Properties
CaptureFilterId
Declaration
[Required(ErrorMessage = "CaptureFilterId is required.")]
[JsonProperty(PropertyName = "captureFilterId")]
public string CaptureFilterId { get; set; }
Property Value
Type | Description |
---|---|
string | The capture filter's Oracle ID (OCID). |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment containing the |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
EncapsulationProtocol
Declaration
[JsonProperty(PropertyName = "encapsulationProtocol")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateVtapDetails.EncapsulationProtocolEnum? EncapsulationProtocol { get; set; }
Property Value
Type | Description |
---|---|
CreateVtapDetails.EncapsulationProtocolEnum? | Defines an encapsulation header type for the VTAP's mirrored traffic. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
IsVtapEnabled
Declaration
[JsonProperty(PropertyName = "isVtapEnabled")]
public bool? IsVtapEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Used to start or stop a
|
MaxPacketSize
Declaration
[JsonProperty(PropertyName = "maxPacketSize")]
public int? MaxPacketSize { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum size of the packets to be included in the filter. |
SourceId
Declaration
[Required(ErrorMessage = "SourceId is required.")]
[JsonProperty(PropertyName = "sourceId")]
public string SourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the source point where packets are captured. |
Remarks
Required
SourcePrivateEndpointIp
Declaration
[JsonProperty(PropertyName = "sourcePrivateEndpointIp")]
public string SourcePrivateEndpointIp { get; set; }
Property Value
Type | Description |
---|---|
string | The IP Address of the source private endpoint. |
SourcePrivateEndpointSubnetId
Declaration
[JsonProperty(PropertyName = "sourcePrivateEndpointSubnetId")]
public string SourcePrivateEndpointSubnetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the subnet that source private endpoint belongs to. |
SourceType
Declaration
[JsonProperty(PropertyName = "sourceType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateVtapDetails.SourceTypeEnum? SourceType { get; set; }
Property Value
Type | Description |
---|---|
CreateVtapDetails.SourceTypeEnum? | The source type for the VTAP. |
TargetId
Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the destination resource where mirrored packets are sent. |
TargetIp
Declaration
[JsonProperty(PropertyName = "targetIp")]
public string TargetIp { get; set; }
Property Value
Type | Description |
---|---|
string | The IP address of the destination resource where mirrored packets are sent. |
TargetType
Declaration
[JsonProperty(PropertyName = "targetType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateVtapDetails.TargetTypeEnum? TargetType { get; set; }
Property Value
Type | Description |
---|---|
CreateVtapDetails.TargetTypeEnum? | The target type for the VTAP. |
TrafficMode
Declaration
[JsonProperty(PropertyName = "trafficMode")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateVtapDetails.TrafficModeEnum? TrafficMode { get; set; }
Property Value
Type | Description |
---|---|
CreateVtapDetails.TrafficModeEnum? | Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT |
VcnId
Declaration
[Required(ErrorMessage = "VcnId is required.")]
[JsonProperty(PropertyName = "vcnId")]
public string VcnId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the VCN containing the |
Remarks
Required
VxlanNetworkIdentifier
Declaration
[JsonProperty(PropertyName = "vxlanNetworkIdentifier")]
public long? VxlanNetworkIdentifier { get; set; }
Property Value
Type | Description |
---|---|
long? | The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN. |