Partager via


HypervCollectorsOperations interface

Interface représentant un HypervCollectorsOperations.

Méthodes

beginCreate(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

Créer un HypervCollector

beginCreateAndWait(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

Créer un HypervCollector

delete(string, string, string, HypervCollectorsOperationsDeleteOptionalParams)

Supprimer un HypervCollector

get(string, string, string, HypervCollectorsOperationsGetOptionalParams)

Obtenir un HypervCollector

listByAssessmentProject(string, string, HypervCollectorsOperationsListByAssessmentProjectOptionalParams)

Répertorier les ressources HypervCollector par AssessmentProject

Détails de la méthode

beginCreate(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

Créer un HypervCollector

function beginCreate(resourceGroupName: string, projectName: string, hypervCollectorName: string, resource: HypervCollector, options?: HypervCollectorsOperationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<HypervCollector>, HypervCollector>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

projectName

string

Nom du projet d’évaluation

hypervCollectorName

string

nom ARM du collecteur Hyper-V

resource
HypervCollector

Paramètres de création de ressources.

options
HypervCollectorsOperationsCreateOptionalParams

Paramètres d’options.

Retours

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

beginCreateAndWait(string, string, string, HypervCollector, HypervCollectorsOperationsCreateOptionalParams)

Créer un HypervCollector

function beginCreateAndWait(resourceGroupName: string, projectName: string, hypervCollectorName: string, resource: HypervCollector, options?: HypervCollectorsOperationsCreateOptionalParams): Promise<HypervCollector>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

projectName

string

Nom du projet d’évaluation

hypervCollectorName

string

nom ARM du collecteur Hyper-V

resource
HypervCollector

Paramètres de création de ressources.

options
HypervCollectorsOperationsCreateOptionalParams

Paramètres d’options.

Retours

Promise<HypervCollector>

delete(string, string, string, HypervCollectorsOperationsDeleteOptionalParams)

Supprimer un HypervCollector

function delete(resourceGroupName: string, projectName: string, hypervCollectorName: string, options?: HypervCollectorsOperationsDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

projectName

string

Nom du projet d’évaluation

hypervCollectorName

string

nom ARM du collecteur Hyper-V

options
HypervCollectorsOperationsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, HypervCollectorsOperationsGetOptionalParams)

Obtenir un HypervCollector

function get(resourceGroupName: string, projectName: string, hypervCollectorName: string, options?: HypervCollectorsOperationsGetOptionalParams): Promise<HypervCollector>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

projectName

string

Nom du projet d’évaluation

hypervCollectorName

string

nom ARM du collecteur Hyper-V

options
HypervCollectorsOperationsGetOptionalParams

Paramètres d’options.

Retours

Promise<HypervCollector>

listByAssessmentProject(string, string, HypervCollectorsOperationsListByAssessmentProjectOptionalParams)

Répertorier les ressources HypervCollector par AssessmentProject

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

projectName

string

Nom du projet d’évaluation

Retours