/// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Insights.IAutoscaleOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The resource name. /// </param> /// <param name='autoscaleSettingName'> /// Required. The autoscale setting name. /// </param> /// <param name='parameters'> /// Required. Parameters supplied to the operation. /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task<AzureOperationResponse> CreateOrUpdateSettingAsync(this IAutoscaleOperations operations, string resourceGroupName, string autoscaleSettingName, AutoscaleSettingCreateOrUpdateParameters parameters) { return operations.CreateOrUpdateSettingAsync(resourceGroupName, autoscaleSettingName, parameters, CancellationToken.None); }
/// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Insights.IAutomatedExportOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The resource group name. /// </param> /// <param name='serverName'> /// Required. The server name. /// </param> /// <param name='databaseName'> /// Required. The database name. /// </param> /// <param name='parameters'> /// Required. Parameters supplied to the operation. /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task<AzureOperationResponse> CreateOrUpdateSettingAsync(this IAutomatedExportOperations operations, string resourceGroupName, string serverName, string databaseName, AutomatedExportSettingCreateOrUpdateParameters parameters) { return operations.CreateOrUpdateSettingAsync(resourceGroupName, serverName, databaseName, parameters, CancellationToken.None); }