Class: SDM::AKSServiceAccount

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil, name: nil, healthy: nil, hostname: nil, port: nil, token: nil) ⇒ AKSServiceAccount

Returns a new instance of AKSServiceAccount.



1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
# File 'lib/models/porcelain.rb', line 1590

def initialize(
	id:nil \
,
	name:nil \
,
	healthy:nil \
,
	hostname:nil \
,
	port:nil \
,
	token:nil \
)
	if id != nil
		@id = id
	end
	if name != nil
		@name = name
	end
	if healthy != nil
		@healthy = healthy
	end
	if hostname != nil
		@hostname = hostname
	end
	if port != nil
		@port = port
	end
	if token != nil
		@token = token
	end
end

Instance Attribute Details

#healthyObject

True if the datasource is reachable and the credentials are valid.



1583
1584
1585
# File 'lib/models/porcelain.rb', line 1583

def healthy
  @healthy
end

#hostnameObject

Returns the value of attribute hostname.



1585
1586
1587
# File 'lib/models/porcelain.rb', line 1585

def hostname
  @hostname
end

#idObject

Unique identifier of the Resource.



1579
1580
1581
# File 'lib/models/porcelain.rb', line 1579

def id
  @id
end

#nameObject

Unique human-readable name of the Resource.



1581
1582
1583
# File 'lib/models/porcelain.rb', line 1581

def name
  @name
end

#portObject

Returns the value of attribute port.



1587
1588
1589
# File 'lib/models/porcelain.rb', line 1587

def port
  @port
end

#tokenObject

Returns the value of attribute token.



1589
1590
1591
# File 'lib/models/porcelain.rb', line 1589

def token
  @token
end