Show / Hide Table of Contents

Class TargetInstanceArgs

Inheritance
System.Object
InputArgs
ResourceArgs
TargetInstanceArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class TargetInstanceArgs : ResourceArgs

Constructors

View Source

TargetInstanceArgs()

Declaration
public TargetInstanceArgs()

Properties

View Source

Description

An optional description of this resource.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Instance

The Compute instance VM handling traffic for this target instance. Accepts the instance self-link, relative path (e.g. projects/project/zones/zone/instances/instance) or name. If name is given, the zone will default to the given zone or the provider-default zone and the project will default to the provider-level project.

Declaration
public Input<string> Instance { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NatPolicy

NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported.

Declaration
public Input<string> NatPolicy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Project

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

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Zone

URL of the zone where the target instance resides.

Declaration
public Input<string> Zone { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.