Google Cloud Classic v7.16.0 published on Wednesday, Mar 27, 2024 by Pulumi
gcp.compute.getAddresses
Explore with Pulumi AI
List IP addresses in a project. For more information see the official API list and aggregated list documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const test = gcp.compute.getAddresses({
filter: "name:test-*",
});
const prod = new gcp.dns.ManagedZone("prod", {
name: "prod-zone",
dnsName: "prod.mydomain.com.",
});
const frontend = new gcp.dns.RecordSet("frontend", {
name: pulumi.interpolate`frontend.${prod.dnsName}`,
type: "A",
ttl: 300,
managedZone: prod.name,
rrdatas: test.then(test => test.addresses.map(__item => __item.address)),
});
import pulumi
import pulumi_gcp as gcp
test = gcp.compute.get_addresses(filter="name:test-*")
prod = gcp.dns.ManagedZone("prod",
name="prod-zone",
dns_name="prod.mydomain.com.")
frontend = gcp.dns.RecordSet("frontend",
name=prod.dns_name.apply(lambda dns_name: f"frontend.{dns_name}"),
type="A",
ttl=300,
managed_zone=prod.name,
rrdatas=[__item.address for __item in test.addresses])
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := compute.GetAddresses(ctx, &compute.GetAddressesArgs{
Filter: pulumi.StringRef("name:test-*"),
}, nil)
if err != nil {
return err
}
prod, err := dns.NewManagedZone(ctx, "prod", &dns.ManagedZoneArgs{
Name: pulumi.String("prod-zone"),
DnsName: pulumi.String("prod.mydomain.com."),
})
if err != nil {
return err
}
var splat0 []*string
for _, val0 := range test.Addresses {
splat0 = append(splat0, val0.Address)
}
_, err = dns.NewRecordSet(ctx, "frontend", &dns.RecordSetArgs{
Name: prod.DnsName.ApplyT(func(dnsName string) (string, error) {
return fmt.Sprintf("frontend.%v", dnsName), nil
}).(pulumi.StringOutput),
Type: pulumi.String("A"),
Ttl: pulumi.Int(300),
ManagedZone: prod.Name,
Rrdatas: splat0,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var test = Gcp.Compute.GetAddresses.Invoke(new()
{
Filter = "name:test-*",
});
var prod = new Gcp.Dns.ManagedZone("prod", new()
{
Name = "prod-zone",
DnsName = "prod.mydomain.com.",
});
var frontend = new Gcp.Dns.RecordSet("frontend", new()
{
Name = prod.DnsName.Apply(dnsName => $"frontend.{dnsName}"),
Type = "A",
Ttl = 300,
ManagedZone = prod.Name,
Rrdatas = test.Apply(getAddressesResult => getAddressesResult.Addresses).Select(__item => __item.Address).ToList(),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetAddressesArgs;
import com.pulumi.gcp.dns.ManagedZone;
import com.pulumi.gcp.dns.ManagedZoneArgs;
import com.pulumi.gcp.dns.RecordSet;
import com.pulumi.gcp.dns.RecordSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = ComputeFunctions.getAddresses(GetAddressesArgs.builder()
.filter("name:test-*")
.build());
var prod = new ManagedZone("prod", ManagedZoneArgs.builder()
.name("prod-zone")
.dnsName("prod.mydomain.com.")
.build());
var frontend = new RecordSet("frontend", RecordSetArgs.builder()
.name(prod.dnsName().applyValue(dnsName -> String.format("frontend.%s", dnsName)))
.type("A")
.ttl(300)
.managedZone(prod.name())
.rrdatas(test.applyValue(getAddressesResult -> getAddressesResult.addresses()).stream().map(element -> element.address()).collect(toList()))
.build());
}
}
Coming soon!```
</pulumi-choosable>
</div>
## Using getAddresses {#using}
Two invocation forms are available. The direct form accepts plain
arguments and either blocks until the result value is available, or
returns a Promise-wrapped result. The output form accepts
Input-wrapped arguments and returns an Output-wrapped result.
<div>
<pulumi-chooser type="language" options="typescript,python,go,csharp,java,yaml"></pulumi-chooser>
</div>
<div>
<pulumi-choosable type="language" values="javascript,typescript">
<div class="highlight"
><pre class="chroma"><code class="language-typescript" data-lang="typescript"
><span class="k">function </span>getAddresses<span class="p">(</span><span class="nx">args</span><span class="p">:</span> <span class="nx">GetAddressesArgs</span><span class="p">,</span> <span class="nx">opts</span><span class="p">?:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#InvokeOptions">InvokeOptions</a></span><span class="p">): Promise<<span class="nx"><a href="#result">GetAddressesResult</a></span>></span
><span class="k">
function </span>getAddressesOutput<span class="p">(</span><span class="nx">args</span><span class="p">:</span> <span class="nx">GetAddressesOutputArgs</span><span class="p">,</span> <span class="nx">opts</span><span class="p">?:</span> <span class="nx"><a href="/docs/reference/pkg/nodejs/pulumi/pulumi/#InvokeOptions">InvokeOptions</a></span><span class="p">): Output<<span class="nx"><a href="#result">GetAddressesResult</a></span>></span
></code></pre></div>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="python">
<div class="highlight"><pre class="chroma"><code class="language-python" data-lang="python"
><span class="k">def </span>get_addresses<span class="p">(</span><span class="nx">filter</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
<span class="nx">project</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
<span class="nx">region</span><span class="p">:</span> <span class="nx">Optional[str]</span> = None<span class="p">,</span>
<span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.InvokeOptions">Optional[InvokeOptions]</a></span> = None<span class="p">) -></span> <span>GetAddressesResult</span
><span class="k">
def </span>get_addresses_output<span class="p">(</span><span class="nx">filter</span><span class="p">:</span> <span class="nx">Optional[pulumi.Input[str]]</span> = None<span class="p">,</span>
<span class="nx">project</span><span class="p">:</span> <span class="nx">Optional[pulumi.Input[str]]</span> = None<span class="p">,</span>
<span class="nx">region</span><span class="p">:</span> <span class="nx">Optional[pulumi.Input[str]]</span> = None<span class="p">,</span>
<span class="nx">opts</span><span class="p">:</span> <span class="nx"><a href="/docs/reference/pkg/python/pulumi/#pulumi.InvokeOptions">Optional[InvokeOptions]</a></span> = None<span class="p">) -></span> <span>Output[GetAddressesResult]</span
></code></pre></div>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="go">
<div class="highlight"><pre class="chroma"><code class="language-go" data-lang="go"
><span class="k">func </span>GetAddresses<span class="p">(</span><span class="nx">ctx</span><span class="p"> *</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span><span class="p">,</span> <span class="nx">args</span><span class="p"> *</span><span class="nx">GetAddressesArgs</span><span class="p">,</span> <span class="nx">opts</span><span class="p"> ...</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#InvokeOption">InvokeOption</a></span><span class="p">) (*<span class="nx"><a href="#result">GetAddressesResult</a></span>, error)</span
><span class="k">
func </span>GetAddressesOutput<span class="p">(</span><span class="nx">ctx</span><span class="p"> *</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#Context">Context</a></span><span class="p">,</span> <span class="nx">args</span><span class="p"> *</span><span class="nx">GetAddressesOutputArgs</span><span class="p">,</span> <span class="nx">opts</span><span class="p"> ...</span><span class="nx"><a href="https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi?tab=doc#InvokeOption">InvokeOption</a></span><span class="p">) GetAddressesResultOutput</span
></code></pre></div>
> Note: This function is named `GetAddresses` in the Go SDK.
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="csharp">
<div class="highlight"><pre class="chroma"><code class="language-csharp" data-lang="csharp"><span class="k">public static class </span><span class="nx">GetAddresses </span><span class="p">
{</span><span class="k">
public static </span>Task<<span class="nx"><a href="#result">GetAddressesResult</a></span>> <span class="p">InvokeAsync(</span><span class="nx">GetAddressesArgs</span><span class="p"> </span><span class="nx">args<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.InvokeOptions.html">InvokeOptions</a></span><span class="p">? </span><span class="nx">opts = null<span class="p">)</span><span class="k">
public static </span>Output<<span class="nx"><a href="#result">GetAddressesResult</a></span>> <span class="p">Invoke(</span><span class="nx">GetAddressesInvokeArgs</span><span class="p"> </span><span class="nx">args<span class="p">,</span> <span class="nx"><a href="/docs/reference/pkg/dotnet/Pulumi/Pulumi.InvokeOptions.html">InvokeOptions</a></span><span class="p">? </span><span class="nx">opts = null<span class="p">)</span><span class="p">
}</span></code></pre></div>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="java">
<div class="highlight"><pre class="chroma"><code class="language-java" data-lang="java"><span class="k">public static CompletableFuture<<span class="nx"><a href="#result">GetAddressesResult</a></span>> </span>getAddresses<span class="p">(</span><span class="nx">GetAddressesArgs</span><span class="p"> </span><span class="nx">args<span class="p">,</span> <span class="nx">InvokeOptions</span><span class="p"> </span><span class="nx">options<span class="p">)</span>
<span class="c">// Output-based functions aren't available in Java yet</span>
</code></pre></div>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="yaml">
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml"><span class="k">fn::invoke:</span>
<span class="k"> function:</span> gcp:compute/getAddresses:getAddresses
<span class="k"> arguments:</span>
<span class="c"> # arguments dictionary</span></code></pre></div>
</pulumi-choosable>
</div>
The following arguments are supported:
<div>
<pulumi-choosable type="language" values="csharp">
<dl class="resources-properties"><dt class="property-optional"
title="Optional">
<span id="filter_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_csharp" style="color: inherit; text-decoration: inherit;">Filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>A filter expression that
filters resources listed in the response. The expression must specify
the field name, an operator, and the value that you want to use for
filtering. The value must be a string, a number, or a boolean. The
operator must be either "=", "!=", ">", "<", "<=", ">=" or ":". For
example, if you are filtering Compute Engine instances, you can
exclude instances named "example-instance" by specifying "name !=
example-instance". The ":" operator can be used with string fields to
match substrings. For non-string fields it is equivalent to the "="
operator. The ":<em>" comparison can be used to test whether a key has
been defined. For example, to find all objects with "owner" label
use: """ labels.owner:</em> """ You can also filter nested fields. For
example, you could specify "scheduling.automaticRestart = false" to
include instances only if they are not scheduled for automatic
restarts. You can use filtering on nested fields to filter based on
resource labels. To filter on multiple expressions, provide each
separate expression within parentheses. For example: """
(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
""" By default, each expression is an "AND" expression. However, you
can include "AND" and "OR" expressions explicitly. For example: """
(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
AND (scheduling.automaticRestart = true)</dd><dt class="property-optional"
title="Optional">
<span id="project_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_csharp" style="color: inherit; text-decoration: inherit;">Project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The google project in which addresses are listed.
Defaults to provider's configuration if missing.</dd><dt class="property-optional"
title="Optional">
<span id="region_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_csharp" style="color: inherit; text-decoration: inherit;">Region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="go">
<dl class="resources-properties"><dt class="property-optional"
title="Optional">
<span id="filter_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_go" style="color: inherit; text-decoration: inherit;">Filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>A filter expression that
filters resources listed in the response. The expression must specify
the field name, an operator, and the value that you want to use for
filtering. The value must be a string, a number, or a boolean. The
operator must be either "=", "!=", ">", "<", "<=", ">=" or ":". For
example, if you are filtering Compute Engine instances, you can
exclude instances named "example-instance" by specifying "name !=
example-instance". The ":" operator can be used with string fields to
match substrings. For non-string fields it is equivalent to the "="
operator. The ":<em>" comparison can be used to test whether a key has
been defined. For example, to find all objects with "owner" label
use: """ labels.owner:</em> """ You can also filter nested fields. For
example, you could specify "scheduling.automaticRestart = false" to
include instances only if they are not scheduled for automatic
restarts. You can use filtering on nested fields to filter based on
resource labels. To filter on multiple expressions, provide each
separate expression within parentheses. For example: """
(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
""" By default, each expression is an "AND" expression. However, you
can include "AND" and "OR" expressions explicitly. For example: """
(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
AND (scheduling.automaticRestart = true)</dd><dt class="property-optional"
title="Optional">
<span id="project_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_go" style="color: inherit; text-decoration: inherit;">Project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The google project in which addresses are listed.
Defaults to provider's configuration if missing.</dd><dt class="property-optional"
title="Optional">
<span id="region_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_go" style="color: inherit; text-decoration: inherit;">Region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="java">
<dl class="resources-properties"><dt class="property-optional"
title="Optional">
<span id="filter_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_java" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>A filter expression that
filters resources listed in the response. The expression must specify
the field name, an operator, and the value that you want to use for
filtering. The value must be a string, a number, or a boolean. The
operator must be either "=", "!=", ">", "<", "<=", ">=" or ":". For
example, if you are filtering Compute Engine instances, you can
exclude instances named "example-instance" by specifying "name !=
example-instance". The ":" operator can be used with string fields to
match substrings. For non-string fields it is equivalent to the "="
operator. The ":<em>" comparison can be used to test whether a key has
been defined. For example, to find all objects with "owner" label
use: """ labels.owner:</em> """ You can also filter nested fields. For
example, you could specify "scheduling.automaticRestart = false" to
include instances only if they are not scheduled for automatic
restarts. You can use filtering on nested fields to filter based on
resource labels. To filter on multiple expressions, provide each
separate expression within parentheses. For example: """
(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
""" By default, each expression is an "AND" expression. However, you
can include "AND" and "OR" expressions explicitly. For example: """
(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
AND (scheduling.automaticRestart = true)</dd><dt class="property-optional"
title="Optional">
<span id="project_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_java" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The google project in which addresses are listed.
Defaults to provider's configuration if missing.</dd><dt class="property-optional"
title="Optional">
<span id="region_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_java" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="javascript,typescript">
<dl class="resources-properties"><dt class="property-optional"
title="Optional">
<span id="filter_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_nodejs" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>A filter expression that
filters resources listed in the response. The expression must specify
the field name, an operator, and the value that you want to use for
filtering. The value must be a string, a number, or a boolean. The
operator must be either "=", "!=", ">", "<", "<=", ">=" or ":". For
example, if you are filtering Compute Engine instances, you can
exclude instances named "example-instance" by specifying "name !=
example-instance". The ":" operator can be used with string fields to
match substrings. For non-string fields it is equivalent to the "="
operator. The ":<em>" comparison can be used to test whether a key has
been defined. For example, to find all objects with "owner" label
use: """ labels.owner:</em> """ You can also filter nested fields. For
example, you could specify "scheduling.automaticRestart = false" to
include instances only if they are not scheduled for automatic
restarts. You can use filtering on nested fields to filter based on
resource labels. To filter on multiple expressions, provide each
separate expression within parentheses. For example: """
(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
""" By default, each expression is an "AND" expression. However, you
can include "AND" and "OR" expressions explicitly. For example: """
(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
AND (scheduling.automaticRestart = true)</dd><dt class="property-optional"
title="Optional">
<span id="project_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_nodejs" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The google project in which addresses are listed.
Defaults to provider's configuration if missing.</dd><dt class="property-optional"
title="Optional">
<span id="region_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_nodejs" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="python">
<dl class="resources-properties"><dt class="property-optional"
title="Optional">
<span id="filter_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_python" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>A filter expression that
filters resources listed in the response. The expression must specify
the field name, an operator, and the value that you want to use for
filtering. The value must be a string, a number, or a boolean. The
operator must be either "=", "!=", ">", "<", "<=", ">=" or ":". For
example, if you are filtering Compute Engine instances, you can
exclude instances named "example-instance" by specifying "name !=
example-instance". The ":" operator can be used with string fields to
match substrings. For non-string fields it is equivalent to the "="
operator. The ":<em>" comparison can be used to test whether a key has
been defined. For example, to find all objects with "owner" label
use: """ labels.owner:</em> """ You can also filter nested fields. For
example, you could specify "scheduling.automaticRestart = false" to
include instances only if they are not scheduled for automatic
restarts. You can use filtering on nested fields to filter based on
resource labels. To filter on multiple expressions, provide each
separate expression within parentheses. For example: """
(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
""" By default, each expression is an "AND" expression. However, you
can include "AND" and "OR" expressions explicitly. For example: """
(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
AND (scheduling.automaticRestart = true)</dd><dt class="property-optional"
title="Optional">
<span id="project_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_python" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The google project in which addresses are listed.
Defaults to provider's configuration if missing.</dd><dt class="property-optional"
title="Optional">
<span id="region_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_python" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="yaml">
<dl class="resources-properties"><dt class="property-optional"
title="Optional">
<span id="filter_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_yaml" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>A filter expression that
filters resources listed in the response. The expression must specify
the field name, an operator, and the value that you want to use for
filtering. The value must be a string, a number, or a boolean. The
operator must be either "=", "!=", ">", "<", "<=", ">=" or ":". For
example, if you are filtering Compute Engine instances, you can
exclude instances named "example-instance" by specifying "name !=
example-instance". The ":" operator can be used with string fields to
match substrings. For non-string fields it is equivalent to the "="
operator. The ":<em>" comparison can be used to test whether a key has
been defined. For example, to find all objects with "owner" label
use: """ labels.owner:</em> """ You can also filter nested fields. For
example, you could specify "scheduling.automaticRestart = false" to
include instances only if they are not scheduled for automatic
restarts. You can use filtering on nested fields to filter based on
resource labels. To filter on multiple expressions, provide each
separate expression within parentheses. For example: """
(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
""" By default, each expression is an "AND" expression. However, you
can include "AND" and "OR" expressions explicitly. For example: """
(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
AND (scheduling.automaticRestart = true)</dd><dt class="property-optional"
title="Optional">
<span id="project_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_yaml" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The google project in which addresses are listed.
Defaults to provider's configuration if missing.</dd><dt class="property-optional"
title="Optional">
<span id="region_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_yaml" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd></dl>
</pulumi-choosable>
</div>
## getAddresses Result {#result}
The following output properties are available:
<div>
<pulumi-choosable type="language" values="csharp">
<dl class="resources-properties"><dt class="property-"
title="">
<span id="addresses_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresses_csharp" style="color: inherit; text-decoration: inherit;">Addresses</a>
</span>
<span class="property-indicator"></span>
<span class="property-type"><a href="#getaddressesaddress">List<Get<wbr>Addresses<wbr>Address></a></span>
</dt>
<dd>A list of addresses matching the filter. Structure is defined below.</dd><dt class="property-"
title="">
<span id="id_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_csharp" style="color: inherit; text-decoration: inherit;">Id</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property-"
title="">
<span id="project_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_csharp" style="color: inherit; text-decoration: inherit;">Project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="filter_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_csharp" style="color: inherit; text-decoration: inherit;">Filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="region_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_csharp" style="color: inherit; text-decoration: inherit;">Region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The region in which the address resides.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="go">
<dl class="resources-properties"><dt class="property-"
title="">
<span id="addresses_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresses_go" style="color: inherit; text-decoration: inherit;">Addresses</a>
</span>
<span class="property-indicator"></span>
<span class="property-type"><a href="#getaddressesaddress">[]Get<wbr>Addresses<wbr>Address</a></span>
</dt>
<dd>A list of addresses matching the filter. Structure is defined below.</dd><dt class="property-"
title="">
<span id="id_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_go" style="color: inherit; text-decoration: inherit;">Id</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property-"
title="">
<span id="project_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_go" style="color: inherit; text-decoration: inherit;">Project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="filter_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_go" style="color: inherit; text-decoration: inherit;">Filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="region_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_go" style="color: inherit; text-decoration: inherit;">Region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The region in which the address resides.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="java">
<dl class="resources-properties"><dt class="property-"
title="">
<span id="addresses_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresses_java" style="color: inherit; text-decoration: inherit;">addresses</a>
</span>
<span class="property-indicator"></span>
<span class="property-type"><a href="#getaddressesaddress">List<Get<wbr>Addresses<wbr>Address></a></span>
</dt>
<dd>A list of addresses matching the filter. Structure is defined below.</dd><dt class="property-"
title="">
<span id="id_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_java" style="color: inherit; text-decoration: inherit;">id</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property-"
title="">
<span id="project_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_java" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="filter_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_java" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="region_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_java" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The region in which the address resides.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="javascript,typescript">
<dl class="resources-properties"><dt class="property-"
title="">
<span id="addresses_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresses_nodejs" style="color: inherit; text-decoration: inherit;">addresses</a>
</span>
<span class="property-indicator"></span>
<span class="property-type"><a href="#getaddressesaddress">Get<wbr>Addresses<wbr>Address[]</a></span>
</dt>
<dd>A list of addresses matching the filter. Structure is defined below.</dd><dt class="property-"
title="">
<span id="id_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_nodejs" style="color: inherit; text-decoration: inherit;">id</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property-"
title="">
<span id="project_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_nodejs" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="filter_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_nodejs" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="region_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_nodejs" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The region in which the address resides.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="python">
<dl class="resources-properties"><dt class="property-"
title="">
<span id="addresses_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresses_python" style="color: inherit; text-decoration: inherit;">addresses</a>
</span>
<span class="property-indicator"></span>
<span class="property-type"><a href="#getaddressesaddress">Sequence[Get<wbr>Addresses<wbr>Address]</a></span>
</dt>
<dd>A list of addresses matching the filter. Structure is defined below.</dd><dt class="property-"
title="">
<span id="id_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_python" style="color: inherit; text-decoration: inherit;">id</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property-"
title="">
<span id="project_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_python" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="filter_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_python" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="region_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_python" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The region in which the address resides.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="yaml">
<dl class="resources-properties"><dt class="property-"
title="">
<span id="addresses_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresses_yaml" style="color: inherit; text-decoration: inherit;">addresses</a>
</span>
<span class="property-indicator"></span>
<span class="property-type"><a href="#getaddressesaddress">List<Property Map></a></span>
</dt>
<dd>A list of addresses matching the filter. Structure is defined below.</dd><dt class="property-"
title="">
<span id="id_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#id_yaml" style="color: inherit; text-decoration: inherit;">id</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The provider-assigned unique ID for this managed resource.</dd><dt class="property-"
title="">
<span id="project_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#project_yaml" style="color: inherit; text-decoration: inherit;">project</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="filter_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#filter_yaml" style="color: inherit; text-decoration: inherit;">filter</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd></dd><dt class="property-"
title="">
<span id="region_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_yaml" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The region in which the address resides.</dd></dl>
</pulumi-choosable>
</div>
## Supporting Types
<h4 id="getaddressesaddress">Get<wbr>Addresses<wbr>Address</h4>
<div>
<pulumi-choosable type="language" values="csharp">
<dl class="resources-properties"><dt class="property-required"
title="Required">
<span id="address_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#address_csharp" style="color: inherit; text-decoration: inherit;">Address</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address (for example <code>1.2.3.4</code>).</dd><dt class="property-required"
title="Required">
<span id="addresstype_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresstype_csharp" style="color: inherit; text-decoration: inherit;">Address<wbr>Type</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address type, can be <code>EXTERNAL</code> or <code>INTERNAL</code>.</dd><dt class="property-required"
title="Required">
<span id="description_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#description_csharp" style="color: inherit; text-decoration: inherit;">Description</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address description.</dd><dt class="property-required"
title="Required">
<span id="labels_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#labels_csharp" style="color: inherit; text-decoration: inherit;">Labels</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">Dictionary<string, string></span>
</dt>
<dd>A map containing IP labels.</dd><dt class="property-required"
title="Required">
<span id="name_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_csharp" style="color: inherit; text-decoration: inherit;">Name</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address name.</dd><dt class="property-required"
title="Required">
<span id="region_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_csharp" style="color: inherit; text-decoration: inherit;">Region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd><dt class="property-required"
title="Required">
<span id="selflink_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#selflink_csharp" style="color: inherit; text-decoration: inherit;">Self<wbr>Link</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The URI of the created resource.</dd><dt class="property-required"
title="Required">
<span id="status_csharp">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#status_csharp" style="color: inherit; text-decoration: inherit;">Status</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Indicates if the address is used. Possible values are: RESERVED or IN_USE.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="go">
<dl class="resources-properties"><dt class="property-required"
title="Required">
<span id="address_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#address_go" style="color: inherit; text-decoration: inherit;">Address</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address (for example <code>1.2.3.4</code>).</dd><dt class="property-required"
title="Required">
<span id="addresstype_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresstype_go" style="color: inherit; text-decoration: inherit;">Address<wbr>Type</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address type, can be <code>EXTERNAL</code> or <code>INTERNAL</code>.</dd><dt class="property-required"
title="Required">
<span id="description_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#description_go" style="color: inherit; text-decoration: inherit;">Description</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address description.</dd><dt class="property-required"
title="Required">
<span id="labels_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#labels_go" style="color: inherit; text-decoration: inherit;">Labels</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">map[string]string</span>
</dt>
<dd>A map containing IP labels.</dd><dt class="property-required"
title="Required">
<span id="name_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_go" style="color: inherit; text-decoration: inherit;">Name</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address name.</dd><dt class="property-required"
title="Required">
<span id="region_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_go" style="color: inherit; text-decoration: inherit;">Region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd><dt class="property-required"
title="Required">
<span id="selflink_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#selflink_go" style="color: inherit; text-decoration: inherit;">Self<wbr>Link</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The URI of the created resource.</dd><dt class="property-required"
title="Required">
<span id="status_go">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#status_go" style="color: inherit; text-decoration: inherit;">Status</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Indicates if the address is used. Possible values are: RESERVED or IN_USE.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="java">
<dl class="resources-properties"><dt class="property-required"
title="Required">
<span id="address_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#address_java" style="color: inherit; text-decoration: inherit;">address</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address (for example <code>1.2.3.4</code>).</dd><dt class="property-required"
title="Required">
<span id="addresstype_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresstype_java" style="color: inherit; text-decoration: inherit;">address<wbr>Type</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address type, can be <code>EXTERNAL</code> or <code>INTERNAL</code>.</dd><dt class="property-required"
title="Required">
<span id="description_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#description_java" style="color: inherit; text-decoration: inherit;">description</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address description.</dd><dt class="property-required"
title="Required">
<span id="labels_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#labels_java" style="color: inherit; text-decoration: inherit;">labels</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">Map<String,String></span>
</dt>
<dd>A map containing IP labels.</dd><dt class="property-required"
title="Required">
<span id="name_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_java" style="color: inherit; text-decoration: inherit;">name</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address name.</dd><dt class="property-required"
title="Required">
<span id="region_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_java" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd><dt class="property-required"
title="Required">
<span id="selflink_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#selflink_java" style="color: inherit; text-decoration: inherit;">self<wbr>Link</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The URI of the created resource.</dd><dt class="property-required"
title="Required">
<span id="status_java">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#status_java" style="color: inherit; text-decoration: inherit;">status</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>Indicates if the address is used. Possible values are: RESERVED or IN_USE.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="javascript,typescript">
<dl class="resources-properties"><dt class="property-required"
title="Required">
<span id="address_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#address_nodejs" style="color: inherit; text-decoration: inherit;">address</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address (for example <code>1.2.3.4</code>).</dd><dt class="property-required"
title="Required">
<span id="addresstype_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresstype_nodejs" style="color: inherit; text-decoration: inherit;">address<wbr>Type</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address type, can be <code>EXTERNAL</code> or <code>INTERNAL</code>.</dd><dt class="property-required"
title="Required">
<span id="description_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#description_nodejs" style="color: inherit; text-decoration: inherit;">description</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address description.</dd><dt class="property-required"
title="Required">
<span id="labels_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#labels_nodejs" style="color: inherit; text-decoration: inherit;">labels</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">{[key: string]: string}</span>
</dt>
<dd>A map containing IP labels.</dd><dt class="property-required"
title="Required">
<span id="name_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_nodejs" style="color: inherit; text-decoration: inherit;">name</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The IP address name.</dd><dt class="property-required"
title="Required">
<span id="region_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_nodejs" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd><dt class="property-required"
title="Required">
<span id="selflink_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#selflink_nodejs" style="color: inherit; text-decoration: inherit;">self<wbr>Link</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>The URI of the created resource.</dd><dt class="property-required"
title="Required">
<span id="status_nodejs">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#status_nodejs" style="color: inherit; text-decoration: inherit;">status</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">string</span>
</dt>
<dd>Indicates if the address is used. Possible values are: RESERVED or IN_USE.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="python">
<dl class="resources-properties"><dt class="property-required"
title="Required">
<span id="address_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#address_python" style="color: inherit; text-decoration: inherit;">address</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The IP address (for example <code>1.2.3.4</code>).</dd><dt class="property-required"
title="Required">
<span id="address_type_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#address_type_python" style="color: inherit; text-decoration: inherit;">address_<wbr>type</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The IP address type, can be <code>EXTERNAL</code> or <code>INTERNAL</code>.</dd><dt class="property-required"
title="Required">
<span id="description_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#description_python" style="color: inherit; text-decoration: inherit;">description</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The IP address description.</dd><dt class="property-required"
title="Required">
<span id="labels_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#labels_python" style="color: inherit; text-decoration: inherit;">labels</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">Mapping[str, str]</span>
</dt>
<dd>A map containing IP labels.</dd><dt class="property-required"
title="Required">
<span id="name_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_python" style="color: inherit; text-decoration: inherit;">name</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The IP address name.</dd><dt class="property-required"
title="Required">
<span id="region_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_python" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd><dt class="property-required"
title="Required">
<span id="self_link_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#self_link_python" style="color: inherit; text-decoration: inherit;">self_<wbr>link</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>The URI of the created resource.</dd><dt class="property-required"
title="Required">
<span id="status_python">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#status_python" style="color: inherit; text-decoration: inherit;">status</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">str</span>
</dt>
<dd>Indicates if the address is used. Possible values are: RESERVED or IN_USE.</dd></dl>
</pulumi-choosable>
</div>
<div>
<pulumi-choosable type="language" values="yaml">
<dl class="resources-properties"><dt class="property-required"
title="Required">
<span id="address_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#address_yaml" style="color: inherit; text-decoration: inherit;">address</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address (for example <code>1.2.3.4</code>).</dd><dt class="property-required"
title="Required">
<span id="addresstype_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#addresstype_yaml" style="color: inherit; text-decoration: inherit;">address<wbr>Type</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address type, can be <code>EXTERNAL</code> or <code>INTERNAL</code>.</dd><dt class="property-required"
title="Required">
<span id="description_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#description_yaml" style="color: inherit; text-decoration: inherit;">description</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address description.</dd><dt class="property-required"
title="Required">
<span id="labels_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#labels_yaml" style="color: inherit; text-decoration: inherit;">labels</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">Map<String></span>
</dt>
<dd>A map containing IP labels.</dd><dt class="property-required"
title="Required">
<span id="name_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#name_yaml" style="color: inherit; text-decoration: inherit;">name</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The IP address name.</dd><dt class="property-required"
title="Required">
<span id="region_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#region_yaml" style="color: inherit; text-decoration: inherit;">region</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>Region that should be considered to search addresses.
All regions are considered if missing.</dd><dt class="property-required"
title="Required">
<span id="selflink_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#selflink_yaml" style="color: inherit; text-decoration: inherit;">self<wbr>Link</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>The URI of the created resource.</dd><dt class="property-required"
title="Required">
<span id="status_yaml">
<a data-swiftype-name="resource-property" data-swiftype-type="text" href="#status_yaml" style="color: inherit; text-decoration: inherit;">status</a>
</span>
<span class="property-indicator"></span>
<span class="property-type">String</span>
</dt>
<dd>Indicates if the address is used. Possible values are: RESERVED or IN_USE.</dd></dl>
</pulumi-choosable>
</div>
<h2 id="package-details">Package Details</h2>
<dl class="package-details">
<dt>Repository</dt>
<dd><a href="https://github.com/pulumi/pulumi-gcp">Google Cloud (GCP) Classic pulumi/pulumi-gcp</a></dd>
<dt>License</dt>
<dd>Apache-2.0</dd>
<dt>Notes</dt>
<dd>This Pulumi package is based on the <a href="https://github.com/hashicorp/terraform-provider-google-beta"><code>google-beta</code> Terraform Provider</a>.</dd>
</dl>