共用方式為


VMInstanceGuestAgents interface

代表 VMInstanceGuestAgents 的介面。

方法

beginCreate(string, VMInstanceGuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

beginCreateAndWait(string, VMInstanceGuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

beginDelete(string, VMInstanceGuestAgentsDeleteOptionalParams)

實作 GuestAgent DELETE 方法。

beginDeleteAndWait(string, VMInstanceGuestAgentsDeleteOptionalParams)

實作 GuestAgent DELETE 方法。

get(string, VMInstanceGuestAgentsGetOptionalParams)

實作 GuestAgent GET 方法。

list(string, VMInstanceGuestAgentsListOptionalParams)

傳回指定 VM 的 GuestAgent 清單。

方法詳細資料

beginCreate(string, VMInstanceGuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

function beginCreate(resourceUri: string, options?: VMInstanceGuestAgentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<GuestAgent>, GuestAgent>>

參數

resourceUri

string

要擴充之混合式計算機器資源的完整 Azure Resource Manager 標識符。

傳回

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

beginCreateAndWait(string, VMInstanceGuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

function beginCreateAndWait(resourceUri: string, options?: VMInstanceGuestAgentsCreateOptionalParams): Promise<GuestAgent>

參數

resourceUri

string

要擴充之混合式計算機器資源的完整 Azure Resource Manager 標識符。

傳回

Promise<GuestAgent>

beginDelete(string, VMInstanceGuestAgentsDeleteOptionalParams)

實作 GuestAgent DELETE 方法。

function beginDelete(resourceUri: string, options?: VMInstanceGuestAgentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VMInstanceGuestAgentsDeleteHeaders>, VMInstanceGuestAgentsDeleteHeaders>>

參數

resourceUri

string

要擴充之混合式計算機器資源的完整 Azure Resource Manager 標識符。

傳回

beginDeleteAndWait(string, VMInstanceGuestAgentsDeleteOptionalParams)

實作 GuestAgent DELETE 方法。

function beginDeleteAndWait(resourceUri: string, options?: VMInstanceGuestAgentsDeleteOptionalParams): Promise<VMInstanceGuestAgentsDeleteHeaders>

參數

resourceUri

string

要擴充之混合式計算機器資源的完整 Azure Resource Manager 標識符。

傳回

get(string, VMInstanceGuestAgentsGetOptionalParams)

實作 GuestAgent GET 方法。

function get(resourceUri: string, options?: VMInstanceGuestAgentsGetOptionalParams): Promise<GuestAgent>

參數

resourceUri

string

要擴充之混合式計算機器資源的完整 Azure Resource Manager 標識符。

options
VMInstanceGuestAgentsGetOptionalParams

選項參數。

傳回

Promise<GuestAgent>

list(string, VMInstanceGuestAgentsListOptionalParams)

傳回指定 VM 的 GuestAgent 清單。

function list(resourceUri: string, options?: VMInstanceGuestAgentsListOptionalParams): PagedAsyncIterableIterator<GuestAgent, GuestAgent[], PageSettings>

參數

resourceUri

string

要擴充之混合式計算機器資源的完整 Azure Resource Manager 標識符。

options
VMInstanceGuestAgentsListOptionalParams

選項參數。

傳回