Skip to main content

compose_deployments

Creates, updates, deletes, gets or lists a compose_deployments resource.

Overview

Namecompose_deployments
TypeResource
Idazure.service_fabric_dataplane.compose_deployments

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_compose_deploymentinsertendpoint, DeploymentName, ComposeFileContenttimeoutCreates a Service Fabric compose deployment. Compose is a file format that describes multi-container applications. This API allows deploying container based applications defined in compose format in a Service Fabric cluster. Once the deployment is created, its status can be tracked via the GetComposeDeploymentStatus API.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
timeoutinteger (int64)The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

INSERT examples

Creates a Service Fabric compose deployment. Compose is a file format that describes multi-container applications. This API allows deploying container based applications defined in compose format in a Service Fabric cluster. Once the deployment is created, its status can be tracked via the GetComposeDeploymentStatus API.

INSERT INTO azure.service_fabric_dataplane.compose_deployments (
DeploymentName,
ComposeFileContent,
RegistryCredential,
endpoint,
timeout
)
SELECT
'{{ DeploymentName }}' /* required */,
'{{ ComposeFileContent }}' /* required */,
'{{ RegistryCredential }}',
'{{ endpoint }}',
'{{ timeout }}'
;