Show / Hide Table of Contents

Class InstanceGroupNamedPort

Mange the named ports setting for a managed instance group without managing the group as whole. This resource is primarily intended for use with GKE-generated groups that shouldn't otherwise be managed by other tools.

To get more information about InstanceGroupNamedPort, see:

  • API documentation
  • How-to Guides
  • Official Documentation
Inheritance
System.Object
Resource
CustomResource
InstanceGroupNamedPort
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 class InstanceGroupNamedPort : CustomResource

Constructors

View Source

InstanceGroupNamedPort(String, InstanceGroupNamedPortArgs, CustomResourceOptions)

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

Declaration
public InstanceGroupNamedPort(string name, InstanceGroupNamedPortArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

InstanceGroupNamedPortArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Group

The name of the instance group.

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

Name

The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.

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

Port

The port number, which can be a value between 1 and 65535.

Declaration
public Output<int> Port { get; }
Property Value
Type Description
Output<System.Int32>
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 Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

Zone

The zone of the instance group.

Declaration
public Output<string> Zone { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, InstanceGroupNamedPortState, CustomResourceOptions)

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

Declaration
public static InstanceGroupNamedPort Get(string name, Input<string> id, InstanceGroupNamedPortState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

InstanceGroupNamedPortState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
InstanceGroupNamedPort
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.