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.getPublicAdvertisedPrefix
Explore with Pulumi AI
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
Returns the specified PublicAdvertisedPrefix resource.
Using getPublicAdvertisedPrefix
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPublicAdvertisedPrefix(args: GetPublicAdvertisedPrefixArgs, opts?: InvokeOptions): Promise<GetPublicAdvertisedPrefixResult>
function getPublicAdvertisedPrefixOutput(args: GetPublicAdvertisedPrefixOutputArgs, opts?: InvokeOptions): Output<GetPublicAdvertisedPrefixResult>
def get_public_advertised_prefix(project: Optional[str] = None,
public_advertised_prefix: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicAdvertisedPrefixResult
def get_public_advertised_prefix_output(project: Optional[pulumi.Input[str]] = None,
public_advertised_prefix: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPublicAdvertisedPrefixResult]
func LookupPublicAdvertisedPrefix(ctx *Context, args *LookupPublicAdvertisedPrefixArgs, opts ...InvokeOption) (*LookupPublicAdvertisedPrefixResult, error)
func LookupPublicAdvertisedPrefixOutput(ctx *Context, args *LookupPublicAdvertisedPrefixOutputArgs, opts ...InvokeOption) LookupPublicAdvertisedPrefixResultOutput
> Note: This function is named LookupPublicAdvertisedPrefix
in the Go SDK.
public static class GetPublicAdvertisedPrefix
{
public static Task<GetPublicAdvertisedPrefixResult> InvokeAsync(GetPublicAdvertisedPrefixArgs args, InvokeOptions? opts = null)
public static Output<GetPublicAdvertisedPrefixResult> Invoke(GetPublicAdvertisedPrefixInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPublicAdvertisedPrefixResult> getPublicAdvertisedPrefix(GetPublicAdvertisedPrefixArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/v1:getPublicAdvertisedPrefix
arguments:
# arguments dictionary
The following arguments are supported:
- Public
Advertised stringPrefix - Project string
- Public
Advertised stringPrefix - Project string
- public
Advertised StringPrefix - project String
- public
Advertised stringPrefix - project string
- public_
advertised_ strprefix - project str
- public
Advertised StringPrefix - project String
getPublicAdvertisedPrefix Result
The following output properties are available:
- Byoip
Api stringVersion - The version of BYOIP API.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Dns
Verification stringIp - The address to be used for reverse DNS verification.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
- Ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- Kind string
- Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.
- 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])?
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. It could be one of following values: -
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. -GLOBAL_AND_REGIONAL
[output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. - Public
Delegated List<Pulumi.Prefixs Google Native. Compute. V1. Outputs. Public Advertised Prefix Public Delegated Prefix Response> - The list of public delegated prefixes that exist for this public advertised prefix.
- Self
Link string - Server-defined URL for the resource.
- string
- The shared secret to be used for reverse DNS verification.
- Status string
- The status of the public advertised prefix. Possible values include: -
INITIAL
: RPKI validation is complete. -PTR_CONFIGURED
: User has configured the PTR. -VALIDATED
: Reverse DNS lookup is successful. -REVERSE_DNS_LOOKUP_FAILED
: Reverse DNS lookup failed. -PREFIX_CONFIGURATION_IN_PROGRESS
: The prefix is being configured. -PREFIX_CONFIGURATION_COMPLETE
: The prefix is fully configured. -PREFIX_REMOVAL_IN_PROGRESS
: The prefix is being removed.
- Byoip
Api stringVersion - The version of BYOIP API.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Dns
Verification stringIp - The address to be used for reverse DNS verification.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
- Ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- Kind string
- Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.
- 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])?
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. It could be one of following values: -
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. -GLOBAL_AND_REGIONAL
[output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. - Public
Delegated []PublicPrefixs Advertised Prefix Public Delegated Prefix Response - The list of public delegated prefixes that exist for this public advertised prefix.
- Self
Link string - Server-defined URL for the resource.
- string
- The shared secret to be used for reverse DNS verification.
- Status string
- The status of the public advertised prefix. Possible values include: -
INITIAL
: RPKI validation is complete. -PTR_CONFIGURED
: User has configured the PTR. -VALIDATED
: Reverse DNS lookup is successful. -REVERSE_DNS_LOOKUP_FAILED
: Reverse DNS lookup failed. -PREFIX_CONFIGURATION_IN_PROGRESS
: The prefix is being configured. -PREFIX_CONFIGURATION_COMPLETE
: The prefix is fully configured. -PREFIX_REMOVAL_IN_PROGRESS
: The prefix is being removed.
- byoip
Api StringVersion - The version of BYOIP API.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- dns
Verification StringIp - The address to be used for reverse DNS verification.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
- ip
Cidr StringRange - The address range, in CIDR format, represented by this public advertised prefix.
- kind String
- Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.
- 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])?
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. It could be one of following values: -
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. -GLOBAL_AND_REGIONAL
[output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. - public
Delegated List<PublicPrefixs Advertised Prefix Public Delegated Prefix Response> - The list of public delegated prefixes that exist for this public advertised prefix.
- self
Link String - Server-defined URL for the resource.
- String
- The shared secret to be used for reverse DNS verification.
- status String
- The status of the public advertised prefix. Possible values include: -
INITIAL
: RPKI validation is complete. -PTR_CONFIGURED
: User has configured the PTR. -VALIDATED
: Reverse DNS lookup is successful. -REVERSE_DNS_LOOKUP_FAILED
: Reverse DNS lookup failed. -PREFIX_CONFIGURATION_IN_PROGRESS
: The prefix is being configured. -PREFIX_CONFIGURATION_COMPLETE
: The prefix is fully configured. -PREFIX_REMOVAL_IN_PROGRESS
: The prefix is being removed.
- byoip
Api stringVersion - The version of BYOIP API.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- dns
Verification stringIp - The address to be used for reverse DNS verification.
- fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
- ip
Cidr stringRange - The address range, in CIDR format, represented by this public advertised prefix.
- kind string
- Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.
- 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])?
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. It could be one of following values: -
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. -GLOBAL_AND_REGIONAL
[output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. - public
Delegated PublicPrefixs Advertised Prefix Public Delegated Prefix Response[] - The list of public delegated prefixes that exist for this public advertised prefix.
- self
Link string - Server-defined URL for the resource.
- string
- The shared secret to be used for reverse DNS verification.
- status string
- The status of the public advertised prefix. Possible values include: -
INITIAL
: RPKI validation is complete. -PTR_CONFIGURED
: User has configured the PTR. -VALIDATED
: Reverse DNS lookup is successful. -REVERSE_DNS_LOOKUP_FAILED
: Reverse DNS lookup failed. -PREFIX_CONFIGURATION_IN_PROGRESS
: The prefix is being configured. -PREFIX_CONFIGURATION_COMPLETE
: The prefix is fully configured. -PREFIX_REMOVAL_IN_PROGRESS
: The prefix is being removed.
- byoip_
api_ strversion - The version of BYOIP API.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- dns_
verification_ strip - The address to be used for reverse DNS verification.
- fingerprint str
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
- ip_
cidr_ strrange - The address range, in CIDR format, represented by this public advertised prefix.
- kind str
- Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.
- 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])?
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. It could be one of following values: -
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. -GLOBAL_AND_REGIONAL
[output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. - public_
delegated_ Sequence[Publicprefixs Advertised Prefix Public Delegated Prefix Response] - The list of public delegated prefixes that exist for this public advertised prefix.
- self_
link str - Server-defined URL for the resource.
- str
- The shared secret to be used for reverse DNS verification.
- status str
- The status of the public advertised prefix. Possible values include: -
INITIAL
: RPKI validation is complete. -PTR_CONFIGURED
: User has configured the PTR. -VALIDATED
: Reverse DNS lookup is successful. -REVERSE_DNS_LOOKUP_FAILED
: Reverse DNS lookup failed. -PREFIX_CONFIGURATION_IN_PROGRESS
: The prefix is being configured. -PREFIX_CONFIGURATION_COMPLETE
: The prefix is fully configured. -PREFIX_REMOVAL_IN_PROGRESS
: The prefix is being removed.
- byoip
Api StringVersion - The version of BYOIP API.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- dns
Verification StringIp - The address to be used for reverse DNS verification.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
- ip
Cidr StringRange - The address range, in CIDR format, represented by this public advertised prefix.
- kind String
- Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.
- 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])?
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. It could be one of following values: -
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. -GLOBAL_AND_REGIONAL
[output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. - public
Delegated List<Property Map>Prefixs - The list of public delegated prefixes that exist for this public advertised prefix.
- self
Link String - Server-defined URL for the resource.
- String
- The shared secret to be used for reverse DNS verification.
- status String
- The status of the public advertised prefix. Possible values include: -
INITIAL
: RPKI validation is complete. -PTR_CONFIGURED
: User has configured the PTR. -VALIDATED
: Reverse DNS lookup is successful. -REVERSE_DNS_LOOKUP_FAILED
: Reverse DNS lookup failed. -PREFIX_CONFIGURATION_IN_PROGRESS
: The prefix is being configured. -PREFIX_CONFIGURATION_COMPLETE
: The prefix is fully configured. -PREFIX_REMOVAL_IN_PROGRESS
: The prefix is being removed.
Supporting Types
PublicAdvertisedPrefixPublicDelegatedPrefixResponse
- Ip
Range string - The IP address range of the public delegated prefix
- Name string
- The name of the public delegated prefix
- Project string
- The project number of the public delegated prefix
- Region string
- The region of the public delegated prefix if it is regional. If absent, the prefix is global.
- Status string
- The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
- Ip
Range string - The IP address range of the public delegated prefix
- Name string
- The name of the public delegated prefix
- Project string
- The project number of the public delegated prefix
- Region string
- The region of the public delegated prefix if it is regional. If absent, the prefix is global.
- Status string
- The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
- ip
Range String - The IP address range of the public delegated prefix
- name String
- The name of the public delegated prefix
- project String
- The project number of the public delegated prefix
- region String
- The region of the public delegated prefix if it is regional. If absent, the prefix is global.
- status String
- The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
- ip
Range string - The IP address range of the public delegated prefix
- name string
- The name of the public delegated prefix
- project string
- The project number of the public delegated prefix
- region string
- The region of the public delegated prefix if it is regional. If absent, the prefix is global.
- status string
- The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
- ip_
range str - The IP address range of the public delegated prefix
- name str
- The name of the public delegated prefix
- project str
- The project number of the public delegated prefix
- region str
- The region of the public delegated prefix if it is regional. If absent, the prefix is global.
- status str
- The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
- ip
Range String - The IP address range of the public delegated prefix
- name String
- The name of the public delegated prefix
- project String
- The project number of the public delegated prefix
- region String
- The region of the public delegated prefix if it is regional. If absent, the prefix is global.
- status String
- The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi