ServerCollectors interface
Interface representing a ServerCollectors.
Methods
create(string, string, string, Server |
Create or Update Server collector |
delete(string, string, string, Server |
Delete a Server collector from the project. |
get(string, string, string, Server |
Get a Server collector. |
list |
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.
The options parameters.
Returns
Promise<ServerCollectorsCreateResponse>
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.
The options parameters.
Returns
Promise<ServerCollectorsDeleteHeaders>
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.
The options parameters.
Returns
Promise<ServerCollectorsGetResponse>
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.
The options parameters.