1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudchannel
  5. cloudchannel/v1
  6. ChannelPartnerLink

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.cloudchannel/v1.ChannelPartnerLink

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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:

    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, ChannelPartnerLinkLinkStateArgs

    ChannelPartnerLinkStateUnspecified
    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.
    ChannelPartnerLinkLinkStateChannelPartnerLinkStateUnspecified
    CHANNEL_PARTNER_LINK_STATE_UNSPECIFIEDNot used.
    ChannelPartnerLinkLinkStateInvited
    INVITEDAn invitation has been sent to the reseller to create a channel partner link.
    ChannelPartnerLinkLinkStateActive
    ACTIVEStatus when the reseller is active.
    ChannelPartnerLinkLinkStateRevoked
    REVOKEDStatus when the reseller has been revoked by the distributor.
    ChannelPartnerLinkLinkStateSuspended
    SUSPENDEDStatus when the reseller is suspended by Google or distributor.
    ChannelPartnerLinkStateUnspecified
    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.
    ChannelPartnerLinkStateUnspecified
    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

    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, GoogleCloudChannelV1EduDataResponseArgs

    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
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi