@Beta public interface LocationEntity extends BasicStartable
Can use the class name of the MachineProvisioningLocation or the value of the
provider or iso3166 configuration keys on the provisioning location.
The values used to make the decision are set as sensors on this entity. The decision
is made based on the first match found, checking the class name first, then the
provider and finally the country codes, and map keys representing any or all of these
can be used at the same time.
- type: org.apache.brooklyn.entity.stock.LocationEntity
brooklyn.config:
location.entity.spec.default:
$brooklyn:entitySpec:
type: traefik-load-balancer
location.entity.spec.aws-ec2:
$brooklyn:entitySpec:
type: elastic-load-balancer
location.entity.spec.gce:
$brooklyn:entitySpec:
type: google-load-balancer
ConditionalEntity} for an explanation of sensor propagation configurationBasicStartable.LocationsFilterEntity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportStartable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT |
static AttributeSensor<java.util.Set<java.lang.String>> |
LOCATION_COUNTRY_CODES |
static AttributeSensor<Entity> |
LOCATION_ENTITY |
static ConfigKey<java.util.Collection<AttributeSensor<?>>> |
LOCATION_ENTITY_SENSOR_LIST |
static ConfigKey<java.util.Map<java.lang.String,EntitySpec<?>>> |
LOCATION_ENTITY_SPEC_MAP |
static AttributeSensor<java.lang.String> |
LOCATION_PROVIDER |
static AttributeSensor<java.lang.String> |
LOCATION_TYPE |
static ConfigKey<java.lang.Boolean> |
PROPAGATE_LOCATION_ENTITY_SENSORS |
LOCATIONS_FILTER, START_LATCHRESTART, SERVICE_UP, START, STOPaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, subscriptions, tagsconfig, getConfig, setConfigstatic final java.lang.String DEFAULT
static final ConfigKey<java.util.Map<java.lang.String,EntitySpec<?>>> LOCATION_ENTITY_SPEC_MAP
static final ConfigKey<java.lang.Boolean> PROPAGATE_LOCATION_ENTITY_SENSORS
static final ConfigKey<java.util.Collection<AttributeSensor<?>>> LOCATION_ENTITY_SENSOR_LIST
static final AttributeSensor<java.lang.String> LOCATION_TYPE
static final AttributeSensor<java.lang.String> LOCATION_PROVIDER
static final AttributeSensor<java.util.Set<java.lang.String>> LOCATION_COUNTRY_CODES
static final AttributeSensor<Entity> LOCATION_ENTITY