Fork me on GitHub

Module compute

@pulumi/gcp > compute

Index

compute/address.ts compute/autoscalar.ts compute/backendBucket.ts compute/backendService.ts compute/disk.ts compute/firewall.ts compute/forwardingRule.ts compute/getAddress.ts compute/getBackendService.ts compute/getDefaultServiceAccount.ts compute/getForwardingRule.ts compute/getGlobalAddress.ts compute/getImage.ts compute/getInstanceGroup.ts compute/getLBIPRanges.ts compute/getNetblockIPRanges.ts compute/getNetwork.ts compute/getRegionInstanceGroup.ts compute/getRegions.ts compute/getSSLPolicy.ts compute/getSubnetwork.ts compute/getVPNGateway.ts compute/getZones.ts compute/globalAddress.ts compute/globalForwardingRule.ts compute/healthCheck.ts compute/httpHealthCheck.ts compute/httpsHealthCheck.ts compute/image.ts compute/instance.ts compute/instanceFromTemplate.ts compute/instanceGroup.ts compute/instanceGroupManager.ts compute/instanceTemplate.ts compute/network.ts compute/networkPeering.ts compute/projectMetadata.ts compute/projectMetadataItem.ts compute/regionAutoscaler.ts compute/regionBackendService.ts compute/regionInstanceGroupManager.ts compute/route.ts compute/router.ts compute/routerInterface.ts compute/routerPeer.ts compute/sSLCertificate.ts compute/sSLPolicy.ts compute/securityPolicy.ts compute/sharedVPCHostProject.ts compute/sharedVPCServiceProject.ts compute/snapshot.ts compute/subnetwork.ts compute/subnetworkIAMBinding.ts compute/subnetworkIAMMember.ts compute/subnetworkIAMPolicy.ts compute/targetHttpProxy.ts compute/targetHttpsProxy.ts compute/targetPool.ts compute/targetSSLProxy.ts compute/targetTCPProxy.ts compute/uRLMap.ts compute/vPNGateway.ts compute/vPNTunnel.ts

class Address

constructor

new Address(name: string, args?: AddressArgs, opts?: pulumi.CustomResourceOptions)

Create a Address resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AddressState): Address

Get an existing Address resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property address

public address: pulumi.Output<string>;

property addressType

public addressType: pulumi.Output<string | undefined>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property networkTier

public networkTier: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property subnetwork

public subnetwork: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property users

public users: pulumi.Output<string[]>;

class Autoscalar

constructor

new Autoscalar(name: string, args: AutoscalarArgs, opts?: pulumi.CustomResourceOptions)

Create a Autoscalar resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AutoscalarState): Autoscalar

Get an existing Autoscalar resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property autoscalingPolicy

public autoscalingPolicy: pulumi.Output<{ ... }>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property target

public target: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zone

public zone: pulumi.Output<string>;

class BackendBucket

constructor

new BackendBucket(name: string, args: BackendBucketArgs, opts?: pulumi.CustomResourceOptions)

Create a BackendBucket resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackendBucketState): BackendBucket

Get an existing BackendBucket resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property bucketName

public bucketName: pulumi.Output<string>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property enableCdn

public enableCdn: pulumi.Output<boolean | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class BackendService

A Backend Service defines a group of virtual machines that will serve traffic for load balancing. For more information see the official documentation and the API.

For internal load balancing, use a google_compute_region_backend_service.

constructor

new BackendService(name: string, args: BackendServiceArgs, opts?: pulumi.CustomResourceOptions)

Create a BackendService resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackendServiceState): BackendService

Get an existing BackendService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property backends

public backends: pulumi.Output<{ ... }[] | undefined>;

The list of backends that serve this BackendService. Structure is documented below.

property cdnPolicy

public cdnPolicy: pulumi.Output<{ ... }>;

Cloud CDN configuration for this BackendService. Structure is documented below.

property connectionDrainingTimeoutSec

public connectionDrainingTimeoutSec: pulumi.Output<number | undefined>;

Time for which instance will be drained (not accept new connections, but still work to finish started ones). Defaults to 300.

property customRequestHeaders

public customRequestHeaders: pulumi.Output<string[] | undefined>;

) Headers that the HTTP/S load balancer should add to proxied requests. See guide for details.

property description

public description: pulumi.Output<string | undefined>;

The textual description for the backend service.

property enableCdn

public enableCdn: pulumi.Output<boolean | undefined>;

Whether or not to enable the Cloud CDN on the backend service.

property fingerprint

public fingerprint: pulumi.Output<string>;

The fingerprint of the backend service.

property healthChecks

public healthChecks: pulumi.Output<string>;

Specifies a list of HTTP/HTTPS health checks for checking the health of the backend service. Currently at most one health check can be specified, and a health check is required.

property iap

public iap: pulumi.Output<{ ... } | undefined>;

Specification for the Identity-Aware proxy. Disabled if not specified. Structure is documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the backend service.

property portName

public portName: pulumi.Output<string>;

The name of a service that has been added to an instance group in this backend. See related docs for details. Defaults to http.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property protocol

public protocol: pulumi.Output<string>;

The protocol for incoming requests. Defaults to HTTP.

property securityPolicy

public securityPolicy: pulumi.Output<string | undefined>;

) Name or URI of a security policy to add to the backend service.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sessionAffinity

public sessionAffinity: pulumi.Output<string>;

How to distribute load. Options are NONE (no affinity), CLIENT_IP (hash of the source/dest addresses / ports), and GENERATED_COOKIE (distribute load using a generated session cookie).

property timeoutSec

public timeoutSec: pulumi.Output<number>;

The number of secs to wait for a backend to respond to a request before considering the request failed. Defaults to 30.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Disk

constructor

new Disk(name: string, args?: DiskArgs, opts?: pulumi.CustomResourceOptions)

Create a Disk resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DiskState): Disk

Get an existing Disk resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property diskEncryptionKey

public diskEncryptionKey: pulumi.Output<{ ... } | undefined>;

property diskEncryptionKeyRaw

public diskEncryptionKeyRaw: pulumi.Output<string | undefined>;

property diskEncryptionKeySha256

public diskEncryptionKeySha256: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property image

public image: pulumi.Output<string | undefined>;

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

property labels

public labels: pulumi.Output<{ ... } | undefined>;

property lastAttachTimestamp

public lastAttachTimestamp: pulumi.Output<string>;

property lastDetachTimestamp

public lastDetachTimestamp: pulumi.Output<string>;

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property size

public size: pulumi.Output<number>;

property snapshot

public snapshot: pulumi.Output<string | undefined>;

property sourceImageEncryptionKey

public sourceImageEncryptionKey: pulumi.Output<{ ... } | undefined>;

property sourceImageId

public sourceImageId: pulumi.Output<string>;

property sourceSnapshotEncryptionKey

public sourceSnapshotEncryptionKey: pulumi.Output<{ ... } | undefined>;

property sourceSnapshotId

public sourceSnapshotId: pulumi.Output<string>;

property type

public type: pulumi.Output<string | undefined>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property users

public users: pulumi.Output<string[]>;

property zone

public zone: pulumi.Output<string>;

class Firewall

Manages a firewall resource within GCE. For more information see the official documentation and API.

constructor

new Firewall(name: string, args: FirewallArgs, opts?: pulumi.CustomResourceOptions)

Create a Firewall resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FirewallState): Firewall

Get an existing Firewall resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property allows

public allows: pulumi.Output<{ ... }[] | undefined>;

Can be specified multiple times for each allow rule. Each allow block supports fields documented below.

property denies

public denies: pulumi.Output<{ ... }[] | undefined>;

Can be specified multiple times for each deny rule. Each deny block supports fields documented below. Can be specified instead of allow.

property description

public description: pulumi.Output<string | undefined>;

Textual description field.

property destinationRanges

public destinationRanges: pulumi.Output<string[]>;

A list of destination CIDR ranges that this firewall applies to. Can’t be used for INGRESS.

property direction

public direction: pulumi.Output<string>;

Direction of traffic to which this firewall applies; One of INGRESS or EGRESS. Defaults to INGRESS.

property disabled

public disabled: pulumi.Output<boolean | undefined>;

Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated with. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property network

public network: pulumi.Output<string>;

The name or self_link of the network to attach this firewall to.

property priority

public priority: pulumi.Output<number | undefined>;

The priority for this firewall. Ranges from 0-65535, inclusive. Defaults to 1000. Firewall resources with lower priority values have higher precedence (e.g. a firewall resource with a priority value of 0 takes effect over all other firewall rules with a non-zero priority).

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sourceRanges

public sourceRanges: pulumi.Output<string[]>;

A list of source CIDR ranges that this firewall applies to. Can’t be used for EGRESS.

property sourceServiceAccounts

public sourceServiceAccounts: pulumi.Output<string | undefined>;

A list of service accounts such that the firewall will apply only to traffic originating from an instance with a service account in this list. Note that as of May 2018, this list can contain only one item, due to a change in the way that these firewall rules are handled. Source service accounts cannot be used to control traffic to an instance’s external IP address because service accounts are associated with an instance, not an IP address. source_ranges can be set at the same time as source_service_accounts. If both are set, the firewall will apply to traffic that has source IP address within source_ranges OR the source IP belongs to an instance with service account listed in source_service_accounts. The connection does not need to match both properties for the firewall to apply. source_service_accounts cannot be used at the same time as source_tags or target_tags.

property sourceTags

public sourceTags: pulumi.Output<string[] | undefined>;

A list of source tags for this firewall. Can’t be used for EGRESS.

property targetServiceAccounts

public targetServiceAccounts: pulumi.Output<string | undefined>;

A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allow. target_service_accounts cannot be used at the same time as source_tags or target_tags. If neither target_service_accounts nor target_tags are specified, the firewall rule applies to all instances on the specified network. Note that as of May 2018, this list can contain only one item, due to a change in the way that these firewall rules are handled.

property targetTags

public targetTags: pulumi.Output<string[] | undefined>;

A list of target tags for this firewall.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ForwardingRule

constructor

new ForwardingRule(name: string, args?: ForwardingRuleArgs, opts?: pulumi.CustomResourceOptions)

Create a ForwardingRule resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ForwardingRuleState): ForwardingRule

Get an existing ForwardingRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property backendService

public backendService: pulumi.Output<string | undefined>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipAddress

public ipAddress: pulumi.Output<string>;

property ipProtocol

public ipProtocol: pulumi.Output<string>;

property ipVersion

public ipVersion: pulumi.Output<string | undefined>;

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

property labels

public labels: pulumi.Output<{ ... } | undefined>;

property loadBalancingScheme

public loadBalancingScheme: pulumi.Output<string | undefined>;

property name

public name: pulumi.Output<string>;

property network

public network: pulumi.Output<string>;

property networkTier

public networkTier: pulumi.Output<string>;

property portRange

public portRange: pulumi.Output<string | undefined>;

property ports

public ports: pulumi.Output<string[] | undefined>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property serviceLabel

public serviceLabel: pulumi.Output<string | undefined>;

property serviceName

public serviceName: pulumi.Output<string>;

property subnetwork

public subnetwork: pulumi.Output<string>;

property target

public target: pulumi.Output<string | undefined>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class GlobalAddress

constructor

new GlobalAddress(name: string, args?: GlobalAddressArgs, opts?: pulumi.CustomResourceOptions)

Create a GlobalAddress resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GlobalAddressState): GlobalAddress

Get an existing GlobalAddress resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property address

public address: pulumi.Output<string>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipVersion

public ipVersion: pulumi.Output<string | undefined>;

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class GlobalForwardingRule

Manages a Global Forwarding Rule within GCE. This binds an ip and port to a target HTTP(s) proxy. For more information see the official documentation and API.

constructor

new GlobalForwardingRule(name: string, args: GlobalForwardingRuleArgs, opts?: pulumi.CustomResourceOptions)

Create a GlobalForwardingRule resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GlobalForwardingRuleState): GlobalForwardingRule

Get an existing GlobalForwardingRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

Textual description field.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipAddress

public ipAddress: pulumi.Output<string>;

The static IP. (if not set, an ephemeral IP is used). This should be the literal IP address to be used, not the self_link to a google_compute_global_address resource. (If using a google_compute_global_address resource, use the address property instead of the self_link property.)

property ipProtocol

public ipProtocol: pulumi.Output<string>;

The IP protocol to route, one of “TCP” “UDP” “AH” “ESP” or “SCTP”. (default “TCP”).

property ipVersion

public ipVersion: pulumi.Output<string | undefined>;

The IP Version that will be used by this resource’s address. One of "IPV4" or "IPV6". You cannot provide this and ip_address.

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

(Beta) The current label fingerprint.

property labels

public labels: pulumi.Output<{ ... } | undefined>;

) A set of key/value label pairs to assign to the resource.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property portRange

public portRange: pulumi.Output<string | undefined>;

A range e.g. “1024-2048” or a single port “1024” (defaults to all ports!). Some types of forwarding targets have constraints on the acceptable ports:

  • Target HTTP proxy: 80, 8080
  • Target HTTPS proxy: 443
  • Target TCP proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
  • Target SSL proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
  • Target VPN gateway: 500, 4500

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property target

public target: pulumi.Output<string>;

URL of target HTTP or HTTPS proxy.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class HealthCheck

Manages a health check within GCE. This is used to monitor instances behind load balancers. Timeouts or HTTP errors cause the instance to be removed from the pool. For more information, see the official documentation and API.

constructor

new HealthCheck(name: string, args?: HealthCheckArgs, opts?: pulumi.CustomResourceOptions)

Create a HealthCheck resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HealthCheckState): HealthCheck

Get an existing HealthCheck resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property checkIntervalSec

public checkIntervalSec: pulumi.Output<number | undefined>;

The number of seconds between each poll of the instance instance (default 5).

property description

public description: pulumi.Output<string | undefined>;

Textual description field.

property healthyThreshold

