1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  6. GlobalAddress

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/v1.GlobalAddress

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates an address resource in the specified project by using the data included in the request.

    Create GlobalAddress Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GlobalAddress(name: string, args?: GlobalAddressArgs, opts?: CustomResourceOptions);
    @overload
    def GlobalAddress(resource_name: str,
                      args: Optional[GlobalAddressArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def GlobalAddress(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      address: Optional[str] = None,
                      address_type: Optional[GlobalAddressAddressType] = None,
                      description: Optional[str] = None,
                      ip_version: Optional[GlobalAddressIpVersion] = None,
                      ipv6_endpoint_type: Optional[GlobalAddressIpv6EndpointType] = None,
                      labels: Optional[Mapping[str, str]] = None,
                      name: Optional[str] = None,
                      network: Optional[str] = None,
                      network_tier: Optional[GlobalAddressNetworkTier] = None,
                      prefix_length: Optional[int] = None,
                      project: Optional[str] = None,
                      purpose: Optional[GlobalAddressPurpose] = None,
                      request_id: Optional[str] = None,
                      subnetwork: Optional[str] = None)
    func NewGlobalAddress(ctx *Context, name string, args *GlobalAddressArgs, opts ...ResourceOption) (*GlobalAddress, error)
    public GlobalAddress(string name, GlobalAddressArgs? args = null, CustomResourceOptions? opts = null)
    public GlobalAddress(String name, GlobalAddressArgs args)
    public GlobalAddress(String name, GlobalAddressArgs args, CustomResourceOptions options)
    
    type: google-native:compute/v1:GlobalAddress
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GlobalAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GlobalAddressArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GlobalAddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GlobalAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GlobalAddressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleglobalAddressResourceResourceFromComputev1 = new GoogleNative.Compute.V1.GlobalAddress("exampleglobalAddressResourceResourceFromComputev1", new()
    {
        Address = "string",
        AddressType = GoogleNative.Compute.V1.GlobalAddressAddressType.External,
        Description = "string",
        IpVersion = GoogleNative.Compute.V1.GlobalAddressIpVersion.Ipv4,
        Ipv6EndpointType = GoogleNative.Compute.V1.GlobalAddressIpv6EndpointType.Netlb,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
        Network = "string",
        NetworkTier = GoogleNative.Compute.V1.GlobalAddressNetworkTier.FixedStandard,
        PrefixLength = 0,
        Project = "string",
        Purpose = GoogleNative.Compute.V1.GlobalAddressPurpose.DnsResolver,
        RequestId = "string",
        Subnetwork = "string",
    });
    
    example, err := computev1.NewGlobalAddress(ctx, "exampleglobalAddressResourceResourceFromComputev1", &computev1.GlobalAddressArgs{
    Address: pulumi.String("string"),
    AddressType: computev1.GlobalAddressAddressTypeExternal,
    Description: pulumi.String("string"),
    IpVersion: computev1.GlobalAddressIpVersionIpv4,
    Ipv6EndpointType: computev1.GlobalAddressIpv6EndpointTypeNetlb,
    Labels: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Name: pulumi.String("string"),
    Network: pulumi.String("string"),
    NetworkTier: computev1.GlobalAddressNetworkTierFixedStandard,
    PrefixLength: pulumi.Int(0),
    Project: pulumi.String("string"),
    Purpose: computev1.GlobalAddressPurposeDnsResolver,
    RequestId: pulumi.String("string"),
    Subnetwork: pulumi.String("string"),
    })
    
    var exampleglobalAddressResourceResourceFromComputev1 = new GlobalAddress("exampleglobalAddressResourceResourceFromComputev1", GlobalAddressArgs.builder()
        .address("string")
        .addressType("EXTERNAL")
        .description("string")
        .ipVersion("IPV4")
        .ipv6EndpointType("NETLB")
        .labels(Map.of("string", "string"))
        .name("string")
        .network("string")
        .networkTier("FIXED_STANDARD")
        .prefixLength(0)
        .project("string")
        .purpose("DNS_RESOLVER")
        .requestId("string")
        .subnetwork("string")
        .build());
    
    exampleglobal_address_resource_resource_from_computev1 = google_native.compute.v1.GlobalAddress("exampleglobalAddressResourceResourceFromComputev1",
        address="string",
        address_type=google_native.compute.v1.GlobalAddressAddressType.EXTERNAL,
        description="string",
        ip_version=google_native.compute.v1.GlobalAddressIpVersion.IPV4,
        ipv6_endpoint_type=google_native.compute.v1.GlobalAddressIpv6EndpointType.NETLB,
        labels={
            "string": "string",
        },
        name="string",
        network="string",
        network_tier=google_native.compute.v1.GlobalAddressNetworkTier.FIXED_STANDARD,
        prefix_length=0,
        project="string",
        purpose=google_native.compute.v1.GlobalAddressPurpose.DNS_RESOLVER,
        request_id="string",
        subnetwork="string")
    
    const exampleglobalAddressResourceResourceFromComputev1 = new google_native.compute.v1.GlobalAddress("exampleglobalAddressResourceResourceFromComputev1", {
        address: "string",
        addressType: google_native.compute.v1.GlobalAddressAddressType.External,
        description: "string",
        ipVersion: google_native.compute.v1.GlobalAddressIpVersion.Ipv4,
        ipv6EndpointType: google_native.compute.v1.GlobalAddressIpv6EndpointType.Netlb,
        labels: {
            string: "string",
        },
        name: "string",
        network: "string",
        networkTier: google_native.compute.v1.GlobalAddressNetworkTier.FixedStandard,
        prefixLength: 0,
        project: "string",
        purpose: google_native.compute.v1.GlobalAddressPurpose.DnsResolver,
        requestId: "string",
        subnetwork: "string",
    });
    
    type: google-native:compute/v1:GlobalAddress
    properties:
        address: string
        addressType: EXTERNAL
        description: string
        ipVersion: IPV4
        ipv6EndpointType: NETLB
        labels:
            string: string
        name: string
        network: string
        networkTier: FIXED_STANDARD
        prefixLength: 0
        project: string
        purpose: DNS_RESOLVER
        requestId: string
        subnetwork: string
    

    GlobalAddress Resource Properties

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

    Inputs

    The GlobalAddress resource accepts the following input properties:

    Address string
    The static IP address represented by this resource.
    AddressType Pulumi.GoogleNative.Compute.V1.GlobalAddressAddressType
    The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
    Description string
    An optional description of this resource. Provide this field when you create the resource.
    IpVersion Pulumi.GoogleNative.Compute.V1.GlobalAddressIpVersion
    The IP version that will be used by this address. Valid options are IPV4 or IPV6.
    Ipv6EndpointType Pulumi.GoogleNative.Compute.V1.GlobalAddressIpv6EndpointType
    The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
    Labels Dictionary<string, string>
    Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
    Network string
    The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
    NetworkTier Pulumi.GoogleNative.Compute.V1.GlobalAddressNetworkTier
    This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
    PrefixLength int
    The prefix length if the resource represents an IP range.
    Project string
    Purpose Pulumi.GoogleNative.Compute.V1.GlobalAddressPurpose
    The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
    RequestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    Subnetwork string
    The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
    Address string
    The static IP address represented by this resource.
    AddressType GlobalAddressAddressType
    The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
    Description string
    An optional description of this resource. Provide this field when you create the resource.
    IpVersion GlobalAddressIpVersion
    The IP version that will be used by this address. Valid options are IPV4 or IPV6.
    Ipv6EndpointType GlobalAddressIpv6EndpointType
    The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
    Labels map[string]string
    Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
    Network string
    The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
    NetworkTier GlobalAddressNetworkTier
    This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
    PrefixLength int
    The prefix length if the resource represents an IP range.
    Project string
    Purpose GlobalAddressPurpose
    The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
    RequestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    Subnetwork string
    The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
    address String
    The static IP address represented by this resource.
    addressType GlobalAddressAddressType
    The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
    description String
    An optional description of this resource. Provide this field when you create the resource.
    ipVersion GlobalAddressIpVersion
    The IP version that will be used by this address. Valid options are IPV4 or IPV6.
    ipv6EndpointType GlobalAddressIpv6EndpointType
    The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
    labels Map<String,String>
    Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
    network String
    The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
    networkTier GlobalAddressNetworkTier
    This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
    prefixLength Integer
    The prefix length if the resource represents an IP range.
    project String
    purpose GlobalAddressPurpose
    The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
    requestId String
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    subnetwork String
    The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
    address string
    The static IP address represented by this resource.
    addressType GlobalAddressAddressType
    The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
    description string
    An optional description of this resource. Provide this field when you create the resource.
    ipVersion GlobalAddressIpVersion
    The IP version that will be used by this address. Valid options are IPV4 or IPV6.
    ipv6EndpointType GlobalAddressIpv6EndpointType
    The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
    labels {[key: string]: string}
    Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
    name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
    network string
    The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
    networkTier GlobalAddressNetworkTier
    This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
    prefixLength number
    The prefix length if the resource represents an IP range.
    project string
    purpose GlobalAddressPurpose
    The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
    requestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    subnetwork string
    The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
    address str
    The static IP address represented by this resource.
    address_type GlobalAddressAddressType
    The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
    description str
    An optional description of this resource. Provide this field when you create the resource.
    ip_version GlobalAddressIpVersion
    The IP version that will be used by this address. Valid options are IPV4 or IPV6.
    ipv6_endpoint_type GlobalAddressIpv6EndpointType
    The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
    labels Mapping[str, str]
    Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
    name str
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
    network str
    The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
    network_tier GlobalAddressNetworkTier
    This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
    prefix_length int
    The prefix length if the resource represents an IP range.
    project str
    purpose GlobalAddressPurpose
    The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
    request_id str
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    subnetwork str
    The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.
    address String
    The static IP address represented by this resource.
    addressType "EXTERNAL" | "INTERNAL" | "UNSPECIFIED_TYPE"
    The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
    description String
    An optional description of this resource. Provide this field when you create the resource.
    ipVersion "IPV4" | "IPV6" | "UNSPECIFIED_VERSION"
    The IP version that will be used by this address. Valid options are IPV4 or IPV6.
    ipv6EndpointType "NETLB" | "VM"
    The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
    labels Map<String>
    Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
    network String
    The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.
    networkTier "FIXED_STANDARD" | "PREMIUM" | "STANDARD" | "STANDARD_OVERRIDES_FIXED_STANDARD"
    This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
    prefixLength Number
    The prefix length if the resource represents an IP range.
    project String
    purpose "DNS_RESOLVER" | "GCE_ENDPOINT" | "IPSEC_INTERCONNECT" | "NAT_AUTO" | "PRIVATE_SERVICE_CONNECT" | "SERVERLESS" | "SHARED_LOADBALANCER_VIP" | "VPC_PEERING"
    The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
    requestId String
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    subnetwork String
    The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.

    Outputs

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

    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource. Always compute#address for addresses.
    LabelFingerprint string
    A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address.
    Region string
    The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses.
    SelfLink string
    Server-defined URL for the resource.
    Status string
    The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
    Users List<string>
    The URLs of the resources that are using this address.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource. Always compute#address for addresses.
    LabelFingerprint string
    A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address.
    Region string
    The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses.
    SelfLink string
    Server-defined URL for the resource.
    Status string
    The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
    Users []string
    The URLs of the resources that are using this address.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource. Always compute#address for addresses.
    labelFingerprint String
    A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address.
    region String
    The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses.
    selfLink String
    Server-defined URL for the resource.
    status String
    The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
    users List<String>
    The URLs of the resources that are using this address.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    Type of the resource. Always compute#address for addresses.
    labelFingerprint string
    A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address.
    region string
    The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses.
    selfLink string
    Server-defined URL for the resource.
    status string
    The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
    users string[]
    The URLs of the resources that are using this address.
    creation_timestamp str
    Creation timestamp in RFC3339 text format.
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    Type of the resource. Always compute#address for addresses.
    label_fingerprint str
    A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address.
    region str
    The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses.
    self_link str
    Server-defined URL for the resource.
    status str
    The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
    users Sequence[str]
    The URLs of the resources that are using this address.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource. Always compute#address for addresses.
    labelFingerprint String
    A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address.
    region String
    The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses.
    selfLink String
    Server-defined URL for the resource.
    status String
    The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
    users List<String>
    The URLs of the resources that are using this address.

    Supporting Types

    GlobalAddressAddressType, GlobalAddressAddressTypeArgs

    External
    EXTERNALA publicly visible external IP address.
    Internal
    INTERNALA private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    UnspecifiedType
    UNSPECIFIED_TYPE
    GlobalAddressAddressTypeExternal
    EXTERNALA publicly visible external IP address.
    GlobalAddressAddressTypeInternal
    INTERNALA private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    GlobalAddressAddressTypeUnspecifiedType
    UNSPECIFIED_TYPE
    External
    EXTERNALA publicly visible external IP address.
    Internal
    INTERNALA private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    UnspecifiedType
    UNSPECIFIED_TYPE
    External
    EXTERNALA publicly visible external IP address.
    Internal
    INTERNALA private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    UnspecifiedType
    UNSPECIFIED_TYPE
    EXTERNAL
    EXTERNALA publicly visible external IP address.
    INTERNAL
    INTERNALA private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    UNSPECIFIED_TYPE
    UNSPECIFIED_TYPE
    "EXTERNAL"
    EXTERNALA publicly visible external IP address.
    "INTERNAL"
    INTERNALA private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    "UNSPECIFIED_TYPE"
    UNSPECIFIED_TYPE

    GlobalAddressIpVersion, GlobalAddressIpVersionArgs

    Ipv4
    IPV4
    Ipv6
    IPV6
    UnspecifiedVersion
    UNSPECIFIED_VERSION
    GlobalAddressIpVersionIpv4
    IPV4
    GlobalAddressIpVersionIpv6
    IPV6
    GlobalAddressIpVersionUnspecifiedVersion
    UNSPECIFIED_VERSION
    Ipv4
    IPV4
    Ipv6
    IPV6
    UnspecifiedVersion
    UNSPECIFIED_VERSION
    Ipv4
    IPV4
    Ipv6
    IPV6
    UnspecifiedVersion
    UNSPECIFIED_VERSION
    IPV4
    IPV4
    IPV6
    IPV6
    UNSPECIFIED_VERSION
    UNSPECIFIED_VERSION
    "IPV4"
    IPV4
    "IPV6"
    IPV6
    "UNSPECIFIED_VERSION"
    UNSPECIFIED_VERSION

    GlobalAddressIpv6EndpointType, GlobalAddressIpv6EndpointTypeArgs

    Netlb
    NETLBReserved IPv6 address can be used on network load balancer.
    Vm
    VMReserved IPv6 address can be used on VM.
    GlobalAddressIpv6EndpointTypeNetlb
    NETLBReserved IPv6 address can be used on network load balancer.
    GlobalAddressIpv6EndpointTypeVm
    VMReserved IPv6 address can be used on VM.
    Netlb
    NETLBReserved IPv6 address can be used on network load balancer.
    Vm
    VMReserved IPv6 address can be used on VM.
    Netlb
    NETLBReserved IPv6 address can be used on network load balancer.
    Vm
    VMReserved IPv6 address can be used on VM.
    NETLB
    NETLBReserved IPv6 address can be used on network load balancer.
    VM
    VMReserved IPv6 address can be used on VM.
    "NETLB"
    NETLBReserved IPv6 address can be used on network load balancer.
    "VM"
    VMReserved IPv6 address can be used on VM.

    GlobalAddressNetworkTier, GlobalAddressNetworkTierArgs

    FixedStandard
    FIXED_STANDARDPublic internet quality with fixed bandwidth.
    Premium
    PREMIUMHigh quality, Google-grade network tier, support for all networking products.
    Standard
    STANDARDPublic internet quality, only limited support for other networking products.
    StandardOverridesFixedStandard
    STANDARD_OVERRIDES_FIXED_STANDARD(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    GlobalAddressNetworkTierFixedStandard
    FIXED_STANDARDPublic internet quality with fixed bandwidth.
    GlobalAddressNetworkTierPremium
    PREMIUMHigh quality, Google-grade network tier, support for all networking products.
    GlobalAddressNetworkTierStandard
    STANDARDPublic internet quality, only limited support for other networking products.
    GlobalAddressNetworkTierStandardOverridesFixedStandard
    STANDARD_OVERRIDES_FIXED_STANDARD(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    FixedStandard
    FIXED_STANDARDPublic internet quality with fixed bandwidth.
    Premium
    PREMIUMHigh quality, Google-grade network tier, support for all networking products.
    Standard
    STANDARDPublic internet quality, only limited support for other networking products.
    StandardOverridesFixedStandard
    STANDARD_OVERRIDES_FIXED_STANDARD(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    FixedStandard
    FIXED_STANDARDPublic internet quality with fixed bandwidth.
    Premium
    PREMIUMHigh quality, Google-grade network tier, support for all networking products.
    Standard
    STANDARDPublic internet quality, only limited support for other networking products.
    StandardOverridesFixedStandard
    STANDARD_OVERRIDES_FIXED_STANDARD(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    FIXED_STANDARD
    FIXED_STANDARDPublic internet quality with fixed bandwidth.
    PREMIUM
    PREMIUMHigh quality, Google-grade network tier, support for all networking products.
    STANDARD
    STANDARDPublic internet quality, only limited support for other networking products.
    STANDARD_OVERRIDES_FIXED_STANDARD
    STANDARD_OVERRIDES_FIXED_STANDARD(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    "FIXED_STANDARD"
    FIXED_STANDARDPublic internet quality with fixed bandwidth.
    "PREMIUM"
    PREMIUMHigh quality, Google-grade network tier, support for all networking products.
    "STANDARD"
    STANDARDPublic internet quality, only limited support for other networking products.
    "STANDARD_OVERRIDES_FIXED_STANDARD"
    STANDARD_OVERRIDES_FIXED_STANDARD(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.

    GlobalAddressPurpose, GlobalAddressPurposeArgs

    DnsResolver
    DNS_RESOLVERDNS resolver address in the subnetwork.
    GceEndpoint
    GCE_ENDPOINTVM internal/alias IP, Internal LB service IP, etc.
    IpsecInterconnect
    IPSEC_INTERCONNECTA regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    NatAuto
    NAT_AUTOExternal IP automatically reserved for Cloud NAT.
    PrivateServiceConnect
    PRIVATE_SERVICE_CONNECTA private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    Serverless
    SERVERLESSA regional internal IP address range reserved for Serverless.
    SharedLoadbalancerVip
    SHARED_LOADBALANCER_VIPA private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    VpcPeering
    VPC_PEERINGIP range for peer networks.
    GlobalAddressPurposeDnsResolver
    DNS_RESOLVERDNS resolver address in the subnetwork.
    GlobalAddressPurposeGceEndpoint
    GCE_ENDPOINTVM internal/alias IP, Internal LB service IP, etc.
    GlobalAddressPurposeIpsecInterconnect
    IPSEC_INTERCONNECTA regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    GlobalAddressPurposeNatAuto
    NAT_AUTOExternal IP automatically reserved for Cloud NAT.
    GlobalAddressPurposePrivateServiceConnect
    PRIVATE_SERVICE_CONNECTA private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    GlobalAddressPurposeServerless
    SERVERLESSA regional internal IP address range reserved for Serverless.
    GlobalAddressPurposeSharedLoadbalancerVip
    SHARED_LOADBALANCER_VIPA private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    GlobalAddressPurposeVpcPeering
    VPC_PEERINGIP range for peer networks.
    DnsResolver
    DNS_RESOLVERDNS resolver address in the subnetwork.
    GceEndpoint
    GCE_ENDPOINTVM internal/alias IP, Internal LB service IP, etc.
    IpsecInterconnect
    IPSEC_INTERCONNECTA regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    NatAuto
    NAT_AUTOExternal IP automatically reserved for Cloud NAT.
    PrivateServiceConnect
    PRIVATE_SERVICE_CONNECTA private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    Serverless
    SERVERLESSA regional internal IP address range reserved for Serverless.
    SharedLoadbalancerVip
    SHARED_LOADBALANCER_VIPA private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    VpcPeering
    VPC_PEERINGIP range for peer networks.
    DnsResolver
    DNS_RESOLVERDNS resolver address in the subnetwork.
    GceEndpoint
    GCE_ENDPOINTVM internal/alias IP, Internal LB service IP, etc.
    IpsecInterconnect
    IPSEC_INTERCONNECTA regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    NatAuto
    NAT_AUTOExternal IP automatically reserved for Cloud NAT.
    PrivateServiceConnect
    PRIVATE_SERVICE_CONNECTA private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    Serverless
    SERVERLESSA regional internal IP address range reserved for Serverless.
    SharedLoadbalancerVip
    SHARED_LOADBALANCER_VIPA private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    VpcPeering
    VPC_PEERINGIP range for peer networks.
    DNS_RESOLVER
    DNS_RESOLVERDNS resolver address in the subnetwork.
    GCE_ENDPOINT
    GCE_ENDPOINTVM internal/alias IP, Internal LB service IP, etc.
    IPSEC_INTERCONNECT
    IPSEC_INTERCONNECTA regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    NAT_AUTO
    NAT_AUTOExternal IP automatically reserved for Cloud NAT.
    PRIVATE_SERVICE_CONNECT
    PRIVATE_SERVICE_CONNECTA private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    SERVERLESS
    SERVERLESSA regional internal IP address range reserved for Serverless.
    SHARED_LOADBALANCER_VIP
    SHARED_LOADBALANCER_VIPA private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    VPC_PEERING
    VPC_PEERINGIP range for peer networks.
    "DNS_RESOLVER"
    DNS_RESOLVERDNS resolver address in the subnetwork.
    "GCE_ENDPOINT"
    GCE_ENDPOINTVM internal/alias IP, Internal LB service IP, etc.
    "IPSEC_INTERCONNECT"
    IPSEC_INTERCONNECTA regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    "NAT_AUTO"
    NAT_AUTOExternal IP automatically reserved for Cloud NAT.
    "PRIVATE_SERVICE_CONNECT"
    PRIVATE_SERVICE_CONNECTA private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    "SERVERLESS"
    SERVERLESSA regional internal IP address range reserved for Serverless.
    "SHARED_LOADBALANCER_VIP"
    SHARED_LOADBALANCER_VIPA private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    "VPC_PEERING"
    VPC_PEERINGIP range for peer networks.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi