Show / Hide Table of Contents

Class AddressArgs

Inheritance
System.Object
InputArgs
ResourceArgs
AddressArgs
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 AddressArgs : ResourceArgs

Constructors

View Source

AddressArgs()

Declaration
public AddressArgs()

Properties

View Source

AddressType

The type of address to reserve.

Declaration
public Input<string> AddressType { get; set; }
Property Value
Type Description
Input<System.String>
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

IPAddress

The static external IP address represented by this resource. Only IPv4 is supported. An address may only be specified for INTERNAL address types. The IP address must be inside the specified subnetwork, if any.

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

Labels

Labels to apply to this address. A list of key->value pairs.

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

Name

Name of the resource. 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

NetworkTier

The networking tier used for configuring this address. If this field is not specified, it is assumed to be PREMIUM.

Declaration
public Input<string> NetworkTier { 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

Purpose

The purpose of this resource, which can be one of the following values:

  • GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar resources. This should only be set when using an Internal address.
Declaration
public Input<string> Purpose { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Region

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

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

Subnetwork

The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER purposes.

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