共用方式為


ISqlPoolMetadataSyncConfigsOperations.CreateWithHttpMessagesAsync Method

Definition

Set SQL pool metadata sync config

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Synapse.Models.MetadataSyncConfig>> CreateWithHttpMessagesAsync (string resourceGroupName, string workspaceName, string sqlPoolName, Microsoft.Azure.Management.Synapse.Models.MetadataSyncConfig metadataSyncConfiguration, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Synapse.Models.MetadataSyncConfig * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Synapse.Models.MetadataSyncConfig>>
Public Function CreateWithHttpMessagesAsync (resourceGroupName As String, workspaceName As String, sqlPoolName As String, metadataSyncConfiguration As MetadataSyncConfig, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of MetadataSyncConfig))

Parameters

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

sqlPoolName
String

SQL pool name

metadataSyncConfiguration
MetadataSyncConfig

Metadata sync configuration

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Microsoft.Azure.Management.Synapse.Models.ErrorContractException

Thrown when the operation returned an invalid status code

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Remarks

Set the metadata sync configuration for a SQL pool

Applies to