qumulo_portal_spoke_root (Resource)¶
Manages a root directory pair within a portal spoke relationship.
In most cases, qumulo_portal and qumulo_portal_root are simpler and recommended.
Use this resource only when the hub and spoke clusters cannot both be reached from the
network where Terraform runs.
Each root maps a local spoke directory to a remote hub directory.
After adding a root on the spoke, the hub must authorize it via
the qumulo_portal_hub_root resource.
Example Usage¶
resource "qumulo_portal_spoke_root" "data" {
connection_profile = "spoke"
spoke_id = qumulo_portal_spoke.main.id
spoke_root_path = "/cache/data"
hub_root_path = "/data"
}
Schema¶
Required¶
connection_profile(String) Name of a connection profile from the provider block. See the provider reference for how to define profiles.hub_root_path(String) The remote directory path on the hub cluster.spoke_id(Number) The ID of the parent spoke portal.spoke_root_path(String) The local directory path on the spoke cluster.
Read-Only¶
authorized(Boolean) Whether the hub has authorized this root for access.id(String) Composite ID: spoke_id/local_root_file_id.local_root(String) The spoke directory file ID.remote_root(String) The hub directory file ID.