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:

Create a InstanceGroupNamedPort Resource

def InstanceGroupNamedPort(resource_name, opts=None, group=None, name=None, port=None, project=None, zone=None, __props__=None);
name string
The unique name of the resource.
args InstanceGroupNamedPortArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args InstanceGroupNamedPortArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args InstanceGroupNamedPortArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

InstanceGroupNamedPort Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The InstanceGroupNamedPort resource accepts the following input properties:

Group string

The name of the instance group.

Port int

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

Name string

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

Project string

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

Zone string

The zone of the instance group.

Group string

The name of the instance group.

Port int

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

Name string

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

Project string

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

Zone string

The zone of the instance group.

group string

The name of the instance group.

port number

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

name string

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

project string

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

zone string

The zone of the instance group.

group str

The name of the instance group.

port float

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

name str

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

project str

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

zone str

The zone of the instance group.

Outputs

All input properties are implicitly available as output properties. Additionally, the InstanceGroupNamedPort resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing InstanceGroupNamedPort Resource

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

static get(resource_name, id, opts=None, group=None, name=None, port=None, project=None, zone=None, __props__=None);
func GetInstanceGroupNamedPort(ctx *Context, name string, id IDInput, state *InstanceGroupNamedPortState, opts ...ResourceOption) (*InstanceGroupNamedPort, error)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Group string

The name of the instance group.

Name string

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

Port int

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

Project string

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

Zone string

The zone of the instance group.

Group string

The name of the instance group.

Name string

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

Port int

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

Project string

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

Zone string

The zone of the instance group.

group string

The name of the instance group.

name string

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

port number

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

project string

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

zone string

The zone of the instance group.

group str

The name of the instance group.

name str

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

port float

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

project str

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

zone str

The zone of the instance group.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.