/// <summary> /// Create or update a data factory. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.DataFactories.Core.IDataFactoryOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The resource group name of the data factory. /// </param> /// <param name='parameters'> /// Required. The parameters required to create or update a data /// factory. /// </param> /// <returns> /// The create or update data factory operation response. /// </returns> public static Task<DataFactoryCreateOrUpdateResponse> BeginCreateOrUpdateAsync( this IDataFactoryOperations operations, string resourceGroupName, DataFactoryCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, parameters, CancellationToken.None); }
/// <summary> /// Begins creating a new Azure SQL Server Active Directory /// Administrator or updating an existing Azure SQL Server Active /// Directory Administrator. To determine the status of the operation /// call GetServerAdministratorOperationStatus. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Sql.IServerAdministratorOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the Resource Group to which the server /// belongs. /// </param> /// <param name='serverName'> /// Required. The name of the Azure SQL Server to which the Azure SQL /// Server Active Directory administrator belongs /// </param> /// <param name='administratorName'> /// Required. The name of the Azure SQL Server Active Directory /// Administrator. /// </param> /// <param name='parameters'> /// Required. The required parameters for createing or updating an /// Active Directory Administrator. /// </param> /// <returns> /// Response for long running Azure SQL Server Active Directory /// Administrator operations. /// </returns> public static Task<ServerAdministratorCreateOrUpdateResponse> BeginCreateOrUpdateAsync(this IServerAdministratorOperations operations, string resourceGroupName, string serverName, string administratorName, ServerAdministratorCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, administratorName, parameters, CancellationToken.None); }
/// <summary> /// Begins creating a new or updating an existing Azure SQL Database /// Server communication. To determine the status of the operation /// call GetServerCommunicationLinkOperationStatus. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Sql.IServerCommunicationLinkOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the Resource Group to which the Azure SQL /// Database Server belongs. /// </param> /// <param name='serverName'> /// Required. The name of the Azure SQL Database Server on which the /// database is hosted. /// </param> /// <param name='communicationLinkName'> /// Required. The name of the Azure SQL Database Server communication /// link to be operated on (Updated or created). /// </param> /// <param name='parameters'> /// Required. The required parameters for createing or updating a /// Server communication link. /// </param> /// <returns> /// Response for long running Azure Sql Database server communication /// link operation. /// </returns> public static Task<ServerCommunicationLinkCreateOrUpdateResponse> BeginCreateOrUpdateAsync(this IServerCommunicationLinkOperations operations, string resourceGroupName, string serverName, string communicationLinkName, ServerCommunicationLinkCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, communicationLinkName, parameters, CancellationToken.None); }
/// <summary> /// Begins creating a new Azure SQL Database Elastic Pool or updating /// an existing Azure SQL Database Elastic Pool. To determine the /// status of the operation call GetElasticPoolOperationStatus. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Sql.IElasticPoolOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the Resource Group to which the Azure SQL /// Database Server belongs. /// </param> /// <param name='serverName'> /// Required. The name of the Azure SQL Database Server on which the /// database is hosted. /// </param> /// <param name='elasticPoolName'> /// Required. The name of the Azure SQL Database Elastic Pool to be /// operated on (Updated or created). /// </param> /// <param name='parameters'> /// Required. The required parameters for createing or updating an /// Elastic Pool. /// </param> /// <returns> /// Response for long running Azure Sql Database Elastic Pool operation. /// </returns> public static Task<ElasticPoolCreateOrUpdateResponse> BeginCreateOrUpdateAsync(this IElasticPoolOperations operations, string resourceGroupName, string serverName, string elasticPoolName, ElasticPoolCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, elasticPoolName, parameters, CancellationToken.None); }
/// <summary> /// Create or update a workspace. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.OperationalInsights.IWorkspaceOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The resource group name of the workspace. /// </param> /// <param name='parameters'> /// Required. The parameters required to create or update a workspace. /// </param> /// <returns> /// The create or update workspace operation response. /// </returns> public static Task<WorkspaceCreateOrUpdateResponse> BeginCreateOrUpdateAsync(this IWorkspaceOperations operations, string resourceGroupName, WorkspaceCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, parameters, CancellationToken.None); }
/// <summary> /// Create or update a data factory linkedService. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.DataFactories.ILinkedServiceOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The resource group name of the data factory. /// </param> /// <param name='dataFactoryName'> /// Required. The name of the data factory. /// </param> /// <param name='parameters'> /// Required. The parameters required to create or update a data /// factory linkedService. /// </param> /// <returns> /// The create or update data factory linkedService operation response. /// </returns> public static Task<LinkedServiceCreateOrUpdateResponse> BeginCreateOrUpdateAsync(this ILinkedServiceOperations operations, string resourceGroupName, string dataFactoryName, LinkedServiceCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, dataFactoryName, parameters, CancellationToken.None); }
/// <summary> /// Begins creating a new or updating an existing Azure SQL Server /// disaster recovery configuration. To determine the status of the /// operation call /// GetServerDisasterRecoveryConfigurationOperationStatus. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Sql.IServerDisasterRecoveryConfigurationOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the Resource Group to which the Azure SQL /// Server belongs. /// </param> /// <param name='serverName'> /// Required. The name of the Azure SQL Server. /// </param> /// <param name='serverDisasterRecoveryConfigurationName'> /// Required. The name of the Azure SQL Server disaster recovery /// configuration to be operated on (Updated or created). /// </param> /// <param name='parameters'> /// Required. The required parameters for creating or updating a Server /// disaster recovery configuration. /// </param> /// <returns> /// Response for long running Azure Sql server disaster recovery /// configuration operation. /// </returns> public static Task<ServerDisasterRecoveryConfigurationCreateOrUpdateResponse> BeginCreateOrUpdateAsync(this IServerDisasterRecoveryConfigurationOperations operations, string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName, ServerDisasterRecoveryConfigurationCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, serverDisasterRecoveryConfigurationName, parameters, CancellationToken.None); }
/// <summary> /// Begins creating a new Azure SQL Job Account or updating an existing /// Azure SQL Job Account. To determine the status of the operation /// call GetJobAccountOperationStatus. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Sql.IJobAccountOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the Resource Group to which the Azure SQL /// Database Server belongs. /// </param> /// <param name='serverName'> /// Required. The name of the Azure SQL Database Server that the Job /// Account is hosted in. /// </param> /// <param name='jobAccountName'> /// Required. The name of the Azure SQL Job Account to be created or /// updated. /// </param> /// <param name='parameters'> /// Required. The required parameters for creating or updating a Job /// Account. /// </param> /// <returns> /// Response for long running Azure Sql Job Account operations. /// </returns> public static Task<JobAccountOperationResponse> BeginCreateOrUpdateAsync(this IJobAccountOperations operations, string resourceGroupName, string serverName, string jobAccountName, JobAccountCreateOrUpdateParameters parameters) { return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, jobAccountName, parameters, CancellationToken.None); }