Class InstanceProperties
Inheritance
InstanceProperties
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class InstanceProperties : IDirectResponseSchema
Properties
AdvancedMachineFeatures
Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported
yet.
Declaration
[JsonProperty("advancedMachineFeatures")]
public virtual AdvancedMachineFeatures AdvancedMachineFeatures { get; set; }
Property Value
CanIpForward
Enables instances created based on these properties to send packets with source IP addresses other than
their own and receive packets with destination IP addresses other than their own. If these instances will be
used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave
this set tofalse. See theEnable IP forwarding documentation for more information.
Declaration
[JsonProperty("canIpForward")]
public virtual bool? CanIpForward { get; set; }
Property Value
ConfidentialInstanceConfig
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
Declaration
[JsonProperty("confidentialInstanceConfig")]
public virtual ConfidentialInstanceConfig ConfidentialInstanceConfig { get; set; }
Property Value
Description
An optional text description for the instances that are created from these properties.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Disks
An array of disks that are associated with the instances that are created from these properties.
Declaration
[JsonProperty("disks")]
public virtual IList<AttachedDisk> Disks { get; set; }
Property Value
DisplayDevice
Display Device properties to enable support for remote display products like: Teradici, VNC and TeamViewer
Note that for MachineImage, this is not supported yet.
Declaration
[JsonProperty("displayDevice")]
public virtual DisplayDevice DisplayDevice { get; set; }
Property Value
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
GuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
Declaration
[JsonProperty("guestAccelerators")]
public virtual IList<AcceleratorConfig> GuestAccelerators { get; set; }
Property Value
Identity
Declaration
[JsonProperty("identity")]
public virtual string Identity { get; set; }
Property Value
IdentityCertificate
Declaration
[JsonProperty("identityCertificate")]
public virtual bool? IdentityCertificate { get; set; }
Property Value
KeyRevocationActionType
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is
"NONE" if it is not specified.
Declaration
[JsonProperty("keyRevocationActionType")]
public virtual string KeyRevocationActionType { get; set; }
Property Value
Labels
Labels to apply to instances that are created from these properties.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
MachineType
The machine type to use for instances that are created from these properties. This field only accepts a
machine type name, for example n2-standard-4. If you use the machine type full or partial URL, for example
projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4, the request will result in an
INTERNAL_ERROR.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can
consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
Declaration
[JsonProperty("metadata")]
public virtual Metadata Metadata { get; set; }
Property Value
Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer
cpu/platform. Applicable values are the friendly names of CPU platforms, such asminCpuPlatform: "Intel
Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
Platform.
Declaration
[JsonProperty("minCpuPlatform")]
public virtual string MinCpuPlatform { get; set; }
Property Value
NetworkInterfaces
An array of network access configurations for this interface.
Declaration
[JsonProperty("networkInterfaces")]
public virtual IList<NetworkInterface> NetworkInterfaces { get; set; }
Property Value
Note that for MachineImage, this is not supported yet.
Declaration
[JsonProperty("networkPerformanceConfig")]
public virtual NetworkPerformanceConfig NetworkPerformanceConfig { get; set; }
Property Value
Partner Metadata assigned to the instance properties. A map from a subdomain (namespace) to entries map.
Declaration
[JsonProperty("partnerMetadata")]
public virtual IDictionary<string, StructuredEntries> PartnerMetadata { get; set; }
Property Value
PostKeyRevocationActionType
PostKeyRevocationActionType of the instance.
Declaration
[JsonProperty("postKeyRevocationActionType")]
public virtual string PostKeyRevocationActionType { get; set; }
Property Value
PrivateIpv6GoogleAccess
The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note
that for MachineImage, this is not supported yet.
Declaration
[JsonProperty("privateIpv6GoogleAccess")]
public virtual string PrivateIpv6GoogleAccess { get; set; }
Property Value
ReservationAffinity
Specifies the reservations that instances can consume from. Note that for MachineImage, this is not
supported yet.
Declaration
[JsonProperty("reservationAffinity")]
public virtual ReservationAffinity ReservationAffinity { get; set; }
Property Value
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource
manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format
tagValues/456. The field is ignored (both PUT & PATCH) when empty.
Declaration
[JsonProperty("resourceManagerTags")]
public virtual IDictionary<string, string> ResourceManagerTags { get; set; }
Property Value
ResourcePolicies
Resource policies (names, not URLs) applied to instances created from these properties. Note that for
MachineImage, this is not supported yet.
Declaration
[JsonProperty("resourcePolicies")]
public virtual IList<string> ResourcePolicies { get; set; }
Property Value
Scheduling
Specifies the scheduling options for the instances that are created from these properties.
Declaration
[JsonProperty("scheduling")]
public virtual Scheduling Scheduling { get; set; }
Property Value
[Input Only] Secure tags to apply to this instance. Maximum number of secure tags allowed is 50. Note that
for MachineImage, this is not supported yet.
Declaration
[JsonProperty("secureTags")]
public virtual IList<string> SecureTags { get; set; }
Property Value
ServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to
the instances that are created from these properties. Use metadata queries to obtain the access tokens for
these instances.
Declaration
[JsonProperty("serviceAccounts")]
public virtual IList<ServiceAccount> ServiceAccounts { get; set; }
Property Value
ServiceIntegrationSpecs
Mapping of user defined keys to ServiceIntegrationSpec.
Declaration
[JsonProperty("serviceIntegrationSpecs")]
public virtual IDictionary<string, ServiceIntegrationSpec> ServiceIntegrationSpecs { get; set; }
Property Value
ShieldedInstanceConfig
Note that for MachineImage, this is not supported yet.
Declaration
[JsonProperty("shieldedInstanceConfig")]
public virtual ShieldedInstanceConfig ShieldedInstanceConfig { get; set; }
Property Value
ShieldedVmConfig
Specifies the Shielded VM options for the instances that are created from these properties.
Declaration
[JsonProperty("shieldedVmConfig")]
public virtual ShieldedVmConfig ShieldedVmConfig { get; set; }
Property Value
A list of tags to apply to the instances that are created from these properties. The tags identify valid
sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within
the list must comply with RFC1035.
Declaration
[JsonProperty("tags")]
public virtual Tags Tags { get; set; }
Property Value
WorkloadIdentityConfig
Declaration
[JsonProperty("workloadIdentityConfig")]
public virtual WorkloadIdentityConfig WorkloadIdentityConfig { get; set; }
Property Value
Implements