Skip to main content
Version: latest

Returns the specified Azure location

GET 

https://api.spectrocloud.com/v1/users/assets/locations/azure/:uid

Returns the specified Azure location

Request

Path Parameters

    uid stringrequired

    Specify the Azure location uid

Responses

(empty)

Schema
    metadata object

    ObjectMeta input entity for object creation

    annotations object

    Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations

    property name*string
    labels object

    Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels

    property name*string
    namestring

    Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names

    spec object

    Azure location specification

    config objectrequired

    Azure storage config object

    containerNamestringrequired

    Azure container name

    credentials objectrequired

    Azure cloud account credentials

    clientCloudstring

    Possible values: [azure-china, azure-government, public]

    Default value: public

    Contains configuration for Azure cloud

    clientIdstring
    clientSecretstring
    subscriptionIdstring
    tenantIdstring
    resourceGroupstringrequired

    Azure resource group name, to which the storage account is mapped

    skustring

    Azure sku

    storageNamestringrequired

    Azure storage name

    isDefaultboolean

    Set to 'true', if location has to be set as default

    typestring

    Azure location type [azure]

Authorization: ApiKey

name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
curl -L 'https://api.spectrocloud.com/v1/users/assets/locations/azure/:uid' \
-H 'Accept: application/json' \
-H 'ApiKey: <ApiKey>'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— pathrequired