import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: * The reseller account making the request is different from the reseller account in the API request. * You are not authorized to create a customer. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer resource. * Auto-naming is currently not supported for this resource. */ export declare class Customer extends pulumi.CustomResource { /** * Get an existing Customer 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): Customer; /** * Returns true if the given object is an instance of Customer. 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 Customer; readonly accountId: pulumi.Output; /** * Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers. */ readonly alternateEmail: pulumi.Output; /** * Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer. */ readonly channelPartnerId: pulumi.Output; readonly channelPartnerLinkId: pulumi.Output; /** * The customer's Cloud Identity ID if the customer has a Cloud Identity resource. */ readonly cloudIdentityId: pulumi.Output; /** * Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer. */ readonly cloudIdentityInfo: pulumi.Output; /** * Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer. */ readonly correlationId: pulumi.Output; /** * Time when the customer was created. */ readonly createTime: pulumi.Output; /** * The customer's primary domain. Must match the primary contact email's domain. */ readonly domain: pulumi.Output; /** * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. */ readonly languageCode: pulumi.Output; /** * Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id} */ readonly name: pulumi.Output; /** * Name of the organization that the customer entity represents. */ readonly orgDisplayName: pulumi.Output; /** * The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code. */ readonly orgPostalAddress: pulumi.Output; /** * Primary contact info. */ readonly primaryContactInfo: pulumi.Output; /** * Time when the customer was updated. */ readonly updateTime: pulumi.Output; /** * Create a Customer 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: CustomerArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Customer resource. */ export interface CustomerArgs { accountId: pulumi.Input; /** * Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers. */ alternateEmail?: pulumi.Input; /** * Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer. */ channelPartnerId?: pulumi.Input; channelPartnerLinkId: pulumi.Input; /** * Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer. */ correlationId?: pulumi.Input; /** * The customer's primary domain. Must match the primary contact email's domain. */ domain: pulumi.Input; /** * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. */ languageCode?: pulumi.Input; /** * Name of the organization that the customer entity represents. */ orgDisplayName: pulumi.Input; /** * The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code. */ orgPostalAddress: pulumi.Input; /** * Primary contact info. */ primaryContactInfo?: pulumi.Input; }