DeleteLogstashPipeline#

Description#

Request to delete a Logstash data pipeline in an ELK service.

Request Parameters#

  • pipelineId — The ID of the data pipeline.

    • Type: String

    • Required: Yes

  • serviceId — The ID of the ELK service.

    • Type: String

    • Required: Yes

Response Elements#

If the request is successfull, API returns the HTTP 200 response with an empty HTTP body.

Examples#

Managing PaaS services in NGN Cloud via API requires a customized version of the boto3 library:

import boto3

session = boto3.Session(
    aws_access_key_id="<AWS_ACCESS_KEY_ID>",
    aws_secret_access_key="<AWS_SECRET_ACCESS_KEY>",
    region_name="ngn",
)

paas_client = session.client(
    'paas',
    endpoint_url='https://paas.cloud.ngn.com.tr/',
)

paas_client.delete_logstash_pipeline(
    serviceId='fm-cluster-C27426C0',
    pipelineId="logstash-pipeline-7C507C2C",
)

Or c2-paas utility from CROC Cloud API Client software suite:

c2-paas DeleteLogstashPipeline serviceId fm-cluster-C27426C0 pipelineId logstash-pipeline-7C507C2C