import * as pulumi from "@pulumi/pulumi"; /** * Creates a ServiceAccount. * Auto-naming is currently not supported for this resource. */ export declare class ServiceAccount extends pulumi.CustomResource { /** * Get an existing ServiceAccount 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ServiceAccount; /** * Returns true if the given object is an instance of ServiceAccount. 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 ServiceAccount; /** * Optional. A user-specified, human-readable description of the service account. The maximum length is 256 UTF-8 bytes. */ readonly description: pulumi.Output; /** * Whether the service account is disabled. */ readonly disabled: pulumi.Output; /** * Optional. A user-specified, human-readable name for the service account. The maximum length is 100 UTF-8 bytes. */ readonly displayName: pulumi.Output; /** * The email address of the service account. */ readonly email: pulumi.Output; /** * Deprecated. Do not use. * * @deprecated Deprecated. Do not use. */ readonly etag: pulumi.Output; /** * The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error. */ readonly name: pulumi.Output; /** * The OAuth 2.0 client ID for the service account. */ readonly oauth2ClientId: pulumi.Output; readonly project: pulumi.Output; /** * The unique, stable numeric ID for the service account. Each service account retains its unique ID even if you delete the service account. For example, if you delete a service account, then create a new service account with the same name, the new service account has a different unique ID than the deleted service account. */ readonly uniqueId: pulumi.Output; /** * Create a ServiceAccount 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: ServiceAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ServiceAccount resource. */ export interface ServiceAccountArgs { /** * The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035. */ accountId: pulumi.Input; /** * Optional. A user-specified, human-readable description of the service account. The maximum length is 256 UTF-8 bytes. */ description?: pulumi.Input; /** * Optional. A user-specified, human-readable name for the service account. The maximum length is 100 UTF-8 bytes. */ displayName?: pulumi.Input; /** * Deprecated. Do not use. * * @deprecated Deprecated. Do not use. */ etag?: pulumi.Input; /** * The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error. */ name?: pulumi.Input; project?: pulumi.Input; }