共用方式為


ISettingOperations.CreateOrUpdateAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdateAsync (string resourceId, Microsoft.WindowsAzure.Management.Monitoring.Autoscale.Models.AutoscaleSettingCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAsync : string * Microsoft.WindowsAzure.Management.Monitoring.Autoscale.Models.AutoscaleSettingCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function CreateOrUpdateAsync (resourceId As String, parameters As AutoscaleSettingCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

resourceId
String

The resource ID.

parameters
AutoscaleSettingCreateOrUpdateParameters

Parameters supplied to the operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to