ISettingOperations.CreateOrUpdateAsync 方法 (String, AutoscaleSettingCreateOrUpdateParameters, CancellationToken)

 

命名空间:   Microsoft.WindowsAzure.Management.Monitoring.Autoscale
程序集:  Microsoft.WindowsAzure.Management.Monitoring(Microsoft.WindowsAzure.Management.Monitoring.dll 中)

语法

Task<AzureOperationResponse> CreateOrUpdateAsync(
    string resourceId,
    AutoscaleSettingCreateOrUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ CreateOrUpdateAsync(
    String^ resourceId,
    AutoscaleSettingCreateOrUpdateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateOrUpdateAsync : 
        resourceId:string *
        parameters:AutoscaleSettingCreateOrUpdateParameters *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function CreateOrUpdateAsync (
    resourceId As String,
    parameters As AutoscaleSettingCreateOrUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

参数

返回值

Type: System.Threading.Tasks.Task<AzureOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

ISettingOperations 接口
Microsoft.WindowsAzure.Management.Monitoring.Autoscale 命名空间

返回页首