google_api_replica_pool v0.1.0 API Reference
Modules
API calls for all endpoints tagged Pools.
API calls for all endpoints tagged Replicas.
Handle Tesla connections for GoogleApi.ReplicaPool.V1beta1.
A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
An action that gets executed during initialization of the replicas.
Specifies how to attach a disk to a Replica.
An environment variable to set for an action.
A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.
Attributes
checkIntervalSec(type:integer(), default:nil) - How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.description(type:String.t, default:nil) - The description for this health check.healthyThreshold(type:integer(), default:nil) - The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.host(type:String.t, default:nil) - The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.name(type:String.t, default:nil) - The name of this health check.path(type:String.t, default:nil) - The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.port(type:integer(), default:nil) - The TCP port for the health check requests.timeoutSec(type:integer(), default:nil) - How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.unhealthyThreshold(type:integer(), default:nil) - The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.
A label to apply to this replica pool.
A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource.
A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.
A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.
Initialization parameters for creating a new disk.
An individual Replica within a Pool. Replicas are automatically created by the replica pool, using the template provided by the user. You cannot directly create replicas.
The current status of a Replica.
Attributes
abandonInstance(type:boolean(), default:nil) - Whether the instance resource represented by this replica should be deleted or abandoned. If abandoned, the replica will be deleted but the virtual machine instance will remain. By default, this is set to false and the instance will be deleted along with the replica.
A Compute Engine service account, identical to the Compute Engine resource.
A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource.
The template used for creating replicas in the pool.
Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource.
API calls for all endpoints tagged InstanceGroupManagers.
API calls for all endpoints tagged ZoneOperations.
Handle Tesla connections for GoogleApi.ReplicaPool.V1beta2.
Helper functions for deserializing responses into models
An Instance Group Manager resource.
Attributes
- id (String): Unique identifier for the resource; defined by the server (output only). Defaults to:
null. - items (List[InstanceGroupManager]): A list of instance resources. Defaults to:
null. - kind (String): Type of resource. Defaults to:
null. - nextPageToken (String): A token used to continue a truncated list request (output only). Defaults to:
null. - selfLink (String): Server defined URL for this resource (output only). Defaults to:
null.
Attributes
- fingerprint (String): The current fingerprint of the Instance Group Manager resource. If this does not match the server-side fingerprint of the resource, then the request will be rejected. Defaults to:
null. - targetPools (List[String]): A list of fully-qualified URLs to existing Target Pool resources. New instances in the Instance Group Manager will be added to the specified target pools; existing instances are not affected. Defaults to:
null.
An operation resource, used to manage asynchronous API requests.
[Output Only] If errors occurred during processing of this operation, this field will be populated.
Attributes
- code (String): [Output Only] The error type identifier for this error. Defaults to:
null. - location (String): [Output Only] Indicates the field in the request which caused the error. This property is optional. Defaults to:
null. - message (String): [Output Only] An optional, human-readable error message. Defaults to:
null.
Attributes
- id (String): Unique identifier for the resource; defined by the server (output only). Defaults to:
null. - items (List[Operation]): The operation resources. Defaults to:
null. - kind (String): Type of resource. Defaults to:
null. - nextPageToken (String): A token used to continue a truncated list request (output only). Defaults to:
null. - selfLink (String): Server defined URL for this resource (output only). Defaults to:
null.
Attributes
actionType (String): The action to perform when an instance becomes unhealthy. Possible values are RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new instance that is based on the instance template for this managed instance group. REBOOT performs a soft reboot on an instance. If the instance cannot reboot, the instance performs a hard restart. Defaults to:
null.
Helper functions for building Tesla requests