Create Network Connector
ネットワークコネクタを作成します。
Request
URI
POST <network service endpoint>/v2.0/network_connectors
Example:
POST http://192.168.122.1:9696/v2.0/network_connectors
Headers
- X-Auth-Token: token delivered by identity service
 - Content-Type: application/json
 
Body Syntax
{
	"network_connector" : {
		"name" : "connector1",
		"network_connector_pool_id" : "78380271-954a-4c1a-a76d-43033c7fc9bf",
		"tenant_id" : "29320d5e-dd29-425c-b386-3cbb2754ad03"
	}
}       
     
     
   Parameters
- name:
ネットワークコネクタ名
- Type: String
 - 制限事項: 長さは最大255文字までに制限されています。
 - 制限事項: 使用可能な文字は a-z、A-Z、0-9、 _- です。
 - Required: Yes
 
 - network_connector_pool_id:
ネットワークコネクタプールID。プールが1つだけ存在するときに、この値を指定しない場合、自動設定されます。
- Type: String
 - Required: No
 
 - tenant_id:
このネットワークコネクタが属しているプロジェクトID
このパラメーターは、リクエスト送信者が属しているプロジェクトに限定されます。
- Type: String
 - Required: No
 
 
Response
Status Code
- 201
 
Headers
- Content-Type: application/json
 
Body
Example:
{
	"network_connector" : {
		"id" : "07993b1c-79e1-4cf6-a663-dc42b9ce37d4",
		"name" : "connector1",
		"network_connector_pool_id" : "78380271-954a-4c1a-a76d-43033c7fc9bf",
		"network_connector_endpoints" : [],
		"tenant_id" : "29320d5e-dd29-425c-b386-3cbb2754ad03"
	}
}
     
     
   Elements
- id:
ネットワークコネクターID
- Type: String
 
 - name:
ネットワークコネクタ名
- Type: String
 
 - network_connector_pool_id:
ネットワークコネクタープールID
- Type: String
 
 - network_connector_endpoints:
ネットワークコネクタエンドポイントID。作成直後、この値は空配列です。
- Type: Array of String
 
 - tenant_id:
プロジェクトID
- Type: String
 
 
Errors
- 400: Invalid parameter in request body
 - 401: Token is not specified or not authorized.
 - 403: Token is not permitted to operate.
 - 404: Network Connector Pool not found.
 - 409: Operation conflicts with another one.
 - 503: No resource remains in the network connector pool