ServerCollectors interface

Interface representing a ServerCollectors.

Methods

create(string, string, string, ServerCollectorsCreateOptionalParams)

Create or Update Server collector

delete(string, string, string, ServerCollectorsDeleteOptionalParams)

Delete a Server collector from the project.

get(string, string, string, ServerCollectorsGetOptionalParams)

Get a Server collector.

listByProject(string, string, ServerCollectorsListByProjectOptionalParams)

Get a list of Server collector.

Method Details

create(string, string, string, ServerCollectorsCreateOptionalParams)

Create or Update Server collector

function create(resourceGroupName: string, projectName: string, serverCollectorName: string, options?: ServerCollectorsCreateOptionalParams): Promise<ServerCollectorsCreateResponse>

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

serverCollectorName

string

Unique name of a Server collector within a project.

options
ServerCollectorsCreateOptionalParams

The options parameters.

Returns

delete(string, string, string, ServerCollectorsDeleteOptionalParams)

Delete a Server collector from the project.

function delete(resourceGroupName: string, projectName: string, serverCollectorName: string, options?: ServerCollectorsDeleteOptionalParams): Promise<ServerCollectorsDeleteHeaders>

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

serverCollectorName

string

Unique name of a Server collector within a project.

options
ServerCollectorsDeleteOptionalParams

The options parameters.

Returns

get(string, string, string, ServerCollectorsGetOptionalParams)

Get a Server collector.

function get(resourceGroupName: string, projectName: string, serverCollectorName: string, options?: ServerCollectorsGetOptionalParams): Promise<ServerCollectorsGetResponse>

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

serverCollectorName

string

Unique name of a Server collector within a project.

options
ServerCollectorsGetOptionalParams

The options parameters.

Returns

listByProject(string, string, ServerCollectorsListByProjectOptionalParams)

Get a list of Server collector.

function listByProject(resourceGroupName: string, projectName: string, options?: ServerCollectorsListByProjectOptionalParams): PagedAsyncIterableIterator<ServerCollector, ServerCollector[], PageSettings>

Parameters

resourceGroupName

string

Name of the Azure Resource Group that project is part of.

projectName

string

Name of the Azure Migrate project.

options
ServerCollectorsListByProjectOptionalParams

The options parameters.

Returns