Partager via


Hosts interface

Interface représentant un hôte.

Méthodes

beginCreate(string, string, HostsCreateOptionalParams)

Créer ou mettre à jour l’hôte.

beginCreateAndWait(string, string, HostsCreateOptionalParams)

Créer ou mettre à jour l’hôte.

beginDelete(string, string, HostsDeleteOptionalParams)

Implémente la méthode DELETE de l’hôte.

beginDeleteAndWait(string, string, HostsDeleteOptionalParams)

Implémente la méthode DELETE de l’hôte.

get(string, string, HostsGetOptionalParams)

Implémente la méthode GET hôte.

list(HostsListOptionalParams)

Liste des hôtes dans un abonnement.

listByResourceGroup(string, HostsListByResourceGroupOptionalParams)

Liste des hôtes dans un groupe de ressources.

update(string, string, HostsUpdateOptionalParams)

API pour mettre à jour certaines propriétés de la ressource hôte.

Détails de la méthode

beginCreate(string, string, HostsCreateOptionalParams)

Créer ou mettre à jour l’hôte.

function beginCreate(resourceGroupName: string, hostName: string, options?: HostsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Host>, Host>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

hostName

string

Nom de l’hôte.

options
HostsCreateOptionalParams

Paramètres d’options.

Retours

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

beginCreateAndWait(string, string, HostsCreateOptionalParams)

Créer ou mettre à jour l’hôte.

function beginCreateAndWait(resourceGroupName: string, hostName: string, options?: HostsCreateOptionalParams): Promise<Host>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

hostName

string

Nom de l’hôte.

options
HostsCreateOptionalParams

Paramètres d’options.

Retours

Promise<Host>

beginDelete(string, string, HostsDeleteOptionalParams)

Implémente la méthode DELETE de l’hôte.

function beginDelete(resourceGroupName: string, hostName: string, options?: HostsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

hostName

string

Nom de l’hôte.

options
HostsDeleteOptionalParams

Paramètres d’options.

Retours

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

beginDeleteAndWait(string, string, HostsDeleteOptionalParams)

Implémente la méthode DELETE de l’hôte.

function beginDeleteAndWait(resourceGroupName: string, hostName: string, options?: HostsDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

hostName

string

Nom de l’hôte.

options
HostsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, HostsGetOptionalParams)

Implémente la méthode GET hôte.

function get(resourceGroupName: string, hostName: string, options?: HostsGetOptionalParams): Promise<Host>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

hostName

string

Nom de l’hôte.

options
HostsGetOptionalParams

Paramètres d’options.

Retours

Promise<Host>

list(HostsListOptionalParams)

Liste des hôtes dans un abonnement.

function list(options?: HostsListOptionalParams): PagedAsyncIterableIterator<Host, Host[], PageSettings>

Paramètres

options
HostsListOptionalParams

Paramètres d’options.

Retours

listByResourceGroup(string, HostsListByResourceGroupOptionalParams)

Liste des hôtes dans un groupe de ressources.

function listByResourceGroup(resourceGroupName: string, options?: HostsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Host, Host[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

options
HostsListByResourceGroupOptionalParams

Paramètres d’options.

Retours

update(string, string, HostsUpdateOptionalParams)

API pour mettre à jour certaines propriétés de la ressource hôte.

function update(resourceGroupName: string, hostName: string, options?: HostsUpdateOptionalParams): Promise<Host>

Paramètres

resourceGroupName

string

Nom du groupe de ressources.

hostName

string

Nom de l’hôte.

options
HostsUpdateOptionalParams

Paramètres d’options.

Retours

Promise<Host>