SoftLayer_Resource_Metadata


SoftLayer_Resource_Metadata

Description

The Resource Metadata service enables the user to obtain information regarding the resource from which the request originates. Due to the requirement that the request originate from the backend network of the resource, no API key is necessary to perform the request.

The primary use of this service is to allow self-discovery for newly provisioned resources, enabling further automated setup by the user.

Methods

getAccountId

The id for the account which the resource is in

getBackendMacAddresses

A list of backend MAC addresses

getDatacenter

The name for the datacenter which the resource is in

getDatacenterId

The id for the datacenter which the resource is in

getDomain

A resource’s domain

getFrontendMacAddresses

A list of frontend MAC addresses

getFullyQualifiedDomainName

A resource’s fully qualified domain name

getGlobalIdentifier

A resource’s globalIdentifier

getHostname

A resource’s hostname

getId

A resource’s id

getPrimaryBackendIpAddress

The primary backend IP address for the resource

getPrimaryIpAddress

The primary IP address for the resource

getProvisionState

Obtain the provision state for a resource

getRouter

The router associated with a network component

getServiceResource

Obtain a specific service resource associated with the resource

getServiceResources

Obtain service resources associated with the resource

getTags

Obtain tags associated with the resource

getUserMetadata

Obtain user data associated with the resource

getVlanIds

A list of VLAN ids for a network component

getVlans

A list of VLAN numbers for a network component