@pulumi/hcloud
Version:
A Pulumi package for creating and managing hcloud cloud resources.
65 lines (64 loc) • 1.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Provides details about multiple Hetzner Cloud Primary IPs.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const ip2 = hcloud.getPrimaryIps({
* withSelector: "key=value",
* });
* ```
*/
export declare function getPrimaryIps(args?: GetPrimaryIpsArgs, opts?: pulumi.InvokeOptions): Promise<GetPrimaryIpsResult>;
/**
* A collection of arguments for invoking getPrimaryIps.
*/
export interface GetPrimaryIpsArgs {
/**
* [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
*/
withSelector?: string;
}
/**
* A collection of values returned by getPrimaryIps.
*/
export interface GetPrimaryIpsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* (list) List of all matching primary ips. See `data.hcloud_primary_ip` for schema.
*/
readonly primaryIps: outputs.GetPrimaryIpsPrimaryIp[];
readonly withSelector?: string;
}
/**
* Provides details about multiple Hetzner Cloud Primary IPs.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const ip2 = hcloud.getPrimaryIps({
* withSelector: "key=value",
* });
* ```
*/
export declare function getPrimaryIpsOutput(args?: GetPrimaryIpsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrimaryIpsResult>;
/**
* A collection of arguments for invoking getPrimaryIps.
*/
export interface GetPrimaryIpsOutputArgs {
/**
* [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
*/
withSelector?: pulumi.Input<string>;
}