public healthyThreshold: pulumi.Output<number | undefined>;

Consecutive successes required (default 2).

property httpHealthCheck

public httpHealthCheck: pulumi.Output<{ ... } | undefined>;

An HTTP Health Check. Only one kind of Health Check can be added. Structure is documented below.

property httpsHealthCheck

public httpsHealthCheck: pulumi.Output<{ ... } | undefined>;

An HTTPS Health Check. Only one kind of Health Check can be added. Structure is documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sslHealthCheck

public sslHealthCheck: pulumi.Output<{ ... } | undefined>;

An SSL Health Check. Only one kind of Health Check can be added. Structure is documented below.

property tcpHealthCheck

public tcpHealthCheck: pulumi.Output<{ ... } | undefined>;

A TCP Health Check. Only one kind of Health Check can be added. Structure is documented below.

property timeoutSec

public timeoutSec: pulumi.Output<number | undefined>;

The number of seconds to wait before declaring failure (default 5).

property unhealthyThreshold

public unhealthyThreshold: pulumi.Output<number | undefined>;

Consecutive failures required (default 2).

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class HttpHealthCheck

constructor

new HttpHealthCheck(name: string, args?: HttpHealthCheckArgs, opts?: pulumi.CustomResourceOptions)

Create a HttpHealthCheck resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HttpHealthCheckState): HttpHealthCheck

Get an existing HttpHealthCheck resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property checkIntervalSec

public checkIntervalSec: pulumi.Output<number | undefined>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property healthyThreshold

public healthyThreshold: pulumi.Output<number | undefined>;

property host

public host: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property port

public port: pulumi.Output<number | undefined>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property requestPath

public requestPath: pulumi.Output<string | undefined>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property timeoutSec

public timeoutSec: pulumi.Output<number | undefined>;

property unhealthyThreshold

public unhealthyThreshold: pulumi.Output<number | undefined>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class HttpsHealthCheck

constructor

new HttpsHealthCheck(name: string, args?: HttpsHealthCheckArgs, opts?: pulumi.CustomResourceOptions)

Create a HttpsHealthCheck resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HttpsHealthCheckState): HttpsHealthCheck

Get an existing HttpsHealthCheck resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property checkIntervalSec

public checkIntervalSec: pulumi.Output<number | undefined>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property healthyThreshold

public healthyThreshold: pulumi.Output<number | undefined>;

property host

public host: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property port

public port: pulumi.Output<number | undefined>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property requestPath

public requestPath: pulumi.Output<string | undefined>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property timeoutSec

public timeoutSec: pulumi.Output<number | undefined>;

property unhealthyThreshold

public unhealthyThreshold: pulumi.Output<number | undefined>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Image

Creates a bootable VM image resource for Google Compute Engine from an existing tarball. For more information see the official documentation and API.

constructor

new Image(name: string, args?: ImageArgs, opts?: pulumi.CustomResourceOptions)

Create a Image resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImageState): Image

Get an existing Image resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property createTimeout

public createTimeout: pulumi.Output<number | undefined>;

Configurable timeout in minutes for creating images. Default is 4 minutes.

property description

public description: pulumi.Output<string | undefined>;

The description of the image to be created

property family

public family: pulumi.Output<string | undefined>;

The name of the image family to which this image belongs.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

The fingerprint of the assigned labels.

property labels

public labels: pulumi.Output<{ ... } | undefined>;

A set of key/value label pairs to assign to the image.

property licenses

public licenses: pulumi.Output<string[]>;

A list of license URIs to apply to this image. Changing this forces a new resource to be created.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property rawDisk

public rawDisk: pulumi.Output<{ ... } | undefined>;

The raw disk that will be used as the source of the image. Changing this forces a new resource to be created. Structure is documented below.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sourceDisk

public sourceDisk: pulumi.Output<string | undefined>;

The URL of a disk that will be used as the source of the image. Changing this forces a new resource to be created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Instance

Manages a VM instance resource within GCE. For more information see the official documentation and API.

constructor

new Instance(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions)

Create a Instance resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState): Instance

Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property allowStoppingForUpdate

public allowStoppingForUpdate: pulumi.Output<boolean | undefined>;

If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires stopping the instance without setting this field, the update will fail.

property attachedDisks

public attachedDisks: pulumi.Output<{ ... }[] | undefined>;

List of disks to attach to the instance. Structure is documented below.

property bootDisk

public bootDisk: pulumi.Output<{ ... }>;

The boot disk for the instance. Structure is documented below.

property canIpForward

public canIpForward: pulumi.Output<boolean | undefined>;

Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

property cpuPlatform

public cpuPlatform: pulumi.Output<string>;

The CPU platform used by this instance.

property createTimeout

public createTimeout: pulumi.Output<number | undefined>;

Configurable timeout in minutes for creating instances. Default is 4 minutes. Changing this forces a new resource to be created.

property deletionProtection

public deletionProtection: pulumi.Output<boolean | undefined>;

Enable deletion protection on this instance. Defaults to false. Note: you must disable deletion protection before removing the resource (e.g., via terraform destroy), or the instance cannot be deleted and the Terraform run will not complete successfully.

property description

public description: pulumi.Output<string | undefined>;

A brief description of this resource.

property guestAccelerators

public guestAccelerators: pulumi.Output<{ ... }[]>;

List of the type and count of accelerator cards attached to the instance. Structure documented below. Note: GPU accelerators can only be used with on_host_maintenance option set to TERMINATE.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceId

public instanceId: pulumi.Output<string>;

The server-assigned unique identifier of this instance.

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

The unique fingerprint of the labels.

property labels

public labels: pulumi.Output<{ ... } | undefined>;

A set of key/value label pairs to assign to the instance.

property machineType

public machineType: pulumi.Output<string>;

The machine type to create.

property metadata

public metadata: pulumi.Output<{ ... } | undefined>;

Metadata key/value pairs to make available from within the instance.

property metadataFingerprint

public metadataFingerprint: pulumi.Output<string>;

The unique fingerprint of the metadata.

property metadataStartupScript

public metadataStartupScript: pulumi.Output<string | undefined>;

An alternative to using the startup-script metadata key, except this one forces the instance to be recreated (thus re-running the script) if it is changed. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.

property minCpuPlatform

public minCpuPlatform: pulumi.Output<string | undefined>;

Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. See the complete list here. Note: allow_stopping_for_update must be set to true in order to update this field.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property networkInterfaces

public networkInterfaces: pulumi.Output<{ ... }[]>;

Networks to attach to the instance. This can be specified multiple times. Structure is documented below.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property scheduling

public scheduling: pulumi.Output<{ ... }>;

The scheduling strategy to use. More details about this configuration option are detailed below.

property scratchDisks

public scratchDisks: pulumi.Output<{ ... }[] | undefined>;

Scratch disks to attach to the instance. This can be specified multiple times for multiple scratch disks. Structure is documented below.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property serviceAccount

public serviceAccount: pulumi.Output<{ ... } | undefined>;

Service account to attach to the instance. Structure is documented below. Note: allow_stopping_for_update must be set to true in order to update this field.

property tags

public tags: pulumi.Output<string[] | undefined>;

A list of tags to attach to the instance.

property tagsFingerprint

public tagsFingerprint: pulumi.Output<string>;

The unique fingerprint of the tags.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zone

public zone: pulumi.Output<string>;

The zone that the machine should be created in.

class InstanceFromTemplate

Manages a VM instance resource within GCE. For more information see the official documentation and API.

This resource is specifically to create a compute instance from a given source_instance_template. To create an instance without a template, use the google_compute_instance resource.

constructor

new InstanceFromTemplate(name: string, args: InstanceFromTemplateArgs, opts?: pulumi.CustomResourceOptions)

Create a InstanceFromTemplate resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceFromTemplateState): InstanceFromTemplate

Get an existing InstanceFromTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property allowStoppingForUpdate

public allowStoppingForUpdate: pulumi.Output<boolean>;

property attachedDisks

public attachedDisks: pulumi.Output<{ ... }[]>;

property bootDisk

public bootDisk: pulumi.Output<{ ... }>;

property canIpForward

public canIpForward: pulumi.Output<boolean>;

property cpuPlatform

public cpuPlatform: pulumi.Output<string>;

property deletionProtection

public deletionProtection: pulumi.Output<boolean>;

property description

public description: pulumi.Output<string>;

property guestAccelerators

public guestAccelerators: pulumi.Output<{ ... }[]>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceId

public instanceId: pulumi.Output<string>;

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

property labels

public labels: pulumi.Output<{ ... }>;

property machineType

public machineType: pulumi.Output<string>;

property metadata

public metadata: pulumi.Output<{ ... }>;

property metadataFingerprint

public metadataFingerprint: pulumi.Output<string>;

property metadataStartupScript

public metadataStartupScript: pulumi.Output<string>;

property minCpuPlatform

public minCpuPlatform: pulumi.Output<string>;

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property networkInterfaces

public networkInterfaces: pulumi.Output<{ ... }[]>;

property project

public project: pulumi.Output<string>;

property scheduling

public scheduling: pulumi.Output<{ ... }>;

property scratchDisks

public scratchDisks: pulumi.Output<{ ... }[]>;

property selfLink

public selfLink: pulumi.Output<string>;

property serviceAccount

public serviceAccount: pulumi.Output<{ ... }>;

property sourceInstanceTemplate

public sourceInstanceTemplate: pulumi.Output<string>;

Name or self link of an instance template to create the instance based on.

property tags

public tags: pulumi.Output<string[]>;

property tagsFingerprint

public tagsFingerprint: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zone

public zone: pulumi.Output<string>;

The zone that the machine should be created in. If not set, the provider zone is used.

class InstanceGroup

Creates a group of dissimilar Compute Engine virtual machine instances. For more information, see the official documentation and API

constructor

new InstanceGroup(name: string, args?: InstanceGroupArgs, opts?: pulumi.CustomResourceOptions)

Create a InstanceGroup resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceGroupState): InstanceGroup

Get an existing InstanceGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

An optional textual description of the instance group.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instances

public instances: pulumi.Output<string[]>;

List of instances in the group. They should be given as self_link URLs. When adding instances they must all be in the same network and zone as the instance group.

property name

public name: pulumi.Output<string>;

The name of the instance group. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.

property namedPorts

public namedPorts: pulumi.Output<{ ... }[] | undefined>;

The named port configuration. See the section below for details on configuration.

property network

public network: pulumi.Output<string>;

The URL of the network the instance group is in. If this is different from the network where the instances are in, the creation fails. Defaults to the network where the instances are in (if neither network nor instances is specified, this field will be blank).

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property size

public size: pulumi.Output<number>;

The number of instances in the group.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zone

public zone: pulumi.Output<string>;

The zone that this instance group should be created in.

class InstanceGroupManager

The Google Compute Engine Instance Group Manager API creates and manages pools of homogeneous Compute Engine virtual machine instances from a common instance template. For more information, see the official documentation and API

~> Note: Use google_compute_region_instance_group_manager to create a regional (multi-zone) instance group manager.

constructor

new InstanceGroupManager(name: string, args: InstanceGroupManagerArgs, opts?: pulumi.CustomResourceOptions)

Create a InstanceGroupManager resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceGroupManagerState): InstanceGroupManager

Get an existing InstanceGroupManager resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property autoHealingPolicies

public autoHealingPolicies: pulumi.Output<{ ... } | undefined>;

) The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.

property baseInstanceName

public baseInstanceName: pulumi.Output<string>;

The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.

property description

public description: pulumi.Output<string | undefined>;

An optional textual description of the instance group manager.

property fingerprint

public fingerprint: pulumi.Output<string>;

The fingerprint of the instance group manager.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceGroup

public instanceGroup: pulumi.Output<string>;

The full URL of the instance group created by the manager.

property instanceTemplate

public instanceTemplate: pulumi.Output<string | undefined>;
  • The full URL to an instance template from which all new instances of this version will be created.

property name

public name: pulumi.Output<string>;
  • Version name.

property namedPorts

public namedPorts: pulumi.Output<{ ... }[] | undefined>;

The named port configuration. See the section below for details on configuration.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property rollingUpdatePolicy

public rollingUpdatePolicy: pulumi.Output<{ ... } | undefined>;

) The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API


property selfLink

public selfLink: pulumi.Output<string>;

The URL of the created resource.

property targetPools

public targetPools: pulumi.Output<string[] | undefined>;

The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.

property targetSize

public targetSize: pulumi.Output<number>;
  • The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.

property updateStrategy

public updateStrategy: pulumi.Output<string | undefined>;

If the instance_template resource is modified, a value of "NONE" will prevent any of the managed instances from being restarted by Terraform. A value of "RESTART" will restart all of the instances at once. "ROLLING_UPDATE" is supported as [Beta feature]. A value of "ROLLING_UPDATE" requires rolling_update_policy block to be set

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property versions

public versions: pulumi.Output<{ ... }[]>;

Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Conflicts with instance_template. Structure is documented below. Beware that exactly one version must not specify a target size. It means that versions with a target size will respect the setting, and the one without target size will be applied to all remaining Instances (top level target_size - each version target_size).

property waitForInstances

public waitForInstances: pulumi.Output<boolean | undefined>;

Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, Terraform will continue trying until it times out.

property zone

public zone: pulumi.Output<string>;

The zone that instances in this group should be created in.

class InstanceTemplate

Manages a VM instance template resource within GCE. For more information see the official documentation and API.

constructor

new InstanceTemplate(name: string, args: InstanceTemplateArgs, opts?: pulumi.CustomResourceOptions)

Create a InstanceTemplate resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceTemplateState): InstanceTemplate

Get an existing InstanceTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property canIpForward

public canIpForward: pulumi.Output<boolean | undefined>;

Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

property description

public description: pulumi.Output<string | undefined>;

A brief description of this resource.

property disks

public disks: pulumi.Output<{ ... }[]>;

Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.

property guestAccelerators

