Partner Site Requests

A PartnerSiteRequest represents a request for a Guest Partner to add their Files.com Site to their Partnership with the Host Partner. The Guest Partner's Files.com Site is referred to as the Guest Site in this relationship.

The Partner Admin user representing the Guest on the Host Partner can initiate a request, which generates a pairing key. The Guest Site admin must then approve the request. This ensures that the Partner Admin user representing the Guest on the Host Partner and the Site Admins of the Site are in agreement that the linking should occur.

Resource Schema

Required

PropertyDescription
host_partner_id
Int64
Host Partner ID
guest_site_url
String
Guest Site URL

Read Only

PropertyDescription
id
Int64
Partner Site Request ID
status
String
Request status (pending, approved, rejected)
Possible values: pending, approved, rejected
host_site_name
String
Host Site Name
pairing_key
String
Pairing key used to approve this request on the Guest Site
created_at
String
Request creation date/time
updated_at
String
Request last updated date/time

Example Resource

resource "files_partner_site_request" "example_partner_site_request" {
  host_partner_id = 1
  guest_site_url  = "guest_site_url"
}

Resource Import

This Resource supports importing using the following syntax:

Example Import Command

# Partner Site Requests can be imported by specifying the id.
terraform import files_partner_site_request.example_partner_site_request 1

Data Source Schema

Required

PropertyDescription
id
Int64
Partner Site Request ID

Read Only

PropertyDescription
host_partner_id
Int64
Host Partner ID
guest_site_url
String
Guest Site URL
status
String
Request status (pending, approved, rejected)
Possible values: pending, approved, rejected
host_site_name
String
Host Site Name
pairing_key
String
Pairing key used to approve this request on the Guest Site
created_at
String
Request creation date/time
updated_at
String
Request last updated date/time

Example Data Source

data "files_partner_site_request" "example_partner_site_request" {
  id = 1
}