Skip to main content

Get region

GET 

/infra/:cloud

Gets the region information of the given public cloud.

Request

Path Parameters

    cloud stringrequired

    The cloud provider.

    Example: aws

Responses

OK

Schema

    code int32

    The response code.

    data

    object[]

    The wrapped responding data.

  • Array [

  • area string

    The location of the region.

    cloud

    object

    The cloud provider information.

    id string

    The ID of the cloud provider.

    isAvailable boolean

    Whether the cloud provider is a public cloud provider.

    isPublic boolean

    Whether the cloud provider is a public cloud provider.

    link string

    The URL of the cloud provider.

    name string

    The name of the cloud provider.

    id string

    The ID of the region.

    name string

    The name of the region.

    public boolean

    regionInfo

    object

    The region information.

    info object

    The region information.

  • ]

  • msg string

    The response message.

Loading...