Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/beta.GlobalAddress
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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/beta: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 google_nativeGlobalAddressResource = new GoogleNative.Compute.Beta.GlobalAddress("google-nativeGlobalAddressResource", new()
{
Address = "string",
AddressType = GoogleNative.Compute.Beta.GlobalAddressAddressType.External,
Description = "string",
IpVersion = GoogleNative.Compute.Beta.GlobalAddressIpVersion.Ipv4,
Ipv6EndpointType = GoogleNative.Compute.Beta.GlobalAddressIpv6EndpointType.Netlb,
Labels =
{
{ "string", "string" },
},
Name = "string",
Network = "string",
NetworkTier = GoogleNative.Compute.Beta.GlobalAddressNetworkTier.FixedStandard,
PrefixLength = 0,
Project = "string",
Purpose = GoogleNative.Compute.Beta.GlobalAddressPurpose.DnsResolver,
RequestId = "string",
Subnetwork = "string",
});
example, err := computebeta.NewGlobalAddress(ctx, "google-nativeGlobalAddressResource", &computebeta.GlobalAddressArgs{
Address: pulumi.String("string"),
AddressType: computebeta.GlobalAddressAddressTypeExternal,
Description: pulumi.String("string"),
IpVersion: computebeta.GlobalAddressIpVersionIpv4,
Ipv6EndpointType: computebeta.GlobalAddressIpv6EndpointTypeNetlb,
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Network: pulumi.String("string"),
NetworkTier: computebeta.GlobalAddressNetworkTierFixedStandard,
PrefixLength: pulumi.Int(0),
Project: pulumi.String("string"),
Purpose: computebeta.GlobalAddressPurposeDnsResolver,
RequestId: pulumi.String("string"),
Subnetwork: pulumi.String("string"),
})
var google_nativeGlobalAddressResource = new GlobalAddress("google-nativeGlobalAddressResource", 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());
google_native_global_address_resource = google_native.compute.beta.GlobalAddress("google-nativeGlobalAddressResource",
address="string",
address_type=google_native.compute.beta.GlobalAddressAddressType.EXTERNAL,
description="string",
ip_version=google_native.compute.beta.GlobalAddressIpVersion.IPV4,
ipv6_endpoint_type=google_native.compute.beta.GlobalAddressIpv6EndpointType.NETLB,
labels={
"string": "string",
},
name="string",
network="string",
network_tier=google_native.compute.beta.GlobalAddressNetworkTier.FIXED_STANDARD,
prefix_length=0,
project="string",
purpose=google_native.compute.beta.GlobalAddressPurpose.DNS_RESOLVER,
request_id="string",
subnetwork="string")
const google_nativeGlobalAddressResource = new google_native.compute.beta.GlobalAddress("google-nativeGlobalAddressResource", {
address: "string",
addressType: google_native.compute.beta.GlobalAddressAddressType.External,
description: "string",
ipVersion: google_native.compute.beta.GlobalAddressIpVersion.Ipv4,
ipv6EndpointType: google_native.compute.beta.GlobalAddressIpv6EndpointType.Netlb,
labels: {
string: "string",
},
name: "string",
network: "string",
networkTier: google_native.compute.beta.GlobalAddressNetworkTier.FixedStandard,
prefixLength: 0,
project: "string",
purpose: google_native.compute.beta.GlobalAddressPurpose.DnsResolver,
requestId: "string",
subnetwork: "string",
});
type: google-native:compute/beta: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.
- Address
Type Pulumi.Google Native. Compute. Beta. Global Address Address 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.
- Ip
Version Pulumi.Google Native. Compute. Beta. Global Address Ip Version - The IP version that will be used by this address. Valid options are IPV4 or IPV6.
- Ipv6Endpoint
Type Pulumi.Google Native. Compute. Beta. Global Address Ipv6Endpoint Type - 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.
- Network
Tier Pulumi.Google Native. Compute. Beta. Global Address Network Tier - 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 string
- Purpose
Pulumi.
Google Native. Compute. Beta. Global Address Purpose - 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 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.
- Address
Type GlobalAddress Address 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.
- Ip
Version GlobalAddress Ip Version - The IP version that will be used by this address. Valid options are IPV4 or IPV6.
- Ipv6Endpoint
Type GlobalAddress Ipv6Endpoint Type - 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.
- Network
Tier GlobalAddress Network Tier - 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 string
- Purpose
Global
Address Purpose - 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 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.
- address
Type GlobalAddress Address 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.
- ip
Version GlobalAddress Ip Version - The IP version that will be used by this address. Valid options are IPV4 or IPV6.
- ipv6Endpoint
Type GlobalAddress Ipv6Endpoint Type - 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.
- network
Tier GlobalAddress Network Tier - 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 Integer - The prefix length if the resource represents an IP range.
- project String
- purpose
Global
Address Purpose - 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 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.
- address
Type GlobalAddress Address 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.
- ip
Version GlobalAddress Ip Version - The IP version that will be used by this address. Valid options are IPV4 or IPV6.
- ipv6Endpoint
Type GlobalAddress Ipv6Endpoint Type - 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.
- network
Tier GlobalAddress Network Tier - 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 number - The prefix length if the resource represents an IP range.
- project string
- purpose
Global
Address Purpose - 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 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 GlobalAddress Address Type - 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 GlobalAddress Ip Version - The IP version that will be used by this address. Valid options are IPV4 or IPV6.
- ipv6_
endpoint_ Globaltype Address Ipv6Endpoint Type - 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 GlobalAddress Network Tier - 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
Global
Address Purpose - 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.
- address
Type "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.
- ip
Version "IPV4" | "IPV6" | "UNSPECIFIED_VERSION" - The IP version that will be used by this address. Valid options are IPV4 or IPV6.
- ipv6Endpoint
Type "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.
- network
Tier "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.
- prefix
Length 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. - request
Id 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:
- Creation
Timestamp 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.
- Label
Fingerprint 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.
- Self
Link 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.
- Creation
Timestamp 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.
- Label
Fingerprint 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.
- Self
Link 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 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.
- label
Fingerprint 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.
- self
Link 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.
- creation
Timestamp 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.
- label
Fingerprint 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.
- self
Link 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.
- creation
Timestamp 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.
- label
Fingerprint 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.
- self
Link 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.
- Unspecified
Type - UNSPECIFIED_TYPE
- Global
Address Address Type External - EXTERNALA publicly visible external IP address.
- Global
Address Address Type Internal - INTERNALA private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
- Global
Address Address Type 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
- 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
- "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
- Unspecified
Version - UNSPECIFIED_VERSION
- Global
Address Ip Version Ipv4 - IPV4
- Global
Address Ip Version Ipv6 - IPV6
- Global
Address Ip Version Unspecified Version - UNSPECIFIED_VERSION
- Ipv4
- IPV4
- Ipv6
- IPV6
- Unspecified
Version - UNSPECIFIED_VERSION
- Ipv4
- IPV4
- Ipv6
- IPV6
- Unspecified
Version - 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.
- Global
Address Ipv6Endpoint Type Netlb - NETLBReserved IPv6 address can be used on network load balancer.
- Global
Address Ipv6Endpoint Type 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.
- "NETLB"
- NETLBReserved IPv6 address can be used on network load balancer.
- "VM"
- VMReserved IPv6 address can be used on VM.
GlobalAddressNetworkTier, GlobalAddressNetworkTierArgs
- 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.
- Global
Address Network Tier Fixed Standard - FIXED_STANDARDPublic internet quality with fixed bandwidth.
- Global
Address Network Tier Premium - PREMIUMHigh quality, Google-grade network tier, support for all networking products.
- Global
Address Network Tier Standard - STANDARDPublic internet quality, only limited support for other networking products.
- Global
Address Network Tier 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.
- 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.
- "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
- 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.
- Global
Address Purpose Dns Resolver - DNS_RESOLVERDNS resolver address in the subnetwork.
- Global
Address Purpose Gce Endpoint - GCE_ENDPOINTVM internal/alias IP, Internal LB service IP, etc.
- Global
Address Purpose 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.
- Global
Address Purpose Nat Auto - NAT_AUTOExternal IP automatically reserved for Cloud NAT.
- Global
Address Purpose 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
- Global
Address Purpose Serverless - SERVERLESSA regional internal IP address range reserved for Serverless.
- Global
Address Purpose Shared Loadbalancer Vip - SHARED_LOADBALANCER_VIPA private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
- Global
Address Purpose 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.
- 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.
- "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 Cloud Native is in preview. Google Cloud Classic is fully supported.