Class SourceInstanceProperties
DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.
Implements
Inherited Members
Namespace: Google.Apis.Compute.beta.Data
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class SourceInstanceProperties : IDirectResponseSchema
Properties
CanIpForward
Enables instances created based on this machine image 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 to false. See the Enable IP forwarding documentation for more information.
Declaration
[JsonProperty("canIpForward")]
public virtual bool? CanIpForward { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DeletionProtection
Whether the instance created from this machine image should be protected against deletion.
Declaration
[JsonProperty("deletionProtection")]
public virtual bool? DeletionProtection { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Description
An optional text description for the instances that are created from this machine image.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Disks
An array of disks that are associated with the instances that are created from this machine image.
Declaration
[JsonProperty("disks")]
public virtual IList<SavedAttachedDisk> Disks { get; set; }
Property Value
Type | Description |
---|---|
IList<SavedAttachedDisk> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from this machine image.
Declaration
[JsonProperty("guestAccelerators")]
public virtual IList<AcceleratorConfig> GuestAccelerators { get; set; }
Property Value
Type | Description |
---|---|
IList<AcceleratorConfig> |
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
Type | Description |
---|---|
string |
Labels
Labels to apply to instances that are created from this machine image.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
MachineType
The machine type to use for instances that are created from this machine image.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.
Declaration
[JsonProperty("metadata")]
public virtual Metadata Metadata { get; set; }
Property Value
Type | Description |
---|---|
Metadata |
MinCpuPlatform
Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
Declaration
[JsonProperty("minCpuPlatform")]
public virtual string MinCpuPlatform { get; set; }
Property Value
Type | Description |
---|---|
string |
NetworkInterfaces
An array of network access configurations for this interface.
Declaration
[JsonProperty("networkInterfaces")]
public virtual IList<NetworkInterface> NetworkInterfaces { get; set; }
Property Value
Type | Description |
---|---|
IList<NetworkInterface> |
PostKeyRevocationActionType
PostKeyRevocationActionType of the instance.
Declaration
[JsonProperty("postKeyRevocationActionType")]
public virtual string PostKeyRevocationActionType { get; set; }
Property Value
Type | Description |
---|---|
string |
Scheduling
Specifies the scheduling options for the instances that are created from this machine image.
Declaration
[JsonProperty("scheduling")]
public virtual Scheduling Scheduling { get; set; }
Property Value
Type | Description |
---|---|
Scheduling |
ServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
Declaration
[JsonProperty("serviceAccounts")]
public virtual IList<ServiceAccount> ServiceAccounts { get; set; }
Property Value
Type | Description |
---|---|
IList<ServiceAccount> |
Tags
A list of tags to apply to the instances that are created from this machine image. 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
Type | Description |
---|---|
Tags |