Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

ChannelPartnerLink

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.

Create a ChannelPartnerLink Resource

new ChannelPartnerLink(name: string, args: ChannelPartnerLinkArgs, opts?: CustomResourceOptions);
@overload
def ChannelPartnerLink(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_id: Optional[str] = None,
                       link_state: Optional[ChannelPartnerLinkLinkState] = None,
                       reseller_cloud_identity_id: Optional[str] = None)
@overload
def ChannelPartnerLink(resource_name: str,
                       args: ChannelPartnerLinkArgs,
                       opts: Optional[ResourceOptions] = None)
func NewChannelPartnerLink(ctx *Context, name string, args ChannelPartnerLinkArgs, opts ...ResourceOption) (*ChannelPartnerLink, error)
public ChannelPartnerLink(string name, ChannelPartnerLinkArgs args, CustomResourceOptions? opts = null)
public ChannelPartnerLink(String name, ChannelPartnerLinkArgs args)
public ChannelPartnerLink(String name, ChannelPartnerLinkArgs args, CustomResourceOptions options)
type: google-native:cloudchannel/v1:ChannelPartnerLink
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ChannelPartnerLinkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ChannelPartnerLinkArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ChannelPartnerLinkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ChannelPartnerLinkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ChannelPartnerLinkArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ChannelPartnerLink Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ChannelPartnerLink resource accepts the following input properties:

AccountId string
LinkState Pulumi.GoogleNative.CloudChannel.V1.ChannelPartnerLinkLinkState

State of the channel partner link.

ResellerCloudIdentityId string

Cloud Identity ID of the linked reseller.

AccountId string
LinkState ChannelPartnerLinkLinkState

State of the channel partner link.

ResellerCloudIdentityId string

Cloud Identity ID of the linked reseller.

accountId String
linkState ChannelPartnerLinkLinkState

State of the channel partner link.

resellerCloudIdentityId String

Cloud Identity ID of the linked reseller.

accountId string
linkState ChannelPartnerLinkLinkState

State of the channel partner link.

resellerCloudIdentityId string

Cloud Identity ID of the linked reseller.

account_id str
link_state ChannelPartnerLinkLinkState

State of the channel partner link.

reseller_cloud_identity_id str

Cloud Identity ID of the linked reseller.

accountId String
linkState "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED" | "INVITED" | "ACTIVE" | "REVOKED" | "SUSPENDED"

State of the channel partner link.

resellerCloudIdentityId String

Cloud Identity ID of the linked reseller.

Outputs

All input properties are implicitly available as output properties. Additionally, the ChannelPartnerLink resource produces the following output properties:

ChannelPartnerCloudIdentityInfo Pulumi.GoogleNative.CloudChannel.V1.Outputs.GoogleCloudChannelV1CloudIdentityInfoResponse

Cloud Identity info of the channel partner (IR).

CreateTime string

Timestamp of when the channel partner link is created.

Id string

The provider-assigned unique ID for this managed resource.

InviteLinkUri string

URI of the web page where partner accepts the link invitation.

Name string

Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

PublicId string

Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

UpdateTime string

Timestamp of when the channel partner link is updated.

ChannelPartnerCloudIdentityInfo GoogleCloudChannelV1CloudIdentityInfoResponse

Cloud Identity info of the channel partner (IR).

CreateTime string

Timestamp of when the channel partner link is created.

Id string

The provider-assigned unique ID for this managed resource.

InviteLinkUri string

URI of the web page where partner accepts the link invitation.

Name string

Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

PublicId string

Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

UpdateTime string

Timestamp of when the channel partner link is updated.

channelPartnerCloudIdentityInfo GoogleCloudChannelV1CloudIdentityInfoResponse

Cloud Identity info of the channel partner (IR).

createTime String

Timestamp of when the channel partner link is created.

id String

The provider-assigned unique ID for this managed resource.

inviteLinkUri String

URI of the web page where partner accepts the link invitation.

name String

Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

publicId String

Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

updateTime String

Timestamp of when the channel partner link is updated.

channelPartnerCloudIdentityInfo GoogleCloudChannelV1CloudIdentityInfoResponse

Cloud Identity info of the channel partner (IR).

createTime string

Timestamp of when the channel partner link is created.

id string

The provider-assigned unique ID for this managed resource.

inviteLinkUri string

URI of the web page where partner accepts the link invitation.

name string

Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

publicId string

Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

updateTime string

Timestamp of when the channel partner link is updated.

channel_partner_cloud_identity_info GoogleCloudChannelV1CloudIdentityInfoResponse

Cloud Identity info of the channel partner (IR).

create_time str

Timestamp of when the channel partner link is created.

id str

The provider-assigned unique ID for this managed resource.

invite_link_uri str

URI of the web page where partner accepts the link invitation.

name str

Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

public_id str

Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

update_time str

Timestamp of when the channel partner link is updated.

channelPartnerCloudIdentityInfo Property Map

Cloud Identity info of the channel partner (IR).

createTime String

Timestamp of when the channel partner link is created.

id String

The provider-assigned unique ID for this managed resource.

inviteLinkUri String

URI of the web page where partner accepts the link invitation.

name String

Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

publicId String

Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

updateTime String

Timestamp of when the channel partner link is updated.

Supporting Types

ChannelPartnerLinkLinkState

ChannelPartnerLinkStateUnspecified
CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED

Not used.

Invited
INVITED

An invitation has been sent to the reseller to create a channel partner link.

Active
ACTIVE

Status when the reseller is active.

Revoked
REVOKED

