共用方式為


GuestAgents interface

代表 GuestAgents 的介面。

方法

beginCreate(string, GuestAgent, GuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

beginCreateAndWait(string, GuestAgent, GuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

delete(string, GuestAgentsDeleteOptionalParams)

實作 GuestAgent DELETE 方法。

get(string, GuestAgentsGetOptionalParams)

實作 GuestAgent GET 方法。

listByVirtualMachineInstance(string, GuestAgentsListByVirtualMachineInstanceOptionalParams)

傳回指定 VM 的 GuestAgent 清單。

方法詳細資料

beginCreate(string, GuestAgent, GuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

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

參數

resourceUri

string

資源的完整 Azure Resource Manager 標識碼。

resource
GuestAgent

資源建立參數。

options
GuestAgentsCreateOptionalParams

選項參數。

傳回

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

beginCreateAndWait(string, GuestAgent, GuestAgentsCreateOptionalParams)

建立或更新 GuestAgent。

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

參數

resourceUri

string

資源的完整 Azure Resource Manager 標識碼。

resource
GuestAgent

資源建立參數。

options
GuestAgentsCreateOptionalParams

選項參數。

傳回

Promise<GuestAgent>

delete(string, GuestAgentsDeleteOptionalParams)

實作 GuestAgent DELETE 方法。

function delete(resourceUri: string, options?: GuestAgentsDeleteOptionalParams): Promise<void>

參數

resourceUri

string

資源的完整 Azure Resource Manager 標識碼。

options
GuestAgentsDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, GuestAgentsGetOptionalParams)

實作 GuestAgent GET 方法。

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

參數

resourceUri

string

資源的完整 Azure Resource Manager 標識碼。

options
GuestAgentsGetOptionalParams

選項參數。

傳回

Promise<GuestAgent>

listByVirtualMachineInstance(string, GuestAgentsListByVirtualMachineInstanceOptionalParams)

傳回指定 VM 的 GuestAgent 清單。

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

參數

resourceUri

string

資源的完整 Azure Resource Manager 標識碼。

傳回