Servers - Refresh Status
Refresh external governance enablement status.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/refreshExternalGovernanceStatus?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. |
server
|
path | True |
string |
The name of the server. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully refreshed external governance enablement status. |
|
202 Accepted |
Refreshing external governance enablement status. Headers Location: string |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
Refresh external governance enablement status.
Sample request
POST https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/refreshExternalGovernanceStatus?api-version=2023-08-01
Sample response
{
"properties": {
"requestId": "00000000-0000-0000-0000-000000000000",
"requestType": "UpdatePurviewMetadata",
"queuedTime": "2/12/2022 8:33:27 PM",
"serverName": "testsvr.database.windows.net",
"status": "Completed"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.Sql/locations/japaneast/refreshExternalGovernanceStatusOperationResults/9d9a794a-5cec-4f23-af70-d29511b522a4",
"name": "9d9a794a-5cec-4f23-af70-d29511b522a4",
"type": "Microsoft.Sql/locations/refreshExternalGovernanceStatusOperationResults"
}
Location: https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.Sql/locations/japaneast/refreshExternalGovernanceStatusOperationResults/00000000-0000-0000-0000-000000000000?api-version=2022-08-01
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Refresh |
An RefreshExternalGovernanceStatus operation result resource. |
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. |
RefreshExternalGovernanceStatusOperationResult
An RefreshExternalGovernanceStatus operation result resource.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.errorMessage |
string |
Error message. |
properties.queuedTime |
string |
Queued time. |
properties.requestId |
string (uuid) |
Request Id. |
properties.requestType |
string |
Request type. |
properties.serverName |
string |
Server name. |
properties.status |
string |
Operation status. |
type |
string |
Resource type. |