Class Pool
Inheritance
Implements
Namespace: Google.Apis.Replicapool.v1beta1.Data
Assembly: Google.Apis.Replicapool.v1beta1.dll
Syntax
public class Pool : object, IDirectResponseSchema
Properties
AutoRestart
Whether replicas in this pool should be restarted if they experience a failure. The default value is true.
Declaration
public virtual Nullable<bool> AutoRestart { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
BaseInstanceName
The base instance name to use for the replicas in this pool. This must match the regex a-z?. If specified, the instances in this replica pool will be named in the format -. The postfix will be a four character alphanumeric identifier generated by the service.
If this is not specified by the user, a random base instance name is generated by the service.
Declaration
public virtual string BaseInstanceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CurrentNumReplicas
[Output Only] The current number of replicas in the pool.
Declaration
public virtual Nullable<int> CurrentNumReplicas { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Description
An optional description of the replica pool.
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HealthChecks
Deprecated. Please use template[].healthChecks instead.
Declaration
public virtual IList<HealthCheck> HealthChecks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<HealthCheck> |
InitialNumReplicas
The initial number of replicas this pool should have. You must provide a value greater than or equal to 0.
Declaration
public virtual Nullable<int> InitialNumReplicas { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Labels
A list of labels to attach to this replica pool and all created virtual machines in this replica pool.
Declaration
public virtual IList<Label> Labels { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Label> |
Name
The name of the replica pool. Must follow the regex a-z? and be 1-28 characters long.
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NumReplicas
Deprecated! Use initial_num_replicas instead.
Declaration
public virtual Nullable<int> NumReplicas { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ResourceViews
The list of resource views that should be updated with all the replicas that are managed by this pool.
Declaration
public virtual IList<string> ResourceViews { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
SelfLink
[Output Only] A self-link to the replica pool.
Declaration
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetPool
Deprecated, please use target_pools instead.
Declaration
public virtual string TargetPool { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetPools
A list of target pools to update with the replicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. The replica pool must live in the same region as the specified target pools. These values must be the target pool resource names, and not fully qualified URLs.
Declaration
public virtual IList<string> TargetPools { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Template
The template to use when creating replicas in this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts.
Declaration
public virtual Template Template { get; set; }
Property Value
Type | Description |
---|---|
Template |
Type
Deprecated! Do not set.
Declaration
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |