LicenseProfiles interface

Interface representing a LicenseProfiles.

Methods

beginCreateOrUpdate(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

The operation to create or update a license profile.

beginCreateOrUpdateAndWait(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

The operation to create or update a license profile.

beginDelete(string, string, LicenseProfilesDeleteOptionalParams)

The operation to delete a license profile.

beginDeleteAndWait(string, string, LicenseProfilesDeleteOptionalParams)

The operation to delete a license profile.

beginUpdate(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

The operation to update a license profile.

beginUpdateAndWait(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

The operation to update a license profile.

get(string, string, LicenseProfilesGetOptionalParams)

Retrieves information about the view of a license profile.

list(string, string, LicenseProfilesListOptionalParams)

The operation to get all license profiles of a non-Azure machine

Method Details

beginCreateOrUpdate(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

The operation to create or update a license profile.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

parameters
LicenseProfile

Parameters supplied to the Create or Update license profile operation.

options
LicenseProfilesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, LicenseProfile, LicenseProfilesCreateOrUpdateOptionalParams)

The operation to create or update a license profile.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

parameters
LicenseProfile

Parameters supplied to the Create or Update license profile operation.

options
LicenseProfilesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<LicenseProfile>

beginDelete(string, string, LicenseProfilesDeleteOptionalParams)

The operation to delete a license profile.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

options
LicenseProfilesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, LicenseProfilesDeleteOptionalParams)

The operation to delete a license profile.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

options
LicenseProfilesDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

The operation to update a license profile.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

parameters
LicenseProfileUpdate

Parameters supplied to the Update license profile operation.

options
LicenseProfilesUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, LicenseProfileUpdate, LicenseProfilesUpdateOptionalParams)

The operation to update a license profile.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

parameters
LicenseProfileUpdate

Parameters supplied to the Update license profile operation.

options
LicenseProfilesUpdateOptionalParams

The options parameters.

Returns

Promise<LicenseProfile>

get(string, string, LicenseProfilesGetOptionalParams)

Retrieves information about the view of a license profile.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

options
LicenseProfilesGetOptionalParams

The options parameters.

Returns

Promise<LicenseProfile>

list(string, string, LicenseProfilesListOptionalParams)

The operation to get all license profiles of a non-Azure machine

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the machine.

options
LicenseProfilesListOptionalParams

The options parameters.

Returns