Aller au contenu principal

Cette page est disponible uniquement en anglais (This page is only available in English).

Get a zone by its name

GET 

/v1/projects/:projectId/zones/:zoneName

Return the zone by its name (in the path).

Request

Path Parameters

    projectId stringrequired

    Project Identifier

    zoneName stringrequired

    Zone name

Header Parameters

    X-API-KEY string

    Your SIU token if you use this API through Orange Developer.

    Authorization string

    Bearer access token authentication if you use this API through Orange Developer or Orange Developer Inside.

    X-Requester-Id string

    Your SIU Id if you use this API through Orange Developer Inside.

Responses

Ok

Schema
    namestringrequired

    Unique resource name.

    descriptionstring

    Resource description.

    regionstringrequired

    Region

    • AMER: South and North America
    • APAC: Asia, Pacific
    • EUR: Europe
    • IMEAR: rest of the world
    countryCodestringrequired

    Country code (on 2 characters)

    Possible values: >= 2 characters and <= 2 characters, Value must match regular expression [A-Z]{2}

    citystringrequired

    City name

    scopeZoneScopeEnum (string)required

    Scope of the POP

    Possible values: [international, france]

    categoryZoneCategoryEnum (string)required

    Category of the POP

    Possible values: [sdn-pop, sdn-pop-v2]

    stateZoneStateEnum (string)required

    Status of the POP: "active", "active, to be closed" (no new VM can be instantiated), "maintenance" (VM deployment temporarily blocked)

    Possible values: [active, active, to be closed, maintenance]

    computeClassesstring[]required

    Compute classes available on the POP.

    carbonFootprint objectrequired

    Carbon footprint info.

    lastUpdateDatestringrequired

    Date of the latest update of the Carbon Footprint data.

    totalFootprintfloatrequired

    Total Carbon Footprint (tCO2e/year)

    allocatedVcpuint32required

    Estimation of the total number of vCpu allocated.

curl -L '/v1/projects/:projectId/zones/:zoneName' \
-H 'Accept: application/json'
Request Collapse all
Base URL
/v1
Parameters
— pathrequired
— pathrequired
— header
— header
— header