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
This property is required. string - The unique name of the resource.
- args
This property is required. ChannelPartnerLinkArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ChannelPartnerLinkArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ChannelPartnerLinkArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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 This property is required. Changes to this property will trigger replacement.
- Link
State This property is required. Pulumi.Google Native. Cloud Channel. V1. Channel Partner Link Link State - State of the channel partner link.
- Reseller
Cloud Identity Id This property is required. string - Cloud Identity ID of the linked reseller.
- Account
Id This property is required. Changes to this property will trigger replacement.
- Link
State This property is required. ChannelPartner Link Link State - State of the channel partner link.
- Reseller
Cloud Identity Id This property is required. string - Cloud Identity ID of the linked reseller.
- account
Id This property is required. Changes to this property will trigger replacement.
- link
State This property is required. ChannelPartner Link Link State - State of the channel partner link.
- reseller
Cloud Identity Id This property is required. String - Cloud Identity ID of the linked reseller.
- account
Id This property is required. Changes to this property will trigger replacement.
- link
State This property is required. ChannelPartner Link Link State - State of the channel partner link.
- reseller
Cloud Identity Id This property is required. string - Cloud Identity ID of the linked reseller.
- account_
id This property is required. Changes to this property will trigger replacement.
- link_
state This property is required. ChannelPartner Link Link State - State of the channel partner link.
- reseller_
cloud_ identity_ id This property is required. str - Cloud Identity ID of the linked reseller.
- account
Id This property is required. Changes to this property will trigger replacement.
- link
State This property is required. "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED" | "INVITED" | "ACTIVE" | "REVOKED" | "SUSPENDED" - State of the channel partner link.
- reseller
Cloud Identity Id This property is required. 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:
- 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 Uri This property is required. string - URI of Customer's Admin console dashboard.
- Alternate
Email This property is required. string - The alternate email.
- Customer
Type This property is required. string - CustomerType indicates verification type needed for using services.
- Edu
Data This property is required. Pulumi.Google Native. Cloud Channel. V1. Inputs. Google Cloud Channel V1Edu Data Response - Edu information about the customer.
- Is
Domain Verified This property is required. 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 This property is required. string - Language code.
- Phone
Number This property is required. string - Phone number associated with the Cloud Identity.
- Primary
Domain This property is required. string - The primary domain name.
- Admin
Console Uri This property is required. string - URI of Customer's Admin console dashboard.
- Alternate
Email This property is required. string - The alternate email.
- Customer
Type This property is required. string - CustomerType indicates verification type needed for using services.
- Edu
Data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- Is
Domain Verified This property is required. 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 This property is required. string - Language code.
- Phone
Number This property is required. string - Phone number associated with the Cloud Identity.
- Primary
Domain This property is required. string - The primary domain name.
- admin
Console Uri This property is required. String - URI of Customer's Admin console dashboard.
- alternate
Email This property is required. String - The alternate email.
- customer
Type This property is required. String - CustomerType indicates verification type needed for using services.
- edu
Data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is
Domain Verified This property is required. 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.
- language
Code This property is required. String - Language code.
- phone
Number This property is required. String - Phone number associated with the Cloud Identity.
- primary
Domain This property is required. String - The primary domain name.
- admin
Console Uri This property is required. string - URI of Customer's Admin console dashboard.
- alternate
Email This property is required. string - The alternate email.
- customer
Type This property is required. string - CustomerType indicates verification type needed for using services.
- edu
Data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is
Domain Verified This property is required. 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.
- language
Code This property is required. string - Language code.
- phone
Number This property is required. string - Phone number associated with the Cloud Identity.
- primary
Domain This property is required. string - The primary domain name.
- admin_
console_ uri This property is required. str - URI of Customer's Admin console dashboard.
- alternate_
email This property is required. str - The alternate email.
- customer_
type This property is required. str - CustomerType indicates verification type needed for using services.
- edu_
data This property is required. GoogleCloud Channel V1Edu Data Response - Edu information about the customer.
- is_
domain_ verified This property is required. 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 This property is required. str - Language code.
- phone_
number This property is required. str - Phone number associated with the Cloud Identity.
- primary_
domain This property is required. str - The primary domain name.
- admin
Console Uri This property is required. String - URI of Customer's Admin console dashboard.
- alternate
Email This property is required. String - The alternate email.
- customer
Type This property is required. String - CustomerType indicates verification type needed for using services.
- edu
Data This property is required. Property Map - Edu information about the customer.
- is
Domain Verified This property is required. 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.
- language
Code This property is required. String - Language code.
- phone
Number This property is required. String - Phone number associated with the Cloud Identity.
- primary
Domain This property is required. String - The primary domain name.
GoogleCloudChannelV1EduDataResponse, GoogleCloudChannelV1EduDataResponseArgs
- Institute
Size This property is required. string - Size of the institute.
- Institute
Type This property is required. string - Designated institute type of customer.
- Website
This property is required. string - Web address for the edu customer's institution.
- Institute
Size This property is required. string - Size of the institute.
- Institute
Type This property is required. string - Designated institute type of customer.
- Website
This property is required. string - Web address for the edu customer's institution.
- institute
Size This property is required. String - Size of the institute.
- institute
Type This property is required. String - Designated institute type of customer.
- website
This property is required. String - Web address for the edu customer's institution.
- institute
Size This property is required. string - Size of the institute.
- institute
Type This property is required. string - Designated institute type of customer.
- website
This property is required. string - Web address for the edu customer's institution.
- institute_
size This property is required. str - Size of the institute.
- institute_
type This property is required. str - Designated institute type of customer.
- website
This property is required. str - Web address for the edu customer's institution.
- institute
Size This property is required. String - Size of the institute.
- institute
Type This property is required. String - Designated institute type of customer.
- website
This property is required. 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.