public guestAccelerators: pulumi.Output<{ ... }[] | undefined>;

List of the type and count of accelerator cards attached to the instance. Structure documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceDescription

public instanceDescription: pulumi.Output<string | undefined>;

A brief description to use for instances created from this template.

property labels

public labels: pulumi.Output<{ ... } | undefined>;

A set of key/value label pairs to assign to instances created from this template,

property machineType

public machineType: pulumi.Output<string>;

The machine type to create.

property metadata

public metadata: pulumi.Output<{ ... } | undefined>;

Metadata key/value pairs to make available from within instances created from this template.

property metadataFingerprint

public metadataFingerprint: pulumi.Output<string>;

The unique fingerprint of the metadata.

property metadataStartupScript

public metadataStartupScript: pulumi.Output<string | undefined>;

An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.

property minCpuPlatform

public minCpuPlatform: pulumi.Output<string | undefined>;

Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. See the complete list here.

property name

public name: pulumi.Output<string>;

The name of the instance template. If you leave this blank, Terraform will auto-generate a unique name.

property namePrefix

public namePrefix: pulumi.Output<string>;

Creates a unique name beginning with the specified prefix. Conflicts with name.

property networkInterfaces

public networkInterfaces: pulumi.Output<{ ... }[] | undefined>;

Networks to attach to instances created from this template. This can be specified multiple times for multiple networks. Structure is documented below.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

An instance template is a global resource that is not bound to a zone or a region. However, you can still specify some regional resources in an instance template, which restricts the template to the region where that resource resides. For example, a custom subnetwork resource is tied to a specific region. Defaults to the region of the Provider if no value is given.

property schedulings

public schedulings: pulumi.Output<{ ... }[]>;

The scheduling strategy to use. More details about this configuration option are detailed below.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property serviceAccount

public serviceAccount: pulumi.Output<{ ... } | undefined>;

Service account to attach to the instance. Structure is documented below.

property tags

public tags: pulumi.Output<string[] | undefined>;

Tags to attach to the instance.

property tagsFingerprint

public tagsFingerprint: pulumi.Output<string>;

The unique fingerprint of the tags.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Network

Manages a network within GCE. For more information see the official documentation and API.

constructor

new Network(name: string, args?: NetworkArgs, opts?: pulumi.CustomResourceOptions)

Create a Network resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkState): Network

Get an existing Network resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property autoCreateSubnetworks

public autoCreateSubnetworks: pulumi.Output<boolean | undefined>;

If set to true, this network will be created in auto subnet mode, and Google will create a subnet for each region automatically. If set to false, a custom subnetted network will be created that can support google_compute_subnetwork resources. Defaults to true.

property description

public description: pulumi.Output<string | undefined>;

A brief description of this resource.

property gatewayIpv4

public gatewayIpv4: pulumi.Output<string>;

The IPv4 address of the gateway.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipv4Range

public ipv4Range: pulumi.Output<string | undefined>;

If set to a CIDR block, uses the legacy VPC API with the specified range. This API is deprecated. If set, auto_create_subnetworks must be explicitly set to false.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property routingMode

public routingMode: pulumi.Output<string>;

Sets the network-wide routing mode for Cloud Routers to use. Accepted values are "GLOBAL" or "REGIONAL". Defaults to "REGIONAL". Refer to the Cloud Router documentation for more details.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class NetworkPeering

Manages a network peering within GCE. For more information see the official documentation and API.

~> Note: Both network must create a peering with each other for the peering to be functional.

~> Note: Subnets IP ranges across peered VPC networks cannot overlap.

constructor

new NetworkPeering(name: string, args: NetworkPeeringArgs, opts?: pulumi.CustomResourceOptions)

Create a NetworkPeering resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkPeeringState): NetworkPeering

Get an existing NetworkPeering resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property autoCreateRoutes

public autoCreateRoutes: pulumi.Output<boolean | undefined>;

If set to true, the routes between the two networks will be created and managed automatically. Defaults to true.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

Name of the peering.

property network

public network: pulumi.Output<string>;

Resource link of the network to add a peering to.

property peerNetwork

public peerNetwork: pulumi.Output<string>;

Resource link of the peer network.

property state

public state: pulumi.Output<string>;

State for the peering.

property stateDetails

public stateDetails: pulumi.Output<string>;

Details about the current state of the peering.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ProjectMetadata

Manages metadata common to all instances for a project in GCE. For more information see the official documentation and API.

~> Note: If you want to manage only single key/value pairs within the project metadata rather than the entire set, then use google_compute_project_metadata_item.

constructor

new ProjectMetadata(name: string, args: ProjectMetadataArgs, opts?: pulumi.CustomResourceOptions)

Create a ProjectMetadata resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectMetadataState): ProjectMetadata

Get an existing ProjectMetadata resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property metadata

public metadata: pulumi.Output<{ ... }>;

A series of key value pairs. Changing this resource updates the GCE state.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ProjectMetadataItem

Manages a single key/value pair on metadata common to all instances for a project in GCE. Using google_compute_project_metadata_item lets you manage a single key/value setting in Terraform rather than the entire project metadata map.

constructor

new ProjectMetadataItem(name: string, args: ProjectMetadataItemArgs, opts?: pulumi.CustomResourceOptions)

Create a ProjectMetadataItem resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectMetadataItemState): ProjectMetadataItem

Get an existing ProjectMetadataItem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property key

public key: pulumi.Output<string>;

The metadata key to set.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property value

public value: pulumi.Output<string>;

The value to set for the given metadata key.

class RegionAutoscaler

constructor

new RegionAutoscaler(name: string, args: RegionAutoscalerArgs, opts?: pulumi.CustomResourceOptions)

Create a RegionAutoscaler resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegionAutoscalerState): RegionAutoscaler

Get an existing RegionAutoscaler resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property autoscalingPolicy

public autoscalingPolicy: pulumi.Output<{ ... }>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

property region

public region: pulumi.Output<string>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property target

public target: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class RegionBackendService

A Region Backend Service defines a regionally-scoped group of virtual machines that will serve traffic for load balancing. For more information see the official documentation and API.

~> Note: Region backend services can only be used when using internal load balancing. For external load balancing, use google_compute_backend_service instead.

constructor

new RegionBackendService(name: string, args: RegionBackendServiceArgs, opts?: pulumi.CustomResourceOptions)

Create a RegionBackendService resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegionBackendServiceState): RegionBackendService

Get an existing RegionBackendService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property backends

public backends: pulumi.Output<{ ... }[] | undefined>;

The list of backends that serve this BackendService. Structure is documented below.

property connectionDrainingTimeoutSec

public connectionDrainingTimeoutSec: pulumi.Output<number | undefined>;

Time for which instance will be drained (not accept new connections, but still work to finish started ones). Defaults to 0.

property description

public description: pulumi.Output<string | undefined>;

The textual description for the backend service.

property fingerprint

public fingerprint: pulumi.Output<string>;

The fingerprint of the backend service.

property healthChecks

public healthChecks: pulumi.Output<string>;

Specifies a list of health checks for checking the health of the backend service. Currently at most one health check can be specified, and a health check is required.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the backend service.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property protocol

public protocol: pulumi.Output<string>;

The protocol for incoming requests. Defaults to TCP.

property region

public region: pulumi.Output<string>;

The Region in which the created address should reside. If it is not provided, the provider region is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sessionAffinity

public sessionAffinity: pulumi.Output<string>;

How to distribute load. Options are NONE (no affinity), CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO. Defaults to NONE.

property timeoutSec

public timeoutSec: pulumi.Output<number>;

The number of secs to wait for a backend to respond to a request before considering the request failed. Defaults to 30.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class RegionInstanceGroupManager

The Google Compute Engine Regional Instance Group Manager API creates and manages pools of homogeneous Compute Engine virtual machine instances from a common instance template. For more information, see the official documentation and API

~> Note: Use google_compute_instance_group_manager to create a single-zone instance group manager.

constructor

new RegionInstanceGroupManager(name: string, args: RegionInstanceGroupManagerArgs, opts?: pulumi.CustomResourceOptions)

Create a RegionInstanceGroupManager resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegionInstanceGroupManagerState): RegionInstanceGroupManager

Get an existing RegionInstanceGroupManager resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property autoHealingPolicies

public autoHealingPolicies: pulumi.Output<{ ... } | undefined>;

) The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.

property baseInstanceName

public baseInstanceName: pulumi.Output<string>;

The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.

property description

public description: pulumi.Output<string | undefined>;

An optional textual description of the instance group manager.

property distributionPolicyZones

public distributionPolicyZones: pulumi.Output<string[]>;

) The distribution policy for this managed instance group. You can specify one or more values. For more information, see the official documentation.


property fingerprint

public fingerprint: pulumi.Output<string>;

The fingerprint of the instance group manager.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceGroup

public instanceGroup: pulumi.Output<string>;

The full URL of the instance group created by the manager.

property instanceTemplate

public instanceTemplate: pulumi.Output<string>;

The full URL to an instance template from which all new instances will be created.

property name

public name: pulumi.Output<string>;

The name of the port.

property namedPorts

public namedPorts: pulumi.Output<{ ... }[] | undefined>;

The named port configuration. See the section below for details on configuration.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

The region where the managed instance group resides.

property rollingUpdatePolicy

public rollingUpdatePolicy: pulumi.Output<{ ... } | undefined>;

) The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API

property selfLink

public selfLink: pulumi.Output<string>;

The URL of the created resource.

property targetPools

public targetPools: pulumi.Output<string[] | undefined>;

The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.

property targetSize

public targetSize: pulumi.Output<number>;

The target number of running instances for this managed instance group. This value should always be explicitly set unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.

property updateStrategy

public updateStrategy: pulumi.Output<string | undefined>;

If the instance_template resource is modified, a value of "NONE" will prevent any of the managed instances from being restarted by Terraform. A value of "ROLLING_UPDATE" is supported as [Beta feature]. A value of "ROLLING_UPDATE" requires rolling_update_policy block to be set

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property waitForInstances

public waitForInstances: pulumi.Output<boolean | undefined>;

Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, Terraform will continue trying until it times out.

class Route

constructor

new Route(name: string, args: RouteArgs, opts?: pulumi.CustomResourceOptions)

Create a Route resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteState): Route

Get an existing Route resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

property destRange

public destRange: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property network

public network: pulumi.Output<string>;

property nextHopGateway

public nextHopGateway: pulumi.Output<string | undefined>;

property nextHopInstance

public nextHopInstance: pulumi.Output<string | undefined>;

property nextHopInstanceZone

public nextHopInstanceZone: pulumi.Output<string | undefined>;

(Optional when next_hop_instance is specified) The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.

property nextHopIp

public nextHopIp: pulumi.Output<string | undefined>;

property nextHopNetwork

public nextHopNetwork: pulumi.Output<string>;

property nextHopVpnTunnel

public nextHopVpnTunnel: pulumi.Output<string | undefined>;

property priority

public priority: pulumi.Output<number | undefined>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property tags

public tags: pulumi.Output<string[] | undefined>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Router

constructor

new Router(name: string, args: RouterArgs, opts?: pulumi.CustomResourceOptions)

Create a Router resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouterState): Router

Get an existing Router resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property bgp

public bgp: pulumi.Output<{ ... } | undefined>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property network

public network: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class RouterInterface

Manages a Cloud Router interface. For more information see the official documentation and API.

constructor

new RouterInterface(name: string, args: RouterInterfaceArgs, opts?: pulumi.CustomResourceOptions)

Create a RouterInterface resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouterInterfaceState): RouterInterface

Get an existing RouterInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipRange

public ipRange: pulumi.Output<string | undefined>;

IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.

property name

public name: pulumi.Output<string>;

A unique name for the interface, required by GCE. Changing this forces a new interface to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which this interface’s router belongs. If it is not provided, the provider project is used. Changing this forces a new interface to be created.

property region

public region: pulumi.Output<string>;

The region this interface’s router sits in. If not specified, the project region will be used. Changing this forces a new interface to be created.

property router

public router: pulumi.Output<string>;

The name of the router this interface will be attached to. Changing this forces a new interface to be created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vpnTunnel

public vpnTunnel: pulumi.Output<string>;

The name or resource link to the VPN tunnel this interface will be linked to. Changing this forces a new interface to be created.

class RouterPeer

Manages a Cloud Router BGP peer. For more information see the official documentation and API.

constructor

new RouterPeer(name: string, args: RouterPeerArgs, opts?: pulumi.CustomResourceOptions)

Create a RouterPeer resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouterPeerState): RouterPeer

Get an existing RouterPeer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property advertisedRoutePriority

public advertisedRoutePriority: pulumi.Output<number | undefined>;

The priority of routes advertised to this BGP peer. Changing this forces a new peer to be created.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property interface

public interface: pulumi.Output<string>;

The name of the interface the BGP peer is associated with. Changing this forces a new peer to be created.

property ipAddress

public ipAddress: pulumi.Output<string>;

IP address of the interface inside Google Cloud Platform.

property name

public name: pulumi.Output<string>;

A unique name for BGP peer, required by GCE. Changing this forces a new peer to be created.

property peerAsn

public peerAsn: pulumi.Output<number>;

Peer BGP Autonomous System Number (ASN). Changing this forces a new peer to be created.

property peerIpAddress

public peerIpAddress: pulumi.Output<string | undefined>;

IP address of the BGP interface outside Google Cloud. Changing this forces a new peer to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which this peer’s router belongs. If it is not provided, the provider project is used. Changing this forces a new peer to be created.

property region

public region: pulumi.Output<string>;

The region this peer’s router sits in. If not specified, the project region will be used. Changing this forces a new peer to be created.

property router

public router: pulumi.Output<string>;

The name of the router in which this BGP peer will be configured. Changing this forces a new peer to be created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SSLCertificate

Creates an SSL certificate resource necessary for HTTPS load balancing in GCE. For more information see the official documentation and API.

