ArmNetworkModelFactory.PacketCaptureCreateOrUpdateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PacketCaptureCreateOrUpdateContent.
public static Azure.ResourceManager.Network.Models.PacketCaptureCreateOrUpdateContent PacketCaptureCreateOrUpdateContent (string target = default, Azure.ResourceManager.Network.Models.PacketCaptureMachineScope scope = default, Azure.ResourceManager.Network.Models.PacketCaptureTargetType? targetType = default, long? bytesToCapturePerPacket = default, long? totalBytesPerSession = default, int? timeLimitInSeconds = default, Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation storageLocation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.PacketCaptureFilter> filters = default);
static member PacketCaptureCreateOrUpdateContent : string * Azure.ResourceManager.Network.Models.PacketCaptureMachineScope * Nullable<Azure.ResourceManager.Network.Models.PacketCaptureTargetType> * Nullable<int64> * Nullable<int64> * Nullable<int> * Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation * seq<Azure.ResourceManager.Network.Models.PacketCaptureFilter> -> Azure.ResourceManager.Network.Models.PacketCaptureCreateOrUpdateContent
Public Shared Function PacketCaptureCreateOrUpdateContent (Optional target As String = Nothing, Optional scope As PacketCaptureMachineScope = Nothing, Optional targetType As Nullable(Of PacketCaptureTargetType) = Nothing, Optional bytesToCapturePerPacket As Nullable(Of Long) = Nothing, Optional totalBytesPerSession As Nullable(Of Long) = Nothing, Optional timeLimitInSeconds As Nullable(Of Integer) = Nothing, Optional storageLocation As PacketCaptureStorageLocation = Nothing, Optional filters As IEnumerable(Of PacketCaptureFilter) = Nothing) As PacketCaptureCreateOrUpdateContent
Parameters
- target
- String
The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- targetType
- Nullable<PacketCaptureTargetType>
Target type of the resource provided.
Number of bytes captured per packet, the remaining bytes are truncated.
- storageLocation
- PacketCaptureStorageLocation
The storage location for a packet capture session.
- filters
- IEnumerable<PacketCaptureFilter>
A list of packet capture filters.
Returns
A new PacketCaptureCreateOrUpdateContent instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for