Server Connection Policies - List By Server
接続ポリシーを一覧表示します
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies?api-version=2021-11-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
resource
|
path | True |
string |
リソースを含むリソース グループの名前。 この値は、Azure Resource Manager API またはポータルから取得できます。 |
server
|
path | True |
string |
サーバーの名前。 |
subscription
|
path | True |
string |
Azure サブスクリプションを識別するサブスクリプション ID。 |
api-version
|
query | True |
string |
要求に使用する API バージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
サーバー接続ポリシーの一覧が正常に取得されました |
|
Other Status Codes |
エラー応答: ***
|
例
Lists a servers connection policies
要求のサンプル
応答のサンプル
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rgtest-12/providers/Microsoft.Sql/servers/servertest-6285/connectionPolicies/default",
"name": "default",
"kind": null,
"location": "eastus",
"type": "Microsoft.Sql/servers/connectionPolicies",
"properties": {
"connectionType": "Redirect"
}
}
]
}
定義
名前 | 説明 |
---|---|
Server |
サーバー接続ポリシー |
Server |
サーバー接続ポリシー オブジェクトの一覧。 |
Server |
サーバー接続の種類。 |
ServerConnectionPolicy
サーバー接続ポリシー
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース ID。 |
kind |
string |
Azure portal エクスペリエンスに使用されるメタデータ。 |
location |
string |
リソースの場所。 |
name |
string |
リソース名。 |
properties.connectionType |
サーバー接続の種類。 |
|
type |
string |
リソースの種類。 |
ServerConnectionPolicyListResult
サーバー接続ポリシー オブジェクトの一覧。
名前 | 型 | 説明 |
---|---|---|
nextLink |
string |
結果の次のページを取得するためのリンク。 |
value |
結果の配列。 |
ServerConnectionType
サーバー接続の種類。
値 | 説明 |
---|---|
Default | |
Proxy | |
Redirect |