PacketCaptures interface
Interface representing a PacketCaptures.
Methods
Method Details
beginCreateOrUpdate(string, string, string, PacketCapture, PacketCapturesCreateOrUpdateOptionalParams)
Creates or updates a packet capture.
function beginCreateOrUpdate(resourceGroupName: string, packetCoreControlPlaneName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PacketCapture>, PacketCapture>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
- packetCaptureName
-
string
The name of the packet capture session.
- parameters
- PacketCapture
Parameters supplied to the create or update packet capture operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<PacketCapture>, PacketCapture>>
beginCreateOrUpdateAndWait(string, string, string, PacketCapture, PacketCapturesCreateOrUpdateOptionalParams)
Creates or updates a packet capture.
function beginCreateOrUpdateAndWait(resourceGroupName: string, packetCoreControlPlaneName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOrUpdateOptionalParams): Promise<PacketCapture>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
- packetCaptureName
-
string
The name of the packet capture session.
- parameters
- PacketCapture
Parameters supplied to the create or update packet capture operation.
The options parameters.
Returns
Promise<PacketCapture>
beginDelete(string, string, string, PacketCapturesDeleteOptionalParams)
Deletes the specified packet capture.
function beginDelete(resourceGroupName: string, packetCoreControlPlaneName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
- packetCaptureName
-
string
The name of the packet capture session.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, PacketCapturesDeleteOptionalParams)
Deletes the specified packet capture.
function beginDeleteAndWait(resourceGroupName: string, packetCoreControlPlaneName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
- packetCaptureName
-
string
The name of the packet capture session.
The options parameters.
Returns
Promise<void>
beginStop(string, string, string, PacketCapturesStopOptionalParams)
Stop a packet capture session.
function beginStop(resourceGroupName: string, packetCoreControlPlaneName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams): Promise<SimplePollerLike<OperationState<AsyncOperationStatus>, AsyncOperationStatus>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
- packetCaptureName
-
string
The name of the packet capture session.
- options
- PacketCapturesStopOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AsyncOperationStatus>, AsyncOperationStatus>>
beginStopAndWait(string, string, string, PacketCapturesStopOptionalParams)
Stop a packet capture session.
function beginStopAndWait(resourceGroupName: string, packetCoreControlPlaneName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams): Promise<AsyncOperationStatus>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
- packetCaptureName
-
string
The name of the packet capture session.
- options
- PacketCapturesStopOptionalParams
The options parameters.
Returns
Promise<AsyncOperationStatus>
get(string, string, string, PacketCapturesGetOptionalParams)
Gets information about the specified packet capture session.
function get(resourceGroupName: string, packetCoreControlPlaneName: string, packetCaptureName: string, options?: PacketCapturesGetOptionalParams): Promise<PacketCapture>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
- packetCaptureName
-
string
The name of the packet capture session.
- options
- PacketCapturesGetOptionalParams
The options parameters.
Returns
Promise<PacketCapture>
listByPacketCoreControlPlane(string, string, PacketCapturesListByPacketCoreControlPlaneOptionalParams)
Lists all the packet capture sessions under a packet core control plane.
function listByPacketCoreControlPlane(resourceGroupName: string, packetCoreControlPlaneName: string, options?: PacketCapturesListByPacketCoreControlPlaneOptionalParams): PagedAsyncIterableIterator<PacketCapture, PacketCapture[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- packetCoreControlPlaneName
-
string
The name of the packet core control plane.
The options parameters.