Class: Google::Apis::VmwareengineV1::PrivateCloud
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::PrivateCloud
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmwareengine_v1/classes.rb,
lib/google/apis/vmwareengine_v1/representations.rb,
lib/google/apis/vmwareengine_v1/representations.rb
Overview
Represents a private cloud resource. Private clouds of type STANDARD
and
TIME_LIMITED
are zonal resources, STRETCHED
private clouds are regional.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#delete_time ⇒ String
Output only.
-
#description ⇒ String
User-provided description for this private cloud.
-
#expire_time ⇒ String
Output only.
-
#hcx ⇒ Google::Apis::VmwareengineV1::Hcx
Details about a HCX Cloud Manager appliance.
-
#management_cluster ⇒ Google::Apis::VmwareengineV1::ManagementCluster
Management cluster configuration.
-
#name ⇒ String
Output only.
-
#network_config ⇒ Google::Apis::VmwareengineV1::NetworkConfig
Network configuration in the consumer project with which the peering has to be done.
-
#nsx ⇒ Google::Apis::VmwareengineV1::Nsx
Details about a NSX Manager appliance.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Optional.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#vcenter ⇒ Google::Apis::VmwareengineV1::Vcenter
Details about a vCenter Server management appliance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateCloud
constructor
A new instance of PrivateCloud.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateCloud
Returns a new instance of PrivateCloud.
2657 2658 2659 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2657 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Creation time of this resource.
Corresponds to the JSON property createTime
2585 2586 2587 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2585 def create_time @create_time end |
#delete_time ⇒ String
Output only. Time when the resource was scheduled for deletion.
Corresponds to the JSON property deleteTime
2590 2591 2592 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2590 def delete_time @delete_time end |
#description ⇒ String
User-provided description for this private cloud.
Corresponds to the JSON property description
2595 2596 2597 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2595 def description @description end |
#expire_time ⇒ String
Output only. Time when the resource will be irreversibly deleted.
Corresponds to the JSON property expireTime
2600 2601 2602 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2600 def expire_time @expire_time end |
#hcx ⇒ Google::Apis::VmwareengineV1::Hcx
Details about a HCX Cloud Manager appliance.
Corresponds to the JSON property hcx
2605 2606 2607 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2605 def hcx @hcx end |
#management_cluster ⇒ Google::Apis::VmwareengineV1::ManagementCluster
Management cluster configuration.
Corresponds to the JSON property managementCluster
2610 2611 2612 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2610 def management_cluster @management_cluster end |
#name ⇒ String
Output only. Identifier. The resource name of this private cloud. Resource
names are schemeless URIs that follow the conventions in https://cloud.google.
com/apis/design/resource_names. For example: projects/my-project/locations/us-
central1-a/privateClouds/my-cloud
Corresponds to the JSON property name
2618 2619 2620 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2618 def name @name end |
#network_config ⇒ Google::Apis::VmwareengineV1::NetworkConfig
Network configuration in the consumer project with which the peering has to be
done.
Corresponds to the JSON property networkConfig
2624 2625 2626 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2624 def network_config @network_config end |
#nsx ⇒ Google::Apis::VmwareengineV1::Nsx
Details about a NSX Manager appliance.
Corresponds to the JSON property nsx
2629 2630 2631 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2629 def nsx @nsx end |
#state ⇒ String
Output only. State of the resource. New values may be added to this enum when
appropriate.
Corresponds to the JSON property state
2635 2636 2637 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2635 def state @state end |
#type ⇒ String
Optional. Type of the private cloud. Defaults to STANDARD.
Corresponds to the JSON property type
2640 2641 2642 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2640 def type @type end |
#uid ⇒ String
Output only. System-generated unique identifier for the resource.
Corresponds to the JSON property uid
2645 2646 2647 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2645 def uid @uid end |
#update_time ⇒ String
Output only. Last update time of this resource.
Corresponds to the JSON property updateTime
2650 2651 2652 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2650 def update_time @update_time end |
#vcenter ⇒ Google::Apis::VmwareengineV1::Vcenter
Details about a vCenter Server management appliance.
Corresponds to the JSON property vcenter
2655 2656 2657 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2655 def vcenter @vcenter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2662 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @description = args[:description] if args.key?(:description) @expire_time = args[:expire_time] if args.key?(:expire_time) @hcx = args[:hcx] if args.key?(:hcx) @management_cluster = args[:management_cluster] if args.key?(:management_cluster) @name = args[:name] if args.key?(:name) @network_config = args[:network_config] if args.key?(:network_config) @nsx = args[:nsx] if args.key?(:nsx) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) @vcenter = args[:vcenter] if args.key?(:vcenter) end |