@pulumiverse/cpln
Version:
A Pulumi package for creating and managing Control Plane (cpln) resources.
85 lines (84 loc) • 2.99 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class ServiceAccountKey extends pulumi.CustomResource {
/**
* Get an existing ServiceAccountKey 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?: ServiceAccountKeyState, opts?: pulumi.CustomResourceOptions): ServiceAccountKey;
/**
* Returns true if the given object is an instance of ServiceAccountKey. 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 ServiceAccountKey;
/**
* The timestamp, in UTC, when the key was created.
*/
readonly created: pulumi.Output<string>;
/**
* Description of the Service Account Key. Max: 250.
*/
readonly description: pulumi.Output<string>;
/**
* The generated key.
*/
readonly key: pulumi.Output<string>;
/**
* The generated name of the key.
*/
readonly name: pulumi.Output<string>;
/**
* The name of an existing Service Account this key will belong to.
*/
readonly serviceAccountName: pulumi.Output<string>;
/**
* Create a ServiceAccountKey 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: ServiceAccountKeyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ServiceAccountKey resources.
*/
export interface ServiceAccountKeyState {
/**
* The timestamp, in UTC, when the key was created.
*/
created?: pulumi.Input<string>;
/**
* Description of the Service Account Key. Max: 250.
*/
description?: pulumi.Input<string>;
/**
* The generated key.
*/
key?: pulumi.Input<string>;
/**
* The generated name of the key.
*/
name?: pulumi.Input<string>;
/**
* The name of an existing Service Account this key will belong to.
*/
serviceAccountName?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ServiceAccountKey resource.
*/
export interface ServiceAccountKeyArgs {
/**
* Description of the Service Account Key. Max: 250.
*/
description: pulumi.Input<string>;
/**
* The name of an existing Service Account this key will belong to.
*/
serviceAccountName: pulumi.Input<string>;
}