import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides a list of Hetzner Storage Box Subaccounts. * * See the [Storage Box Subaccounts API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-subaccounts) for more details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const config = new pulumi.Config(); * const storageBoxId = config.requireObject("storageBoxId"); * const all = hcloud.getStorageBoxSubaccounts({ * storageBoxId: storageBoxId, * }); * const byLabelSelector = hcloud.getStorageBoxSubaccounts({ * storageBoxId: storageBoxId, * withSelector: "team=billing", * }); * ``` */ export declare function getStorageBoxSubaccounts(args: GetStorageBoxSubaccountsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStorageBoxSubaccounts. */ export interface GetStorageBoxSubaccountsArgs { /** * ID of the Storage Box. */ storageBoxId: number; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: string; } /** * A collection of values returned by getStorageBoxSubaccounts. */ export interface GetStorageBoxSubaccountsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * ID of the Storage Box. */ readonly storageBoxId: number; readonly subaccounts: outputs.GetStorageBoxSubaccountsSubaccount[]; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ readonly withSelector?: string; } /** * Provides a list of Hetzner Storage Box Subaccounts. * * See the [Storage Box Subaccounts API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-subaccounts) for more details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const config = new pulumi.Config(); * const storageBoxId = config.requireObject("storageBoxId"); * const all = hcloud.getStorageBoxSubaccounts({ * storageBoxId: storageBoxId, * }); * const byLabelSelector = hcloud.getStorageBoxSubaccounts({ * storageBoxId: storageBoxId, * withSelector: "team=billing", * }); * ``` */ export declare function getStorageBoxSubaccountsOutput(args: GetStorageBoxSubaccountsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStorageBoxSubaccounts. */ export interface GetStorageBoxSubaccountsOutputArgs { /** * ID of the Storage Box. */ storageBoxId: pulumi.Input; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: pulumi.Input; }