@gridscale/api
Version:
gridscale API Wrapper
1,106 lines (1,105 loc) • 240 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.$TaskEvents = void 0;
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
exports.$TaskEvents = {
properties: {
schedules: {
properties: {
schedule_snapshot_add: {
properties: {
labels: {
type: 'TaskEventLabel',
},
name: {
type: 'TaskEventName',
},
run_interval: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
min: {
type: 'number',
},
required: {
type: 'boolean',
},
},
},
keep_snapshots: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
min: {
type: 'number',
},
required: {
type: 'boolean',
},
},
},
next_runtime: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
},
},
schedule_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
required: {
type: 'boolean',
},
},
},
storage_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
schedule_snapshot_perform: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
},
},
schedule_snapshot_update: {
properties: {
labels: {
type: 'TaskEventLabel',
},
name: {
type: 'TaskEventName',
},
run_interval: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
min: {
type: 'number',
},
required: {
type: 'boolean',
},
},
},
keep_snapshots: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
min: {
type: 'number',
},
required: {
type: 'boolean',
},
},
},
next_runtime: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
},
},
schedule_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
required: {
type: 'boolean',
},
},
},
storage_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
schedule_snapshot_remove: {
properties: {
schedule_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
required: {
type: 'boolean',
},
},
},
storage_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
},
},
ipaddr: {
properties: {
ipaddr_update: {
properties: {
ipaddr_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
name: {
type: 'TaskEventName',
},
reverse_dns: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
response_code: {
type: 'number',
},
},
},
labels: {
type: 'TaskEventLabel',
},
failover: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
response_code: {
type: 'number',
},
},
},
},
},
ipaddr_add: {
properties: {
labels: {
type: 'TaskEventLabel',
},
name: {
type: 'TaskEventName',
},
reverse_dns: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
},
},
family: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
allowed: {
type: 'array',
contains: {
type: 'number',
},
},
required: {
type: 'boolean',
},
},
},
failover: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
},
},
next_runtime: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
},
},
ipaddr_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
nullable: {
type: 'boolean',
},
required: {
type: 'boolean',
},
},
},
location_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
ipaddr_remove: {
properties: {
ipaddr_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
},
},
loadbalancer: {
properties: {
loadbalancer_update: {
properties: {
listen_ipv6_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
name: {
type: 'TaskEventName',
},
algorithm: {
properties: {
type: {
type: 'string',
},
allowed: {
type: 'array',
contains: {
type: 'string',
},
},
required: {
type: 'boolean',
},
},
},
labels: {
type: 'TaskEventLabel',
},
redirect_http_to_https: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
lb_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
listen_ipv4_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
backend_servers: {
properties: {
type: {
type: 'string',
},
schema: {
properties: {
schema: {
properties: {
host: {
properties: {
anyof_schema: {
type: 'array',
contains: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
},
weight: {
properties: {
max: {
type: 'number',
},
type: {
type: 'string',
},
required: {
type: 'boolean',
},
min: {
type: 'number',
},
},
},
},
},
type: {
type: 'string',
},
},
},
required: {
type: 'boolean',
},
},
},
location_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
min: {
type: 'number',
},
required: {
type: 'boolean',
},
},
},
forwarding_rule: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
schema: {
properties: {
schema: {
properties: {
target_port: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
letsencrypt_ssl: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
nullable: {
type: 'boolean',
},
},
},
mode: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
allowed: {
type: 'array',
contains: {
type: 'string',
},
},
},
},
listen_port: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
type: {
type: 'string',
},
},
},
},
},
},
},
loadbalancer_add: {
properties: {
listen_ipv6_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
name: {
type: 'TaskEventName',
},
algorithm: {
properties: {
type: {
type: 'string',
},
allowed: {
type: 'array',
contains: {
type: 'string',
},
},
required: {
type: 'boolean',
},
},
},
labels: {
type: 'TaskEventLabel',
},
redirect_http_to_https: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
lb_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
listen_ipv4_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
backend_servers: {
properties: {
type: {
type: 'string',
},
schema: {
properties: {
schema: {
properties: {
host: {
properties: {
anyof_schema: {
type: 'array',
contains: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
},
weight: {
properties: {
max: {
type: 'number',
},
type: {
type: 'string',
},
required: {
type: 'boolean',
},
min: {
type: 'number',
},
},
},
},
},
type: {
type: 'string',
},
},
},
required: {
type: 'boolean',
},
},
},
location_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
min: {
type: 'number',
},
required: {
type: 'boolean',
},
},
},
forwarding_rule: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
schema: {
properties: {
schema: {
properties: {
target_port: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
letsencrypt_ssl: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
nullable: {
type: 'boolean',
},
},
},
mode: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
allowed: {
type: 'array',
contains: {
type: 'string',
},
},
},
},
listen_port: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
type: {
type: 'string',
},
},
},
},
},
},
},
loadbalancer_remove: {
properties: {
lb_uuid: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
},
},
paas: {
properties: {
paas_service_remove: {
properties: {
paas_service_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
paas_security_zone_remove: {
properties: {
paas_security_zone_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
paas_security_zone_add: {
properties: {
labels: {
type: 'TaskEventLabel',
},
name: {
type: 'TaskEventName',
},
mpls_mgmt_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
mpls_cust_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
paas_security_zone_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
paas_security_zone_update: {
properties: {
labels: {
type: 'TaskEventLabel',
},
name: {
type: 'TaskEventName',
},
paas_security_zone_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
paas_service_add: {
properties: {
labels: {
type: 'TaskEventLabel',
},
name: {
type: 'TaskEventName',
},
paas_security_zone_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
paas_service_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
paas_template_uuid: {
properties: {
type: {
type: 'string',
},
description: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
credentials: {
properties: {
type: {
type: 'string',
},
schema: {
properties: {
type: {
type: 'string',
},
},
},
required: {
type: 'boolean',
},
},
},
resource_limit: {
properties: {
type: {
type: 'string',
},
schema: {
properties: {
anyof: {
type: 'array',
contains: {
properties: {
schema: {
properties: {
resource: {
properties: {
allowed: {
type: 'array',
contains: {
type: 'string',
},
},
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
limit: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
max: {
type: 'number',
},
min: {
type: 'number',
},
},
},
},
},
},
},
},
},
},
required: {
type: 'boolean',
},
},
},
parameters: {
properties: {
type: {
type: 'string',
},
required: {
type: 'boolean',
},
},
},
},
},
paas_service_update: {
properties: {
labels: {
type: 'TaskEventLabel',
},
name: {
type: 'TaskEventName',
},
resource_limit: {
properties: {
type: {
type: 'string',
},
schema: {
properties: {
anyof: {
type: 'array',
contains: {
properties: {
schema: {
properties: {
resource: {
properties: {
allowed: {
type: 'array',
contains: {