GuestAgents interface
表示 GuestAgents 的接口。
方法
| begin |
创建或更新 GuestAgent。 |
| begin |
创建或更新 GuestAgent。 |
| delete(string, Guest |
实现 GuestAgent DELETE 方法。 |
| get(string, Guest |
实现 GuestAgent GET 方法。 |
| list |
返回给定 VM 的 GuestAgent 列表。 |
方法详细信息
beginCreate(string, GuestAgent, GuestAgentsCreateOptionalParams)
创建或更新 GuestAgent。
function beginCreate(resourceUri: string, resource: GuestAgent, options?: GuestAgentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<GuestAgent>, GuestAgent>>
参数
- resourceUri
-
string
资源的完全限定的 Azure 资源管理器标识符。
- 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
- GuestAgent
资源创建参数。
- options
- GuestAgentsCreateOptionalParams
选项参数。
返回
Promise<GuestAgent>
delete(string, GuestAgentsDeleteOptionalParams)
实现 GuestAgent DELETE 方法。
function delete(resourceUri: string, options?: GuestAgentsDeleteOptionalParams): Promise<void>
参数
- resourceUri
-
string
资源的完全限定的 Azure 资源管理器标识符。
- options
- GuestAgentsDeleteOptionalParams
选项参数。
返回
Promise<void>
get(string, GuestAgentsGetOptionalParams)
实现 GuestAgent GET 方法。
function get(resourceUri: string, options?: GuestAgentsGetOptionalParams): Promise<GuestAgent>
参数
- resourceUri
-
string
资源的完全限定的 Azure 资源管理器标识符。
- options
- GuestAgentsGetOptionalParams
选项参数。
返回
Promise<GuestAgent>
listByVirtualMachineInstance(string, GuestAgentsListByVirtualMachineInstanceOptionalParams)
返回给定 VM 的 GuestAgent 列表。
function listByVirtualMachineInstance(resourceUri: string, options?: GuestAgentsListByVirtualMachineInstanceOptionalParams): PagedAsyncIterableIterator<GuestAgent, GuestAgent[], PageSettings>
参数
- resourceUri
-
string
资源的完全限定的 Azure 资源管理器标识符。
选项参数。