@port-labs/port
Version:
A Pulumi package for creating and managing Port resources.
108 lines (107 loc) • 3.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Team resource
*/
export declare class Team extends pulumi.CustomResource {
/**
* Get an existing Team resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamState, opts?: pulumi.CustomResourceOptions): Team;
/**
* Returns true if the given object is an instance of Team. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Team;
/**
* The creation date of the team
*/
readonly createdAt: pulumi.Output<string>;
/**
* The description of the team
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The machine-readable identifier of the _team entity
*/
readonly identifier: pulumi.Output<string>;
/**
* The name of the team
*/
readonly name: pulumi.Output<string>;
/**
* The provider of the team
*/
readonly providerName: pulumi.Output<string>;
/**
* The last update date of the team
*/
readonly updatedAt: pulumi.Output<string>;
/**
* The users of the team
*/
readonly users: pulumi.Output<string[] | undefined>;
/**
* Create a Team resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: TeamArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Team resources.
*/
export interface TeamState {
/**
* The creation date of the team
*/
createdAt?: pulumi.Input<string>;
/**
* The description of the team
*/
description?: pulumi.Input<string>;
/**
* The machine-readable identifier of the _team entity
*/
identifier?: pulumi.Input<string>;
/**
* The name of the team
*/
name?: pulumi.Input<string>;
/**
* The provider of the team
*/
providerName?: pulumi.Input<string>;
/**
* The last update date of the team
*/
updatedAt?: pulumi.Input<string>;
/**
* The users of the team
*/
users?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a Team resource.
*/
export interface TeamArgs {
/**
* The description of the team
*/
description?: pulumi.Input<string>;
/**
* The name of the team
*/
name: pulumi.Input<string>;
/**
* The users of the team
*/
users?: pulumi.Input<pulumi.Input<string>[]>;
}