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

LicenseProfiles interface

表示 LicenseProfiles 的接口。

方法

beginCreateOrUpdate(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

用于创建或更新许可证配置文件的操作。

beginCreateOrUpdateAndWait(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

用于创建或更新许可证配置文件的操作。

beginDelete(string, string, LicenseProfilesDeleteOptionalParams)

用于删除许可证配置文件的操作。

beginDeleteAndWait(string, string, LicenseProfilesDeleteOptionalParams)

用于删除许可证配置文件的操作。

beginUpdate(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

用于更新许可证配置文件的操作。

beginUpdateAndWait(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

用于更新许可证配置文件的操作。

get(string, string, LicenseProfilesGetOptionalParams)

检索有关许可证配置文件视图的信息。

list(string, string, LicenseProfilesListOptionalParams)

获取非 Azure 计算机的所有许可证配置文件的操作

方法详细信息

beginCreateOrUpdate(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

用于创建或更新许可证配置文件的操作。

function beginCreateOrUpdate(resourceGroupName: string, machineName: string, parameters: LicenseProfile, options?: LicenseProfilesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LicenseProfile>, LicenseProfile>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

混合计算机的名称。

parameters
LicenseProfile

提供给创建或更新许可证配置文件操作的参数。

返回

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

beginCreateOrUpdateAndWait(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

用于创建或更新许可证配置文件的操作。

function beginCreateOrUpdateAndWait(resourceGroupName: string, machineName: string, parameters: LicenseProfile, options?: LicenseProfilesCreateOrUpdateOptionalParams): Promise<LicenseProfile>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

混合计算机的名称。

parameters
LicenseProfile

提供给创建或更新许可证配置文件操作的参数。

返回

Promise<LicenseProfile>

beginDelete(string, string, LicenseProfilesDeleteOptionalParams)

用于删除许可证配置文件的操作。

function beginDelete(resourceGroupName: string, machineName: string, options?: LicenseProfilesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<LicenseProfilesDeleteHeaders>, LicenseProfilesDeleteHeaders>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

混合计算机的名称。

options
LicenseProfilesDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, LicenseProfilesDeleteOptionalParams)

用于删除许可证配置文件的操作。

function beginDeleteAndWait(resourceGroupName: string, machineName: string, options?: LicenseProfilesDeleteOptionalParams): Promise<LicenseProfilesDeleteHeaders>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

混合计算机的名称。

options
LicenseProfilesDeleteOptionalParams

选项参数。

返回

beginUpdate(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

用于更新许可证配置文件的操作。

function beginUpdate(resourceGroupName: string, machineName: string, parameters: LicenseProfileUpdate, options?: LicenseProfilesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LicenseProfile>, LicenseProfile>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

混合计算机的名称。

parameters
LicenseProfileUpdate

提供给更新许可证配置文件操作的参数。

options
LicenseProfilesUpdateOptionalParams

选项参数。

返回

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

beginUpdateAndWait(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

用于更新许可证配置文件的操作。

function beginUpdateAndWait(resourceGroupName: string, machineName: string, parameters: LicenseProfileUpdate, options?: LicenseProfilesUpdateOptionalParams): Promise<LicenseProfile>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

混合计算机的名称。

parameters
LicenseProfileUpdate

提供给更新许可证配置文件操作的参数。

options
LicenseProfilesUpdateOptionalParams

选项参数。

返回

Promise<LicenseProfile>

get(string, string, LicenseProfilesGetOptionalParams)

检索有关许可证配置文件视图的信息。

function get(resourceGroupName: string, machineName: string, options?: LicenseProfilesGetOptionalParams): Promise<LicenseProfile>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

混合计算机的名称。

options
LicenseProfilesGetOptionalParams

选项参数。

返回

Promise<LicenseProfile>

list(string, string, LicenseProfilesListOptionalParams)

获取非 Azure 计算机的所有许可证配置文件的操作

function list(resourceGroupName: string, machineName: string, options?: LicenseProfilesListOptionalParams): PagedAsyncIterableIterator<LicenseProfile, LicenseProfile[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

machineName

string

计算机的名称。

options
LicenseProfilesListOptionalParams

选项参数。

返回