Class: Google::Apis::OracledatabaseV1::CloudVmCluster
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::CloudVmCluster
- 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
-
#backup_subnet_cidr ⇒ String
Required.
-
#cidr ⇒ String
Required.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#exadata_infrastructure ⇒ String
Required.
-
#gcp_oracle_zone ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Identifier.
-
#network ⇒ String
Required.
-
#properties ⇒ Google::Apis::OracledatabaseV1::CloudVmClusterProperties
Various properties and settings associated with Exadata VM cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudVmCluster
constructor
A new instance of CloudVmCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_cidr ⇒ String
Required. CIDR range of the backup subnet.
Corresponds to the JSON property backupSubnetCidr
1307 1308 1309 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1307 def backup_subnet_cidr @backup_subnet_cidr end |
#cidr ⇒ String
Required. Network settings. CIDR to use for cluster IP allocation.
Corresponds to the JSON property cidr
1312 1313 1314 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1312 def cidr @cidr end |
#create_time ⇒ String
Output only. The date and time that the VM cluster was created.
Corresponds to the JSON property createTime
1317 1318 1319 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1317 def create_time @create_time end |
#display_name ⇒ String
Optional. User friendly name for this resource.
Corresponds to the JSON property displayName
1322 1323 1324 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1322 def display_name @display_name end |
#exadata_infrastructure ⇒ String
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
1329 1330 1331 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1329 def exadata_infrastructure @exadata_infrastructure end |
#gcp_oracle_zone ⇒ String
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
1335 1336 1337 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1335 def gcp_oracle_zone @gcp_oracle_zone end |
#labels ⇒ Hash<String,String>
Optional. Labels or tags associated with the VM Cluster.
Corresponds to the JSON property labels
1340 1341 1342 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1340 def labels @labels end |
#name ⇒ String
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
1346 1347 1348 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1346 def name @name end |
#network ⇒ String
Required. The name of the VPC network. Format: projects/project
/global/
networks/network
Corresponds to the JSON property network
1352 1353 1354 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1352 def network @network end |
#properties ⇒ Google::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 |