@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
90 lines (89 loc) • 2.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Provides information about Linode IPv6 ranges that match a set of filters.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-ipv6-ranges).
*
* > Some fields may not be accessible directly the results of this data source.
* For additional information about a specific IPv6 range consider using the linode.Ipv6Range
* data source.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const filtered_ranges = linode.getIpv6Ranges({
* filters: [{
* name: "region",
* values: ["us-mia"],
* }],
* });
* export const ranges = filtered_ranges;
* ```
*
* ## Filterable Fields
*
* * `range`
*
* * `routeTarget`
*
* * `prefix`
*
* * `region`
*/
export declare function getIpv6Ranges(args?: GetIpv6RangesArgs, opts?: pulumi.InvokeOptions): Promise<GetIpv6RangesResult>;
/**
* A collection of arguments for invoking getIpv6Ranges.
*/
export interface GetIpv6RangesArgs {
filters?: inputs.GetIpv6RangesFilter[];
ranges?: inputs.GetIpv6RangesRange[];
}
/**
* A collection of values returned by getIpv6Ranges.
*/
export interface GetIpv6RangesResult {
readonly filters?: outputs.GetIpv6RangesFilter[];
readonly id: string;
readonly ranges?: outputs.GetIpv6RangesRange[];
}
/**
* Provides information about Linode IPv6 ranges that match a set of filters.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-ipv6-ranges).
*
* > Some fields may not be accessible directly the results of this data source.
* For additional information about a specific IPv6 range consider using the linode.Ipv6Range
* data source.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const filtered_ranges = linode.getIpv6Ranges({
* filters: [{
* name: "region",
* values: ["us-mia"],
* }],
* });
* export const ranges = filtered_ranges;
* ```
*
* ## Filterable Fields
*
* * `range`
*
* * `routeTarget`
*
* * `prefix`
*
* * `region`
*/
export declare function getIpv6RangesOutput(args?: GetIpv6RangesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpv6RangesResult>;
/**
* A collection of arguments for invoking getIpv6Ranges.
*/
export interface GetIpv6RangesOutputArgs {
filters?: pulumi.Input<pulumi.Input<inputs.GetIpv6RangesFilterArgs>[]>;
ranges?: pulumi.Input<pulumi.Input<inputs.GetIpv6RangesRangeArgs>[]>;
}