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/beta.getPublicDelegatedPrefix
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 PublicDelegatedPrefix resource in the given region.
Using getPublicDelegatedPrefix
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 getPublicDelegatedPrefix(args: GetPublicDelegatedPrefixArgs, opts?: InvokeOptions): Promise<GetPublicDelegatedPrefixResult>
function getPublicDelegatedPrefixOutput(args: GetPublicDelegatedPrefixOutputArgs, opts?: InvokeOptions): Output<GetPublicDelegatedPrefixResult>
def get_public_delegated_prefix(project: Optional[str] = None,
public_delegated_prefix: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicDelegatedPrefixResult
def get_public_delegated_prefix_output(project: Optional[pulumi.Input[str]] = None,
public_delegated_prefix: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPublicDelegatedPrefixResult]
func LookupPublicDelegatedPrefix(ctx *Context, args *LookupPublicDelegatedPrefixArgs, opts ...InvokeOption) (*LookupPublicDelegatedPrefixResult, error)
func LookupPublicDelegatedPrefixOutput(ctx *Context, args *LookupPublicDelegatedPrefixOutputArgs, opts ...InvokeOption) LookupPublicDelegatedPrefixResultOutput
> Note: This function is named LookupPublicDelegatedPrefix
in the Go SDK.
public static class GetPublicDelegatedPrefix
{
public static Task<GetPublicDelegatedPrefixResult> InvokeAsync(GetPublicDelegatedPrefixArgs args, InvokeOptions? opts = null)
public static Output<GetPublicDelegatedPrefixResult> Invoke(GetPublicDelegatedPrefixInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPublicDelegatedPrefixResult> getPublicDelegatedPrefix(GetPublicDelegatedPrefixArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/beta:getPublicDelegatedPrefix
arguments:
# arguments dictionary
The following arguments are supported:
- Public
Delegated stringPrefix - Region string
- Project string
- Public
Delegated stringPrefix - Region string
- Project string
- public
Delegated StringPrefix - region String
- project String
- public
Delegated stringPrefix - region string
- project string
- public_
delegated_ strprefix - region str
- project str
- public
Delegated StringPrefix - region String
- project String
getPublicDelegatedPrefix 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.
- 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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
- Ip
Cidr stringRange - The IP address range, in CIDR format, represented by this public delegated prefix.
- Is
Live boolMigration - If true, the prefix will be live migrated.
- Kind string
- Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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. - Parent
Prefix string - The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
- Public
Delegated List<Pulumi.Sub Prefixs Google Native. Compute. Beta. Outputs. Public Delegated Prefix Public Delegated Sub Prefix Response> - The list of sub public delegated prefixes that exist for this public delegated prefix.
- Region string
- URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- Self
Link string - Server-defined URL for the resource.
- Status string
- The status of the public delegated prefix, which can be one of following values: -
INITIALIZING
The public delegated prefix is being initialized and addresses cannot be created yet. -READY_TO_ANNOUNCE
The public delegated prefix is a live migration prefix and is active. -ANNOUNCED
The public delegated prefix is active. -DELETING
The public delegated prefix is being deprovsioned.
- 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.
- 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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
- Ip
Cidr stringRange - The IP address range, in CIDR format, represented by this public delegated prefix.
- Is
Live boolMigration - If true, the prefix will be live migrated.
- Kind string
- Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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. - Parent
Prefix string - The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
- Public
Delegated []PublicSub Prefixs Delegated Prefix Public Delegated Sub Prefix Response - The list of sub public delegated prefixes that exist for this public delegated prefix.
- Region string
- URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- Self
Link string - Server-defined URL for the resource.
- Status string
- The status of the public delegated prefix, which can be one of following values: -
INITIALIZING
The public delegated prefix is being initialized and addresses cannot be created yet. -READY_TO_ANNOUNCE
The public delegated prefix is a live migration prefix and is active. -ANNOUNCED
The public delegated prefix is active. -DELETING
The public delegated prefix is being deprovsioned.
- 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.
- 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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
- ip
Cidr StringRange - The IP address range, in CIDR format, represented by this public delegated prefix.
- is
Live BooleanMigration - If true, the prefix will be live migrated.
- kind String
- Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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. - parent
Prefix String - The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
- public
Delegated List<PublicSub Prefixs Delegated Prefix Public Delegated Sub Prefix Response> - The list of sub public delegated prefixes that exist for this public delegated prefix.
- region String
- URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- self
Link String - Server-defined URL for the resource.
- status String
- The status of the public delegated prefix, which can be one of following values: -
INITIALIZING
The public delegated prefix is being initialized and addresses cannot be created yet. -READY_TO_ANNOUNCE
The public delegated prefix is a live migration prefix and is active. -ANNOUNCED
The public delegated prefix is active. -DELETING
The public delegated prefix is being deprovsioned.
- 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.
- 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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
- ip
Cidr stringRange - The IP address range, in CIDR format, represented by this public delegated prefix.
- is
Live booleanMigration - If true, the prefix will be live migrated.
- kind string
- Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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. - parent
Prefix string - The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
- public
Delegated PublicSub Prefixs Delegated Prefix Public Delegated Sub Prefix Response[] - The list of sub public delegated prefixes that exist for this public delegated prefix.
- region string
- URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- self
Link string - Server-defined URL for the resource.
- status string
- The status of the public delegated prefix, which can be one of following values: -
INITIALIZING
The public delegated prefix is being initialized and addresses cannot be created yet. -READY_TO_ANNOUNCE
The public delegated prefix is a live migration prefix and is active. -ANNOUNCED
The public delegated prefix is active. -DELETING
The public delegated prefix is being deprovsioned.
- 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.
- 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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
- ip_
cidr_ strrange - The IP address range, in CIDR format, represented by this public delegated prefix.
- is_
live_ boolmigration - If true, the prefix will be live migrated.
- kind str
- Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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. - parent_
prefix str - The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
- public_
delegated_ Sequence[Publicsub_ prefixs Delegated Prefix Public Delegated Sub Prefix Response] - The list of sub public delegated prefixes that exist for this public delegated prefix.
- region str
- URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- self_
link str - Server-defined URL for the resource.
- status str
- The status of the public delegated prefix, which can be one of following values: -
INITIALIZING
The public delegated prefix is being initialized and addresses cannot be created yet. -READY_TO_ANNOUNCE
The public delegated prefix is a live migration prefix and is active. -ANNOUNCED
The public delegated prefix is active. -DELETING
The public delegated prefix is being deprovsioned.
- 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.
- 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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
- ip
Cidr StringRange - The IP address range, in CIDR format, represented by this public delegated prefix.
- is
Live BooleanMigration - If true, the prefix will be live migrated.
- kind String
- Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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. - parent
Prefix String - The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
- public
Delegated List<Property Map>Sub Prefixs - The list of sub public delegated prefixes that exist for this public delegated prefix.
- region String
- URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- self
Link String - Server-defined URL for the resource.
- status String
- The status of the public delegated prefix, which can be one of following values: -
INITIALIZING
The public delegated prefix is being initialized and addresses cannot be created yet. -READY_TO_ANNOUNCE
The public delegated prefix is a live migration prefix and is active. -ANNOUNCED
The public delegated prefix is active. -DELETING
The public delegated prefix is being deprovsioned.
Supporting Types
PublicDelegatedPrefixPublicDelegatedSubPrefixResponse
- Delegatee
Project string - Name of the project scoping this PublicDelegatedSubPrefix.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Ip
Cidr stringRange - The IP address range, in CIDR format, represented by this sub public delegated prefix.
- Is
Address bool - Whether the sub prefix is delegated to create Address resources in the delegatee project.
- Name string
- The name of the sub public delegated prefix.
- Region string
- The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
- Status string
- The status of the sub public delegated prefix.
- Delegatee
Project string - Name of the project scoping this PublicDelegatedSubPrefix.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Ip
Cidr stringRange - The IP address range, in CIDR format, represented by this sub public delegated prefix.
- Is
Address bool - Whether the sub prefix is delegated to create Address resources in the delegatee project.
- Name string
- The name of the sub public delegated prefix.
- Region string
- The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
- Status string
- The status of the sub public delegated prefix.
- delegatee
Project String - Name of the project scoping this PublicDelegatedSubPrefix.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- ip
Cidr StringRange - The IP address range, in CIDR format, represented by this sub public delegated prefix.
- is
Address Boolean - Whether the sub prefix is delegated to create Address resources in the delegatee project.
- name String
- The name of the sub public delegated prefix.
- region String
- The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
- status String
- The status of the sub public delegated prefix.
- delegatee
Project string - Name of the project scoping this PublicDelegatedSubPrefix.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- ip
Cidr stringRange - The IP address range, in CIDR format, represented by this sub public delegated prefix.
- is
Address boolean - Whether the sub prefix is delegated to create Address resources in the delegatee project.
- name string
- The name of the sub public delegated prefix.
- region string
- The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
- status string
- The status of the sub public delegated prefix.
- delegatee_
project str - Name of the project scoping this PublicDelegatedSubPrefix.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- ip_
cidr_ strrange - The IP address range, in CIDR format, represented by this sub public delegated prefix.
- is_
address bool - Whether the sub prefix is delegated to create Address resources in the delegatee project.
- name str
- The name of the sub public delegated prefix.
- region str
- The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
- status str
- The status of the sub public delegated prefix.
- delegatee
Project String - Name of the project scoping this PublicDelegatedSubPrefix.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- ip
Cidr StringRange - The IP address range, in CIDR format, represented by this sub public delegated prefix.
- is
Address Boolean - Whether the sub prefix is delegated to create Address resources in the delegatee project.
- name String
- The name of the sub public delegated prefix.
- region String
- The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
- status String
- The status of the sub public delegated prefix.
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