constructor

new SSLCertificate(name: string, args: SSLCertificateArgs, opts?: pulumi.CustomResourceOptions)

Create a SSLCertificate resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SSLCertificateState): SSLCertificate

Get an existing SSLCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property certificate

public certificate: pulumi.Output<string>;

A local certificate file in PEM format. The chain may be at most 5 certs long, and must include at least one intermediate cert. Changing this forces a new resource to be created.

property certificateId

public certificateId: pulumi.Output<string>;

A unique ID for the certificate, assigned by GCE.

property description

public description: pulumi.Output<string | undefined>;

An optional description of this resource. Changing this forces a new resource to be created.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the SSL certificate. If you leave this blank, Terraform will auto-generate a unique name.

property namePrefix

public namePrefix: pulumi.Output<string>;

Creates a unique name beginning with the specified prefix. Conflicts with name.

property privateKey

public privateKey: pulumi.Output<string>;

Write only private key in PEM format. Changing this forces a new resource to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SSLPolicy

constructor

new SSLPolicy(name: string, args?: SSLPolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a SSLPolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SSLPolicyState): SSLPolicy

Get an existing SSLPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property customFeatures

public customFeatures: pulumi.Output<string[] | undefined>;

property description

public description: pulumi.Output<string | undefined>;

property enabledFeatures

public enabledFeatures: pulumi.Output<string[]>;

property fingerprint

public fingerprint: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property minTlsVersion

public minTlsVersion: pulumi.Output<string | undefined>;

property name

public name: pulumi.Output<string>;

property profile

public profile: pulumi.Output<string | undefined>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SecurityPolicy

A Security Policy defines an IP blacklist or whitelist that protects load balanced Google Cloud services by denying or permitting traffic from specified IP ranges. For more information see the official documentation and the API.

~> Note: This entire resource is in Beta

constructor

new SecurityPolicy(name: string, args?: SecurityPolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a SecurityPolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityPolicyState): SecurityPolicy

Get an existing SecurityPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

An optional description of this security policy. Max size is 2048.

property fingerprint

public fingerprint: pulumi.Output<string>;

Fingerprint of this resource.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the security policy.

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property rules

public rules: pulumi.Output<{ ... }[]>;

The set of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match “*”). If no rules are provided when creating a security policy, a default rule with action “allow” will be added. Structure is documented below.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SharedVPCHostProject

Enables the Google Compute Engine Shared VPC feature for a project, assigning it as a Shared VPC host project.

For more information, see, the Project API documentation, where the Shared VPC feature is referred to by its former name “XPN”.

constructor

new SharedVPCHostProject(name: string, args: SharedVPCHostProjectArgs, opts?: pulumi.CustomResourceOptions)

Create a SharedVPCHostProject resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SharedVPCHostProjectState): SharedVPCHostProject

Get an existing SharedVPCHostProject resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property project

public project: pulumi.Output<string>;

The ID of the project that will serve as a Shared VPC host project

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SharedVPCServiceProject

Enables the Google Compute Engine Shared VPC feature for a project, assigning it as a Shared VPC service project associated with a given host project.

For more information, see, the Project API documentation, where the Shared VPC feature is referred to by its former name “XPN”.

constructor

new SharedVPCServiceProject(name: string, args: SharedVPCServiceProjectArgs, opts?: pulumi.CustomResourceOptions)

Create a SharedVPCServiceProject resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SharedVPCServiceProjectState): SharedVPCServiceProject

Get an existing SharedVPCServiceProject resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property hostProject

public hostProject: pulumi.Output<string>;

The ID of a host project to associate.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property serviceProject

public serviceProject: pulumi.Output<string>;

The ID of the project that will serve as a Shared VPC service project.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Snapshot

Creates a new snapshot of a disk within GCE. For more information see the official documentation and API.

constructor

new Snapshot(name: string, args: SnapshotArgs, opts?: pulumi.CustomResourceOptions)

Create a Snapshot resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnapshotState): Snapshot

Get an existing Snapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

The unique fingerprint of the labels.

property labels

public labels: pulumi.Output<{ ... } | undefined>;

A set of key/value label pairs to assign to the snapshot.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property snapshotEncryptionKeyRaw

public snapshotEncryptionKeyRaw: pulumi.Output<string | undefined>;

A 256-bit [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption), encoded in RFC 4648 base64 to encrypt this snapshot.

property snapshotEncryptionKeySha256

public snapshotEncryptionKeySha256: pulumi.Output<string>;

The [RFC 4648 base64] (https://tools.ietf.org/html/rfc4648#section-4) encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.

property sourceDisk

public sourceDisk: pulumi.Output<string>;

The disk which will be used as the source of the snapshot.

property sourceDiskEncryptionKeyRaw

public sourceDiskEncryptionKeyRaw: pulumi.Output<string | undefined>;

A 256-bit [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption), encoded in RFC 4648 base64 to decrypt the source disk.

property sourceDiskEncryptionKeySha256

public sourceDiskEncryptionKeySha256: pulumi.Output<string>;

The [RFC 4648 base64] (https://tools.ietf.org/html/rfc4648#section-4) encoded SHA-256 hash of the customer-supplied encryption key that protects the source disk.

property sourceDiskLink

public sourceDiskLink: pulumi.Output<string>;

The URI of the source disk.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zone

public zone: pulumi.Output<string>;

The zone where the source disk is located.

class Subnetwork

constructor

new Subnetwork(name: string, args: SubnetworkArgs, opts?: pulumi.CustomResourceOptions)

Create a Subnetwork resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetworkState): Subnetwork

Get an existing Subnetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property enableFlowLogs

public enableFlowLogs: pulumi.Output<boolean | undefined>;

property fingerprint

public fingerprint: pulumi.Output<string>;

property gatewayAddress

public gatewayAddress: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipCidrRange

public ipCidrRange: pulumi.Output<string>;

property name

public name: pulumi.Output<string>;

property network

public network: pulumi.Output<string>;

property privateIpGoogleAccess

public privateIpGoogleAccess: pulumi.Output<boolean | undefined>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

property secondaryIpRanges

public secondaryIpRanges: pulumi.Output<{ ... }[]>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SubnetworkIAMBinding

Three different resources help you manage your IAM policy for GCE subnetwork. Each of these resources serves a different use case:

  • google_compute_subnetwork_iam_policy: Authoritative. Sets the IAM policy for the subnetwork and replaces any existing policy already attached.
  • google_compute_subnetwork_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the subnetwork are preserved.
  • google_compute_subnetwork_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the subnetwork are preserved.

~> Note: google_compute_subnetwork_iam_policy cannot be used in conjunction with google_compute_subnetwork_iam_binding and google_compute_subnetwork_iam_member or they will fight over what your policy should be.

~> Note: google_compute_subnetwork_iam_binding resources can be used in conjunction with google_compute_subnetwork_iam_member resources only if they do not grant privilege to the same role.

~> Note: These entire resources are in Beta

constructor

new SubnetworkIAMBinding(name: string, args: SubnetworkIAMBindingArgs, opts?: pulumi.CustomResourceOptions)

Create a SubnetworkIAMBinding resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetworkIAMBindingState): SubnetworkIAMBinding

Get an existing SubnetworkIAMBinding resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the subnetwork’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property members

public members: pulumi.Output<string[]>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

The region of the subnetwork. If unspecified, this defaults to the region configured in the provider.

property role

public role: pulumi.Output<string>;

The role that should be applied. Only one google_compute_subnetwork_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subnetwork

public subnetwork: pulumi.Output<string>;

The name of the subnetwork.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SubnetworkIAMMember

Three different resources help you manage your IAM policy for GCE subnetwork. Each of these resources serves a different use case:

  • google_compute_subnetwork_iam_policy: Authoritative. Sets the IAM policy for the subnetwork and replaces any existing policy already attached.
  • google_compute_subnetwork_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the subnetwork are preserved.
  • google_compute_subnetwork_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the subnetwork are preserved.

~> Note: google_compute_subnetwork_iam_policy cannot be used in conjunction with google_compute_subnetwork_iam_binding and google_compute_subnetwork_iam_member or they will fight over what your policy should be.

~> Note: google_compute_subnetwork_iam_binding resources can be used in conjunction with google_compute_subnetwork_iam_member resources only if they do not grant privilege to the same role.

~> Note: These entire resources are in Beta

constructor

new SubnetworkIAMMember(name: string, args: SubnetworkIAMMemberArgs, opts?: pulumi.CustomResourceOptions)

Create a SubnetworkIAMMember resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetworkIAMMemberState): SubnetworkIAMMember

Get an existing SubnetworkIAMMember resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the subnetwork’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property member

public member: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

The region of the subnetwork. If unspecified, this defaults to the region configured in the provider.

property role

public role: pulumi.Output<string>;

The role that should be applied. Only one google_compute_subnetwork_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subnetwork

public subnetwork: pulumi.Output<string>;

The name of the subnetwork.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SubnetworkIAMPolicy

Three different resources help you manage your IAM policy for GCE subnetwork. Each of these resources serves a different use case:

  • google_compute_subnetwork_iam_policy: Authoritative. Sets the IAM policy for the subnetwork and replaces any existing policy already attached.
  • google_compute_subnetwork_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the subnetwork are preserved.
  • google_compute_subnetwork_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the subnetwork are preserved.

~> Note: google_compute_subnetwork_iam_policy cannot be used in conjunction with google_compute_subnetwork_iam_binding and google_compute_subnetwork_iam_member or they will fight over what your policy should be.

~> Note: google_compute_subnetwork_iam_binding resources can be used in conjunction with google_compute_subnetwork_iam_member resources only if they do not grant privilege to the same role.

~> Note: These entire resources are in Beta

constructor

new SubnetworkIAMPolicy(name: string, args: SubnetworkIAMPolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a SubnetworkIAMPolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetworkIAMPolicyState): SubnetworkIAMPolicy

Get an existing SubnetworkIAMPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the subnetwork’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property policyData

public policyData: pulumi.Output<string>;

The policy data generated by a google_iam_policy data source.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

The region of the subnetwork. If unspecified, this defaults to the region configured in the provider.

property subnetwork

public subnetwork: pulumi.Output<string>;

The name of the subnetwork.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TargetHttpProxy

constructor

new TargetHttpProxy(name: string, args: TargetHttpProxyArgs, opts?: pulumi.CustomResourceOptions)

Create a TargetHttpProxy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetHttpProxyState): TargetHttpProxy

Get an existing TargetHttpProxy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property proxyId

public proxyId: pulumi.Output<number>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urlMap

public urlMap: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TargetHttpsProxy

constructor

new TargetHttpsProxy(name: string, args: TargetHttpsProxyArgs, opts?: pulumi.CustomResourceOptions)

Create a TargetHttpsProxy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetHttpsProxyState): TargetHttpsProxy

Get an existing TargetHttpsProxy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property proxyId

public proxyId: pulumi.Output<number>;

property quicOverride

public quicOverride: pulumi.Output<string | undefined>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sslCertificates

public sslCertificates: pulumi.Output<string[]>;

property sslPolicy

public sslPolicy: pulumi.Output<string | undefined>;

property urlMap

public urlMap: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TargetPool

Manages a Target Pool within GCE. This is a collection of instances used as target of a network load balancer (Forwarding Rule). For more information see the official documentation and API.

constructor

new TargetPool(name: string, args?: TargetPoolArgs, opts?: pulumi.CustomResourceOptions)

Create a TargetPool resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetPoolState): TargetPool

Get an existing TargetPool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property backupPool

public backupPool: pulumi.Output<string | undefined>;

URL to the backup target pool. Must also set failover_ratio.

property description

public description: pulumi.Output<string | undefined>;

Textual description field.

property failoverRatio

public failoverRatio: pulumi.Output<number | undefined>;

Ratio (0 to 1) of failed nodes before using the backup pool (which must also be set).

property healthChecks

public healthChecks: pulumi.Output<string | undefined>;

List of zero or one health check name or self_link. Only legacy google_compute_http_health_check is supported.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instances

public instances: pulumi.Output<string[]>;

List of instances in the pool. They can be given as URLs, or in the form of “zone/name”. Note that the instances need not exist at the time of target pool creation, so there is no need to use the Terraform interpolators to create a dependency on the instances from the target pool.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

Where the target pool resides. Defaults to project region.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sessionAffinity

public sessionAffinity: pulumi.Output<string | undefined>;

How to distribute load. Options are “NONE” (no affinity). “CLIENT_IP” (hash of the source/dest addresses / ports), and “CLIENT_IP_PROTO” also includes the protocol (default “NONE”).

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TargetSSLProxy

constructor

new TargetSSLProxy(name: string, args: TargetSSLProxyArgs, opts?: pulumi.CustomResourceOptions)

Create a TargetSSLProxy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetSSLProxyState): TargetSSLProxy

Get an existing TargetSSLProxy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property backendService

public backendService: pulumi.Output<string>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property proxyHeader

public proxyHeader: pulumi.Output<string | undefined>;

property proxyId

public proxyId: pulumi.Output<number>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sslCertificates

public sslCertificates: pulumi.Output<string>;

property sslPolicy

public sslPolicy: pulumi.Output<string | undefined>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TargetTCPProxy

constructor

new TargetTCPProxy(name: string, args: TargetTCPProxyArgs, opts?: pulumi.CustomResourceOptions)

Create a TargetTCPProxy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetTCPProxyState): TargetTCPProxy

Get an existing TargetTCPProxy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property backendService

public backendService: pulumi.Output<string>;

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property proxyHeader

public proxyHeader: pulumi.Output<string | undefined>;

property proxyId

public proxyId: pulumi.Output<number>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class URLMap

Manages a URL Map resource within GCE. For more information see the official documentation and API.

constructor

new URLMap(name: string, args: URLMapArgs, opts?: pulumi.CustomResourceOptions)

Create a URLMap resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: URLMapState): URLMap

