Skip to main content

Create a Azure location

POST 

/v1/users/assets/locations/azure

Create a Azure location

Request

Body

    metadata object

    ObjectMeta input entity for object creation

    annotations object

    Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set

    property name*string
    labels object

    Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag

    property name*string
    namestring

    Name of the resource

    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]

Responses

Created successfully

Response Headers
  • AuditUid string

    Audit uid for the request

Schema
    uidstringrequired
Loading...