Server Connection Policies - Get

Gets the server's secure connection policy.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/default?api-version=2014-04-01

URI Parameters

Name In Required Type Description
connectionPolicyName
path True

ConnectionPolicyName

The name of the connection policy.

resourceGroupName
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.

serverName
path True

string

The name of the server.

subscriptionId
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

ServerConnectionPolicy

OK

Examples

Get a server's secure connection policy

Sample request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default?api-version=2014-04-01

Sample response

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-1234/providers/Microsoft.Sql/servers/test-5678/connectionPolicies/default",
  "name": "default",
  "type": "Microsoft.Sql/servers/connectionPolicies",
  "location": "West US",
  "kind": null,
  "properties": {
    "connectionType": "Default"
  }
}

Definitions

Name Description
ConnectionPolicyName

The name of the connection policy.

ServerConnectionPolicy

A server secure connection policy.

ServerConnectionType

The server connection type.

ConnectionPolicyName

The name of the connection policy.

Name Type Description
default

string

ServerConnectionPolicy

A server secure connection policy.

Name Type Description
id

string

Resource ID.

kind

string

Metadata used for the Azure portal experience.

location

string

Resource location.

name

string

Resource name.

properties.connectionType

ServerConnectionType

The server connection type.

type

string

Resource type.

ServerConnectionType

The server connection type.

Name Type Description
Default

string

Proxy

string

Redirect

string