Type Definitions
AccountAll :Object
Object of account details and list containers.
Properties:
Name | Type | Description |
---|---|---|
account |
Object |
Indicates whether the Courage component is present. |
containers |
Array.<Object> |
Indicates whether the Power component is present. |
- Source:
OVHStorageConfig :Object
Object of account details and list containers.
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
username |
String |
OVH Public Cloud swift user name |
||
password |
String |
OVH Public Cloud swift user password |
||
authURL |
URL |
OVH Public Cloud auth url |
||
tenantId |
String |
OVH Public Cloud swift tenant ID |
||
region |
String |
OVH Public Cloud swift region |
||
debug |
boolean |
<optional> |
false |
OVH Public Cloud swift user name |
- Source:
Example
let config = {
username: '************',
password: '*****************************',
authURL: 'https://auth.cloud.ovh.net/v3/auth',
tenantId: '************************************',
region: 'SBG',
debug: false
};
OVHStorageContainerStaticWebContentPages :Object
Names object of index, css and error files.
!! USE ONLY FOR STATIC CONTAINER DECLARATION !!
When object is not specified default files are :
- index : 'index.html'
- css : 'listing.css'
- error : 'error.html'
Parameters:
Name | Type | Description |
---|---|---|
index |
String |
This is name of index file used when url of static container is request. |
css |
String |
This is name of CSS file used to style index and error file. |
error |
String |
This is name of error page used when request status is not 200 or 20x. |
- Source: