Represents a PublicAdvertisedPrefix for use with bring your own IP addresses (BYOIP).
To get more information about PublicAdvertisedPrefix, see:
- API documentation
- How-to Guides
Example Usage
Public Advertised Prefixes Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const prefixes = new gcp.compute.PublicAdvertisedPrefix("prefixes", {
name: "my-prefix",
description: "description",
dnsVerificationIp: "127.127.0.0",
ipCidrRange: "127.127.0.0/16",
});
import pulumi
import pulumi_gcp as gcp
prefixes = gcp.compute.PublicAdvertisedPrefix("prefixes",
name="my-prefix",
description="description",
dns_verification_ip="127.127.0.0",
ip_cidr_range="127.127.0.0/16")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewPublicAdvertisedPrefix(ctx, "prefixes", &compute.PublicAdvertisedPrefixArgs{
Name: pulumi.String("my-prefix"),
Description: pulumi.String("description"),
DnsVerificationIp: pulumi.String("127.127.0.0"),
IpCidrRange: pulumi.String("127.127.0.0/16"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var prefixes = new Gcp.Compute.PublicAdvertisedPrefix("prefixes", new()
{
Name = "my-prefix",
Description = "description",
DnsVerificationIp = "127.127.0.0",
IpCidrRange = "127.127.0.0/16",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.PublicAdvertisedPrefix;
import com.pulumi.gcp.compute.PublicAdvertisedPrefixArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var prefixes = new PublicAdvertisedPrefix("prefixes", PublicAdvertisedPrefixArgs.builder()
.name("my-prefix")
.description("description")
.dnsVerificationIp("127.127.0.0")
.ipCidrRange("127.127.0.0/16")
.build());
}
}
resources:
prefixes:
type: gcp:compute:PublicAdvertisedPrefix
properties:
name: my-prefix
description: description
dnsVerificationIp: 127.127.0.0
ipCidrRange: 127.127.0.0/16
Public Advertised Prefixes Pdp Scope
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const prefixes = new gcp.compute.PublicAdvertisedPrefix("prefixes", {
name: "my-pap",
description: "description",
dnsVerificationIp: "127.127.0.0",
ipCidrRange: "127.127.0.0/16",
pdpScope: "REGIONAL",
});
import pulumi
import pulumi_gcp as gcp
prefixes = gcp.compute.PublicAdvertisedPrefix("prefixes",
name="my-pap",
description="description",
dns_verification_ip="127.127.0.0",
ip_cidr_range="127.127.0.0/16",
pdp_scope="REGIONAL")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewPublicAdvertisedPrefix(ctx, "prefixes", &compute.PublicAdvertisedPrefixArgs{
Name: pulumi.String("my-pap"),
Description: pulumi.String("description"),
DnsVerificationIp: pulumi.String("127.127.0.0"),
IpCidrRange: pulumi.String("127.127.0.0/16"),
PdpScope: pulumi.String("REGIONAL"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var prefixes = new Gcp.Compute.PublicAdvertisedPrefix("prefixes", new()
{
Name = "my-pap",
Description = "description",
DnsVerificationIp = "127.127.0.0",
IpCidrRange = "127.127.0.0/16",
PdpScope = "REGIONAL",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.PublicAdvertisedPrefix;
import com.pulumi.gcp.compute.PublicAdvertisedPrefixArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var prefixes = new PublicAdvertisedPrefix("prefixes", PublicAdvertisedPrefixArgs.builder()
.name("my-pap")
.description("description")
.dnsVerificationIp("127.127.0.0")
.ipCidrRange("127.127.0.0/16")
.pdpScope("REGIONAL")
.build());
}
}
resources:
prefixes:
type: gcp:compute:PublicAdvertisedPrefix
properties:
name: my-pap
description: description
dnsVerificationIp: 127.127.0.0
ipCidrRange: 127.127.0.0/16
pdpScope: REGIONAL
Public Advertised Prefixes Ipv6 Access Type
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const prefixes = new gcp.compute.PublicAdvertisedPrefix("prefixes", {
name: "my-pap",
description: "description",
ipCidrRange: "2001:db8::/32",
pdpScope: "REGIONAL",
ipv6AccessType: "INTERNAL",
});
import pulumi
import pulumi_gcp as gcp
prefixes = gcp.compute.PublicAdvertisedPrefix("prefixes",
name="my-pap",
description="description",
ip_cidr_range="2001:db8::/32",
pdp_scope="REGIONAL",
ipv6_access_type="INTERNAL")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewPublicAdvertisedPrefix(ctx, "prefixes", &compute.PublicAdvertisedPrefixArgs{
Name: pulumi.String("my-pap"),
Description: pulumi.String("description"),
IpCidrRange: pulumi.String("2001:db8::/32"),
PdpScope: pulumi.String("REGIONAL"),
Ipv6AccessType: pulumi.String("INTERNAL"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var prefixes = new Gcp.Compute.PublicAdvertisedPrefix("prefixes", new()
{
Name = "my-pap",
Description = "description",
IpCidrRange = "2001:db8::/32",
PdpScope = "REGIONAL",
Ipv6AccessType = "INTERNAL",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.PublicAdvertisedPrefix;
import com.pulumi.gcp.compute.PublicAdvertisedPrefixArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var prefixes = new PublicAdvertisedPrefix("prefixes", PublicAdvertisedPrefixArgs.builder()
.name("my-pap")
.description("description")
.ipCidrRange("2001:db8::/32")
.pdpScope("REGIONAL")
.ipv6AccessType("INTERNAL")
.build());
}
}
resources:
prefixes:
type: gcp:compute:PublicAdvertisedPrefix
properties:
name: my-pap
description: description
ipCidrRange: 2001:db8::/32
pdpScope: REGIONAL
ipv6AccessType: INTERNAL
Create PublicAdvertisedPrefix Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PublicAdvertisedPrefix(name: string, args: PublicAdvertisedPrefixArgs, opts?: CustomResourceOptions);@overload
def PublicAdvertisedPrefix(resource_name: str,
args: PublicAdvertisedPrefixArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PublicAdvertisedPrefix(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_cidr_range: Optional[str] = None,
description: Optional[str] = None,
dns_verification_ip: Optional[str] = None,
ipv6_access_type: Optional[str] = None,
name: Optional[str] = None,
pdp_scope: Optional[str] = None,
project: Optional[str] = None)func NewPublicAdvertisedPrefix(ctx *Context, name string, args PublicAdvertisedPrefixArgs, opts ...ResourceOption) (*PublicAdvertisedPrefix, error)public PublicAdvertisedPrefix(string name, PublicAdvertisedPrefixArgs args, CustomResourceOptions? opts = null)
public PublicAdvertisedPrefix(String name, PublicAdvertisedPrefixArgs args)
public PublicAdvertisedPrefix(String name, PublicAdvertisedPrefixArgs args, CustomResourceOptions options)
type: gcp:compute:PublicAdvertisedPrefix
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 PublicAdvertisedPrefixArgs
- 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 PublicAdvertisedPrefixArgs
- 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 PublicAdvertisedPrefixArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PublicAdvertisedPrefixArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PublicAdvertisedPrefixArgs
- 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 publicAdvertisedPrefixResource = new Gcp.Compute.PublicAdvertisedPrefix("publicAdvertisedPrefixResource", new()
{
IpCidrRange = "string",
Description = "string",
DnsVerificationIp = "string",
Ipv6AccessType = "string",
Name = "string",
PdpScope = "string",
Project = "string",
});
example, err := compute.NewPublicAdvertisedPrefix(ctx, "publicAdvertisedPrefixResource", &compute.PublicAdvertisedPrefixArgs{
IpCidrRange: pulumi.String("string"),
Description: pulumi.String("string"),
DnsVerificationIp: pulumi.String("string"),
Ipv6AccessType: pulumi.String("string"),
Name: pulumi.String("string"),
PdpScope: pulumi.String("string"),
Project: pulumi.String("string"),
})
var publicAdvertisedPrefixResource = new PublicAdvertisedPrefix("publicAdvertisedPrefixResource", PublicAdvertisedPrefixArgs.builder()
.ipCidrRange("string")
.description("string")
.dnsVerificationIp("string")
.ipv6AccessType("string")
.name("string")
.pdpScope("string")
.project("string")
.build());
public_advertised_prefix_resource = gcp.compute.PublicAdvertisedPrefix("publicAdvertisedPrefixResource",
ip_cidr_range="string",
description="string",
dns_verification_ip="string",
ipv6_access_type="string",
name="string",
pdp_scope="string",
project="string")
const publicAdvertisedPrefixResource = new gcp.compute.PublicAdvertisedPrefix("publicAdvertisedPrefixResource", {
ipCidrRange: "string",
description: "string",
dnsVerificationIp: "string",
ipv6AccessType: "string",
name: "string",
pdpScope: "string",
project: "string",
});
type: gcp:compute:PublicAdvertisedPrefix
properties:
description: string
dnsVerificationIp: string
ipCidrRange: string
ipv6AccessType: string
name: string
pdpScope: string
project: string
PublicAdvertisedPrefix Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PublicAdvertisedPrefix resource accepts the following input properties:
- Ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- Description string
- An optional description of this resource.
- Dns
Verification stringIp - The IPv4 address to be used for reverse DNS verification.
- Ipv6Access
Type string - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- Name string
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Pdp
Scope string - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- Description string
- An optional description of this resource.
- Dns
Verification stringIp - The IPv4 address to be used for reverse DNS verification.
- Ipv6Access
Type string - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- Name string
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Pdp
Scope string - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ip
Cidr StringRange - The address range, in CIDR format, represented by this public advertised prefix.
- description String
- An optional description of this resource.
- dns
Verification StringIp - The IPv4 address to be used for reverse DNS verification.
- ipv6Access
Type String - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name String
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp
Scope String - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- description string
- An optional description of this resource.
- dns
Verification stringIp - The IPv4 address to be used for reverse DNS verification.
- ipv6Access
Type string - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name string
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp
Scope string - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ip_
cidr_ strrange - The address range, in CIDR format, represented by this public advertised prefix.
- description str
- An optional description of this resource.
- dns_
verification_ strip - The IPv4 address to be used for reverse DNS verification.
- ipv6_
access_ strtype - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name str
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp_
scope str - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ip
Cidr StringRange - The address range, in CIDR format, represented by this public advertised prefix.
- description String
- An optional description of this resource.
- dns
Verification StringIp - The IPv4 address to be used for reverse DNS verification.
- ipv6Access
Type String - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name String
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp
Scope String - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the PublicAdvertisedPrefix resource produces the following output properties:
Look up Existing PublicAdvertisedPrefix Resource
Get an existing PublicAdvertisedPrefix resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PublicAdvertisedPrefixState, opts?: CustomResourceOptions): PublicAdvertisedPrefix@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
dns_verification_ip: Optional[str] = None,
ip_cidr_range: Optional[str] = None,
ipv6_access_type: Optional[str] = None,
name: Optional[str] = None,
pdp_scope: Optional[str] = None,
project: Optional[str] = None,
self_link: Optional[str] = None,
shared_secret: Optional[str] = None) -> PublicAdvertisedPrefixfunc GetPublicAdvertisedPrefix(ctx *Context, name string, id IDInput, state *PublicAdvertisedPrefixState, opts ...ResourceOption) (*PublicAdvertisedPrefix, error)public static PublicAdvertisedPrefix Get(string name, Input<string> id, PublicAdvertisedPrefixState? state, CustomResourceOptions? opts = null)public static PublicAdvertisedPrefix get(String name, Output<String> id, PublicAdvertisedPrefixState state, CustomResourceOptions options)resources: _: type: gcp:compute:PublicAdvertisedPrefix get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- An optional description of this resource.
- Dns
Verification stringIp - The IPv4 address to be used for reverse DNS verification.
- Ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- Ipv6Access
Type string - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- Name string
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Pdp
Scope string - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Self
Link string - The URI of the created resource.
- string
- Output Only. The shared secret to be used for reverse DNS verification.
- Description string
- An optional description of this resource.
- Dns
Verification stringIp - The IPv4 address to be used for reverse DNS verification.
- Ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- Ipv6Access
Type string - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- Name string
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Pdp
Scope string - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Self
Link string - The URI of the created resource.
- string
- Output Only. The shared secret to be used for reverse DNS verification.
- description String
- An optional description of this resource.
- dns
Verification StringIp - The IPv4 address to be used for reverse DNS verification.
- ip
Cidr StringRange - The address range, in CIDR format, represented by this public advertised prefix.
- ipv6Access
Type String - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name String
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp
Scope String - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self
Link String - The URI of the created resource.
- String
- Output Only. The shared secret to be used for reverse DNS verification.
- description string
- An optional description of this resource.
- dns
Verification stringIp - The IPv4 address to be used for reverse DNS verification.
- ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- ipv6Access
Type string - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name string
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp
Scope string - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self
Link string - The URI of the created resource.
- string
- Output Only. The shared secret to be used for reverse DNS verification.
- description str
- An optional description of this resource.
- dns_
verification_ strip - The IPv4 address to be used for reverse DNS verification.
- ip_
cidr_ strrange - The address range, in CIDR format, represented by this public advertised prefix.
- ipv6_
access_ strtype - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name str
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp_
scope str - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self_
link str - The URI of the created resource.
- str
- Output Only. The shared secret to be used for reverse DNS verification.
- description String
- An optional description of this resource.
- dns
Verification StringIp - The IPv4 address to be used for reverse DNS verification.
- ip
Cidr StringRange - The address range, in CIDR format, represented by this public advertised prefix.
- ipv6Access
Type String - The internet access type for IPv6 Public Advertised Prefixes. It can be
set to one of following:
- EXTERNAL: Default access type. The prefix will be announced to the internet. All children PDPs will have access type as EXTERNAL.
- INTERNAL: The prefix won’t be announced to the internet. Prefix will
be used privately within Google Cloud. All children PDPs will have
access type as INTERNAL.
Possible values are:
EXTERNAL,INTERNAL.
- name String
- Name of the resource. 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?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - pdp
Scope String - Specifies how child public delegated prefix will be scoped. pdpScope
must be one of: GLOBAL, REGIONAL
- REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes.
- GLOBAL: The public delegated prefix is global only. The provisioning
will take ~4 weeks.
Possible values are:
GLOBAL,REGIONAL.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self
Link String - The URI of the created resource.
- String
- Output Only. The shared secret to be used for reverse DNS verification.
Import
PublicAdvertisedPrefix can be imported using any of these accepted formats:
projects/{{project}}/global/publicAdvertisedPrefixes/{{name}}{{project}}/{{name}}{{name}}
When using the pulumi import command, PublicAdvertisedPrefix can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/publicAdvertisedPrefix:PublicAdvertisedPrefix default projects/{{project}}/global/publicAdvertisedPrefixes/{{name}}
$ pulumi import gcp:compute/publicAdvertisedPrefix:PublicAdvertisedPrefix default {{project}}/{{name}}
$ pulumi import gcp:compute/publicAdvertisedPrefix:PublicAdvertisedPrefix default {{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
