Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 2.43 KB

File metadata and controls

28 lines (18 loc) · 2.43 KB

Onepanel.ProviderRegisterRequest

Properties

Name Type Description Notes
name String The name under which the provider should be registered in a zone.
tokenProvisionMethod String Indicates how the Oneprovider registration token will be provided: * `"inline"` - the registration token must be placed in the token field (consult for more information). * `"fromFile"` - the registration token will be read from given file, specified in the tokenFile field (consult for more information). [optional] [default to 'inline']
token String Registration token obtained from Onezone. This token identifies the Onezone service where the Oneprovider will be registered and authorizes the registration request. Required when the `tokenProvisionMethod` is set to `"inline"`. [optional]
tokenFile String Absolute path to the file containing the Oneprovider registration token. The token (and nothing else) should be placed in the file as plaintext. The file does not have to pre-exist - it may be created after this request is made (Onepanel will wait for the file to appear for some time). Required when the `tokenProvisionMethod` is set to `"fromFile"`. [optional]
subdomainDelegation Boolean If enabled, the storage provider will be assigned a subdomain in onezone's domain and 'subdomain' property must be provided. If disabled, 'domain' property should be provided. [default to false]
subdomain String Unique subdomain in onezone's domain for the storage provider. Required if subdomain delegation is enabled. [optional]
domain String The fully qualified domain name of the storage provider or its IP address (only for single-node deployments or clusters with a reverse proxy). Required if subdomain delegation is disabled. [optional]
geoLongitude Number The geographical longitude of the storage provider. [optional]
geoLatitude Number The geographical latitude of the storage provider. [optional]
adminEmail String Email address of the Oneprovider administrator.

Enum: TokenProvisionMethodEnum

  • inline (value: "inline")

  • fromFile (value: "fromFile")