struct

ECS::LogEntry::Cloud

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

account(value : Account)

A chainable setter for account

Source
account
Source
account

Initialize a new Account, yield it to the block

Source
account=(account : Account | Nil)
Source
availability_zone(new_value : String)

A chainable setter for availability_zone

Source
availability_zone

cloud.availability_zone

Availability zone in which this host is running.

Level: Extended Type: Keyword Example:

us-east-1c
Source
availability_zone=(availability_zone : String | Nil)

cloud.availability_zone

Availability zone in which this host is running.

Level: Extended Type: Keyword Example:

us-east-1c
Source
instance(value : Instance)

A chainable setter for instance

Source
instance
Source
instance

Initialize a new Instance, yield it to the block

Source
instance=(instance : Instance | Nil)
Source
machine(value : Machine)

A chainable setter for machine

Source
machine
Source
machine

Initialize a new Machine, yield it to the block

Source
machine=(machine : Machine | Nil)
Source
project(value : Project)

A chainable setter for project

Source
project
Source
project

Initialize a new Project, yield it to the block

Source
project=(project : Project | Nil)
Source
provider(new_value : String)

A chainable setter for provider

Source
provider

cloud.provider

Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.

Level: Extended Type: Keyword Example:

aws
Source
provider=(provider : String | Nil)

cloud.provider

Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.

Level: Extended Type: Keyword Example:

aws
Source
region(new_value : String)

A chainable setter for region

Source
region

cloud.region

Region in which this host is running.

Level: Extended Type: Keyword Example:

us-east-1
Source
region=(region : String | Nil)

cloud.region

Region in which this host is running.

Level: Extended Type: Keyword Example:

us-east-1
Source

Nested types