Share via


ServerCollectorsOperations interface

Interface representing a ServerCollectorsOperations.

Methods

beginCreate(string, string, string, ServerCollector, ServerCollectorsOperationsCreateOptionalParams)

Create a ServerCollector

beginCreateAndWait(string, string, string, ServerCollector, ServerCollectorsOperationsCreateOptionalParams)

Create a ServerCollector

delete(string, string, string, ServerCollectorsOperationsDeleteOptionalParams)

Delete a ServerCollector

get(string, string, string, ServerCollectorsOperationsGetOptionalParams)

Get a ServerCollector

listByAssessmentProject(string, string, ServerCollectorsOperationsListByAssessmentProjectOptionalParams)

List ServerCollector resources by AssessmentProject

Method Details

beginCreate(string, string, string, ServerCollector, ServerCollectorsOperationsCreateOptionalParams)

Create a ServerCollector

function beginCreate(resourceGroupName: string, projectName: string, serverCollectorName: string, resource: ServerCollector, options?: ServerCollectorsOperationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ServerCollector>, ServerCollector>>

Parameters

resourceGroupName

string

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

projectName

string

Assessment Project Name

serverCollectorName

string

Physical server collector ARM name

resource
ServerCollector

Resource create parameters.

options
ServerCollectorsOperationsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, ServerCollector, ServerCollectorsOperationsCreateOptionalParams)

Create a ServerCollector

function beginCreateAndWait(resourceGroupName: string, projectName: string, serverCollectorName: string, resource: ServerCollector, options?: ServerCollectorsOperationsCreateOptionalParams): Promise<ServerCollector>

Parameters

resourceGroupName

string

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

projectName

string

Assessment Project Name

serverCollectorName

string

Physical server collector ARM name

resource
ServerCollector

Resource create parameters.

options
ServerCollectorsOperationsCreateOptionalParams

The options parameters.

Returns

Promise<ServerCollector>

delete(string, string, string, ServerCollectorsOperationsDeleteOptionalParams)

Delete a ServerCollector

function delete(resourceGroupName: string, projectName: string, serverCollectorName: string, options?: ServerCollectorsOperationsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

projectName

string

Assessment Project Name

serverCollectorName

string

Physical server collector ARM name

options
ServerCollectorsOperationsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ServerCollectorsOperationsGetOptionalParams)

Get a ServerCollector

function get(resourceGroupName: string, projectName: string, serverCollectorName: string, options?: ServerCollectorsOperationsGetOptionalParams): Promise<ServerCollector>

Parameters

resourceGroupName

string

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

projectName

string

Assessment Project Name

serverCollectorName

string

Physical server collector ARM name

options
ServerCollectorsOperationsGetOptionalParams

The options parameters.

Returns

Promise<ServerCollector>

listByAssessmentProject(string, string, ServerCollectorsOperationsListByAssessmentProjectOptionalParams)

List ServerCollector resources by AssessmentProject

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

Parameters

resourceGroupName

string

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

projectName

string

Assessment Project Name

Returns