Get an existing URLMap resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property defaultService

public defaultService: pulumi.Output<string>;

The backend service or backend bucket to use when none of the given rules match.

property description

public description: pulumi.Output<string | undefined>;

A brief description of this resource.

property fingerprint

public fingerprint: pulumi.Output<string>;

The unique fingerprint for this resource.

property hostRules

public hostRules: pulumi.Output<{ ... }[] | undefined>;

A list of host rules. Multiple blocks of this type are permitted. Structure is documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property mapId

public mapId: pulumi.Output<string>;

The GCE assigned ID of the resource.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property pathMatchers

public pathMatchers: pulumi.Output<{ ... }[] | undefined>;

A list of paths to match. Structure is documented below.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property tests

public tests: pulumi.Output<{ ... }[] | undefined>;

The test to perform. Multiple blocks of this type are permitted. Structure is documented below.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class VPNGateway

constructor

new VPNGateway(name: string, args: VPNGatewayArgs, opts?: pulumi.CustomResourceOptions)

Create a VPNGateway resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VPNGatewayState): VPNGateway

Get an existing VPNGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property network

public network: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class VPNTunnel

constructor

new VPNTunnel(name: string, args: VPNTunnelArgs, opts?: pulumi.CustomResourceOptions)

Create a VPNTunnel resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VPNTunnelState): VPNTunnel

Get an existing VPNTunnel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property creationTimestamp

public creationTimestamp: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property detailedStatus

public detailedStatus: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ikeVersion

public ikeVersion: pulumi.Output<number | undefined>;

property labelFingerprint

public labelFingerprint: pulumi.Output<string>;

property labels

public labels: pulumi.Output<{ ... } | undefined>;

property localTrafficSelectors

public localTrafficSelectors: pulumi.Output<string[]>;

property name

public name: pulumi.Output<string>;

property peerIp

public peerIp: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

public region: pulumi.Output<string>;

property remoteTrafficSelectors

public remoteTrafficSelectors: pulumi.Output<string[]>;

property router

public router: pulumi.Output<string | undefined>;

property selfLink

public selfLink: pulumi.Output<string>;

The URI of the created resource.

property sharedSecret

public sharedSecret: pulumi.Output<string>;

property sharedSecretHash

public sharedSecretHash: pulumi.Output<string>;

property targetVpnGateway

public targetVpnGateway: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getAddress

getAddress(args: GetAddressArgs, opts?: pulumi.InvokeOptions): Promise<GetAddressResult>

Get the IP address from a static address. For more information see the official API documentation.

function getBackendService

