Share via


VirtualClusterResource.UpdateDnsServersAsync Method

Definition

Overloads

UpdateDnsServersAsync(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}/updateManagedInstanceDnsServers
  • Operation Id: VirtualClusters_UpdateDnsServers
UpdateDnsServersAsync(WaitUntil, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}/updateManagedInstanceDnsServers
  • Operation Id: VirtualClusters_UpdateDnsServers
  • Default Api Version: 2022-05-01-preview
  • Resource: VirtualClusterResource

UpdateDnsServersAsync(CancellationToken)

Source:
VirtualClusterResource.cs
Source:
VirtualClusterResource.cs

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}/updateManagedInstanceDnsServers
  • Operation Id: VirtualClusters_UpdateDnsServers
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.ManagedInstanceUpdateDnsServersOperationData>> UpdateDnsServersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateDnsServersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.ManagedInstanceUpdateDnsServersOperationData>>
override this.UpdateDnsServersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.ManagedInstanceUpdateDnsServersOperationData>>
Public Overridable Function UpdateDnsServersAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedInstanceUpdateDnsServersOperationData))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

UpdateDnsServersAsync(WaitUntil, CancellationToken)

Source:
VirtualClusterResource.cs
Source:
VirtualClusterResource.cs

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}/updateManagedInstanceDnsServers
  • Operation Id: VirtualClusters_UpdateDnsServers
  • Default Api Version: 2022-05-01-preview
  • Resource: VirtualClusterResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sql.Models.ManagedInstanceUpdateDnsServersOperationData>> UpdateDnsServersAsync (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateDnsServersAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sql.Models.ManagedInstanceUpdateDnsServersOperationData>>
override this.UpdateDnsServersAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sql.Models.ManagedInstanceUpdateDnsServersOperationData>>
Public Overridable Function UpdateDnsServersAsync (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ManagedInstanceUpdateDnsServersOperationData))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to