GetAddress

Get the IP address from a static address. For more information see the official API documentation.

Using GetAddress

function getAddress(args: GetAddressArgs, opts?: InvokeOptions): Promise<GetAddressResult>
function  get_address(name=None, project=None, region=None, opts=None)
func LookupAddress(ctx *Context, args *LookupAddressArgs, opts ...InvokeOption) (*LookupAddressResult, error)

Note: This function is named LookupAddress in the Go SDK.

public static class GetAddress {
    public static Task<GetAddressResult> InvokeAsync(GetAddressArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

A unique name for the resource, required by GCE.

Project string

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

Region string

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

Name string

A unique name for the resource, required by GCE.

Project string

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

Region string

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

name string

A unique name for the resource, required by GCE.

project string

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

region string

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

name str

A unique name for the resource, required by GCE.

project str

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

region str

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

GetAddress Result

The following output properties are available:

Address string

The IP of the created resource.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Project string
Region string
SelfLink string

The URI of the created resource.

Status string

Indicates if the address is used. Possible values are: RESERVED or IN_USE.

Address string

The IP of the created resource.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Project string
Region string
SelfLink string

The URI of the created resource.

Status string

Indicates if the address is used. Possible values are: RESERVED or IN_USE.

address string

The IP of the created resource.

id string

The provider-assigned unique ID for this managed resource.

name string
project string
region string
selfLink string

The URI of the created resource.

status string

Indicates if the address is used. Possible values are: RESERVED or IN_USE.

address str

The IP of the created resource.

id str

The provider-assigned unique ID for this managed resource.

name str
project str
region str
self_link str

The URI of the created resource.

status str

Indicates if the address is used. Possible values are: RESERVED or IN_USE.

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.