import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns the specified global PublicDelegatedPrefix resource. */ export declare function getGlobalPublicDelegatedPrefix(args: GetGlobalPublicDelegatedPrefixArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetGlobalPublicDelegatedPrefixArgs { project?: string; publicDelegatedPrefix: string; } export interface GetGlobalPublicDelegatedPrefixResult { /** * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32. */ readonly allocatablePrefixLength: number; /** * The version of BYOIP API. */ readonly byoipApiVersion: string; /** * Creation timestamp in RFC3339 text format. */ readonly creationTimestamp: string; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description: 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. */ readonly fingerprint: string; /** * The IP address range, in CIDR format, represented by this public delegated prefix. */ readonly ipCidrRange: string; /** * If true, the prefix will be live migrated. */ readonly isLiveMigration: boolean; /** * Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes. */ readonly kind: string; /** * The public delegated prefix mode for IPv6 only. */ readonly mode: 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. */ readonly name: string; /** * The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix. */ readonly parentPrefix: string; /** * The list of sub public delegated prefixes that exist for this public delegated prefix. */ readonly publicDelegatedSubPrefixs: outputs.compute.alpha.PublicDelegatedPrefixPublicDelegatedSubPrefixResponse[]; /** * 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. */ readonly region: string; /** * Server-defined URL for the resource. */ readonly selfLink: string; /** * Server-defined URL with id for the resource. */ readonly selfLinkWithId: 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. */ readonly status: string; } /** * Returns the specified global PublicDelegatedPrefix resource. */ export declare function getGlobalPublicDelegatedPrefixOutput(args: GetGlobalPublicDelegatedPrefixOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetGlobalPublicDelegatedPrefixOutputArgs { project?: pulumi.Input; publicDelegatedPrefix: pulumi.Input; }