Description | : Gets a list of all servers in the subscription. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "Servers_List", "$responses": { "200": { "$properties": { "value": { "$properties": { "properties": [ { "#name": "createMode", "Enum": { "new": [ [ "Normal", "" ], [ "Restore", "" ] ], "old": [ [ "Normal", "" ], [ "ServerMigrationV1", "" ], [ "DatabaseMigrationV1", "" ], [ "ServerMigration", "" ], [ "Standby", "" ], [ "Restore", "" ] ] } } ] } } } } } }
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers
{
$expand:
string
,
subscriptionId:
string
,
api-version:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
identity:
{
,
userAssignedIdentities:
object
,
principalId:
string
,
type:
enum
,
tenantId:
string
,
}
kind:
string
,
properties:
}
{
,
administratorLogin:
string
,
administratorLoginPassword:
string
,
version:
string
,
state:
string
,
fullyQualifiedDomainName:
string
,
privateEndpointConnections:
[
]
,
{
,
id:
string
,
properties:
}
{
,
privateEndpoint:
{
,
id:
string
,
}
groupIds:
[
,
string
,
]
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionsRequired:
enum
,
}
provisioningState:
enum
,
}
minimalTlsVersion:
enum
,
publicNetworkAccess:
enum
,
workspaceFeature:
enum
,
primaryUserAssignedIdentityId:
string
,
federatedClientId:
string
,
keyId:
string
,
administrators:
{
,
administratorType:
enum
,
principalType:
enum
,
login:
string
,
sid:
string
,
tenantId:
string
,
azureADOnlyAuthentication:
boolean
,
}
restrictOutboundNetworkAccess:
enum
,
isIPv6Enabled:
enum
,
externalGovernanceStatus:
enum
,
retentionDays:
integer
,
createMode:
enum
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}