你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SoftwareInventories interface

表示 SoftwareInventories 的接口。

方法

get(string, string, string, string, string, SoftwareInventoriesGetOptionalParams)

获取虚拟机的单个软件数据。

listByExtendedResource(string, string, string, string, SoftwareInventoriesListByExtendedResourceOptionalParams)

获取虚拟机的软件清单。

listBySubscription(SoftwareInventoriesListBySubscriptionOptionalParams)

获取订阅中所有虚拟机的软件清单。

方法详细信息

get(string, string, string, string, string, SoftwareInventoriesGetOptionalParams)

获取虚拟机的单个软件数据。

function get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, softwareName: string, options?: SoftwareInventoriesGetOptionalParams): Promise<Software>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

resourceNamespace

string

资源的命名空间。

resourceType

string

资源的类型。

resourceName

string

资源的名称。

softwareName

string

已安装软件的名称。

options
SoftwareInventoriesGetOptionalParams

选项参数。

返回

Promise<Software>

listByExtendedResource(string, string, string, string, SoftwareInventoriesListByExtendedResourceOptionalParams)

获取虚拟机的软件清单。

function listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: SoftwareInventoriesListByExtendedResourceOptionalParams): PagedAsyncIterableIterator<Software, Software[], PageSettings>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

resourceNamespace

string

资源的命名空间。

resourceType

string

资源的类型。

resourceName

string

资源的名称。

返回

listBySubscription(SoftwareInventoriesListBySubscriptionOptionalParams)

获取订阅中所有虚拟机的软件清单。

function listBySubscription(options?: SoftwareInventoriesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Software, Software[], PageSettings>

参数

返回