import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Initiates a channel partner link between a distributor and a reseller, or between resellers in an n-tier reseller channel. Invited partners need to follow the invite_link_uri provided in the response to accept. After accepting the invitation, a link is set up between the two parties. You must be a distributor to call this method. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. * NOT_FOUND: No Cloud Identity customer exists for provided domain. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The new ChannelPartnerLink resource. * Auto-naming is currently not supported for this resource. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class ChannelPartnerLink extends pulumi.CustomResource { /** * Get an existing ChannelPartnerLink 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): ChannelPartnerLink; /** * Returns true if the given object is an instance of ChannelPartnerLink. 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 ChannelPartnerLink; readonly accountId: pulumi.Output; /** * Cloud Identity info of the channel partner (IR). */ readonly channelPartnerCloudIdentityInfo: pulumi.Output; /** * Timestamp of when the channel partner link is created. */ readonly createTime: pulumi.Output; /** * URI of the web page where partner accepts the link invitation. */ readonly inviteLinkUri: pulumi.Output; /** * State of the channel partner link. */ readonly linkState: pulumi.Output; /** * Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}. */ readonly name: pulumi.Output; /** * Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination. */ readonly publicId: pulumi.Output; /** * Cloud Identity ID of the linked reseller. */ readonly resellerCloudIdentityId: pulumi.Output; /** * Timestamp of when the channel partner link is updated. */ readonly updateTime: pulumi.Output; /** * Create a ChannelPartnerLink 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: ChannelPartnerLinkArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ChannelPartnerLink resource. */ export interface ChannelPartnerLinkArgs { accountId: pulumi.Input; /** * State of the channel partner link. */ linkState: pulumi.Input; /** * Cloud Identity ID of the linked reseller. */ resellerCloudIdentityId: pulumi.Input; }