F5 Distributed Cloud Services API for ves.io.schema.views.bot_defense_app_infrastructure
Download OpenAPI specification:Download
Bot Defense App Infrastructure is the main configuration for a Bot Defense Advanced Integration. It is intended to be created per tenant. It defines various configuration parameters needed to use Bot Defense Advanced SSEs.
Create Bot Defense App Infrastructure
Creates Bot Defense App Infrastructure in a given namespace.
path Parameters
metadata.namespace required | string namespace x-example: "staging" This defines the workspace within which each the configuration object is to be created. Must be a DNS_LABEL format. For a namespace object itself, namespace value will be "" |
Request Body schema: application/jsonrequired
object (ObjectCreateMetaType) ObjectCreateMetaType is metadata that can be specified in Create request of an object. | |
object (Create Bot Defense App Infrastructure) Creates Bot Defense App Infrastructure in a given namespace. |
Responses
Request samples
- Payload
{- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "cloud_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "data_center_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "environment_type": "PRODUCTION",
- "traffic_type": "WEB"
}
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "cloud_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "data_center_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "environment_type": "PRODUCTION",
- "traffic_type": "WEB"
}, - "system_metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "deletion_timestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "initializers": {
- "pending": [
- {
- "name": "string"
}
], - "result": {
- "code": 0,
- "reason": "string",
- "status": "string"
}
}, - "labels": { },
- "modification_timestamp": "2019-08-24T14:15:22Z",
- "object_index": 0,
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}
}
Replace Bot Defense App Infrastructure
Replace a given Bot Defense App Infrastructure in a given namespace.
path Parameters
metadata.namespace required | string namespace x-example: "staging" This defines the workspace within which each the configuration object is to be created. Must be a DNS_LABEL format. For a namespace object itself, namespace value will be "" |
metadata.name required | string name x-example: "acmecorp-web" The configuration object to be replaced will be looked up by name |
Request Body schema: application/jsonrequired
object (ObjectReplaceMetaType) ObjectReplaceMetaType is metadata that can be specified in Replace request of an object. | |
object (Replace Bot Defense App Infrastructure) Replace a given Bot Defense App Infrastructure in a given namespace. |
Responses
Request samples
- Payload
{- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "cloud_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "data_center_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "environment_type": "PRODUCTION",
- "traffic_type": "WEB"
}
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{ }
List Bot Defense App Infrastructure
List the set of bot_defense_app_infrastructure in a namespace
path Parameters
namespace required | string namespace x-example: "ns1" Namespace to scope the listing of bot_defense_app_infrastructure |
query Parameters
label_filter | string x-example: "env in (staging, testing), tier in (web, db)" A LabelSelectorType expression that every item in list response will satisfy |
report_fields | Array of strings x-example: "" Extra fields to return along with summary fields |
report_status_fields | Array of strings x-example: "" Extra status fields to return along with summary fields |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "errors": [
- {
- "code": "EOK",
- "error_obj": {
- "type_url": "string",
- "value": "string"
}, - "message": "string"
}
], - "items": [
- {
- "annotations": { },
- "description": "string",
- "disabled": true,
- "get_spec": {
- "cloud_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "data_center_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "environment_type": "PRODUCTION",
- "traffic_type": "WEB"
}, - "labels": { },
- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "name": "string",
- "namespace": "string",
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "system_metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "deletion_timestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "initializers": {
- "pending": [
- {
- "name": "string"
}
], - "result": {
- "code": 0,
- "reason": "string",
- "status": "string"
}
}, - "labels": { },
- "modification_timestamp": "2019-08-24T14:15:22Z",
- "object_index": 0,
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}
]
}
Bot Defense App Infrastructure
Get Bot Defense App Infrastructure from a given namespace.
path Parameters
namespace required | string namespace x-example: "ns1" The namespace in which the configuration object is present |
name required | string name x-example: "name" The name of the configuration object to be fetched |
query Parameters
response_format | string Default: "GET_RSP_FORMAT_DEFAULT" Enum: "GET_RSP_FORMAT_DEFAULT" "GET_RSP_FORMAT_FOR_CREATE" "GET_RSP_FORMAT_FOR_REPLACE" "GET_RSP_FORMAT_READ" "GET_RSP_FORMAT_REFERRING_OBJECTS" "GET_RSP_FORMAT_BROKEN_REFERENCES" The format in which the configuration object is to be fetched. This could be for example - in GetSpec form for the contents of object - in CreateRequest form to create a new similar object - to ReplaceRequest form to replace changeable values Default format of returned resource Response should be in CreateRequest format Response should be in ReplaceRequest format Response should be in format of GetSpecType Response should have other objects referring to this object Response should have deleted and disabled objects referrred by this object |
Responses
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
{- "create_form": {
- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "cloud_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "data_center_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "environment_type": "PRODUCTION",
- "traffic_type": "WEB"
}
}, - "deleted_referred_objects": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
], - "disabled_referred_objects": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
], - "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "referring_objects": [
- {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "tenant": "string",
- "uid": "string"
}
], - "replace_form": {
- "metadata": {
- "annotations": { },
- "description": "string",
- "disable": true,
- "labels": { },
- "name": "string",
- "namespace": "string"
}, - "spec": {
- "cloud_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "data_center_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "environment_type": "PRODUCTION",
- "traffic_type": "WEB"
}
}, - "spec": {
- "cloud_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "data_center_hosted": {
- "egress": [
- {
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "infra_host_name": "string",
- "ingress": [
- {
- "host_name": "string",
- "ip_address": "string",
- "location": "AWS_AP_NORTHEAST_1"
}
], - "region": "US"
}, - "environment_type": "PRODUCTION",
- "traffic_type": "WEB"
}, - "system_metadata": {
- "creation_timestamp": "2019-08-24T14:15:22Z",
- "creator_class": "string",
- "creator_id": "string",
- "deletion_timestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "initializers": {
- "pending": [
- {
- "name": "string"
}
], - "result": {
- "code": 0,
- "reason": "string",
- "status": "string"
}
}, - "labels": { },
- "modification_timestamp": "2019-08-24T14:15:22Z",
- "object_index": 0,
- "owner_view": {
- "kind": "string",
- "name": "string",
- "namespace": "string",
- "uid": "string"
}, - "tenant": "string",
- "uid": "string"
}
}
Delete Bot Defense App Infrastructure
Delete the specified bot_defense_app_infrastructure
path Parameters
namespace required | string namespace x-example: "ns1" Namespace in which the configuration object is present |
name required | string name x-example: "name" Name of the configuration object |
Request Body schema: application/jsonrequired
fail_if_referred | boolean <boolean> (fail_if_referred) Fail the delete operation if this object is being referred by other objects |
name | string (name) Name of the configuration object Example: |
namespace | string (namespace) Namespace in which the configuration object is present Example: |
Responses
Request samples
- Payload
{- "fail_if_referred": true,
- "name": "string",
- "namespace": "string"
}
Response samples
- 200
- 401
- 403
- 404
- 409
- 429
- 500
- 503
- 504
null