public sealed class CapacityAdviceResponseRecommendationShard : IMessage<CapacityAdviceResponseRecommendationShard>, IEquatable<CapacityAdviceResponseRecommendationShard>, IDeepCloneable<CapacityAdviceResponseRecommendationShard>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class CapacityAdviceResponseRecommendationShard.
Shards represent blocks of uniform capacity in recommendations. Each shard is for a single zone and a single machine shape. Each shard defines a size expressed as the number of VMs.
Implements
IMessageCapacityAdviceResponseRecommendationShard, IEquatableCapacityAdviceResponseRecommendationShard, IDeepCloneableCapacityAdviceResponseRecommendationShard, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
CapacityAdviceResponseRecommendationShard()
public CapacityAdviceResponseRecommendationShard()CapacityAdviceResponseRecommendationShard(CapacityAdviceResponseRecommendationShard)
public CapacityAdviceResponseRecommendationShard(CapacityAdviceResponseRecommendationShard other)| Parameter | |
|---|---|
| Name | Description |
other |
CapacityAdviceResponseRecommendationShard |
Properties
HasInstanceCount
public bool HasInstanceCount { get; }Gets whether the "instance_count" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasMachineType
public bool HasMachineType { get; }Gets whether the "machine_type" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasProvisioningModel
public bool HasProvisioningModel { get; }Gets whether the "provisioning_model" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasZone
public bool HasZone { get; }Gets whether the "zone" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
InstanceCount
public int InstanceCount { get; set; }The number of instances.
| Property Value | |
|---|---|
| Type | Description |
int |
|
MachineType
public string MachineType { get; set; }The machine type corresponds to the instance selection in the request.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ProvisioningModel
public string ProvisioningModel { get; set; }The provisioning model that you want to view recommendations for. Check the ProvisioningModel enum for the list of possible values.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Zone
public string Zone { get; set; }Output only. The zone name for this shard.
| Property Value | |
|---|---|
| Type | Description |
string |
|