Microsoft.ServiceFabric (preview:2024-11-01)

2025/09/25 • 1 new, 4 updated methods

Applications_UpdateUpgrade (new)
Description Send a request to update the current application upgrade.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/updateUpgrade
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
applicationName: string ,
parameters:
{
name: string ,
upgradeKind: enum ,
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
updateDescription:
{
rollingUpgradeMode: enum ,
forceRestart: boolean ,
replicaSetCheckTimeoutInMilliseconds: integer ,
failureAction: enum ,
healthCheckWaitDurationInMilliseconds: string ,
healthCheckStableDurationInMilliseconds: string ,
healthCheckRetryTimeoutInMilliseconds: string ,
upgradeTimeoutInMilliseconds: string ,
upgradeDomainTimeoutInMilliseconds: string ,
instanceCloseDelayDurationInSeconds: integer ,
}
,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Applications_List (updated)
Description Gets all managed application resources created or in the process of being created in the Service Fabric cluster resource.
Reference Link ¶

⚶ Changes

{
  "#id": "Applications_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "upgradePolicy": [
                  {
                    "#name": "upgradeMode",
                    "Enum": {
                      "new": [
                        [
                          "Monitored",
                          "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding."
                        ],
                        [
                          "UnmonitoredAuto",
                          "The upgrade will proceed automatically without performing any health monitoring."
                        ]
                      ],
                      "old": [
                        [
                          "Monitored",
                          "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 0."
                        ],
                        [
                          "UnmonitoredAuto",
                          "The upgrade will proceed automatically without performing any health monitoring. The value is 1."
                        ]
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Applications_Get (updated)
Description Get a Service Fabric managed application resource created or in the process of being created in the Service Fabric cluster resource.
Reference Link ¶

⚶ Changes

{
  "#id": "Applications_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "upgradePolicy": [
              {
                "#name": "upgradeMode",
                "Enum": {
                  "new": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring."
                    ]
                  ],
                  "old": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 0."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring. The value is 1."
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
applicationName: string ,
}

⚐ Response (200)

{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Applications_CreateOrUpdate (updated)
Description Create or update a Service Fabric managed application resource with the specified name.
Reference Link ¶

⚶ Changes

{
  "#id": "Applications_CreateOrUpdate",
  "$parameters": {
    "parameters": {
      "$properties": {
        "properties": [
          {
            "upgradePolicy": [
              {
                "#name": "upgradeMode",
                "Enum": {
                  "new": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring."
                    ]
                  ],
                  "old": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 0."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring. The value is 1."
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "upgradePolicy": [
              {
                "#name": "upgradeMode",
                "Enum": {
                  "new": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring."
                    ]
                  ],
                  "old": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 0."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring. The value is 1."
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "202": {
      "$properties": {
        "properties": [
          {
            "upgradePolicy": [
              {
                "#name": "upgradeMode",
                "Enum": {
                  "new": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring."
                    ]
                  ],
                  "old": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 0."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring. The value is 1."
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
applicationName: string ,
parameters:
{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}
,
}

⚐ Response (200)

{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
location: string ,
}
,
$schema:
{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Applications_Update (updated)
Description Updates the tags of an application resource of a given managed cluster.
Reference Link ¶

⚶ Changes

{
  "#id": "Applications_Update",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "upgradePolicy": [
              {
                "#name": "upgradeMode",
                "Enum": {
                  "new": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring."
                    ]
                  ],
                  "old": [
                    [
                      "Monitored",
                      "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 0."
                    ],
                    [
                      "UnmonitoredAuto",
                      "The upgrade will proceed automatically without performing any health monitoring. The value is 1."
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
applicationName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
managedIdentities:
[
{
name: string ,
principalId: string ,
}
,
]
,
provisioningState: string ,
version: string ,
parameters: object ,
upgradePolicy:
{
applicationHealthPolicy:
{
considerWarningAsError: boolean ,
maxPercentUnhealthyDeployedApplications: integer ,
defaultServiceTypeHealthPolicy:
{
maxPercentUnhealthyServices: integer ,
maxPercentUnhealthyPartitionsPerService: integer ,
maxPercentUnhealthyReplicasPerPartition: integer ,
}
,
serviceTypeHealthPolicyMap: object ,
}
,
forceRestart: boolean ,
rollingUpgradeMonitoringPolicy:
{
failureAction: enum ,
healthCheckWaitDuration: string ,
healthCheckStableDuration: string ,
healthCheckRetryTimeout: string ,
upgradeTimeout: string ,
upgradeDomainTimeout: string ,
}
,
instanceCloseDelayDuration: integer ,
upgradeMode: enum ,
upgradeReplicaSetCheckTimeout: integer ,
recreateApplication: boolean ,
}
,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}