Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.cloudchannel/v1.ChannelPartnerLink
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 ChannelPartnerLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ChannelPartnerLink(name: string, args: ChannelPartnerLinkArgs, opts?: CustomResourceOptions);
@overload
def ChannelPartnerLink(resource_name: str,
args: ChannelPartnerLinkArgs,
opts: Optional[ResourceOptions] = None)
@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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var channelPartnerLinkResource = new GoogleNative.CloudChannel.V1.ChannelPartnerLink("channelPartnerLinkResource", new()
{
AccountId = "string",
LinkState = GoogleNative.CloudChannel.V1.ChannelPartnerLinkLinkState.ChannelPartnerLinkStateUnspecified,
ResellerCloudIdentityId = "string",
});
example, err := cloudchannel.NewChannelPartnerLink(ctx, "channelPartnerLinkResource", &cloudchannel.ChannelPartnerLinkArgs{
AccountId: pulumi.String("string"),
LinkState: cloudchannel.ChannelPartnerLinkLinkStateChannelPartnerLinkStateUnspecified,
ResellerCloudIdentityId: pulumi.String("string"),
})
var channelPartnerLinkResource = new ChannelPartnerLink("channelPartnerLinkResource", ChannelPartnerLinkArgs.builder()
.accountId("string")
.linkState("CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED")
.resellerCloudIdentityId("string")
.build());
channel_partner_link_resource = google_native.cloudchannel.v1.ChannelPartnerLink("channelPartnerLinkResource",
account_id="string",
link_state=google_native.cloudchannel.v1.ChannelPartnerLinkLinkState.CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED,
reseller_cloud_identity_id="string")
const channelPartnerLinkResource = new google_native.cloudchannel.v1.ChannelPartnerLink("channelPartnerLinkResource", {
accountId: "string",
linkState: google_native.cloudchannel.v1.ChannelPartnerLinkLinkState.ChannelPartnerLinkStateUnspecified,
resellerCloudIdentityId: "string",
});
type: google-native:cloudchannel/v1:ChannelPartnerLink
properties:
accountId: string
linkState: CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED
resellerCloudIdentityId: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ChannelPartnerLink resource accepts the following input properties:
- Account
Id string - Link
State Pulumi.Google Native. Cloud Channel. V1. Channel Partner Link Link State - State of the channel partner link.
- Reseller
Cloud stringIdentity Id - Cloud Identity ID of the linked reseller.
- Account
Id string - Link
State ChannelPartner Link Link State - State of the channel partner link.
- Reseller
Cloud stringIdentity Id - Cloud Identity ID of the linked reseller.
- account
Id String - link
State ChannelPartner Link Link State - State of the channel partner link.
- reseller
Cloud StringIdentity Id - Cloud Identity ID of the linked reseller.
- account
Id string - link
State ChannelPartner Link Link State - State of the channel partner link.
- reseller
Cloud stringIdentity Id - Cloud Identity ID of the linked reseller.
- account_
id str - link_
state ChannelPartner Link Link State - State of the channel partner link.
- reseller_
cloud_ stridentity_ id - Cloud Identity ID of the linked reseller.
- account
Id String - link
State "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED" | "INVITED" | "ACTIVE" | "REVOKED" | "SUSPENDED" - State of the channel partner link.
- reseller
Cloud StringIdentity Id - 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:
- Channel
Partner Pulumi.Cloud Identity Info Google Native. Cloud Channel. V1. Outputs. Google Cloud Channel V1Cloud Identity Info Response - Cloud Identity info of the channel partner (IR).
- Create
Time string - Timestamp of when the channel partner link is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Invite
Link stringUri - 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}.
- Public
Id string - Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
- Update
Time string - Timestamp of when the channel partner link is updated.
- Channel
Partner GoogleCloud Identity Info Cloud Channel V1Cloud Identity Info Response - Cloud Identity info of the channel partner (IR).
- Create
Time string - Timestamp of when the channel partner link is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Invite
Link stringUri - 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}.
- Public
Id string - Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
- Update
Time string - Timestamp of when the channel partner link is updated.
- channel
Partner GoogleCloud Identity Info Cloud Channel V1Cloud Identity Info Response - Cloud Identity info of the channel partner (IR).
- create
Time String - Timestamp of when the channel partner link is created.
- id String
- The provider-assigned unique ID for this managed resource.
- invite
Link StringUri - 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}.
- public
Id String - Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
- update
Time String - Timestamp of when the channel partner link is updated.
- channel
Partner GoogleCloud Identity Info Cloud Channel V1Cloud Identity Info Response - Cloud Identity info of the channel partner (IR).
- create
Time string - Timestamp of when the channel partner link is created.
- id string
- The provider-assigned unique ID for this managed resource.
- invite
Link stringUri - 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}.
- public
Id string - Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
- update
Time string - Timestamp of when the channel partner link is updated.
- channel_
partner_ Googlecloud_ identity_ info Cloud Channel V1Cloud Identity Info Response - 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_ struri - 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.
- channel
Partner Property MapCloud Identity Info - Cloud Identity info of the channel partner (IR).
- create
Time String - Timestamp of when the channel partner link is created.
- id String
- The provider-assigned unique ID for this managed resource.
- invite
Link StringUri - 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}.
- public
Id String - Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.
- update
Time String - Timestamp of when the channel partner link is updated.
Supporting Types
ChannelPartnerLinkLinkState, ChannelPartnerLinkLinkStateArgs
- Channel
Partner Link State Unspecified - CHANNEL_PARTNER_LINK_STATE_UNSPECIFIEDNot used.
- Invited
- INVITEDAn invitation has been sent to the reseller to create a channel partner link.
- Active
- ACTIVEStatus when the reseller is active.
- Revoked
- REVOKEDStatus when the reseller has been revoked by the distributor.
- Suspended
- SUSPENDEDStatus when the reseller is suspended by Google or distributor.
- Channel
Partner Link Link State Channel Partner Link State Unspecified - CHANNEL_PARTNER_LINK_STATE_UNSPECIFIEDNot used.
- Channel
Partner Link Link State Invited - INVITEDAn invitation has been sent to the reseller to create a channel partner link.
- Channel
Partner Link Link State Active - ACTIVEStatus when the reseller is active.
- Channel
Partner Link Link State Revoked - REVOKEDStatus when the reseller has been revoked by the distributor.
- Channel
Partner Link Link State Suspended - SUSPENDEDStatus when the reseller is suspended by Google or distributor.
- Channel
Partner Link State Unspecified - CHANNEL_PARTNER_LINK_STATE_UNSPECIFIEDNot used.
- Invited
- INVITEDAn invitation has been sent to the reseller to create a channel partner link.
- Active
- ACTIVEStatus when the reseller is active.
- Revoked
- REVOKEDStatus when the reseller has been revoked by the distributor.
- Suspended
- SUSPENDEDStatus when the reseller is suspended by Google or distributor.
- Channel
Partner Link State Unspecified - CHANNEL_PARTNER_LINK_STATE_UNSPECIFIEDNot used.
- Invited
- INVITEDAn invitation has been sent to the reseller to create a channel partner link.
- Active
- ACTIVEStatus when the reseller is active.
- Revoked
- REVOKEDStatus when the reseller has been revoked by the distributor.
- Suspended
- SUSPENDEDStatus when the reseller is suspended by Google or distributor.
- CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED
- CHANNEL_PARTNER_LINK_STATE_UNSPECIFIEDNot used.
- INVITED
- INVITEDAn invitation has been sent to the reseller to create a channel partner link.
- ACTIVE
- ACTIVEStatus when the reseller is active.
- REVOKED
- REVOKEDStatus when the reseller has been revoked by the distributor.
- SUSPENDED
- SUSPENDEDStatus when the reseller is suspended by Google or distributor.
- "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED"
- CHANNEL_PARTNER_LINK_STATE_UNSPECIFIEDNot used.
- "INVITED"
- INVITEDAn invitation has been sent to the reseller to create a channel partner link.
- "ACTIVE"
- ACTIVEStatus when the reseller is active.
- "REVOKED"
- REVOKEDStatus when the reseller has been revoked by the distributor.
- "SUSPENDED"
- SUSPENDEDStatus when the reseller is suspended by Google or distributor.
GoogleCloudChannelV1CloudIdentityInfoResponse, GoogleCloudChannelV1CloudIdentityInfoResponseArgs
- Admin
Console stringUri - URI of Customer's Admin console dashboard.
- Alternate
Email string - The alternate email.
- Customer
Type string - CustomerType indicates verification type needed for using services.
- Edu
Data Pulumi.Google Native. Cloud Channel. V1. Inputs. Google Cloud Channel V1Edu Data Response - Edu information about the customer.
- Is
Domain boolVerified - 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 string - Language code.
- Phone
Number string - Phone number associated with the Cloud Identity.
- Primary
Domain string - The primary domain name.
- Admin
Console stringUri - URI of Customer's Admin console dashboard.
- Alternate
Email string - The alternate email.
- Customer
Type string - CustomerType indicates verification type needed for using services.
- Edu
Data GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- Is
Domain boolVerified - 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 string - Language code.
- Phone
Number string - Phone number associated with the Cloud Identity.
- Primary
Domain string - The primary domain name.
- admin
Console StringUri - URI of Customer's Admin console dashboard.
- alternate
Email String - The alternate email.
- customer
Type String - CustomerType indicates verification type needed for using services.
- edu
Data GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is
Domain BooleanVerified - 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 String - Language code.
- phone
Number String - Phone number associated with the Cloud Identity.
- primary
Domain String - The primary domain name.
- admin
Console stringUri - URI of Customer's Admin console dashboard.
- alternate
Email string - The alternate email.
- customer
Type string - CustomerType indicates verification type needed for using services.
- edu
Data GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is
Domain booleanVerified - 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 string - Language code.
- phone
Number string - Phone number associated with the Cloud Identity.
- primary
Domain string - The primary domain name.
- admin_
console_ struri - 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 GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is_
domain_ boolverified - 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.
- admin
Console StringUri - URI of Customer's Admin console dashboard.
- alternate
Email String - The alternate email.
- customer
Type String - CustomerType indicates verification type needed for using services.
- edu
Data Property Map - Edu information about the customer.
- is
Domain BooleanVerified - 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 String - Language code.
- phone
Number String - Phone number associated with the Cloud Identity.
- primary
Domain String - The primary domain name.
GoogleCloudChannelV1EduDataResponse, GoogleCloudChannelV1EduDataResponseArgs
- Institute
Size string - Size of the institute.
- Institute
Type string - Designated institute type of customer.
- Website string
- Web address for the edu customer's institution.
- Institute
Size string - Size of the institute.
- Institute
Type string - Designated institute type of customer.
- Website string
- Web address for the edu customer's institution.
- institute
Size String - Size of the institute.
- institute
Type String - Designated institute type of customer.
- website String
- Web address for the edu customer's institution.
- institute
Size string - Size of the institute.
- institute
Type 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.
- institute
Size String - Size of the institute.
- institute
Type String - Designated institute type of customer.
- website String
- Web address for the edu customer's institution.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.