Class: Google::Apis::OracledatabaseV1::CloudVmCluster

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

Overview

Details of the Cloud VM Cluster resource. https://docs.oracle.com/en-us/iaas/ api/#/en/database/20160918/CloudVmCluster/

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudVmCluster

Returns a new instance of CloudVmCluster.



1359
1360
1361
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1359

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

Instance Attribute Details

#backup_subnet_cidrString

Required. CIDR range of the backup subnet. Corresponds to the JSON property backupSubnetCidr

Returns:

  • (String)


1307
1308
1309
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1307

def backup_subnet_cidr
  @backup_subnet_cidr
end

#cidrString

Required. Network settings. CIDR to use for cluster IP allocation. Corresponds to the JSON property cidr

Returns:

  • (String)


1312
1313
1314
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1312

def cidr
  @cidr
end

#create_timeString

Output only. The date and time that the VM cluster was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1317
1318
1319
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1317

def create_time
  @create_time
end

#display_nameString

Optional. User friendly name for this resource. Corresponds to the JSON property displayName

Returns:

  • (String)


1322
1323
1324
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1322

def display_name
  @display_name
end

#exadata_infrastructureString

Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/project/locations/ region/cloudExadataInfrastuctures/cloud_extradata_infrastructure Corresponds to the JSON property exadataInfrastructure

Returns:

  • (String)


1329
1330
1331
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1329

def exadata_infrastructure
  @exadata_infrastructure
end

#gcp_oracle_zoneString

Output only. Google Cloud Platform location where Oracle Exadata is hosted. It is same as Google Cloud Platform Oracle zone of Exadata infrastructure. Corresponds to the JSON property gcpOracleZone

Returns:

  • (String)


1335
1336
1337
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1335

def gcp_oracle_zone
  @gcp_oracle_zone
end

#labelsHash<String,String>

Optional. Labels or tags associated with the VM Cluster. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1340
1341
1342
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1340

def labels
  @labels
end

#nameString

Identifier. The name of the VM Cluster resource with the format: projects/ project/locations/region/cloudVmClusters/cloud_vm_cluster Corresponds to the JSON property name

Returns:

  • (String)


1346
1347
1348
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1346

def name
  @name
end

#networkString

Required. The name of the VPC network. Format: projects/project/global/ networks/network Corresponds to the JSON property network

Returns:

  • (String)


1352
1353
1354
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1352

def network
  @network
end

#propertiesGoogle::Apis::OracledatabaseV1::CloudVmClusterProperties

Various properties and settings associated with Exadata VM cluster. Corresponds to the JSON property properties



1357
1358
1359
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1357

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1364

def update!(**args)
  @backup_subnet_cidr = args[:backup_subnet_cidr] if args.key?(:backup_subnet_cidr)
  @cidr = args[:cidr] if args.key?(:cidr)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @exadata_infrastructure = args[:exadata_infrastructure] if args.key?(:exadata_infrastructure)
  @gcp_oracle_zone = args[:gcp_oracle_zone] if args.key?(:gcp_oracle_zone)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @network = args[:network] if args.key?(:network)
  @properties = args[:properties] if args.key?(:properties)
end