Status when the reseller has been revoked by the distributor.

Suspended
SUSPENDED

Status when the reseller is suspended by Google or distributor.

ChannelPartnerLinkLinkStateChannelPartnerLinkStateUnspecified
CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED

Not used.

ChannelPartnerLinkLinkStateInvited
INVITED

An invitation has been sent to the reseller to create a channel partner link.

ChannelPartnerLinkLinkStateActive
ACTIVE

Status when the reseller is active.

ChannelPartnerLinkLinkStateRevoked
REVOKED

Status when the reseller has been revoked by the distributor.

ChannelPartnerLinkLinkStateSuspended
SUSPENDED

Status when the reseller is suspended by Google or distributor.

ChannelPartnerLinkStateUnspecified
CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED

Not used.

Invited
INVITED

An invitation has been sent to the reseller to create a channel partner link.

Active
ACTIVE

Status when the reseller is active.

Revoked
REVOKED

Status when the reseller has been revoked by the distributor.

Suspended
SUSPENDED

Status when the reseller is suspended by Google or distributor.

ChannelPartnerLinkStateUnspecified
CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED

Not used.

Invited
INVITED

An invitation has been sent to the reseller to create a channel partner link.

Active
ACTIVE

Status when the reseller is active.

Revoked
REVOKED

Status when the reseller has been revoked by the distributor.

Suspended
SUSPENDED

Status when the reseller is suspended by Google or distributor.

CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED
CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED

Not used.

INVITED
INVITED

An invitation has been sent to the reseller to create a channel partner link.

ACTIVE
ACTIVE

Status when the reseller is active.

REVOKED
REVOKED

Status when the reseller has been revoked by the distributor.

SUSPENDED
SUSPENDED

Status when the reseller is suspended by Google or distributor.

"CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED"
CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED

Not used.

"INVITED"
INVITED

An invitation has been sent to the reseller to create a channel partner link.

"ACTIVE"
ACTIVE

Status when the reseller is active.

"REVOKED"
REVOKED

Status when the reseller has been revoked by the distributor.

"SUSPENDED"
SUSPENDED

Status when the reseller is suspended by Google or distributor.

GoogleCloudChannelV1CloudIdentityInfoResponse

AdminConsoleUri string

URI of Customer's Admin console dashboard.

AlternateEmail string

The alternate email.

CustomerType string

CustomerType indicates verification type needed for using services.

EduData Pulumi.GoogleNative.CloudChannel.V1.Inputs.GoogleCloudChannelV1EduDataResponse

Edu information about the customer.

IsDomainVerified bool

Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

LanguageCode string

Language code.

PhoneNumber string

Phone number associated with the Cloud Identity.

PrimaryDomain string

The primary domain name.

AdminConsoleUri string

URI of Customer's Admin console dashboard.

AlternateEmail string

The alternate email.

CustomerType string

CustomerType indicates verification type needed for using services.

EduData GoogleCloudChannelV1EduDataResponse

Edu information about the customer.

IsDomainVerified bool

Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

LanguageCode string

Language code.

PhoneNumber string

Phone number associated with the Cloud Identity.

PrimaryDomain string

The primary domain name.

adminConsoleUri String

URI of Customer's Admin console dashboard.

alternateEmail String

The alternate email.

customerType String

CustomerType indicates verification type needed for using services.

eduData GoogleCloudChannelV1EduDataResponse

Edu information about the customer.

isDomainVerified Boolean

Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

languageCode String

Language code.

phoneNumber String

Phone number associated with the Cloud Identity.

primaryDomain String

The primary domain name.

adminConsoleUri string

URI of Customer's Admin console dashboard.

alternateEmail string

The alternate email.

customerType string

CustomerType indicates verification type needed for using services.

eduData GoogleCloudChannelV1EduDataResponse

Edu information about the customer.

isDomainVerified boolean

Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

languageCode string

Language code.

phoneNumber string

Phone number associated with the Cloud Identity.

primaryDomain string

The primary domain name.

admin_console_uri str

URI of Customer's Admin console dashboard.

alternate_email str

The alternate email.

customer_type str

CustomerType indicates verification type needed for using services.

edu_data GoogleCloudChannelV1EduDataResponse

Edu information about the customer.

is_domain_verified bool

Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

language_code str

Language code.

phone_number str

Phone number associated with the Cloud Identity.

primary_domain str

The primary domain name.

adminConsoleUri String

URI of Customer's Admin console dashboard.

alternateEmail String

The alternate email.

customerType String

CustomerType indicates verification type needed for using services.

eduData Property Map

Edu information about the customer.

isDomainVerified Boolean

Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

languageCode String

Language code.

phoneNumber String

Phone number associated with the Cloud Identity.

primaryDomain String

The primary domain name.

GoogleCloudChannelV1EduDataResponse

InstituteSize string

Size of the institute.

InstituteType string

Designated institute type of customer.

Website string

Web address for the edu customer's institution.

InstituteSize string

Size of the institute.

InstituteType string

Designated institute type of customer.

Website string

Web address for the edu customer's institution.

instituteSize String

Size of the institute.

instituteType String

Designated institute type of customer.

website String

Web address for the edu customer's institution.

instituteSize string

Size of the institute.

instituteType string

Designated institute type of customer.

website string

Web address for the edu customer's institution.

institute_size str

Size of the institute.

institute_type str

Designated institute type of customer.

website str

Web address for the edu customer's institution.

instituteSize String

Size of the institute.

instituteType String

Designated institute type of customer.

website String

Web address for the edu customer's institution.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0