import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates an instance group in the specified project using the parameters that are included in the request. */ export declare class InstanceGroup extends pulumi.CustomResource { /** * Get an existing InstanceGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): InstanceGroup; /** * Returns true if the given object is an instance of InstanceGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is InstanceGroup; /** * [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ readonly creationTimestamp: pulumi.Output; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description: pulumi.Output; /** * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently. */ readonly fingerprint: pulumi.Output; /** * [Output Only] The resource type, which is always compute#instanceGroup for instance groups. */ readonly kind: pulumi.Output; /** * The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. */ readonly name: pulumi.Output; /** * 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. */ readonly namedPorts: pulumi.Output; /** * [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). */ readonly network: pulumi.Output; /** * [Output Only] The URL of the region where the instance group is located (for regional resources). */ readonly region: pulumi.Output; /** * [Output Only] The URL for this instance group. The server generates this URL. */ readonly selfLink: pulumi.Output; /** * [Output Only] Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId: pulumi.Output; /** * [Output Only] The total number of instances in the instance group. */ readonly size: pulumi.Output; /** * [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). */ readonly subnetwork: pulumi.Output; /** * [Output Only] The URL of the zone where the instance group is located (for zonal resources). */ readonly zone: pulumi.Output; /** * Create a InstanceGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InstanceGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a InstanceGroup resource. */ export interface InstanceGroupArgs { /** * [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ readonly creationTimestamp?: pulumi.Input; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description?: pulumi.Input; /** * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently. */ readonly fingerprint?: pulumi.Input; /** * [Output Only] A unique identifier for this instance group, generated by the server. */ readonly id?: pulumi.Input; readonly instanceGroup: pulumi.Input; /** * [Output Only] The resource type, which is always compute#instanceGroup for instance groups. */ readonly kind?: pulumi.Input; /** * The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. */ readonly name?: pulumi.Input; /** * 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. */ readonly namedPorts?: pulumi.Input[]>; /** * [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). */ readonly network?: pulumi.Input; readonly project: pulumi.Input; /** * [Output Only] The URL of the region where the instance group is located (for regional resources). */ readonly region?: pulumi.Input; /** * [Output Only] The URL for this instance group. The server generates this URL. */ readonly selfLink?: pulumi.Input; /** * [Output Only] Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId?: pulumi.Input; /** * [Output Only] The total number of instances in the instance group. */ readonly size?: pulumi.Input; /** * [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). */ readonly subnetwork?: pulumi.Input; /** * [Output Only] The URL of the zone where the instance group is located (for zonal resources). */ readonly zone: pulumi.Input; }