Struct google_compute1::api::InstanceGroup[][src]

pub struct InstanceGroup {
    pub creation_timestamp: Option<String>,
    pub description: Option<String>,
    pub fingerprint: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub named_ports: Option<Vec<NamedPort>>,
    pub network: Option<String>,
    pub region: Option<String>,
    pub self_link: Option<String>,
    pub size: Option<i32>,
    pub subnetwork: Option<String>,
    pub zone: Option<String>,
}

Represents an Instance Group resource.

Instance Groups can be used to configure a target for load balancing.

Instance groups can either be managed or unmanaged.

To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead.

Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups.

For more information, read Instance groups.

(== resource_for {$api_version}.instanceGroups ==) (== resource_for {$api_version}.regionInstanceGroups ==)

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

creation_timestamp: Option<String>

[Output Only] The creation timestamp for this instance group in RFC3339 text format.

description: Option<String>

An optional description of this resource. Provide this property when you create the resource.

fingerprint: Option<String>

[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.

id: Option<String>

[Output Only] A unique identifier for this instance group, generated by the server.

kind: Option<String>

[Output Only] The resource type, which is always compute#instanceGroup for instance groups.

name: Option<String>

The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.

named_ports: Option<Vec<NamedPort>>

Assigns a name to a port number. For example: {name: "http", port: 80}

This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}]

Named ports apply to all instances in this instance group.

network: Option<String>

[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).

region: Option<String>

[Output Only] The URL of the region where the instance group is located (for regional resources).

self_link: Option<String>

[Output Only] The URL for this instance group. The server generates this URL.

size: Option<i32>

[Output Only] The total number of instances in the instance group.

subnetwork: Option<String>

[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).

zone: Option<String>

[Output Only] The URL of the zone where the instance group is located (for zonal resources).

Trait Implementations

impl Clone for InstanceGroup[src]

impl Debug for InstanceGroup[src]

impl Default for InstanceGroup[src]

impl<'de> Deserialize<'de> for InstanceGroup[src]

impl RequestValue for InstanceGroup[src]

impl Resource for InstanceGroup[src]

impl ResponseResult for InstanceGroup[src]

impl Serialize for InstanceGroup[src]

Auto Trait Implementations

impl RefUnwindSafe for InstanceGroup[src]

impl Send for InstanceGroup[src]

impl Sync for InstanceGroup[src]

impl Unpin for InstanceGroup[src]

impl UnwindSafe for InstanceGroup[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.