UNPKG

@cuemby/equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

95 lines (94 loc) 2.96 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get CIDR expression for precreated IPv6 and IPv4 blocks in Equinix Metal. * You can then use the cidrsubnet TF builtin function to derive subnets. */ export declare function getMetalPrecreatedIPBlock(args: GetMetalPrecreatedIPBlockArgs, opts?: pulumi.InvokeOptions): Promise<GetMetalPrecreatedIPBlockResult>; /** * A collection of arguments for invoking GetMetalPrecreatedIPBlock. */ export interface GetMetalPrecreatedIPBlockArgs { /** * 4 or 6, depending on which block you are looking for. */ addressFamily: number; /** * Facility of the searched block. (for non-global blocks). */ facility?: string; /** * Whether to look for global block. Default is false for backward compatibility. */ global?: boolean; /** * Metro of the searched block (for non-global blocks). */ metro?: string; /** * ID of the project where the searched block should be. */ projectId: string; /** * Whether to look for public or private block. */ public: boolean; } /** * A collection of values returned by GetMetalPrecreatedIPBlock. */ export interface GetMetalPrecreatedIPBlockResult { readonly address: string; readonly addressFamily: number; readonly cidr: number; /** * CIDR notation of the looked up block. */ readonly cidrNotation: string; readonly facility?: string; readonly gateway: string; readonly global?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly manageable: boolean; readonly management: boolean; readonly metro?: string; readonly netmask: string; readonly network: string; readonly projectId: string; readonly public: boolean; readonly quantity: number; readonly type: string; readonly vrfId: string; } export declare function getMetalPrecreatedIPBlockOutput(args: GetMetalPrecreatedIPBlockOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMetalPrecreatedIPBlockResult>; /** * A collection of arguments for invoking GetMetalPrecreatedIPBlock. */ export interface GetMetalPrecreatedIPBlockOutputArgs { /** * 4 or 6, depending on which block you are looking for. */ addressFamily: pulumi.Input<number>; /** * Facility of the searched block. (for non-global blocks). */ facility?: pulumi.Input<string>; /** * Whether to look for global block. Default is false for backward compatibility. */ global?: pulumi.Input<boolean>; /** * Metro of the searched block (for non-global blocks). */ metro?: pulumi.Input<string>; /** * ID of the project where the searched block should be. */ projectId: pulumi.Input<string>; /** * Whether to look for public or private block. */ public: pulumi.Input<boolean>; }