class Google::Apis::ManagerV1beta2::ReplicaPoolParamsV1Beta1
Configuration information for a ReplicaPools v1beta1 API resource. Directly maps to ReplicaPool InitTemplate.
Attributes
Whether these replicas should be restarted if they experience a failure. The default value is true. Corresponds to the JSON property `autoRestart` @return [Boolean]
Whether these replicas should be restarted if they experience a failure. The default value is true. Corresponds to the JSON property `autoRestart` @return [Boolean]
The base name for instances within this ReplicaPool. Corresponds to the JSON property `baseInstanceName` @return [String]
Enables IP Forwarding Corresponds to the JSON property `canIpForward` @return [Boolean]
Enables IP Forwarding Corresponds to the JSON property `canIpForward` @return [Boolean]
An optional textual description of the resource. Corresponds to the JSON property `description` @return [String]
A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica. Corresponds to the JSON property `disksToAttach` @return [Array<Google::Apis::ManagerV1beta2::ExistingDisk>]
A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica. Corresponds to the JSON property `disksToCreate` @return [Array<Google::Apis::ManagerV1beta2::NewDisk>]
Name of the Action to be run during initialization of a ReplicaPoolModule. Corresponds to the JSON property `initAction` @return [String]
The machine type for this instance. Either a complete URL, or the resource name (e.g. n1-standard-1). Corresponds to the JSON property `machineType` @return [String]
A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource. Corresponds to the JSON property `metadata` @return [Google::Apis::ManagerV1beta2::Metadata]
A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine. Corresponds to the JSON property `networkInterfaces` @return [Array<Google::Apis::ManagerV1beta2::NetworkInterface>]
Corresponds to the JSON property `onHostMaintenance` @return [String]
A list of Service Accounts to enable for this instance. Corresponds to the JSON property `serviceAccounts` @return [Array<Google::Apis::ManagerV1beta2::ServiceAccount>]
The zone for this ReplicaPool. Corresponds to the JSON property `zone` @return [String]
Public Class Methods
# File generated/google/apis/manager_v1beta2/classes.rb, line 1149 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/manager_v1beta2/classes.rb, line 1154 def update!(**args) @auto_restart = args[:auto_restart] if args.key?(:auto_restart) @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name) @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward) @description = args[:description] if args.key?(:description) @disks_to_attach = args[:disks_to_attach] if args.key?(:disks_to_attach) @disks_to_create = args[:disks_to_create] if args.key?(:disks_to_create) @init_action = args[:init_action] if args.key?(:init_action) @machine_type = args[:machine_type] if args.key?(:machine_type) @metadata = args[:metadata] if args.key?(:metadata) @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces) @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance) @service_accounts = args[:service_accounts] if args.key?(:service_accounts) @tags = args[:tags] if args.key?(:tags) @zone = args[:zone] if args.key?(:zone) end