Delen via


Hosts interface

Interface die een hosts vertegenwoordigt.

Methoden

beginCreate(string, string, HostsCreateOptionalParams)

Host maken of bijwerken.

beginCreateAndWait(string, string, HostsCreateOptionalParams)

Host maken of bijwerken.

beginDelete(string, string, HostsDeleteOptionalParams)

Hiermee wordt de host DELETE-methode geïmplementeerd.

beginDeleteAndWait(string, string, HostsDeleteOptionalParams)

Hiermee wordt de host DELETE-methode geïmplementeerd.

get(string, string, HostsGetOptionalParams)

Implementeert de GET-methode voor de host.

list(HostsListOptionalParams)

Lijst met hosts in een abonnement.

listByResourceGroup(string, HostsListByResourceGroupOptionalParams)

Lijst met hosts in een resourcegroep.

update(string, string, HostsUpdateOptionalParams)

API voor het bijwerken van bepaalde eigenschappen van de hostresource.

Methodedetails

beginCreate(string, string, HostsCreateOptionalParams)

Host maken of bijwerken.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep.

hostName

string

Naam van de host.

options
HostsCreateOptionalParams

De optiesparameters.

Retouren

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

beginCreateAndWait(string, string, HostsCreateOptionalParams)

Host maken of bijwerken.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep.

hostName

string

Naam van de host.

options
HostsCreateOptionalParams

De optiesparameters.

Retouren

Promise<Host>

beginDelete(string, string, HostsDeleteOptionalParams)

Hiermee wordt de host DELETE-methode geïmplementeerd.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep.

hostName

string

Naam van de host.

options
HostsDeleteOptionalParams

De optiesparameters.

Retouren

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

beginDeleteAndWait(string, string, HostsDeleteOptionalParams)

Hiermee wordt de host DELETE-methode geïmplementeerd.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep.

hostName

string

Naam van de host.

options
HostsDeleteOptionalParams

De optiesparameters.

Retouren

Promise<void>

get(string, string, HostsGetOptionalParams)

Implementeert de GET-methode voor de host.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep.

hostName

string

Naam van de host.

options
HostsGetOptionalParams

De optiesparameters.

Retouren

Promise<Host>

list(HostsListOptionalParams)

Lijst met hosts in een abonnement.

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

Parameters

options
HostsListOptionalParams

De optiesparameters.

Retouren

listByResourceGroup(string, HostsListByResourceGroupOptionalParams)

Lijst met hosts in een resourcegroep.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep.

options
HostsListByResourceGroupOptionalParams

De optiesparameters.

Retouren

update(string, string, HostsUpdateOptionalParams)

API voor het bijwerken van bepaalde eigenschappen van de hostresource.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep.

hostName

string

Naam van de host.

options
HostsUpdateOptionalParams

De optiesparameters.

Retouren

Promise<Host>