public sealed class SourceInstanceProperties : IMessage<SourceInstanceProperties>, IEquatable<SourceInstanceProperties>, IDeepCloneable<SourceInstanceProperties>, IBufferMessage, IMessage
DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.
Implements
IMessage<SourceInstanceProperties>, IEquatable<SourceInstanceProperties>, IDeepCloneable<SourceInstanceProperties>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
SourceInstanceProperties()
public SourceInstanceProperties()
SourceInstanceProperties(SourceInstanceProperties)
public SourceInstanceProperties(SourceInstanceProperties other)
Parameter | |
---|---|
Name | Description |
other | SourceInstanceProperties |
Properties
CanIpForward
public bool CanIpForward { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Boolean |
DeletionProtection
public bool DeletionProtection { get; set; }
Whether the instance created from this machine image should be protected against deletion.
Property Value | |
---|---|
Type | Description |
Boolean |
Description
public string Description { get; set; }
An optional text description for the instances that are created from this machine image.
Property Value | |
---|---|
Type | Description |
String |
Disks
public RepeatedField<SavedAttachedDisk> Disks { get; }
An array of disks that are associated with the instances that are created from this machine image.
Property Value | |
---|---|
Type | Description |
RepeatedField<SavedAttachedDisk> |
GuestAccelerators
public RepeatedField<AcceleratorConfig> GuestAccelerators { get; }
A list of guest accelerator cards' type and count to use for instances created from this machine image.
Property Value | |
---|---|
Type | Description |
RepeatedField<AcceleratorConfig> |
HasCanIpForward
public bool HasCanIpForward { get; }
Gets whether the "can_ip_forward" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDeletionProtection
public bool HasDeletionProtection { get; }
Gets whether the "deletion_protection" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMachineType
public bool HasMachineType { get; }
Gets whether the "machine_type" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasMinCpuPlatform
public bool HasMinCpuPlatform { get; }
Gets whether the "min_cpu_platform" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Labels
public MapField<string, string> Labels { get; }
Labels to apply to instances that are created from this machine image.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
MachineType
public string MachineType { get; set; }
The machine type to use for instances that are created from this machine image.
Property Value | |
---|---|
Type | Description |
String |
Metadata
public Metadata Metadata { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Metadata |
MinCpuPlatform
public string MinCpuPlatform { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
NetworkInterfaces
public RepeatedField<NetworkInterface> NetworkInterfaces { get; }
An array of network access configurations for this interface.
Property Value | |
---|---|
Type | Description |
RepeatedField<NetworkInterface> |
Scheduling
public Scheduling Scheduling { get; set; }
Specifies the scheduling options for the instances that are created from this machine image.
Property Value | |
---|---|
Type | Description |
Scheduling |
ServiceAccounts
public RepeatedField<ServiceAccount> ServiceAccounts { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<ServiceAccount> |
Tags
public Tags Tags { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Tags |