
Delete
Deletes a Cosmos item and returns its respective Cosmos item response.
Deletes a Cosmos item and returns its respective Cosmos item response.
Deletes a Cosmos item and returns its respective Cosmos item response.
type: "io.kestra.plugin.azure.storage.cosmosdb.Delete"Examples
id: azure_cosmos_container_delete_item
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.azure.storage.cosmosdb.Delete
endpoint: "https://yourcosmosaccount.documents.azure.com"
databaseId: your_data_base_id
containerId: your_container_id
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
item:
id: item_id
Properties
containerId*Requiredstring
container ID
databaseId*Requiredstring
databaseId
item*Requiredobject
item
tenantId*Requiredstring
Tenant ID
clientIdstring
Client ID
Client ID of the Azure service principal. If you don't have a service principal, refer to create a service principal with Azure CLI.
clientSecretstring
Client Secret
Service principal client secret. The tenantId, clientId and clientSecret of the service principal are required for this credential to acquire an access token.
connectionStringstring
connectionString
consistencyLevelstring
SessionSTRONGBOUNDED_STALENESSSESSIONEVENTUALCONSISTENT_PREFIXconsistencyLevel
Represents the consistency levels supported for Azure Cosmos DB client operations in the Azure Cosmos DB service.
contentResponseOnWriteEnabledbooleanstring
truecontentResponseOnWriteEnabled
Sets the boolean to only return the headers and status code in Cosmos DB response in case of Create, Update and Delete operations on CosmosItem. If set to false (which is by default), service doesn't return payload in the response. It reduces networking and CPU load by not sending the payload back over the network and serializing it on the client.
endpointstring
endpoint
pemCertificatestring
PEM Certificate
Your stored PEM certificate.
The tenantId, clientId and clientCertificate of the service principal are required for this credential to acquire an access token.
Outputs
activityIdstring
currentResourceQuotaUsagestring
diagnostics
com.azure.cosmos.CosmosDiagnostics
com.azure.cosmos.implementation.FeedResponseDiagnostics
com.azure.cosmos.implementation.ClientSideRequestStatistics
date-timedate-timecom.azure.cosmos.implementation.query.QueryInfo-QueryPlanDiagnosticsContext
date-timedate-timecom.azure.cosmos.implementation.QueryMetrics
durationdurationdurationdurationdurationstring
duration