DiagnosticsPackages interface

Interface representing a DiagnosticsPackages.

Methods

beginCreateOrUpdate(string, string, string, DiagnosticsPackagesCreateOrUpdateOptionalParams)

Creates or updates a diagnostics package.

beginCreateOrUpdateAndWait(string, string, string, DiagnosticsPackagesCreateOrUpdateOptionalParams)

Creates or updates a diagnostics package.

beginDelete(string, string, string, DiagnosticsPackagesDeleteOptionalParams)

Deletes the specified diagnostics package.

beginDeleteAndWait(string, string, string, DiagnosticsPackagesDeleteOptionalParams)

Deletes the specified diagnostics package.

get(string, string, string, DiagnosticsPackagesGetOptionalParams)

Gets information about the specified diagnostics package.

listByPacketCoreControlPlane(string, string, DiagnosticsPackagesListByPacketCoreControlPlaneOptionalParams)

Lists all the diagnostics packages under a packet core control plane.

Method Details

beginCreateOrUpdate(string, string, string, DiagnosticsPackagesCreateOrUpdateOptionalParams)

Creates or updates a diagnostics package.

function beginCreateOrUpdate(resourceGroupName: string, packetCoreControlPlaneName: string, diagnosticsPackageName: string, options?: DiagnosticsPackagesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DiagnosticsPackage>, DiagnosticsPackage>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

packetCoreControlPlaneName

string

The name of the packet core control plane.

diagnosticsPackageName

string

The name of the diagnostics package.

options
DiagnosticsPackagesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DiagnosticsPackage>, DiagnosticsPackage>>

beginCreateOrUpdateAndWait(string, string, string, DiagnosticsPackagesCreateOrUpdateOptionalParams)

Creates or updates a diagnostics package.

function beginCreateOrUpdateAndWait(resourceGroupName: string, packetCoreControlPlaneName: string, diagnosticsPackageName: string, options?: DiagnosticsPackagesCreateOrUpdateOptionalParams): Promise<DiagnosticsPackage>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

packetCoreControlPlaneName

string

The name of the packet core control plane.

diagnosticsPackageName

string

The name of the diagnostics package.

options
DiagnosticsPackagesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, DiagnosticsPackagesDeleteOptionalParams)

Deletes the specified diagnostics package.

function beginDelete(resourceGroupName: string, packetCoreControlPlaneName: string, diagnosticsPackageName: string, options?: DiagnosticsPackagesDeleteOptionalParams): 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.

diagnosticsPackageName

string

The name of the diagnostics package.

options
DiagnosticsPackagesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, DiagnosticsPackagesDeleteOptionalParams)

Deletes the specified diagnostics package.

function beginDeleteAndWait(resourceGroupName: string, packetCoreControlPlaneName: string, diagnosticsPackageName: string, options?: DiagnosticsPackagesDeleteOptionalParams): 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.

diagnosticsPackageName

string

The name of the diagnostics package.

options
DiagnosticsPackagesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DiagnosticsPackagesGetOptionalParams)

Gets information about the specified diagnostics package.

function get(resourceGroupName: string, packetCoreControlPlaneName: string, diagnosticsPackageName: string, options?: DiagnosticsPackagesGetOptionalParams): Promise<DiagnosticsPackage>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

packetCoreControlPlaneName

string

The name of the packet core control plane.

diagnosticsPackageName

string

The name of the diagnostics package.

options
DiagnosticsPackagesGetOptionalParams

The options parameters.

Returns

listByPacketCoreControlPlane(string, string, DiagnosticsPackagesListByPacketCoreControlPlaneOptionalParams)

Lists all the diagnostics packages under a packet core control plane.

function listByPacketCoreControlPlane(resourceGroupName: string, packetCoreControlPlaneName: string, options?: DiagnosticsPackagesListByPacketCoreControlPlaneOptionalParams): PagedAsyncIterableIterator<DiagnosticsPackage, DiagnosticsPackage[], 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.

Returns