Partilhar via


HybridComputeLicenseProfileResource.CreateOrUpdate Method

Definition

The operation to create or update a license profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}
  • Operation Id: LicenseProfiles_CreateOrUpdate
  • Default Api Version: 2024-07-31-preview
  • Resource: HybridComputeLicenseProfileResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridCompute.HybridComputeLicenseProfileResource> CreateOrUpdate (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridCompute.HybridComputeLicenseProfileData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.HybridCompute.HybridComputeLicenseProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridCompute.HybridComputeLicenseProfileResource>
override this.CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.HybridCompute.HybridComputeLicenseProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridCompute.HybridComputeLicenseProfileResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, data As HybridComputeLicenseProfileData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of HybridComputeLicenseProfileResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
HybridComputeLicenseProfileData

Parameters supplied to the Create or Update license profile operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to