Virtual Clusters - Update Dns Servers
Synchronizes the DNS server settings used by the managed instances inside the given virtual cluster.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}/updateManagedInstanceDnsServers?api-version=2023-08-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
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. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
virtual
|
path | True |
string |
The name of the virtual cluster. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully performed synchronize of DNS servers inside virtual cluster. |
|
202 Accepted |
Successfully started synchronize of DNS servers inside virtual cluster. Headers Location: string |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
Performs update of dns servers on managed instance.
Sample request
Sample response
Location: https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/westus/virtualclusterazureasyncoperation/00000000-1111-2222-3333-444444444444?api-version=2022-11-01-preview
{
"properties": {
"status": "Succeeded"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/virtualClusters/VirtualCluster2b9a846b-2e37-43ef-a8e9-f2c6d645c1d7/updateManagedInstanceDnsServers"
}
Definitions
Name | Description |
---|---|
DNSRefresh |
The status of the DNS refresh operation. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Update |
A refresh DNS servers operation. |
DNSRefreshOperationStatus
The status of the DNS refresh operation.
Value | Description |
---|---|
Succeeded | |
Failed | |
InProgress |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
UpdateVirtualClusterDnsServersOperation
A refresh DNS servers operation.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.status |
The status of the DNS refresh operation. |
|
type |
string |
Resource type. |