Database Connection Policies - Get
Hiermee haalt u het verbindingsbeleid van een database op, dat wordt gebruikt met tabelcontrole. Tabelcontrole is afgeschaft. Gebruik in plaats daarvan blobcontrole.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/connectionPolicies/default?api-version=2014-04-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
connection
|
path | True |
De naam van het verbindingsbeleid. |
|
database
|
path | True |
string |
De naam van de database waarvoor het verbindingsbeleid is gedefinieerd. |
resource
|
path | True |
string |
De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal. |
server
|
path | True |
string |
De naam van de server. |
subscription
|
path | True |
string |
De abonnements-id waarmee een Azure-abonnement wordt geïdentificeerd. |
api-version
|
query | True |
string |
De API-versie die moet worden gebruikt voor de aanvraag. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Het databaseverbindingsbeleid is opgehaald. |
Voorbeelden
Get database table auditing policy
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default?api-version=2014-04-01
Voorbeeldrespons
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default",
"name": "default",
"type": "Microsoft.Sql/servers/databases/connectionPolicies",
"location": "West US",
"kind": null,
"properties": {
"securityEnabledAccess": "Optional",
"proxyDnsName": "blobauditingtest-2080.database.secure.windows.net",
"proxyPort": "1433",
"visibility": "Visible",
"useServerDefault": "Enabled",
"redirectionState": "Disabled",
"state": "New"
}
}
Definities
Name | Description |
---|---|
Connection |
De naam van het verbindingsbeleid. |
Database |
Een databaseverbindingsbeleid. |
ConnectionPolicyName
De naam van het verbindingsbeleid.
Name | Type | Description |
---|---|---|
default |
string |
DatabaseConnectionPolicy
Een databaseverbindingsbeleid.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Resourcetype. |
location |
string |
Resourcelocatie. |
name |
string |
Resourcenaam. |
properties.proxyDnsName |
string |
De volledig gekwalificeerde hostnaam van de controleproxy. |
properties.proxyPort |
string |
Het poortnummer van de controleproxy. |
properties.redirectionState |
string |
De status van proxyomleiding. |
properties.securityEnabledAccess |
string |
De status van de beveiligingstoegang. |
properties.state |
string |
De status van het verbindingsbeleid. |
properties.useServerDefault |
string |
Hiermee wordt aangegeven of de standaardinstelling van de server is ingeschakeld of uitgeschakeld. |
properties.visibility |
string |
De zichtbaarheid van de controleproxy. |
type |
string |
Resourcetype. |