@cuemby/equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
89 lines (88 loc) • 2.36 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "./types";
/**
* Provides an Equinix Metal organization datasource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@pulumi/equinix";
*
* const test = equinix.GetMetalOrganization({
* organizationId: local.org_id,
* });
* export const projectsInTheOrg = test.then(test => test.projectIds);
* ```
*/
export declare function getMetalOrganization(args?: GetMetalOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetMetalOrganizationResult>;
/**
* A collection of arguments for invoking GetMetalOrganization.
*/
export interface GetMetalOrganizationArgs {
/**
* Postal address.
*/
addresses?: inputs.GetMetalOrganizationAddress[];
/**
* The organization name.
*/
name?: string;
/**
* The UUID of the organization resource.
*/
organizationId?: string;
}
/**
* A collection of values returned by GetMetalOrganization.
*/
export interface GetMetalOrganizationResult {
/**
* Postal address.
*/
readonly addresses: outputs.GetMetalOrganizationAddress[];
/**
* Description string.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Logo URL.
*/
readonly logo: string;
readonly name: string;
readonly organizationId: string;
/**
* UUIDs of project resources which belong to this organization.
*/
readonly projectIds: string[];
/**
* Twitter handle.
*/
readonly twitter: string;
/**
* Website link.
*/
readonly website: string;
}
export declare function getMetalOrganizationOutput(args?: GetMetalOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMetalOrganizationResult>;
/**
* A collection of arguments for invoking GetMetalOrganization.
*/
export interface GetMetalOrganizationOutputArgs {
/**
* Postal address.
*/
addresses?: pulumi.Input<pulumi.Input<inputs.GetMetalOrganizationAddressArgs>[]>;
/**
* The organization name.
*/
name?: pulumi.Input<string>;
/**
* The UUID of the organization resource.
*/
organizationId?: pulumi.Input<string>;
}