Class PoolsResource.ResizeRequest
Resize a pool. This is an asynchronous operation, and multiple overlapping resize requests can be made. Replica Pools will use the information from the last resize request.
Inheritance
System.Object
PoolsResource.ResizeRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Replicapool.v1beta1
Assembly: Google.Apis.Replicapool.v1beta1.dll
Syntax
public class ResizeRequest : ReplicapoolBaseServiceRequest<Pool>, IClientServiceRequest<Pool>, IClientServiceRequest
Constructors
ResizeRequest(IClientService, String, String, String)
Constructs a new Resize request.
Declaration
public ResizeRequest(IClientService service, string projectName, string zone, string poolName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | projectName | |
System.String | zone | |
System.String | poolName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Pool>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Pool>.MethodName
NumReplicas
The desired number of replicas to resize to. If this number is larger than the existing number of replicas, new replicas will be added. If the number is smaller, then existing replicas will be deleted.
Declaration
public virtual Nullable<int> NumReplicas { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
PoolName
The name of the replica pool for this request.
Declaration
public virtual string PoolName { get; }
Property Value
Type | Description |
---|---|
System.String |
ProjectName
The project ID for this replica pool.
Declaration
public virtual string ProjectName { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Pool>.RestPath
Zone
The zone for this replica pool.
Declaration
public virtual string Zone { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
InitParameters()
Initializes Resize parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Replicapool.v1beta1.ReplicapoolBaseServiceRequest<Google.Apis.Replicapool.v1beta1.Data.Pool>.InitParameters()