共用方式為


VirtualClustersOperationsExtensions.UpdateDnsServersAsync Method

Definition

Synchronizes the DNS server settings used by the managed instances inside the given virtual cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.UpdateManagedInstanceDnsServersOperation> UpdateDnsServersAsync (this Microsoft.Azure.Management.Sql.IVirtualClustersOperations operations, string resourceGroupName, string virtualClusterName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateDnsServersAsync : Microsoft.Azure.Management.Sql.IVirtualClustersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.UpdateManagedInstanceDnsServersOperation>
<Extension()>
Public Function UpdateDnsServersAsync (operations As IVirtualClustersOperations, resourceGroupName As String, virtualClusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of UpdateManagedInstanceDnsServersOperation)

Parameters

operations
IVirtualClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

virtualClusterName
String

The name of the virtual cluster.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to