getBackendService(args: GetBackendServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetBackendServiceResult>

Provide acces to a Backend Service’s attribute. For more information see the official documentation and the API.

function getDefaultServiceAccount

getDefaultServiceAccount(args?: GetDefaultServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetDefaultServiceAccountResult>

Use this data source to retrieve default service account for this project

function getForwardingRule

getForwardingRule(args: GetForwardingRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetForwardingRuleResult>

Get a forwarding rule within GCE from its name.

function getGlobalAddress

getGlobalAddress(args: GetGlobalAddressArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalAddressResult>

Get the IP address from a static address reserved for a Global Forwarding Rule which are only used for HTTP load balancing. For more information see the official API documentation.

function getImage

getImage(args?: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>

Get information about a Google Compute Image. Check that your service account has the compute.imageUser role if you want to share custom images from another project. If you want to use [public images][pubimg], do not forget to specify the dedicated project. For more information see the official documentation and its API.

function getInstanceGroup

getInstanceGroup(args?: GetInstanceGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceGroupResult>

Get a Compute Instance Group within GCE. For more information, see the official documentation and API

data "google_compute_instance_group" "all" {
	name = "instance-group-name"
	zone = "us-central1-a"
}

function getLBIPRanges

getLBIPRanges(opts?: pulumi.InvokeOptions): Promise<GetLBIPRangesResult>

Use this data source to access IP ranges in your firewall rules.

https://cloud.google.com/compute/docs/load-balancing/health-checks#health_check_source_ips_and_firewall_rules

function getNetblockIPRanges

getNetblockIPRanges(opts?: pulumi.InvokeOptions): Promise<GetNetblockIPRangesResult>

Use this data source to get the IP ranges from the sender policy framework (SPF) record of _cloud-netblocks.googleusercontent

https://cloud.google.com/compute/docs/faq#where_can_i_find_product_name_short_ip_ranges

function getNetwork

getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkResult>

Get a network within GCE from its name.

function getRegionInstanceGroup

getRegionInstanceGroup(args?: GetRegionInstanceGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetRegionInstanceGroupResult>

Get a Compute Region Instance Group within GCE. For more information, see the official documentation and API.

data "google_compute_region_instance_group" "group" {
	name = "instance-group-name"
}

The most common use of this datasource will be to fetch information about the instances inside regional managed instance groups, for instance:

resource "google_compute_region_instance_group_manager" "foo" {
	name = "some_name"
    ...
	base_instance_name = "foo"
    ...
	instance_template = "${google_compute_instance_template.foo.self_link}"
	target_pools = ["${google_compute_target_pool.foo.self_link}"]
    ...
}

data "google_compute_region_instance_group" "data_source" {
	self_link = "${google_compute_region_instance_group_manager.foo.instance_group}"
}

function getRegions

getRegions(args?: GetRegionsArgs, opts?: pulumi.InvokeOptions): Promise<GetRegionsResult>

Provides access to available Google Compute regions for a given project. See more about regions and regions in the upstream docs.

data "google_compute_regions" "available" {}

resource "google_compute_subnetwork" "cluster" {
  count = "${length(data.google_compute_regions.available.names)}"
  name          = "my-network"
  ip_cidr_range = "10.36.${count.index}.0/24"
  network       = "my-network"
  region        = "${data.google_compute_regions.available.names[count.index]}"
}

function getSSLPolicy

getSSLPolicy(args: GetSSLPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetSSLPolicyResult>

Gets an SSL Policy within GCE from its name, for use with Target HTTPS and Target SSL Proxies. For more information see the official documentation.

function getSubnetwork

getSubnetwork(args: GetSubnetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetSubnetworkResult>

Get a subnetwork within GCE from its name and region.

function getVPNGateway

getVPNGateway(args: GetVPNGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetVPNGatewayResult>

Get a VPN gateway within GCE from its name.

function getZones

getZones(args?: GetZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetZonesResult>

Provides access to available Google Compute zones in a region for a given project. See more about regions and zones in the upstream docs.

data "google_compute_zones" "available" {}

resource "google_compute_instance_group_manager" "foo" {
  count = "${length(data.google_compute_zones.available.names)}"

  name               = "terraform-test-${count.index}"
  instance_template  = "${google_compute_instance_template.foobar.self_link}"
  base_instance_name = "foobar-${count.index}"
  zone               = "${data.google_compute_zones.available.names[count.index]}"
  target_size        = 1
}

interface AddressArgs

The set of arguments for constructing a Address resource.

property address

address?: pulumi.Input<string>;

property addressType

addressType?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property networkTier

networkTier?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: pulumi.Input<string>;

property subnetwork

subnetwork?: pulumi.Input<string>;

interface AddressState

Input properties used for looking up and filtering Address resources.

property address

address?: pulumi.Input<string>;

property addressType

addressType?: pulumi.Input<string>;

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property networkTier

networkTier?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: pulumi.Input<string>;

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property subnetwork

subnetwork?: pulumi.Input<string>;

property users

users?: pulumi.Input<pulumi.Input<string>[]>;

interface AutoscalarArgs

The set of arguments for constructing a Autoscalar resource.

property autoscalingPolicy

autoscalingPolicy: pulumi.Input<{ ... }>;

property description

description?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

property target

target: pulumi.Input<string>;

property zone

zone?: pulumi.Input<string>;

interface AutoscalarState

Input properties used for looking up and filtering Autoscalar resources.

property autoscalingPolicy

autoscalingPolicy?: pulumi.Input<{ ... }>;

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property target

target?: pulumi.Input<string>;

property zone

zone?: pulumi.Input<string>;

interface BackendBucketArgs

The set of arguments for constructing a BackendBucket resource.

property bucketName

bucketName: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property enableCdn

enableCdn?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

interface BackendBucketState

Input properties used for looking up and filtering BackendBucket resources.

property bucketName

bucketName?: pulumi.Input<string>;

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property enableCdn

enableCdn?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

interface BackendServiceArgs

The set of arguments for constructing a BackendService resource.

property backends

backends?: pulumi.Input<pulumi.Input<{ ... }>[]>;

The list of backends that serve this BackendService. Structure is documented below.

property cdnPolicy

cdnPolicy?: pulumi.Input<{ ... }>;

Cloud CDN configuration for this BackendService. Structure is documented below.

property connectionDrainingTimeoutSec

connectionDrainingTimeoutSec?: pulumi.Input<number>;

Time for which instance will be drained (not accept new connections, but still work to finish started ones). Defaults to 300.

property customRequestHeaders

customRequestHeaders?: pulumi.Input<pulumi.Input<string>[]>;

) Headers that the HTTP/S load balancer should add to proxied requests. See guide for details.

property description

description?: pulumi.Input<string>;

The textual description for the backend service.

property enableCdn

enableCdn?: pulumi.Input<boolean>;

Whether or not to enable the Cloud CDN on the backend service.

property healthChecks

healthChecks: pulumi.Input<string>;

Specifies a list of HTTP/HTTPS health checks for checking the health of the backend service. Currently at most one health check can be specified, and a health check is required.

property iap

iap?: pulumi.Input<{ ... }>;

Specification for the Identity-Aware proxy. Disabled if not specified. Structure is documented below.

property name

name?: pulumi.Input<string>;

The name of the backend service.

property portName

portName?: pulumi.Input<string>;

The name of a service that has been added to an instance group in this backend. See related docs for details. Defaults to http.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property protocol

protocol?: pulumi.Input<string>;

The protocol for incoming requests. Defaults to HTTP.

property securityPolicy

securityPolicy?: pulumi.Input<string>;

) Name or URI of a security policy to add to the backend service.

property sessionAffinity

sessionAffinity?: pulumi.Input<string>;

How to distribute load. Options are NONE (no affinity), CLIENT_IP (hash of the source/dest addresses / ports), and GENERATED_COOKIE (distribute load using a generated session cookie).

property timeoutSec

timeoutSec?: pulumi.Input<number>;

The number of secs to wait for a backend to respond to a request before considering the request failed. Defaults to 30.

interface BackendServiceState

Input properties used for looking up and filtering BackendService resources.

property backends

backends?: pulumi.Input<pulumi.Input<{ ... }>[]>;

The list of backends that serve this BackendService. Structure is documented below.

property cdnPolicy

cdnPolicy?: pulumi.Input<{ ... }>;

Cloud CDN configuration for this BackendService. Structure is documented below.

property connectionDrainingTimeoutSec

connectionDrainingTimeoutSec?: pulumi.Input<number>;

Time for which instance will be drained (not accept new connections, but still work to finish started ones). Defaults to 300.

property customRequestHeaders

customRequestHeaders?: pulumi.Input<pulumi.Input<string>[]>;

) Headers that the HTTP/S load balancer should add to proxied requests. See guide for details.

property description

description?: pulumi.Input<string>;

The textual description for the backend service.

property enableCdn

enableCdn?: pulumi.Input<boolean>;

Whether or not to enable the Cloud CDN on the backend service.

property fingerprint

fingerprint?: pulumi.Input<string>;

The fingerprint of the backend service.

property healthChecks

healthChecks?: pulumi.Input<string>;

Specifies a list of HTTP/HTTPS health checks for checking the health of the backend service. Currently at most one health check can be specified, and a health check is required.

property iap

iap?: pulumi.Input<{ ... }>;

Specification for the Identity-Aware proxy. Disabled if not specified. Structure is documented below.

property name

name?: pulumi.Input<string>;

The name of the backend service.

property portName

portName?: pulumi.Input<string>;

The name of a service that has been added to an instance group in this backend. See related docs for details. Defaults to http.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property protocol

protocol?: pulumi.Input<string>;

The protocol for incoming requests. Defaults to HTTP.

property securityPolicy

securityPolicy?: pulumi.Input<string>;

) Name or URI of a security policy to add to the backend service.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property sessionAffinity

sessionAffinity?: pulumi.Input<string>;

How to distribute load. Options are NONE (no affinity), CLIENT_IP (hash of the source/dest addresses / ports), and GENERATED_COOKIE (distribute load using a generated session cookie).

property timeoutSec

timeoutSec?: pulumi.Input<number>;

The number of secs to wait for a backend to respond to a request before considering the request failed. Defaults to 30.

interface DiskArgs

The set of arguments for constructing a Disk resource.

property description

description?: pulumi.Input<string>;

property diskEncryptionKey

diskEncryptionKey?: pulumi.Input<{ ... }>;

property diskEncryptionKeyRaw

diskEncryptionKeyRaw?: pulumi.Input<string>;

property image

image?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property size

size?: pulumi.Input<number>;

property snapshot

snapshot?: pulumi.Input<string>;

property sourceImageEncryptionKey

sourceImageEncryptionKey?: pulumi.Input<{ ... }>;

property sourceSnapshotEncryptionKey

sourceSnapshotEncryptionKey?: pulumi.Input<{ ... }>;

property type

type?: pulumi.Input<string>;

property zone

zone?: pulumi.Input<string>;

interface DiskState

Input properties used for looking up and filtering Disk resources.

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property diskEncryptionKey

diskEncryptionKey?: pulumi.Input<{ ... }>;

property diskEncryptionKeyRaw

diskEncryptionKeyRaw?: pulumi.Input<string>;

property diskEncryptionKeySha256

diskEncryptionKeySha256?: pulumi.Input<string>;

property image

image?: pulumi.Input<string>;

property labelFingerprint

labelFingerprint?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property lastAttachTimestamp

lastAttachTimestamp?: pulumi.Input<string>;

property lastDetachTimestamp

lastDetachTimestamp?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property size

size?: pulumi.Input<number>;

property snapshot

snapshot?: pulumi.Input<string>;

property sourceImageEncryptionKey

sourceImageEncryptionKey?: pulumi.Input<{ ... }>;

property sourceImageId

sourceImageId?: pulumi.Input<string>;

property sourceSnapshotEncryptionKey

sourceSnapshotEncryptionKey?: pulumi.Input<{ ... }>;

property sourceSnapshotId

sourceSnapshotId?: pulumi.Input<string>;

property type

type?: pulumi.Input<string>;

property users

users?: pulumi.Input<pulumi.Input<string>[]>;

property zone

zone?: pulumi.Input<string>;

interface FirewallArgs

The set of arguments for constructing a Firewall resource.

property allows

allows?: pulumi.Input<pulumi.Input<{ ... }>[]>;

Can be specified multiple times for each allow rule. Each allow block supports fields documented below.

property denies

denies?: pulumi.Input<pulumi.Input<{ ... }>[]>;

Can be specified multiple times for each deny rule. Each deny block supports fields documented below. Can be specified instead of allow.

property description

description?: pulumi.Input<string>;

Textual description field.

property destinationRanges

destinationRanges?: pulumi.Input<pulumi.Input<string>[]>;

A list of destination CIDR ranges that this firewall applies to. Can’t be used for INGRESS.

property direction

direction?: pulumi.Input<string>;

Direction of traffic to which this firewall applies; One of INGRESS or EGRESS. Defaults to INGRESS.

property disabled

disabled?: pulumi.Input<boolean>;

Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated with. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property network

network: pulumi.Input<string>;

The name or self_link of the network to attach this firewall to.

property priority

priority?: pulumi.Input<number>;

The priority for this firewall. Ranges from 0-65535, inclusive. Defaults to 1000. Firewall resources with lower priority values have higher precedence (e.g. a firewall resource with a priority value of 0 takes effect over all other firewall rules with a non-zero priority).

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property sourceRanges

sourceRanges?: pulumi.Input<pulumi.Input<string>[]>;

A list of source CIDR ranges that this firewall applies to. Can’t be used for EGRESS.

property sourceServiceAccounts

sourceServiceAccounts?: pulumi.Input<string>;

A list of service accounts such that the firewall will apply only to traffic originating from an instance with a service account in this list. Note that as of May 2018, this list can contain only one item, due to a change in the way that these firewall rules are handled. Source service accounts cannot be used to control traffic to an instance’s external IP address because service accounts are associated with an instance, not an IP address. source_ranges can be set at the same time as source_service_accounts. If both are set, the firewall will apply to traffic that has source IP address within source_ranges OR the source IP belongs to an instance with service account listed in source_service_accounts. The connection does not need to match both properties for the firewall to apply. source_service_accounts cannot be used at the same time as source_tags or target_tags.

property sourceTags

sourceTags?: pulumi.Input<pulumi.Input<string>[]>;

A list of source tags for this firewall. Can’t be used for EGRESS.

property targetServiceAccounts

targetServiceAccounts?: pulumi.Input<string>;

A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allow. target_service_accounts cannot be used at the same time as source_tags or target_tags. If neither target_service_accounts nor target_tags are specified, the firewall rule applies to all instances on the specified network. Note that as of May 2018, this list can contain only one item, due to a change in the way that these firewall rules are handled.

property targetTags

targetTags?: pulumi.Input<pulumi.Input<string>[]>;

A list of target tags for this firewall.

interface FirewallState

Input properties used for looking up and filtering Firewall resources.

property allows

allows?: pulumi.Input<pulumi.Input<{ ... }>[]>;

Can be specified multiple times for each allow rule. Each allow block supports fields documented below.

property denies

denies?: pulumi.Input<pulumi.Input<{ ... }>[]>;

Can be specified multiple times for each deny rule. Each deny block supports fields documented below. Can be specified instead of allow.

property description

description?: pulumi.Input<string>;

Textual description field.

property destinationRanges

destinationRanges?: pulumi.Input<pulumi.Input<string>[]>;

A list of destination CIDR ranges that this firewall applies to. Can’t be used for INGRESS.

property direction

direction?: pulumi.Input<string>;

Direction of traffic to which this firewall applies; One of INGRESS or EGRESS. Defaults to INGRESS.

property disabled

disabled?: pulumi.Input<boolean>;

Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated with. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property network

network?: pulumi.Input<string>;

The name or self_link of the network to attach this firewall to.

property priority

priority?: pulumi.Input<number>;

The priority for this firewall. Ranges from 0-65535, inclusive. Defaults to 1000. Firewall resources with lower priority values have higher precedence (e.g. a firewall resource with a priority value of 0 takes effect over all other firewall rules with a non-zero priority).

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property sourceRanges

sourceRanges?: pulumi.Input<pulumi.Input<string>[]>;

A list of source CIDR ranges that this firewall applies to. Can’t be used for EGRESS.

property sourceServiceAccounts

sourceServiceAccounts?: pulumi.Input<string>;

A list of service accounts such that the firewall will apply only to traffic originating from an instance with a service account in this list. Note that as of May 2018, this list can contain only one item, due to a change in the way that these firewall rules are handled. Source service accounts cannot be used to control traffic to an instance’s external IP address because service accounts are associated with an instance, not an IP address. source_ranges can be set at the same time as source_service_accounts. If both are set, the firewall will apply to traffic that has source IP address within source_ranges OR the source IP belongs to an instance with service account listed in source_service_accounts. The connection does not need to match both properties for the firewall to apply. source_service_accounts cannot be used at the same time as source_tags or target_tags.

property sourceTags

sourceTags?: pulumi.Input<pulumi.Input<string>[]>;

A list of source tags for this firewall. Can’t be used for EGRESS.

property targetServiceAccounts

targetServiceAccounts?: pulumi.Input<string>;

A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allow. target_service_accounts cannot be used at the same time as source_tags or target_tags. If neither target_service_accounts nor target_tags are specified, the firewall rule applies to all instances on the specified network. Note that as of May 2018, this list can contain only one item, due to a change in the way that these firewall rules are handled.

property targetTags

targetTags?: pulumi.Input<pulumi.Input<string>[]>;

A list of target tags for this firewall.

interface ForwardingRuleArgs

The set of arguments for constructing a ForwardingRule resource.

property backendService

backendService?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property ipAddress

ipAddress?: pulumi.Input<string>;

property ipProtocol

ipProtocol?: pulumi.Input<string>;

property ipVersion

ipVersion?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property loadBalancingScheme

loadBalancingScheme?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property network

network?: pulumi.Input<string>;

property networkTier

networkTier?: pulumi.Input<string>;

property portRange

portRange?: pulumi.Input<string>;

property ports

ports?: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: pulumi.Input<string>;

property serviceLabel

serviceLabel?: pulumi.Input<string>;

property subnetwork

subnetwork?: pulumi.Input<string>;

property target

target?: pulumi.Input<string>;

interface ForwardingRuleState

Input properties used for looking up and filtering ForwardingRule resources.

property backendService

backendService?: pulumi.Input<string>;

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property ipAddress

ipAddress?: pulumi.Input<string>;

property ipProtocol

ipProtocol?: pulumi.Input<string>;

property ipVersion

ipVersion?: pulumi.Input<string>;

property labelFingerprint

labelFingerprint?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property loadBalancingScheme

loadBalancingScheme?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property network

network?: pulumi.Input<string>;

property networkTier

networkTier?: pulumi.Input<string>;

property portRange

portRange?: pulumi.Input<string>;

property ports

ports?: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: pulumi.Input<string>;

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property serviceLabel

serviceLabel?: pulumi.Input<string>;

property serviceName

serviceName?: pulumi.Input<string>;

property subnetwork

subnetwork?: pulumi.Input<string>;

property target

target?: pulumi.Input<string>;

interface GetAddressArgs

A collection of arguments for invoking getAddress.

property name

name: string;

A unique name for the resource, required by GCE.

property project

project?: string;

The project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: string;

The Region in which the created address reside. If it is not provided, the provider region is used.

interface GetAddressResult

A collection of values returned by getAddress.

property address

address: string;

The IP of the created resource.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property project

project: string;

property region

region: string;

property selfLink

selfLink: string;

The URI of the created resource.

property status

status: string;

Indicates if the address is used. Possible values are: RESERVED or IN_USE.

interface GetBackendServiceArgs

A collection of arguments for invoking getBackendService.

property name

name: string;

The name of the Backend Service.

property project

project?: string;

The project in which the resource belongs. If it is not provided, the provider project is used.

interface GetBackendServiceResult

A collection of values returned by getBackendService.

property backends

backends: { ... }[];

The list of backends that serve this Backend Service.

property cdnPolicies

cdnPolicies: { ... }[];

property connectionDrainingTimeoutSec

connectionDrainingTimeoutSec: number;

Time for which instance will be drained (not accept new connections, but still work to finish started ones).

property customRequestHeaders

customRequestHeaders: string[];

property description

description: string;

Textual description for the Backend Service.

property enableCdn

enableCdn: boolean;

Whether or not Cloud CDN is enabled on the Backend Service.

property fingerprint

fingerprint: string;

The fingerprint of the Backend Service.

property healthChecks

healthChecks: string[];

The list of HTTP/HTTPS health checks used by the Backend Service.

property iaps

iaps: { ... }[];

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property portName

portName: string;

The name of a service that has been added to an instance group in this backend.

property protocol

protocol: string;

The protocol for incoming requests.

property region

region: string;

property securityPolicy

securityPolicy: string;

property selfLink

selfLink: string;

The URI of the Backend Service.

property sessionAffinity

sessionAffinity: string;

The Backend Service session stickyness configuration.

property timeoutSec

timeoutSec: number;

The number of seconds to wait for a backend to respond to a request before considering the request failed.

interface GetDefaultServiceAccountArgs

A collection of arguments for invoking getDefaultServiceAccount.

property project

project?: string;

The project ID. If it is not provided, the provider project is used.

interface GetDefaultServiceAccountResult

A collection of values returned by getDefaultServiceAccount.

property email

email: string;

Email address of the default service account used by VMs running in this project

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property project

project: string;

interface GetForwardingRuleArgs

A collection of arguments for invoking getForwardingRule.

property name

name: string;

The name of the forwarding rule.

property project

project?: string;

The project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: string;

The region in which the resource belongs. If it is not provided, the project region is used.

interface GetForwardingRuleResult

A collection of values returned by getForwardingRule.

property backendService

backendService: string;

Backend service, if this forwarding rule has one.

property description

description: string;

Description of this forwarding rule.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property ipAddress

ipAddress: string;

IP address of this forwarding rule.

property ipProtocol

ipProtocol: string;

IP protocol of this forwarding rule.

property loadBalancingScheme

loadBalancingScheme: string;

Type of load balancing of this forwarding rule.

property network

network: string;

Network of this forwarding rule.

property portRange

portRange: string;

Port range, if this forwarding rule has one.

property ports

ports: string[];

List of ports to use for internal load balancing, if this forwarding rule has any.

property project

project: string;

property region

region: string;

Region of this forwarding rule.

property selfLink

selfLink: string;

The URI of the resource.

property subnetwork

subnetwork: string;

Subnetwork of this forwarding rule.

property target

target: string;

URL of the target pool, if this forwarding rule has one.

interface GetGlobalAddressArgs

A collection of arguments for invoking getGlobalAddress.

property name

name: string;

A unique name for the resource, required by GCE.

property project

project?: string;

The project in which the resource belongs. If it is not provided, the provider project is used.

interface GetGlobalAddressResult

A collection of values returned by getGlobalAddress.

property address

address: string;

The IP of the created resource.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property project

project: string;

property selfLink

selfLink: string;

The URI of the created resource.

property status

status: string;

Indicates if the address is used. Possible values are: RESERVED or IN_USE.

interface GetImageArgs

A collection of arguments for invoking getImage.

property family

family?: string;

property name

name?: string;

property project

project?: string;

The project in which the resource belongs. If it is not provided, the provider project is used. If you are using a [public base image][pubimg], be sure to specify the correct Image Project.

interface GetImageResult

A collection of values returned by getImage.

property archiveSizeBytes

archiveSizeBytes: number;

The size of the image tar.gz archive stored in Google Cloud Storage in bytes.

property creationTimestamp

creationTimestamp: string;

The creation timestamp in RFC3339 text format.

property description

description: string;

An optional description of this image.

property diskSizeGb

diskSizeGb: number;

The size of the image when restored onto a persistent disk in gigabytes.

property family

family: string;

The family name of the image.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property imageEncryptionKeySha256

imageEncryptionKeySha256: string;

The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this image.

property imageId

imageId: string;

The unique identifier for the image.

property labelFingerprint

labelFingerprint: string;

A fingerprint for the labels being applied to this image.

property labels

labels: { ... };

A map of labels applied to this image.

property licenses

licenses: string[];

A list of applicable license URI.

property name

name: string;

The name of the image.

property project

project: string;

property selfLink

selfLink: string;

The URI of the image.

property sourceDisk

sourceDisk: string;

The URL of the source disk used to create this image.

property sourceDiskEncryptionKeySha256

sourceDiskEncryptionKeySha256: string;

The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this image.

property sourceDiskId

sourceDiskId: string;

The ID value of the disk used to create this image.

property sourceImageId

sourceImageId: string;

The ID value of the image used to create this image.

property status

status: string;

The status of the image. Possible values are FAILED, PENDING, or READY.

interface GetInstanceGroupArgs

A collection of arguments for invoking getInstanceGroup.

property name

name?: string;

The name of the instance group. Either name or self_link must be provided.

property project

project?: string;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: string;

The self link of the instance group. Either name or self_link must be provided.

property zone

zone?: string;

The zone of the instance group. If referencing the instance group by name and zone is not provided, the provider zone is used.

interface GetInstanceGroupResult

A collection of values returned by getInstanceGroup.

property description

description: string;

Textual description of the instance group.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property instances

instances: string[];

List of instances in the group.

property namedPorts

namedPorts: { ... }[];

List of named ports in the group.

property network

network: string;

The URL of the network the instance group is in.

property project

project: string;

property selfLink

selfLink: string;

The URI of the resource.

property size

size: number;

The number of instances in the group.

property zone

zone: string;

interface GetLBIPRangesResult

A collection of values returned by getLBIPRanges.

property httpSslTcpInternals

httpSslTcpInternals: string[];

The IP ranges used for health checks when HTTP(S), SSL proxy, TCP proxy, and Internal load balancing is used

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property networks

networks: string[];

The IP ranges used for health checks when Network load balancing is used

interface GetNetblockIPRangesResult

A collection of values returned by getNetblockIPRanges.

property cidrBlocks

cidrBlocks: string[];

Retrieve list of all CIDR blocks.

property cidrBlocksIpv4s

cidrBlocksIpv4s: string[];

Retrieve list of the IP4 CIDR blocks

property cidrBlocksIpv6s

cidrBlocksIpv6s: string[];

Retrieve list of the IP6 CIDR blocks.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

interface GetNetworkArgs

A collection of arguments for invoking getNetwork.

property name

name: string;

The name of the network.

property project

project?: string;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

interface GetNetworkResult

A collection of values returned by getNetwork.

property description

description: string;

Description of this network.

property gatewayIpv4

gatewayIpv4: string;

The IP address of the gateway.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property selfLink

selfLink: string;

The URI of the resource.

property subnetworksSelfLinks

subnetworksSelfLinks: string[];

the list of subnetworks which belong to the network

interface GetRegionInstanceGroupArgs

A collection of arguments for invoking getRegionInstanceGroup.

property name

name?: string;

The name of the instance group. One of name or self_link must be provided.

property project

project?: string;

The project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: string;

The region in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor region are provided, the provider region is used.

property selfLink

selfLink?: string;

The link to the instance group. One of name or self_link must be provided.

interface GetRegionInstanceGroupResult

A collection of values returned by getRegionInstanceGroup.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property instances

instances: { ... }[];

List of instances in the group, as a list of resources, each containing:

property name

name: string;

String port name

property project

project: string;

property region

region: string;

property selfLink

selfLink: string;

property size

size: number;

The number of instances in the group.

interface GetRegionsArgs

A collection of arguments for invoking getRegions.

property project

project?: string;

Project from which to list available regions. Defaults to project declared in the provider.

property status

status?: string;

Allows to filter list of regions based on their current status. Status can be either UP or DOWN. Defaults to no filtering (all available regions - both UP and DOWN).

interface GetRegionsResult

A collection of values returned by getRegions.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property names

names: string[];

A list of regions available in the given project

property project

project: string;

interface GetSSLPolicyArgs

A collection of arguments for invoking getSSLPolicy.

property name

name: string;

The name of the SSL Policy.

property project

project?: string;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

interface GetSSLPolicyResult

A collection of values returned by getSSLPolicy.

property creationTimestamp

creationTimestamp: string;

property customFeatures

customFeatures: string[];

If the profile is CUSTOM, these are the custom encryption ciphers supported by the profile. If the profile is not CUSTOM, this attribute will be empty.

property description

description: string;

Description of this SSL Policy.

property enabledFeatures

enabledFeatures: string[];

The set of enabled encryption ciphers as a result of the policy config

property fingerprint

fingerprint: string;

Fingerprint of this resource.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property minTlsVersion

minTlsVersion: string;

The minimum supported TLS version of this policy.

property profile

profile: string;

The Google-curated or custom profile used by this policy.

property selfLink

selfLink: string;

The URI of the created resource.

interface GetSubnetworkArgs

A collection of arguments for invoking getSubnetwork.

property name

name: string;

The name of the subnetwork.

property project

project?: string;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: string;

The region this subnetwork has been created in. If unspecified, this defaults to the region configured in the provider.

interface GetSubnetworkResult

A collection of values returned by getSubnetwork.

property description

description: string;

Description of this subnetwork.

property gatewayAddress

gatewayAddress: string;

The IP address of the gateway.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property ipCidrRange

ipCidrRange: string;

The range of IP addresses belonging to this subnetwork secondary range.

property network

network: string;

The network name or resource link to the parent network of this subnetwork.

property privateIpGoogleAccess

privateIpGoogleAccess: boolean;

Whether the VMs in this subnet can access Google services without assigned external IP addresses.

property project

project: string;

property region

region: string;

property secondaryIpRanges

secondaryIpRanges: { ... }[];

An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. Structure is documented below.

property selfLink

selfLink: string;

The URI of the created resource.

interface GetVPNGatewayArgs

A collection of arguments for invoking getVPNGateway.

property name

name: string;

The name of the VPN gateway.

property project

project?: string;

The project in which the resource belongs. If it is not provided, the provider project is used.

property region

region?: string;

The region in which the resource belongs. If it is not provided, the project region is used.

interface GetVPNGatewayResult

A collection of values returned by getVPNGateway.

property description

description: string;

Description of this VPN gateway.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property network

network: string;

The network of this VPN gateway.

property project

project: string;

property region

region: string;

Region of this VPN gateway.

property selfLink

selfLink: string;

The URI of the resource.

interface GetZonesArgs

A collection of arguments for invoking getZones.

property project

project?: string;

Project from which to list available zones. Defaults to project declared in the provider.

property region

region?: string;

Region from which to list available zones. Defaults to region declared in the provider.

property status

status?: string;

Allows to filter list of zones based on their current status. Status can be either UP or DOWN. Defaults to no filtering (all available zones - both UP and DOWN).

interface GetZonesResult

A collection of values returned by getZones.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property names

names: string[];

A list of zones available in the given region

property project

project: string;

interface GlobalAddressArgs

The set of arguments for constructing a GlobalAddress resource.

property description

description?: pulumi.Input<string>;

property ipVersion

ipVersion?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

interface GlobalAddressState

Input properties used for looking up and filtering GlobalAddress resources.

property address

address?: pulumi.Input<string>;

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property ipVersion

ipVersion?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

interface GlobalForwardingRuleArgs

The set of arguments for constructing a GlobalForwardingRule resource.

property description

description?: pulumi.Input<string>;

Textual description field.

property ipAddress

ipAddress?: pulumi.Input<string>;

The static IP. (if not set, an ephemeral IP is used). This should be the literal IP address to be used, not the self_link to a google_compute_global_address resource. (If using a google_compute_global_address resource, use the address property instead of the self_link property.)

property ipProtocol

ipProtocol?: pulumi.Input<string>;

The IP protocol to route, one of “TCP” “UDP” “AH” “ESP” or “SCTP”. (default “TCP”).

property ipVersion

ipVersion?: pulumi.Input<string>;

The IP Version that will be used by this resource’s address. One of "IPV4" or "IPV6". You cannot provide this and ip_address.

property labels

labels?: pulumi.Input<{ ... }>;

) A set of key/value label pairs to assign to the resource.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property portRange

portRange?: pulumi.Input<string>;

A range e.g. “1024-2048” or a single port “1024” (defaults to all ports!). Some types of forwarding targets have constraints on the acceptable ports:

  • Target HTTP proxy: 80, 8080
  • Target HTTPS proxy: 443
  • Target TCP proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
  • Target SSL proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
  • Target VPN gateway: 500, 4500

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property target

target: pulumi.Input<string>;

URL of target HTTP or HTTPS proxy.

interface GlobalForwardingRuleState

Input properties used for looking up and filtering GlobalForwardingRule resources.

property description

description?: pulumi.Input<string>;

Textual description field.

property ipAddress

ipAddress?: pulumi.Input<string>;

The static IP. (if not set, an ephemeral IP is used). This should be the literal IP address to be used, not the self_link to a google_compute_global_address resource. (If using a google_compute_global_address resource, use the address property instead of the self_link property.)

property ipProtocol

ipProtocol?: pulumi.Input<string>;

The IP protocol to route, one of “TCP” “UDP” “AH” “ESP” or “SCTP”. (default “TCP”).

property ipVersion

ipVersion?: pulumi.Input<string>;

The IP Version that will be used by this resource’s address. One of "IPV4" or "IPV6". You cannot provide this and ip_address.

property labelFingerprint

labelFingerprint?: pulumi.Input<string>;

(Beta) The current label fingerprint.

property labels

labels?: pulumi.Input<{ ... }>;

) A set of key/value label pairs to assign to the resource.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property portRange

portRange?: pulumi.Input<string>;

A range e.g. “1024-2048” or a single port “1024” (defaults to all ports!). Some types of forwarding targets have constraints on the acceptable ports:

  • Target HTTP proxy: 80, 8080
  • Target HTTPS proxy: 443
  • Target TCP proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
  • Target SSL proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
  • Target VPN gateway: 500, 4500

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property target

target?: pulumi.Input<string>;

URL of target HTTP or HTTPS proxy.

interface HealthCheckArgs

The set of arguments for constructing a HealthCheck resource.

property checkIntervalSec

checkIntervalSec?: pulumi.Input<number>;

The number of seconds between each poll of the instance instance (default 5).

property description

description?: pulumi.Input<string>;

Textual description field.

property healthyThreshold

healthyThreshold?: pulumi.Input<number>;

Consecutive successes required (default 2).

property httpHealthCheck

httpHealthCheck?: pulumi.Input<{ ... }>;

An HTTP Health Check. Only one kind of Health Check can be added. Structure is documented below.

property httpsHealthCheck

httpsHealthCheck?: pulumi.Input<{ ... }>;

An HTTPS Health Check. Only one kind of Health Check can be added. Structure is documented below.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property sslHealthCheck

sslHealthCheck?: pulumi.Input<{ ... }>;

An SSL Health Check. Only one kind of Health Check can be added. Structure is documented below.

property tcpHealthCheck

tcpHealthCheck?: pulumi.Input<{ ... }>;

A TCP Health Check. Only one kind of Health Check can be added. Structure is documented below.

property timeoutSec

timeoutSec?: pulumi.Input<number>;

The number of seconds to wait before declaring failure (default 5).

property unhealthyThreshold

unhealthyThreshold?: pulumi.Input<number>;

Consecutive failures required (default 2).

interface HealthCheckState

Input properties used for looking up and filtering HealthCheck resources.

property checkIntervalSec

checkIntervalSec?: pulumi.Input<number>;

The number of seconds between each poll of the instance instance (default 5).

property description

description?: pulumi.Input<string>;

Textual description field.

property healthyThreshold

healthyThreshold?: pulumi.Input<number>;

Consecutive successes required (default 2).

property httpHealthCheck

httpHealthCheck?: pulumi.Input<{ ... }>;

An HTTP Health Check. Only one kind of Health Check can be added. Structure is documented below.

property httpsHealthCheck

httpsHealthCheck?: pulumi.Input<{ ... }>;

An HTTPS Health Check. Only one kind of Health Check can be added. Structure is documented below.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property sslHealthCheck

sslHealthCheck?: pulumi.Input<{ ... }>;

An SSL Health Check. Only one kind of Health Check can be added. Structure is documented below.

property tcpHealthCheck

tcpHealthCheck?: pulumi.Input<{ ... }>;

A TCP Health Check. Only one kind of Health Check can be added. Structure is documented below.

property timeoutSec

timeoutSec?: pulumi.Input<number>;

The number of seconds to wait before declaring failure (default 5).

property unhealthyThreshold

unhealthyThreshold?: pulumi.Input<number>;

Consecutive failures required (default 2).

interface HttpHealthCheckArgs

The set of arguments for constructing a HttpHealthCheck resource.

property checkIntervalSec

checkIntervalSec?: pulumi.Input<number>;

property description

description?: pulumi.Input<string>;

property healthyThreshold

healthyThreshold?: pulumi.Input<number>;

property host

host?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property port

port?: pulumi.Input<number>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property requestPath

requestPath?: pulumi.Input<string>;

property timeoutSec

timeoutSec?: pulumi.Input<number>;

property unhealthyThreshold

unhealthyThreshold?: pulumi.Input<number>;

interface HttpHealthCheckState

Input properties used for looking up and filtering HttpHealthCheck resources.

property checkIntervalSec

checkIntervalSec?: pulumi.Input<number>;

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property healthyThreshold

healthyThreshold?: pulumi.Input<number>;

property host

host?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property port

port?: pulumi.Input<number>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property requestPath

requestPath?: pulumi.Input<string>;

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property timeoutSec

timeoutSec?: pulumi.Input<number>;

property unhealthyThreshold

unhealthyThreshold?: pulumi.Input<number>;

interface HttpsHealthCheckArgs

The set of arguments for constructing a HttpsHealthCheck resource.

property checkIntervalSec

checkIntervalSec?: pulumi.Input<number>;

property description

description?: pulumi.Input<string>;

property healthyThreshold

healthyThreshold?: pulumi.Input<number>;

property host

host?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property port

port?: pulumi.Input<number>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property requestPath

requestPath?: pulumi.Input<string>;

property timeoutSec

timeoutSec?: pulumi.Input<number>;

property unhealthyThreshold

unhealthyThreshold?: pulumi.Input<number>;

interface HttpsHealthCheckState

Input properties used for looking up and filtering HttpsHealthCheck resources.

property checkIntervalSec

checkIntervalSec?: pulumi.Input<number>;

property creationTimestamp

creationTimestamp?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property healthyThreshold

healthyThreshold?: pulumi.Input<number>;

property host

host?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property port

port?: pulumi.Input<number>;

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property requestPath

requestPath?: pulumi.Input<string>;

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property timeoutSec

timeoutSec?: pulumi.Input<number>;

property unhealthyThreshold

unhealthyThreshold?: pulumi.Input<number>;

interface ImageArgs

The set of arguments for constructing a Image resource.

property createTimeout

createTimeout?: pulumi.Input<number>;

Configurable timeout in minutes for creating images. Default is 4 minutes.

property description

description?: pulumi.Input<string>;

The description of the image to be created

property family

family?: pulumi.Input<string>;

The name of the image family to which this image belongs.

property labels

labels?: pulumi.Input<{ ... }>;

A set of key/value label pairs to assign to the image.

property licenses

licenses?: pulumi.Input<pulumi.Input<string>[]>;

A list of license URIs to apply to this image. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property rawDisk

rawDisk?: pulumi.Input<{ ... }>;

The raw disk that will be used as the source of the image. Changing this forces a new resource to be created. Structure is documented below.

property sourceDisk

sourceDisk?: pulumi.Input<string>;

The URL of a disk that will be used as the source of the image. Changing this forces a new resource to be created.

interface ImageState

Input properties used for looking up and filtering Image resources.

property createTimeout

createTimeout?: pulumi.Input<number>;

Configurable timeout in minutes for creating images. Default is 4 minutes.

property description

description?: pulumi.Input<string>;

The description of the image to be created

property family

family?: pulumi.Input<string>;

The name of the image family to which this image belongs.

property labelFingerprint

labelFingerprint?: pulumi.Input<string>;

The fingerprint of the assigned labels.

property labels

labels?: pulumi.Input<{ ... }>;

A set of key/value label pairs to assign to the image.

property licenses

licenses?: pulumi.Input<pulumi.Input<string>[]>;

A list of license URIs to apply to this image. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property rawDisk

rawDisk?: pulumi.Input<{ ... }>;

The raw disk that will be used as the source of the image. Changing this forces a new resource to be created. Structure is documented below.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property sourceDisk

sourceDisk?: pulumi.Input<string>;

The URL of a disk that will be used as the source of the image. Changing this forces a new resource to be created.

interface InstanceArgs

The set of arguments for constructing a Instance resource.

property allowStoppingForUpdate

allowStoppingForUpdate?: pulumi.Input<boolean>;

If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires stopping the instance without setting this field, the update will fail.

property attachedDisks

attachedDisks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

List of disks to attach to the instance. Structure is documented below.

property bootDisk

bootDisk: pulumi.Input<{ ... }>;

The boot disk for the instance. Structure is documented below.

property canIpForward

canIpForward?: pulumi.Input<boolean>;

Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

property createTimeout

createTimeout?: pulumi.Input<number>;

Configurable timeout in minutes for creating instances. Default is 4 minutes. Changing this forces a new resource to be created.

property deletionProtection

deletionProtection?: pulumi.Input<boolean>;

Enable deletion protection on this instance. Defaults to false. Note: you must disable deletion protection before removing the resource (e.g., via terraform destroy), or the instance cannot be deleted and the Terraform run will not complete successfully.

property description

description?: pulumi.Input<string>;

A brief description of this resource.

property guestAccelerators

guestAccelerators?: pulumi.Input<pulumi.Input<{ ... }>[]>;

List of the type and count of accelerator cards attached to the instance. Structure documented below. Note: GPU accelerators can only be used with on_host_maintenance option set to TERMINATE.

property labels

labels?: pulumi.Input<{ ... }>;

A set of key/value label pairs to assign to the instance.

property machineType

machineType: pulumi.Input<string>;

The machine type to create.

property metadata

metadata?: pulumi.Input<{ ... }>;

Metadata key/value pairs to make available from within the instance.

property metadataStartupScript

metadataStartupScript?: pulumi.Input<string>;

An alternative to using the startup-script metadata key, except this one forces the instance to be recreated (thus re-running the script) if it is changed. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.

property minCpuPlatform

minCpuPlatform?: pulumi.Input<string>;

Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. See the complete list here. Note: allow_stopping_for_update must be set to true in order to update this field.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property networkInterfaces

networkInterfaces: pulumi.Input<pulumi.Input<{ ... }>[]>;

Networks to attach to the instance. This can be specified multiple times. Structure is documented below.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property scheduling

scheduling?: pulumi.Input<{ ... }>;

The scheduling strategy to use. More details about this configuration option are detailed below.

property scratchDisks

scratchDisks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

Scratch disks to attach to the instance. This can be specified multiple times for multiple scratch disks. Structure is documented below.

property serviceAccount

serviceAccount?: pulumi.Input<{ ... }>;

Service account to attach to the instance. Structure is documented below. Note: allow_stopping_for_update must be set to true in order to update this field.

property tags

tags?: pulumi.Input<pulumi.Input<string>[]>;

A list of tags to attach to the instance.

property zone

zone?: pulumi.Input<string>;

The zone that the machine should be created in.

interface InstanceFromTemplateArgs

The set of arguments for constructing a InstanceFromTemplate resource.

property allowStoppingForUpdate

allowStoppingForUpdate?: pulumi.Input<boolean>;

property attachedDisks

attachedDisks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property canIpForward

canIpForward?: pulumi.Input<boolean>;

property deletionProtection

deletionProtection?: pulumi.Input<boolean>;

property description

description?: pulumi.Input<string>;

property guestAccelerators

guestAccelerators?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property labels

labels?: pulumi.Input<{ ... }>;

property metadata

metadata?: pulumi.Input<{ ... }>;

property metadataStartupScript

metadataStartupScript?: pulumi.Input<string>;

property minCpuPlatform

minCpuPlatform?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

property scheduling

scheduling?: pulumi.Input<{ ... }>;

property scratchDisks

scratchDisks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property serviceAccount

serviceAccount?: pulumi.Input<{ ... }>;

property sourceInstanceTemplate

sourceInstanceTemplate: pulumi.Input<string>;

Name or self link of an instance template to create the instance based on.

property tags

tags?: pulumi.Input<pulumi.Input<string>[]>;

property zone

zone?: pulumi.Input<string>;

The zone that the machine should be created in. If not set, the provider zone is used.

interface InstanceFromTemplateState

Input properties used for looking up and filtering InstanceFromTemplate resources.

property allowStoppingForUpdate

allowStoppingForUpdate?: pulumi.Input<boolean>;

property attachedDisks

attachedDisks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property bootDisk

bootDisk?: pulumi.Input<{ ... }>;

property canIpForward

canIpForward?: pulumi.Input<boolean>;

property cpuPlatform

cpuPlatform?: pulumi.Input<string>;

property deletionProtection

deletionProtection?: pulumi.Input<boolean>;

property description

description?: pulumi.Input<string>;

property guestAccelerators

guestAccelerators?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property instanceId

instanceId?: pulumi.Input<string>;

property labelFingerprint

labelFingerprint?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property machineType

machineType?: pulumi.Input<string>;

property metadata

metadata?: pulumi.Input<{ ... }>;

property metadataFingerprint

metadataFingerprint?: pulumi.Input<string>;

property metadataStartupScript

metadataStartupScript?: pulumi.Input<string>;

property minCpuPlatform

minCpuPlatform?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

property networkInterfaces

networkInterfaces?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property project

project?: pulumi.Input<string>;

property scheduling

scheduling?: pulumi.Input<{ ... }>;

property scratchDisks

scratchDisks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property selfLink

selfLink?: pulumi.Input<string>;

property serviceAccount

serviceAccount?: pulumi.Input<{ ... }>;

property sourceInstanceTemplate

sourceInstanceTemplate?: pulumi.Input<string>;

Name or self link of an instance template to create the instance based on.

property tags

tags?: pulumi.Input<pulumi.Input<string>[]>;

property tagsFingerprint

tagsFingerprint?: pulumi.Input<string>;

property zone

zone?: pulumi.Input<string>;

The zone that the machine should be created in. If not set, the provider zone is used.

interface InstanceGroupArgs

The set of arguments for constructing a InstanceGroup resource.

property description

description?: pulumi.Input<string>;

An optional textual description of the instance group.

property instances

instances?: pulumi.Input<pulumi.Input<string>[]>;

List of instances in the group. They should be given as self_link URLs. When adding instances they must all be in the same network and zone as the instance group.

property name

name?: pulumi.Input<string>;

The name of the instance group. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.

property namedPorts

namedPorts?: pulumi.Input<pulumi.Input<{ ... }>[]>;

The named port configuration. See the section below for details on configuration.

property network

network?: pulumi.Input<string>;

The URL of the network the instance group is in. If this is different from the network where the instances are in, the creation fails. Defaults to the network where the instances are in (if neither network nor instances is specified, this field will be blank).

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property zone

zone?: pulumi.Input<string>;

The zone that this instance group should be created in.

interface InstanceGroupManagerArgs

The set of arguments for constructing a InstanceGroupManager resource.

property autoHealingPolicies

autoHealingPolicies?: pulumi.Input<{ ... }>;

) The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.

property baseInstanceName

baseInstanceName: pulumi.Input<string>;

The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.

property description

description?: pulumi.Input<string>;

An optional textual description of the instance group manager.

property instanceTemplate

instanceTemplate?: pulumi.Input<string>;
  • The full URL to an instance template from which all new instances of this version will be created.

property name

name?: pulumi.Input<string>;
  • Version name.

property namedPorts

namedPorts?: pulumi.Input<pulumi.Input<{ ... }>[]>;

The named port configuration. See the section below for details on configuration.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property rollingUpdatePolicy

rollingUpdatePolicy?: pulumi.Input<{ ... }>;

) The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API


property targetPools

targetPools?: pulumi.Input<pulumi.Input<string>[]>;

The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.

property targetSize

targetSize?: pulumi.Input<number>;
  • The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.

property updateStrategy

updateStrategy?: pulumi.Input<string>;

If the instance_template resource is modified, a value of "NONE" will prevent any of the managed instances from being restarted by Terraform. A value of "RESTART" will restart all of the instances at once. "ROLLING_UPDATE" is supported as [Beta feature]. A value of "ROLLING_UPDATE" requires rolling_update_policy block to be set

property versions

versions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Conflicts with instance_template. Structure is documented below. Beware that exactly one version must not specify a target size. It means that versions with a target size will respect the setting, and the one without target size will be applied to all remaining Instances (top level target_size - each version target_size).

property waitForInstances

waitForInstances?: pulumi.Input<boolean>;

Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, Terraform will continue trying until it times out.

property zone

zone?: pulumi.Input<string>;

The zone that instances in this group should be created in.

interface InstanceGroupManagerState

Input properties used for looking up and filtering InstanceGroupManager resources.

property autoHealingPolicies

autoHealingPolicies?: pulumi.Input<{ ... }>;

) The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.

property baseInstanceName

baseInstanceName?: pulumi.Input<string>;

The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.

property description

description?: pulumi.Input<string>;

An optional textual description of the instance group manager.

property fingerprint

fingerprint?: pulumi.Input<string>;

The fingerprint of the instance group manager.

property instanceGroup

instanceGroup?: pulumi.Input<string>;

The full URL of the instance group created by the manager.

property instanceTemplate

instanceTemplate?: pulumi.Input<string>;
  • The full URL to an instance template from which all new instances of this version will be created.

property name

name?: pulumi.Input<string>;
  • Version name.

property namedPorts

namedPorts?: pulumi.Input<pulumi.Input<{ ... }>[]>;

The named port configuration. See the section below for details on configuration.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property rollingUpdatePolicy

rollingUpdatePolicy?: pulumi.Input<{ ... }>;

) The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API


property selfLink

selfLink?: pulumi.Input<string>;

The URL of the created resource.

property targetPools

targetPools?: pulumi.Input<pulumi.Input<string>[]>;

The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.

property targetSize

targetSize?: pulumi.Input<number>;
  • The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.

property updateStrategy

updateStrategy?: pulumi.Input<string>;

If the instance_template resource is modified, a value of "NONE" will prevent any of the managed instances from being restarted by Terraform. A value of "RESTART" will restart all of the instances at once. "ROLLING_UPDATE" is supported as [Beta feature]. A value of "ROLLING_UPDATE" requires rolling_update_policy block to be set

property versions

versions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Conflicts with instance_template. Structure is documented below. Beware that exactly one version must not specify a target size. It means that versions with a target size will respect the setting, and the one without target size will be applied to all remaining Instances (top level target_size - each version target_size).

property waitForInstances

waitForInstances?: pulumi.Input<boolean>;

Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, Terraform will continue trying until it times out.

property zone

zone?: pulumi.Input<string>;

The zone that instances in this group should be created in.

interface InstanceGroupState

Input properties used for looking up and filtering InstanceGroup resources.

property description

description?: pulumi.Input<string>;

An optional textual description of the instance group.

property instances

instances?: pulumi.Input<pulumi.Input<string>[]>;

List of instances in the group. They should be given as self_link URLs. When adding instances they must all be in the same network and zone as the instance group.

property name

name?: pulumi.Input<string>;

The name of the instance group. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.

property namedPorts

namedPorts?: pulumi.Input<pulumi.Input<{ ... }>[]>;

The named port configuration. See the section below for details on configuration.

property network

network?: pulumi.Input<string>;

The URL of the network the instance group is in. If this is different from the network where the instances are in, the creation fails. Defaults to the network where the instances are in (if neither network nor instances is specified, this field will be blank).

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property selfLink

selfLink?: pulumi.Input<string>;

The URI of the created resource.

property size

size?: pulumi.Input<number>;

The number of instances in the group.

property zone

zone?: pulumi.Input<string>;

The zone that this instance group should be created in.

interface InstanceState

Input properties used for looking up and filtering Instance resources.

property allowStoppingForUpdate

allowStoppingForUpdate?: pulumi.Input<boolean>;

If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires stopping the instance without setting this field, the update will fail.

property attachedDisks

attachedDisks?: pulumi.Input<pulumi.Input<{ ... }>[]>;

List of disks to attach to the instance. Structure is documented below.

property bootDisk

bootDisk?: pulumi.Input<{ ... }>;

The boot disk for the instance. Structure is documented below.