Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.getNatAddress
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Gets the details of a NAT address. Note: Not supported for Apigee hybrid.
Using getNatAddress
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.
function getNatAddress(args: GetNatAddressArgs, opts?: InvokeOptions): Promise<GetNatAddressResult>
function getNatAddressOutput(args: GetNatAddressOutputArgs, opts?: InvokeOptions): Output<GetNatAddressResult>
def get_nat_address(instance_id: Optional[str] = None,
nat_address_id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNatAddressResult
def get_nat_address_output(instance_id: Optional[pulumi.Input[str]] = None,
nat_address_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatAddressResult]
func LookupNatAddress(ctx *Context, args *LookupNatAddressArgs, opts ...InvokeOption) (*LookupNatAddressResult, error)
func LookupNatAddressOutput(ctx *Context, args *LookupNatAddressOutputArgs, opts ...InvokeOption) LookupNatAddressResultOutput
> Note: This function is named LookupNatAddress
in the Go SDK.
public static class GetNatAddress
{
public static Task<GetNatAddressResult> InvokeAsync(GetNatAddressArgs args, InvokeOptions? opts = null)
public static Output<GetNatAddressResult> Invoke(GetNatAddressInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNatAddressResult> getNatAddress(GetNatAddressArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigee/v1:getNatAddress
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Nat
Address stringId - Organization
Id string
- Instance
Id string - Nat
Address stringId - Organization
Id string
- instance
Id String - nat
Address StringId - organization
Id String
- instance
Id string - nat
Address stringId - organization
Id string
- instance_
id str - nat_
address_ strid - organization_
id str
- instance
Id String - nat
Address StringId - organization
Id String
getNatAddress Result
The following output properties are available:
- ip_
address str The static IPV4 address.
- name str
Resource ID of the NAT address.
- state str
State of the nat address.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.