Skip to content

resource.v1alpha3.basicDevice

"BasicDevice defines one device instance."

Index

Fields

fn withAttributes

withAttributes(attributes)

"Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32."

fn withAttributesMixin

withAttributesMixin(attributes)

"Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32."

Note: This function appends passed data to existing values

fn withCapacity

withCapacity(capacity)

"Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32."

fn withCapacityMixin

withCapacityMixin(capacity)

"Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32."

Note: This function appends passed data to existing values