[][src]Struct google_compute1::InstanceGroup

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

Represents an unmanaged Instance Group resource.

Use unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. For more information, read Instance groups.

For zonal unmanaged Instance Group, use instanceGroups resource.

For regional unmanaged Instance Group, use regionInstanceGroups resource. (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.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

kind: Option<String>

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

network: Option<String>

The URL of the network to which all instances in the instance group belong.

zone: Option<String>

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

region: Option<String>

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

description: Option<String>

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

name: Option<String>

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

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.

subnetwork: Option<String>

[Output Only] The URL of the subnetwork to which all instances in the instance group belong.

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.

creation_timestamp: Option<String>

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

id: Option<String>

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

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.

Trait Implementations

impl Resource for InstanceGroup[src]

impl ResponseResult for InstanceGroup[src]

impl RequestValue for InstanceGroup[src]

impl Clone for InstanceGroup[src]

impl Default for InstanceGroup[src]

impl Debug for InstanceGroup[src]

impl Serialize for InstanceGroup[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> 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 = !

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.

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

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

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

impl<T> Typeable for T where
    T: Any

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