1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/beta
  6. getGlobalPublicDelegatedPrefix

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.getGlobalPublicDelegatedPrefix

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 global PublicDelegatedPrefix resource.

Using getGlobalPublicDelegatedPrefix

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 getGlobalPublicDelegatedPrefix(args: GetGlobalPublicDelegatedPrefixArgs, opts?: InvokeOptions): Promise<GetGlobalPublicDelegatedPrefixResult>
function getGlobalPublicDelegatedPrefixOutput(args: GetGlobalPublicDelegatedPrefixOutputArgs, opts?: InvokeOptions): Output<GetGlobalPublicDelegatedPrefixResult>
Copy
def get_global_public_delegated_prefix(project: Optional[str] = None,
                                       public_delegated_prefix: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetGlobalPublicDelegatedPrefixResult
def get_global_public_delegated_prefix_output(project: Optional[pulumi.Input[str]] = None,
                                       public_delegated_prefix: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetGlobalPublicDelegatedPrefixResult]
Copy
func LookupGlobalPublicDelegatedPrefix(ctx *Context, args *LookupGlobalPublicDelegatedPrefixArgs, opts ...InvokeOption) (*LookupGlobalPublicDelegatedPrefixResult, error)
func LookupGlobalPublicDelegatedPrefixOutput(ctx *Context, args *LookupGlobalPublicDelegatedPrefixOutputArgs, opts ...InvokeOption) LookupGlobalPublicDelegatedPrefixResultOutput
Copy

> Note: This function is named LookupGlobalPublicDelegatedPrefix in the Go SDK.

public static class GetGlobalPublicDelegatedPrefix 
{
    public static Task<GetGlobalPublicDelegatedPrefixResult> InvokeAsync(GetGlobalPublicDelegatedPrefixArgs args, InvokeOptions? opts = null)
    public static Output<GetGlobalPublicDelegatedPrefixResult> Invoke(GetGlobalPublicDelegatedPrefixInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGlobalPublicDelegatedPrefixResult> getGlobalPublicDelegatedPrefix(GetGlobalPublicDelegatedPrefixArgs args, InvokeOptions options)
public static Output<GetGlobalPublicDelegatedPrefixResult> getGlobalPublicDelegatedPrefix(GetGlobalPublicDelegatedPrefixArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:compute/beta:getGlobalPublicDelegatedPrefix
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PublicDelegatedPrefix This property is required. string
Project string
PublicDelegatedPrefix This property is required. string
Project string
publicDelegatedPrefix This property is required. String
project String
publicDelegatedPrefix This property is required. string
project string
public_delegated_prefix This property is required. str
project str
publicDelegatedPrefix This property is required. String
project String

getGlobalPublicDelegatedPrefix Result

The following output properties are available:

ByoipApiVersion string
The version of BYOIP API.
CreationTimestamp 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.
IpCidrRange string
The IP address range, in CIDR format, represented by this public delegated prefix.
IsLiveMigration bool
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.
ParentPrefix string
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
PublicDelegatedSubPrefixs List<Pulumi.GoogleNative.Compute.Beta.Outputs.PublicDelegatedPrefixPublicDelegatedSubPrefixResponse>
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.
SelfLink 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.
ByoipApiVersion string
The version of BYOIP API.
CreationTimestamp 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.
IpCidrRange string
The IP address range, in CIDR format, represented by this public delegated prefix.
IsLiveMigration bool
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.
ParentPrefix string
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
PublicDelegatedSubPrefixs []PublicDelegatedPrefixPublicDelegatedSubPrefixResponse
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.
SelfLink 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.
byoipApiVersion String
The version of BYOIP API.
creationTimestamp 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.
ipCidrRange String
The IP address range, in CIDR format, represented by this public delegated prefix.
isLiveMigration Boolean
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.
parentPrefix String
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
publicDelegatedSubPrefixs List<PublicDelegatedPrefixPublicDelegatedSubPrefixResponse>
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.
selfLink 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.
byoipApiVersion string
The version of BYOIP API.
creationTimestamp 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.
ipCidrRange string
The IP address range, in CIDR format, represented by this public delegated prefix.
isLiveMigration boolean
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.
parentPrefix string
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
publicDelegatedSubPrefixs PublicDelegatedPrefixPublicDelegatedSubPrefixResponse[]
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.
selfLink 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_version str
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_range str
The IP address range, in CIDR format, represented by this public delegated prefix.
is_live_migration bool
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_sub_prefixs Sequence[PublicDelegatedPrefixPublicDelegatedSubPrefixResponse]
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.
byoipApiVersion String
The version of BYOIP API.
creationTimestamp 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.
ipCidrRange String
The IP address range, in CIDR format, represented by this public delegated prefix.
isLiveMigration Boolean
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.
parentPrefix String
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
publicDelegatedSubPrefixs List<Property Map>
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.
selfLink 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

DelegateeProject This property is required. string
Name of the project scoping this PublicDelegatedSubPrefix.
Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
IpCidrRange This property is required. string
The IP address range, in CIDR format, represented by this sub public delegated prefix.
IsAddress This property is required. bool
Whether the sub prefix is delegated to create Address resources in the delegatee project.
Name This property is required. string
The name of the sub public delegated prefix.
Region This property is required. string
The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
Status This property is required. string
The status of the sub public delegated prefix.
DelegateeProject This property is required. string
Name of the project scoping this PublicDelegatedSubPrefix.
Description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
IpCidrRange This property is required. string
The IP address range, in CIDR format, represented by this sub public delegated prefix.
IsAddress This property is required. bool
Whether the sub prefix is delegated to create Address resources in the delegatee project.
Name This property is required. string
The name of the sub public delegated prefix.
Region This property is required. string
The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
Status This property is required. string
The status of the sub public delegated prefix.
delegateeProject This property is required. String
Name of the project scoping this PublicDelegatedSubPrefix.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
ipCidrRange This property is required. String
The IP address range, in CIDR format, represented by this sub public delegated prefix.
isAddress This property is required. Boolean
Whether the sub prefix is delegated to create Address resources in the delegatee project.
name This property is required. String
The name of the sub public delegated prefix.
region This property is required. String
The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
status This property is required. String
The status of the sub public delegated prefix.
delegateeProject This property is required. string
Name of the project scoping this PublicDelegatedSubPrefix.
description This property is required. string
An optional description of this resource. Provide this property when you create the resource.
ipCidrRange This property is required. string
The IP address range, in CIDR format, represented by this sub public delegated prefix.
isAddress This property is required. boolean
Whether the sub prefix is delegated to create Address resources in the delegatee project.
name This property is required. string
The name of the sub public delegated prefix.
region This property is required. string
The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
status This property is required. string
The status of the sub public delegated prefix.
delegatee_project This property is required. str
Name of the project scoping this PublicDelegatedSubPrefix.
description This property is required. str
An optional description of this resource. Provide this property when you create the resource.
ip_cidr_range This property is required. str
The IP address range, in CIDR format, represented by this sub public delegated prefix.
is_address This property is required. bool
Whether the sub prefix is delegated to create Address resources in the delegatee project.
name This property is required. str
The name of the sub public delegated prefix.
region This property is required. str
The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
status This property is required. str
The status of the sub public delegated prefix.
delegateeProject This property is required. String
Name of the project scoping this PublicDelegatedSubPrefix.
description This property is required. String
An optional description of this resource. Provide this property when you create the resource.
ipCidrRange This property is required. String
The IP address range, in CIDR format, represented by this sub public delegated prefix.
isAddress This property is required. Boolean
Whether the sub prefix is delegated to create Address resources in the delegatee project.
name This property is required. String
The name of the sub public delegated prefix.
region This property is required. String
The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
status This property is required. 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