Compartir a través de


ConnectionMonitorTests interface

Interface representing a ConnectionMonitorTests.

Methods

createOrUpdate(string, string, string, ConnectionMonitorTest, ConnectionMonitorTestsCreateOrUpdateOptionalParams)

Creates or updates a connection monitor test with the specified name under the given subscription, resource group and peering service.

delete(string, string, string, ConnectionMonitorTestsDeleteOptionalParams)

Deletes an existing connection monitor test with the specified name under the given subscription, resource group and peering service.

get(string, string, string, ConnectionMonitorTestsGetOptionalParams)

Gets an existing connection monitor test with the specified name under the given subscription, resource group and peering service.

listByPeeringService(string, string, ConnectionMonitorTestsListByPeeringServiceOptionalParams)

Lists all connection monitor tests under the given subscription, resource group and peering service.

Method Details

createOrUpdate(string, string, string, ConnectionMonitorTest, ConnectionMonitorTestsCreateOrUpdateOptionalParams)

Creates or updates a connection monitor test with the specified name under the given subscription, resource group and peering service.

function createOrUpdate(resourceGroupName: string, peeringServiceName: string, connectionMonitorTestName: string, connectionMonitorTest: ConnectionMonitorTest, options?: ConnectionMonitorTestsCreateOrUpdateOptionalParams): Promise<ConnectionMonitorTest>

Parameters

resourceGroupName

string

The name of the resource group.

peeringServiceName

string

The name of the peering service.

connectionMonitorTestName

string

The name of the connection monitor test

connectionMonitorTest
ConnectionMonitorTest

The properties needed to create a connection monitor test

options
ConnectionMonitorTestsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, ConnectionMonitorTestsDeleteOptionalParams)

Deletes an existing connection monitor test with the specified name under the given subscription, resource group and peering service.

function delete(resourceGroupName: string, peeringServiceName: string, connectionMonitorTestName: string, options?: ConnectionMonitorTestsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

peeringServiceName

string

The name of the peering service.

connectionMonitorTestName

string

The name of the connection monitor test

options
ConnectionMonitorTestsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ConnectionMonitorTestsGetOptionalParams)

Gets an existing connection monitor test with the specified name under the given subscription, resource group and peering service.

function get(resourceGroupName: string, peeringServiceName: string, connectionMonitorTestName: string, options?: ConnectionMonitorTestsGetOptionalParams): Promise<ConnectionMonitorTest>

Parameters

resourceGroupName

string

The name of the resource group.

peeringServiceName

string

The name of the peering service.

connectionMonitorTestName

string

The name of the connection monitor test

options
ConnectionMonitorTestsGetOptionalParams

The options parameters.

Returns

listByPeeringService(string, string, ConnectionMonitorTestsListByPeeringServiceOptionalParams)

Lists all connection monitor tests under the given subscription, resource group and peering service.

function listByPeeringService(resourceGroupName: string, peeringServiceName: string, options?: ConnectionMonitorTestsListByPeeringServiceOptionalParams): PagedAsyncIterableIterator<ConnectionMonitorTest, ConnectionMonitorTest[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

peeringServiceName

string

The name of the peering service.

Returns