Class NetworkInterface
A network interface resource attached to an instance. s
Implements
Inherited Members
Namespace: Google.Apis.Backupdr.v1.Data
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class NetworkInterface : IDirectResponseSchema
Properties
AccessConfigs
Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
Declaration
[JsonProperty("accessConfigs")]
public virtual IList<AccessConfig> AccessConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AccessConfig> |
AliasIpRanges
Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
Declaration
[JsonProperty("aliasIpRanges")]
public virtual IList<AliasIpRange> AliasIpRanges { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AliasIpRange> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InternalIpv6PrefixLength
Optional. The prefix length of the primary internal IPv6 range.
Declaration
[JsonProperty("internalIpv6PrefixLength")]
public virtual int? InternalIpv6PrefixLength { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Ipv6AccessConfigs
Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
Declaration
[JsonProperty("ipv6AccessConfigs")]
public virtual IList<AccessConfig> Ipv6AccessConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AccessConfig> |
Ipv6AccessType
Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
Declaration
[JsonProperty("ipv6AccessType")]
public virtual string Ipv6AccessType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ipv6Address
Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
Declaration
[JsonProperty("ipv6Address")]
public virtual string Ipv6Address { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Output only. [Output Only] The name of the network interface, which is generated by the server.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Network
Optional. URL of the VPC network resource for this instance.
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NetworkAttachment
Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
Declaration
[JsonProperty("networkAttachment")]
public virtual string NetworkAttachment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NetworkIP
Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
Declaration
[JsonProperty("networkIP")]
public virtual string NetworkIP { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NicType
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
Declaration
[JsonProperty("nicType")]
public virtual string NicType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
QueueCount
Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.
Declaration
[JsonProperty("queueCount")]
public virtual int? QueueCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
StackType
The stack type for this network interface.
Declaration
[JsonProperty("stackType")]
public virtual string StackType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Subnetwork
Optional. The URL of the Subnetwork resource for this instance.
Declaration
[JsonProperty("subnetwork")]
public virtual string Subnetwork { get; set; }
Property Value
| Type | Description |
|---|---|
| string |