Class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb

Overview

A provisioning configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProvisioningConfig

Returns a new instance of ProvisioningConfig.



1862
1863
1864
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1862

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_console_uriString

Output only. URI to Cloud Console UI view of this provisioning config. Corresponds to the JSON property cloudConsoleUri

Returns:

  • (String)


1783
1784
1785
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1783

def cloud_console_uri
  @cloud_console_uri
end

#custom_idString

Optional. The user-defined identifier of the provisioning config. Corresponds to the JSON property customId

Returns:

  • (String)


1788
1789
1790
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1788

def custom_id
  @custom_id
end

#emailString

Email provided to send a confirmation with provisioning config to. Deprecated in favour of email field in request messages. Corresponds to the JSON property email

Returns:

  • (String)


1794
1795
1796
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1794

def email
  @email
end

#handover_service_accountString

A service account to enable customers to access instance credentials upon handover. Corresponds to the JSON property handoverServiceAccount

Returns:

  • (String)


1800
1801
1802
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1800

def 
  @handover_service_account
end

#instancesArray<Google::Apis::BaremetalsolutionV2::InstanceConfig>

Instances to be created. Corresponds to the JSON property instances



1805
1806
1807
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1805

def instances
  @instances
end

#locationString

Optional. Location name of this ProvisioningConfig. It is optional only for Intake UI transition period. Corresponds to the JSON property location

Returns:

  • (String)


1811
1812
1813
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1811

def location
  @location
end

#nameString

Output only. The system-generated name of the provisioning config. This follows the UUID format. Corresponds to the JSON property name

Returns:

  • (String)


1817
1818
1819
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1817

def name
  @name
end

#networksArray<Google::Apis::BaremetalsolutionV2::NetworkConfig>

Networks to be created. Corresponds to the JSON property networks



1822
1823
1824
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1822

def networks
  @networks
end

#podString

Optional. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes, nfsshares) allocated in the same pod only. Corresponds to the JSON property pod

Returns:

  • (String)


1829
1830
1831
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1829

def pod
  @pod
end

#stateString

Output only. State of ProvisioningConfig. Corresponds to the JSON property state

Returns:

  • (String)


1834
1835
1836
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1834

def state
  @state
end

#status_messageString

Optional status messages associated with the FAILED state. Corresponds to the JSON property statusMessage

Returns:

  • (String)


1839
1840
1841
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1839

def status_message
  @status_message
end

#ticket_idString

A generated ticket id to track provisioning request. Corresponds to the JSON property ticketId

Returns:

  • (String)


1844
1845
1846
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1844

def ticket_id
  @ticket_id
end

#update_timeString

Output only. Last update timestamp. Corresponds to the JSON property updateTime

Returns:

  • (String)


1849
1850
1851
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1849

def update_time
  @update_time
end

#volumesArray<Google::Apis::BaremetalsolutionV2::VolumeConfig>

Volumes to be created. Corresponds to the JSON property volumes



1854
1855
1856
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1854

def volumes
  @volumes
end

#vpc_sc_enabledBoolean Also known as: vpc_sc_enabled?

If true, VPC SC is enabled for the cluster. Corresponds to the JSON property vpcScEnabled

Returns:

  • (Boolean)


1859
1860
1861
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1859

def vpc_sc_enabled
  @vpc_sc_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1867

def update!(**args)
  @cloud_console_uri = args[:cloud_console_uri] if args.key?(:cloud_console_uri)
  @custom_id = args[:custom_id] if args.key?(:custom_id)
  @email = args[:email] if args.key?(:email)
  @handover_service_account = args[:handover_service_account] if args.key?(:handover_service_account)
  @instances = args[:instances] if args.key?(:instances)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @networks = args[:networks] if args.key?(:networks)
  @pod = args[:pod] if args.key?(:pod)
  @state = args[:state] if args.key?(:state)
  @status_message = args[:status_message] if args.key?(:status_message)
  @ticket_id = args[:ticket_id] if args.key?(:ticket_id)
  @update_time = args[:update_time] if args.key?(:update_time)
  @volumes = args[:volumes] if args.key?(:volumes)
  @vpc_sc_enabled = args[:vpc_sc_enabled] if args.key?(:vpc_sc_enabled)
end