Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions code/API_definitions/optimal-edge-discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ info:
"edgeCloudZoneName": "Example Zone Name",
"edgeCloudProvider": "Example Zone Provider",
"edgeCloudRegion": "us-west-1",
"status": "active"
"edgeCloudZoneStatus": "active"
}
],
"applicationProfileId": "2fa85f64-5717-4562-b3fc-2c963f66afa0",
Expand All @@ -130,7 +130,7 @@ info:
the Edge Cloud Zone.
* `edgeCloudRegion` is the region of the closest Edge Cloud Zone to
the user device.
* `status` is the status of the Edge Cloud Zone (default is 'unknown').
* `edgeCloudZoneStatus` is the status of the Edge Cloud Zone (default is 'unknown').
* `edgeCloudZones` is an array of Edge Cloud Zones that match the query
parameters. The array will contain at least one Edge Cloud Zone, and
may contain multiple Edge Cloud Zones if there are multiple zones that
Expand Down Expand Up @@ -381,18 +381,12 @@ components:
$ref: "#/components/schemas/EdgeCloudZoneId"
edgeCloudZoneName:
$ref: "#/components/schemas/EdgeCloudZoneName"
edgeCloudZoneStatus:
$ref: "#/components/schemas/EdgeCloudZoneStatus"
edgeCloudProvider:
$ref: "#/components/schemas/EdgeCloudProvider"
edgeCloudRegion:
$ref: "#/components/schemas/EdgeCloudRegion"
status:
description: Status of the Edge cloud zone (default is 'unknown')
type: string
enum:
- active
- inactive
- unknown
default: unknown
required:
- edgeCloudZoneId
- edgeCloudZoneName
Expand Down Expand Up @@ -427,6 +421,15 @@ components:
type: string
example: "us-west-1"

EdgeCloudZoneStatus:
description: Status of the Edge Cloud Zone (default is 'unknown')
type: string
enum:
- active
- inactive
- unknown
default: unknown

ErrorInfo:
type: object
required:
Expand Down
Loading