Class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::ProvisioningConfig
- 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
-
#cloud_console_uri ⇒ String
Output only.
-
#custom_id ⇒ String
Optional.
-
#email ⇒ String
Email provided to send a confirmation with provisioning config to.
-
#handover_service_account ⇒ String
A service account to enable customers to access instance credentials upon handover.
-
#instances ⇒ Array<Google::Apis::BaremetalsolutionV2::InstanceConfig>
Instances to be created.
-
#location ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#networks ⇒ Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>
Networks to be created.
-
#pod ⇒ String
Optional.
-
#state ⇒ String
Output only.
-
#status_message ⇒ String
Optional status messages associated with the FAILED state.
-
#ticket_id ⇒ String
A generated ticket id to track provisioning request.
-
#update_time ⇒ String
Output only.
-
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV2::VolumeConfig>
Volumes to be created.
-
#vpc_sc_enabled ⇒ Boolean
(also: #vpc_sc_enabled?)
If true, VPC SC is enabled for the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProvisioningConfig
constructor
A new instance of ProvisioningConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProvisioningConfig
Returns a new instance of ProvisioningConfig.
1853 1854 1855 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_console_uri ⇒ String
Output only. URI to Cloud Console UI view of this provisioning config.
Corresponds to the JSON property cloudConsoleUri
1774 1775 1776 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1774 def cloud_console_uri @cloud_console_uri end |
#custom_id ⇒ String
Optional. The user-defined identifier of the provisioning config.
Corresponds to the JSON property customId
1779 1780 1781 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1779 def custom_id @custom_id end |
#email ⇒ String
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
1785 1786 1787 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1785 def email @email end |
#handover_service_account ⇒ String
A service account to enable customers to access instance credentials upon
handover.
Corresponds to the JSON property handoverServiceAccount
1791 1792 1793 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1791 def handover_service_account @handover_service_account end |
#instances ⇒ Array<Google::Apis::BaremetalsolutionV2::InstanceConfig>
Instances to be created.
Corresponds to the JSON property instances
1796 1797 1798 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1796 def instances @instances end |
#location ⇒ String
Optional. Location name of this ProvisioningConfig. It is optional only for
Intake UI transition period.
Corresponds to the JSON property location
1802 1803 1804 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1802 def location @location end |
#name ⇒ String
Output only. The system-generated name of the provisioning config. This
follows the UUID format.
Corresponds to the JSON property name
1808 1809 1810 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1808 def name @name end |
#networks ⇒ Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>
Networks to be created.
Corresponds to the JSON property networks
1813 1814 1815 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1813 def networks @networks end |
#pod ⇒ String
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
1820 1821 1822 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1820 def pod @pod end |
#state ⇒ String
Output only. State of ProvisioningConfig.
Corresponds to the JSON property state
1825 1826 1827 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1825 def state @state end |
#status_message ⇒ String
Optional status messages associated with the FAILED state.
Corresponds to the JSON property statusMessage
1830 1831 1832 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1830 def @status_message end |
#ticket_id ⇒ String
A generated ticket id to track provisioning request.
Corresponds to the JSON property ticketId
1835 1836 1837 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1835 def ticket_id @ticket_id end |
#update_time ⇒ String
Output only. Last update timestamp.
Corresponds to the JSON property updateTime
1840 1841 1842 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1840 def update_time @update_time end |
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV2::VolumeConfig>
Volumes to be created.
Corresponds to the JSON property volumes
1845 1846 1847 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1845 def volumes @volumes end |
#vpc_sc_enabled ⇒ Boolean Also known as: vpc_sc_enabled?
If true, VPC SC is enabled for the cluster.
Corresponds to the JSON property vpcScEnabled
1850 1851 1852 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1850 def vpc_sc_enabled @vpc_sc_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1858 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 |