1.0
1.0
get /v1/direct-connects/{direct_connect_id}/routing-rules
Description
Routing Rule 목록을 조회한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | direct_connect_id required | Direct Connect ID Example : | string | None |
| query | with_count optional | with count Example : true | any of [string, null] | None |
| query | limit optional | 한도 Example : 20 | any of [integer, null] | None |
| query | marker optional | 마커 Example : 607e0938521643b5b4b266f343fae693 | any of [string, null] | None |
| query | sort optional | sort Example : created_at:desc | any of [string, null] | None |
| query | id optional | Routing Rule ID Example : | any of [string, null] | None |
| query | destination_type optional | 목적지 타입 Example : | enum (VPC, ON_PREMISE) | None |
| query | destination_cidr optional | 목적지 CIDR Example : | any of [string, null] | None |
| query | state optional | 상태 Example : | enum (CREATING, ACTIVE, DELETING, DELETED, ERROR) | None |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | RoutingRuleListResponse |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
Example HTTP request
Request path
/v1/direct-connects/{direct_connect_id}/routing-rules
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = ko-KR",
"Scp-Api-Version = direct-connect 1.0"
Example HTTP response
Response 200
{
"count": 20,
"links": [
{
"href": "http://scp.samsungsdscloud.com/v1/notices",
"rel": "self"
}
],
"routing_rules": [
{
"account_id": "",
"created_at": "2024-05-17T00:23:17Z",
"created_by": "90dddfc2b1e04edba54ba2b41539a9ac",
"description": "",
"destination_cidr": "",
"destination_resource_id": "",
"destination_resource_name": "",
"destination_type": "VPC",
"id": "",
"modified_at": "2024-05-17T00:23:17Z",
"modified_by": "90dddfc2b1e04edba54ba2b41539a9ac",
"owner_id": "",
"owner_type": "INTERNET_GATEWAY",
"state": "CREATING"
}
]
}