Aller au contenu principal

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

get serverGroup

GET 

/v1/projects/:projectId/zones/:zoneName/servergroups/:serverGroupId

Get the Server Group with its id in the path.

Request

Path Parameters

    projectId stringrequired

    Project Identifier

    zoneName stringrequired

    Zone name

    serverGroupId stringrequired

    Server Group identifier.

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. This attribute can not be updated.

    Possible values: Value must match regular expression [A-Za-z0-9-]

    descriptionstring

    Resource description

    tags object

    Tags associated with the resource

    property name*string
    iduuidrequired

    Resource identifier.

    hRefurirequired

    Hypertext reference of the resource.

    createdDatedate-timerequired

    Creation date of the resource.

    lastModifiedDatedate-timerequired

    Date of the last modification of the resource.

    lastRequesterIdstringrequired

    Identifier of the user of the last create/update/delete operation requested on the resource.

    provisioningStateBasicStateEnum (string)required

    Provisioning state of the resource. Possible state:

    • creating: resource creation in progress
    • updating: resource update in progress
    • deleting: resource deletion in progress
    • active: resource created/updated successfully
    • error: resource in error because the last creation/update/deletion failed

    Possible values: [creating, updating, deleting, active, error]

    policyServerGroupPolicyEnum (string)required

    Affinity policy of the server group. It defines how the compute is selected.

    • affinity: places instances on the same host.
    • anti-affinity: place instances on separate hosts.
    • soft-anti-affinity: place instances on separate hosts if possible.
    • soft-affinity: place instances on the same host if possible.

    Possible values: [affinity, anti-affinity, soft-anti-affinity, soft-affinity]

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