Service Fabric · Example Payload

Service Fabric Create Application Example

Distributed SystemsMicroservicesContainersCloud NativeKubernetesAzureOpen Source

Service Fabric Create Application Example is an example object payload from Service Fabric, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponsenotes

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "http://mycluster.westus.cloudapp.azure.com:19080/Applications/$/Create?api-version=9.1",
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "Name": "fabric:/MyVotingApp",
      "TypeName": "VotingType",
      "TypeVersion": "1.0.0",
      "ParameterList": [
        {
          "Key": "VotingData_MinReplicaSetSize",
          "Value": "2"
        },
        {
          "Key": "VotingData_TargetReplicaSetSize",
          "Value": "3"
        },
        {
          "Key": "VotingWeb_InstanceCount",
          "Value": "-1"
        }
      ]
    }
  },
  "response": {
    "status": 201,
    "body": null
  },
  "notes": "Returns 201 Created with empty body on success. The application status will be 'Creating' then transition to 'Ready'."
}