{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-delete-private-link-endpoint-request-schema.json", "title": "DeletePrivateLinkEndpointRequest", "description": "Request object for the DeletePrivateLinkEndpoint method.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudera-cloudprivatelinks-api-openapi.yml#/components/schemas/DeletePrivateLinkEndpointRequest", "type": "object", "required": [ "cloudServiceProvider" ], "properties": { "cloudServiceProvider": { "description": "Cloud Service Provider. Currently supporting AWS and AZURE.", "$ref": "#/$defs/CloudServiceProvider" }, "awsAccountInfo": { "description": "The AWS account details from which this Private Link endpoint is to be deleted.", "$ref": "#/$defs/AWSAccountInfo" }, "azureAccountInfo": { "description": "The Azure account details from which this Private Link endpoint is to be deleted.", "$ref": "#/$defs/AzureAccountInfo" } }, "$defs": { "AWSAccountInfo": { "type": "object", "description": "Details of the cloud network and the cross-account role required to delete the Private Link endpoint.", "properties": { "crossAccountRoleDetails": { "description": "Cross account role details.", "$ref": "#/$defs/CrossAccountRoleDetails" }, "credentialCrn": { "type": "string", "description": "CDP Credential CRN to fetch the AWS cross-account roleArn for the account where the endpoint gets deleted." }, "region": { "type": "string", "description": "Region in which VPC exists." }, "vpcId": { "type": "string", "description": "VPC ID in which the vpc endpoint should be deleted." } } }, "AzureAccountInfo": { "type": "object", "description": "Details of the cloud network and the cross-account role required to delete the Private Link endpoint.", "properties": { "azureClientSecretCredential": { "description": "Azure client secret credential, either this or credential CRN should be passed.", "$ref": "#/$defs/AzureClientSecretCredential" }, "credentialCrn": { "type": "string", "description": "CDP Credential CRN to fetch the Azure client secret credentials, either this or AzureClientSecretCredential should be passed." }, "location": { "type": "string", "description": "Region in which VPC exists." }, "vNetId": { "type": "string", "description": "vNet ID in which the Private Link should be created." } } }, "AzureClientSecretCredential": { "type": "object", "description": "Azure client secret credential, either this or credential CRN should be passed.", "properties": { "clientId": { "type": "string", "description": "The client (application) ID of the service principal" }, "clientSecret": { "type": "string", "description": "A client secret that was generated for the App Registration used to authenticate the client." }, "tenantId": { "type": "string", "description": "The Azure Active Directory tenant (directory) Id of the service principal." } } }, "CloudServiceProvider": { "type": "string", "description": "Supported cloud providers\n `AWS` - A value indicating AWS as supported cloud provider for creating Private Links. `AZURE` - A value indicating Azure as supported cloud provider for creating Private Links.", "enum": [ "AWS", "AZURE" ] }, "CrossAccountRoleDetails": { "type": "object", "description": "Customer cross account role details.", "properties": { "crossAccountRole": { "type": "string", "description": "Cross-account role." }, "externalId": { "type": "string", "description": "External ID associated with the cross-account role." } } } } }