Create Network Connector Endpoint
ネットワークコネクタのエンドポイントを作成します。
Request
URI
POST <network service endpoint>/v2.0/network_connector_endpoints
Example:
POST http://192.168.122.1:9696/v2.0/network_connector_endpoints
Headers
- X-Auth-Token: token delivered by identity service
 - Content-Type: application/json
 
Body Syntax
{
	"network_connector_endpoint" : {
		"name": "endponit_for_az1",
		"network_connector_id": "07993b1c-79e1-4cf6-a663-dc42b9ce37d4",
		"endpoint_type": "availability_zone",
		"location" : "east-jp-az1",
		"tenant_id" : "29320d5e-dd29-425c-b386-3cbb2754ad03"
	}
}   
     
     
   Request Parameters
- name:
ネットワークコネクターエンドポイント名
- Type: String
 - 制限事項: 長さは最大255文字までに制限されています。
 - 制限事項: 使用可能な文字は a-z、A-Z、0-9、 _- です。
 - Required: Yes
 
 - network_connector_id:
ネットワークコネクターID
- Type: String
 - Required: Yes
 
 - endpoint_type:
ネットワークコネクターエンドポイントの種別
- Type: String
 - 制限事項: "availability_zone" または "remote"です。
 - Required: Yes
 
 - location:
endpoint_typeでのこのネットワークコネクターエンドポイントの位置。
- Type: String
 - Required: Yes
 - 制限事項: タイプが"availability_zone"の場合、この値にはアベイラビリティゾーン名を指定する必要があります。 タイプが"remote"の場合、この値は、"intra"など、場所を示すラベルを指定してください。
 
 - tenant_id:
このネットワークコネクタが属しているプロジェクトID
このパラメーターは、リクエスト送信者が属しているプロジェクトに限定されます。
- Type: String
 - Required: No
 
 
Response
Status Code
- 201
 
Headers
- Content-Type: application/json
 
Body
Example:
{
	"network_connector_endpoint" : {
		"id": "6ed3561f-087f-43f9-9a51-bf71f666b80f",
		"name": "endponit_for_az1",
		"network_connector_id": "07993b1c-79e1-4cf6-a663-dc42b9ce37d4",
		"endpoint_type": "availability_zone",
		"location" : "east-jp-az1",
		"tenant_id" : "29320d5e-dd29-425c-b386-3cbb2754ad03"
	}
}
     
     
   Elements
- id:
ネットワークコネクターエンドポイントID
- Type: String
 
 - name:
ネットワークコネクターエンドポイント名
- Type: String
 
 - network_connector_id:
ネットワークコネクターID
- Type: String
 
 - endpoint_type:
         
ネットワークコネクターエンドポイントの種別。この値は、"availability_zone"または"remote"である必要があります。
- Type: String
 
 - location: 
endpoint_typeで示されているエンドポイントタイプのネットワークコネクタエンドポイントの場所。endpoint_typeが"availability_zone"の場合、この値はアベイラビリティゾーン名です。 endpoint_typeが"remote"の場合、この値は、"intra"など、場所を示すラベルを指定してください。
- Type: 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 not found for specified ID
 - 409: A network endpoint already exists for same condition with combination of endpoint_type and location.
 - 503: Any available resource for network connector endpoint does not remain.