validateLogShippingConfigV2
Validate log shipping configuration.
validateLogShippingConfigV2(
input: AppEnvironmentLogShippingV2Input
): AppEnvironmentLogShippingOperationResultPayload!
Example
- Query
- Variables
- Response
mutation ($input: AppEnvironmentLogShippingV2Input) {
validateLogShippingConfigV2(input: $input) {
message
success
}
}
{
"input": {
"enabled": true,
"environmentId": 42,
"id": 42,
"object_storage_config_azure": {
"azure_account": "azure_account",
"azure_container": "azure_container",
"azure_sas_token": "azure_sas_token"
},
"object_storage_config_gcp": {
"gcp_bucket": "gcp_bucket",
"gcp_credentials_json": "gcp_credentials_json"
},
"object_storage_config_s3": {
"aws_account_id": "aws_account_id",
"s3_bucket": "s3_bucket",
"s3_region": "s3_region",
"s3_shipper_role": "s3_shipper_role"
},
"path": "path",
"provider": "aws_s3",
"type": [
"edge"
]
}
}
{
"data": {
"validateLogShippingConfigV2": {
"message": "message",
"success": true
}
}
}
Arguments
validateLogShippingConfigV2.input ● AppEnvironmentLogShippingV2Input input common
The log shipping configuration to validate.
Type
AppEnvironmentLogShippingOperationResultPayload object common
The result of a log shipping operation.