Torch Log Service
Name | Type | Required | Example | Description |
Name | Type | Required | Example | Description |
HostGroupName | String | True | mgn1 | |
HostGroupType | String | True | IP | The types of the host groups. Including:
|
HostIpList | Array of String | False | ["192.168.0.1", "127.0.0.1"] | The list of the host IP addresses. Required when HostGroupType is IP. |
HostIdentifier | String | False | hostlable | The custom identifier. Required when HostGroupType is Label. |
AutoUpdate | Boolean | False | true | Whether the LogCollector installed on the host group servers has the auto-upgrade feature enabled.
tip Only LogCollector V1.0.8 and subsequent versions support automatic upgrades. |
UpdateStartTime | String | False | "00:00" | The start time of LogCollector automatic upgrade. tip
|
UpdateEndTime | String | False | "02:00" | The end time of the automatic upgrade for LogCollector. |
ServiceLogging | Boolean | False | true | Should the Logcollector service log function be enabled?
|
IamProjectName | String | False | default | The name of the IAM project to which the host group belongs. If this parameter is not specified, Torch Log Service will add the host group to an IAM project named default. |
Name | Type | Example | Description |
Name | Type | Example | Description |
HostGroupId | String | bcb********** | The ID of the host group. |
HTTP status code | Error code | Error message | Description |
HTTP status code | Error code | Error message | Description |
400 | InvalidArgument | Invalid argument key %s, value %s, please check argument. | The parameter is invalid. |
400 | HostGroupQuotaExceed | HostGroup Quota Exceeded | The host group limit has been exceeded. |
400 | HostIpQuotaExceed | Host Ip Quota Exceeded | Exceeded host IP limit. |
409 | HostGroupAlreadyExist | HostGroup %s already exist | The host group already exists. |
500 | InternalServerError | We encountered an unexpected server error, please try again later. | Internal server error. |