次の方法で共有


Hosts interface

ホストを表すインターフェイス。

メソッド

beginCreate(string, string, HostsCreateOptionalParams)

ホストを作成または更新します。

beginCreateAndWait(string, string, HostsCreateOptionalParams)

ホストを作成または更新します。

beginDelete(string, string, HostsDeleteOptionalParams)

ホスト DELETE メソッドを実装します。

beginDeleteAndWait(string, string, HostsDeleteOptionalParams)

ホスト DELETE メソッドを実装します。

get(string, string, HostsGetOptionalParams)

ホスト GET メソッドを実装します。

list(HostsListOptionalParams)

サブスクリプション内のホストの一覧。

listByResourceGroup(string, HostsListByResourceGroupOptionalParams)

リソース グループ内のホストの一覧。

update(string, string, HostsUpdateOptionalParams)

ホスト リソースの特定のプロパティを更新する API。

メソッドの詳細

beginCreate(string, string, HostsCreateOptionalParams)

ホストを作成または更新します。

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

パラメーター

resourceGroupName

string

リソース グループ名。

hostName

string

ホストの名前。

options
HostsCreateOptionalParams

オプション パラメーター。

戻り値

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

beginCreateAndWait(string, string, HostsCreateOptionalParams)

ホストを作成または更新します。

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

パラメーター

resourceGroupName

string

リソース グループ名。

hostName

string

ホストの名前。

options
HostsCreateOptionalParams

オプション パラメーター。

戻り値

Promise<Host>

beginDelete(string, string, HostsDeleteOptionalParams)

ホスト DELETE メソッドを実装します。

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

パラメーター

resourceGroupName

string

リソース グループ名。

hostName

string

ホストの名前。

options
HostsDeleteOptionalParams

オプション パラメーター。

戻り値

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

beginDeleteAndWait(string, string, HostsDeleteOptionalParams)

ホスト DELETE メソッドを実装します。

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

パラメーター

resourceGroupName

string

リソース グループ名。

hostName

string

ホストの名前。

options
HostsDeleteOptionalParams

オプション パラメーター。

戻り値

Promise<void>

get(string, string, HostsGetOptionalParams)

ホスト GET メソッドを実装します。

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

パラメーター

resourceGroupName

string

リソース グループ名。

hostName

string

ホストの名前。

options
HostsGetOptionalParams

オプション パラメーター。

戻り値

Promise<Host>

list(HostsListOptionalParams)

サブスクリプション内のホストの一覧。

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

パラメーター

options
HostsListOptionalParams

オプション パラメーター。

戻り値

listByResourceGroup(string, HostsListByResourceGroupOptionalParams)

リソース グループ内のホストの一覧。

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

パラメーター

resourceGroupName

string

リソース グループ名。

options
HostsListByResourceGroupOptionalParams

オプション パラメーター。

戻り値

update(string, string, HostsUpdateOptionalParams)

ホスト リソースの特定のプロパティを更新する API。

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

パラメーター

resourceGroupName

string

リソース グループ名。

hostName

string

ホストの名前。

options
HostsUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<Host>