Microsoft.ServiceFabric (stable:6.4.0.36)

2025/09/26 • 227 deleted methods

GetClusterManifest (removed)
Description Get the Service Fabric cluster manifest. The cluster manifest contains properties of the cluster that include different node types on the cluster, security configurations, fault, and upgrade domain topologies, etc. These properties are specified as part of the ClusterConfig.JSON file while deploying a stand-alone cluster. However, most of the information in the cluster manifest is generated internally by service fabric during cluster deployment in other deployment scenarios (e.g. when using Azure portal). The contents of the cluster manifest are for informational purposes only and users are not expected to take a dependency on the format of the file contents or its interpretation.
Reference Link ¶

⚼ Request

GET:  /$/GetClusterManifest
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
Manifest: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterHealth (removed)
Description Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state. Similarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state.
Reference Link ¶

⚼ Request

GET:  /$/GetClusterHealth
{
api-version: string ,
NodesHealthStateFilter: integer ,
ApplicationsHealthStateFilter: integer ,
EventsHealthStateFilter: integer ,
ExcludeHealthStatistics: boolean ,
IncludeSystemApplicationHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
NodeHealthStates:
[
{
Name: string ,
Id:
{
Id: string ,
}
,
}
,
]
,
ApplicationHealthStates:
[
{
Name: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterHealthUsingPolicy (removed)
Description Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state. Similarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state. Use ClusterHealthPolicies to override the health policies used to evaluate the health.
Reference Link ¶

⚼ Request

POST:  /$/GetClusterHealth
{
api-version: string ,
NodesHealthStateFilter: integer ,
ApplicationsHealthStateFilter: integer ,
EventsHealthStateFilter: integer ,
ExcludeHealthStatistics: boolean ,
IncludeSystemApplicationHealthStatistics: boolean ,
ClusterHealthPolicies:
{
ApplicationHealthPolicyMap:
[
{
Key: string ,
Value:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
]
,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (200)

{
NodeHealthStates:
[
{
Name: string ,
Id:
{
Id: string ,
}
,
}
,
]
,
ApplicationHealthStates:
[
{
Name: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterHealthChunk (removed)
Description Gets the health of a Service Fabric cluster using health chunks. Includes the aggregated health state of the cluster, but none of the cluster entities. To expand the cluster health and get the health state of all or some of the entities, use the POST URI and specify the cluster health chunk query description.
Reference Link ¶

⚼ Request

GET:  /$/GetClusterHealthChunk
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
HealthState: enum ,
NodeHealthStateChunks:
{
Items:
[
{
NodeName: string ,
}
,
]
,
}
,
ApplicationHealthStateChunks:
{
Items:
[
{
ApplicationName: string ,
ApplicationTypeName: string ,
ServiceHealthStateChunks:
{
Items:
[
{
ServiceName: string ,
PartitionHealthStateChunks:
{
Items:
[
{
PartitionId: string ,
ReplicaHealthStateChunks:
{
Items:
[
{
ReplicaOrInstanceId: string ,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
DeployedApplicationHealthStateChunks:
{
Items:
[
{
NodeName: string ,
DeployedServicePackageHealthStateChunks:
{
Items:
[
{
ServiceManifestName: string ,
ServicePackageActivationId: string ,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterHealthChunkUsingPolicyAndAdvancedFilters (removed)
Description Gets the health of a Service Fabric cluster using health chunks. The health evaluation is done based on the input cluster health chunk query description. The query description allows users to specify health policies for evaluating the cluster and its children. Users can specify very flexible filters to select which cluster entities to return. The selection can be done based on the entities health state and based on the hierarchy. The query can return multi-level children of the entities based on the specified filters. For example, it can return one application with a specified name, and for this application, return only services that are in Error or Warning, and all partitions and replicas for one of these services.
Reference Link ¶

⚼ Request

POST:  /$/GetClusterHealthChunk
{
api-version: string ,
ClusterHealthChunkQueryDescription:
{
NodeFilters:
[
{
NodeNameFilter: string ,
HealthStateFilter: integer ,
}
,
]
,
ApplicationFilters:
[
{
ApplicationNameFilter: string ,
ApplicationTypeNameFilter: string ,
HealthStateFilter: integer ,
ServiceFilters:
[
{
ServiceNameFilter: string ,
HealthStateFilter: integer ,
PartitionFilters:
[
{
PartitionIdFilter: string ,
HealthStateFilter: integer ,
ReplicaFilters:
[
{
ReplicaOrInstanceIdFilter: string ,
HealthStateFilter: integer ,
}
,
]
,
}
,
]
,
}
,
]
,
DeployedApplicationFilters:
[
{
NodeNameFilter: string ,
HealthStateFilter: integer ,
DeployedServicePackageFilters:
[
{
ServiceManifestNameFilter: string ,
ServicePackageActivationIdFilter: string ,
HealthStateFilter: integer ,
}
,
]
,
}
,
]
,
}
,
]
,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
ApplicationHealthPolicies:
{
ApplicationHealthPolicyMap:
[
{
Key: string ,
Value:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (200)

{
HealthState: enum ,
NodeHealthStateChunks:
{
Items:
[
{
NodeName: string ,
}
,
]
,
}
,
ApplicationHealthStateChunks:
{
Items:
[
{
ApplicationName: string ,
ApplicationTypeName: string ,
ServiceHealthStateChunks:
{
Items:
[
{
ServiceName: string ,
PartitionHealthStateChunks:
{
Items:
[
{
PartitionId: string ,
ReplicaHealthStateChunks:
{
Items:
[
{
ReplicaOrInstanceId: string ,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
DeployedApplicationHealthStateChunks:
{
Items:
[
{
NodeName: string ,
DeployedServicePackageHealthStateChunks:
{
Items:
[
{
ServiceManifestName: string ,
ServicePackageActivationId: string ,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportClusterHealth (removed)
Description Sends a health report on a Service Fabric cluster. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway node, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetClusterHealth and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /$/ReportClusterHealth
{
api-version: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetProvisionedFabricCodeVersionInfoList (removed)
Description Gets a list of information about fabric code versions that are provisioned in the cluster. The parameter CodeVersion can be used to optionally filter the output to only that particular version.
Reference Link ¶

⚼ Request

GET:  /$/GetProvisionedCodeVersions
{
api-version: string ,
CodeVersion: string ,
timeout: integer ,
}

⚐ Response (200)

{
CodeVersion: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetProvisionedFabricConfigVersionInfoList (removed)
Description Gets a list of information about fabric config versions that are provisioned in the cluster. The parameter ConfigVersion can be used to optionally filter the output to only that particular version.
Reference Link ¶

⚼ Request

GET:  /$/GetProvisionedConfigVersions
{
api-version: string ,
ConfigVersion: string ,
timeout: integer ,
}

⚐ Response (200)

{
ConfigVersion: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterUpgradeProgress (removed)
Description Gets the current progress of the ongoing cluster upgrade. If no upgrade is currently in progress, get the last state of the previous cluster upgrade.
Reference Link ¶

⚼ Request

GET:  /$/GetUpgradeProgress
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
CodeVersion: string ,
ConfigVersion: string ,
UpgradeDomains:
[
{
Name: string ,
State: enum ,
}
,
]
,
UpgradeState: enum ,
NextUpgradeDomain: string ,
RollingUpgradeMode: enum ,
UpgradeDescription:
{
ConfigVersion: string ,
CodeVersion: string ,
UpgradeKind: enum ,
RollingUpgradeMode: enum ,
UpgradeReplicaSetCheckTimeoutInSeconds: integer ,
ForceRestart: boolean ,
EnableDeltaHealthEvaluation: boolean ,
MonitoringPolicy:
{
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
ClusterUpgradeHealthPolicy:
{
MaxPercentDeltaUnhealthyNodes: integer ,
MaxPercentUpgradeDomainDeltaUnhealthyNodes: integer ,
}
,
ApplicationHealthPolicyMap:
[
{
Key: string ,
Value:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
UpgradeDurationInMilliseconds: string ,
UpgradeDomainDurationInMilliseconds: string ,
UnhealthyEvaluations:
[
{
HealthEvaluation:
{
Kind: enum ,
AggregatedHealthState: enum ,
Description: string ,
}
,
}
,
]
,
CurrentUpgradeDomainProgress:
{
DomainName: string ,
NodeUpgradeProgressList:
[
{
NodeName: string ,
UpgradePhase: enum ,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
]
,
}
,
StartTimestampUtc: string ,
FailureTimestampUtc: string ,
FailureReason: enum ,
UpgradeDomainProgressAtFailure:
{
DomainName: string ,
NodeUpgradeProgressList:
[
{
NodeName: string ,
UpgradePhase: enum ,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterConfiguration (removed)
Description The cluster configuration contains properties of the cluster that include different node types on the cluster, security configurations, fault, and upgrade domain topologies, etc.
Reference Link ¶

⚼ Request

GET:  /$/GetClusterConfiguration
{
api-version: string ,
ConfigurationApiVersion: string ,
timeout: integer ,
}

⚐ Response (200)

{
ClusterConfiguration: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterConfigurationUpgradeStatus (removed)
Description Get the cluster configuration upgrade status details of a Service Fabric standalone cluster.
Reference Link ¶

⚼ Request

GET:  /$/GetClusterConfigurationUpgradeStatus
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
UpgradeState: enum ,
ProgressStatus: integer ,
ConfigVersion: string ,
Details: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetUpgradeOrchestrationServiceState (removed)
Description Get the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.
Reference Link ¶

⚼ Request

GET:  /$/GetUpgradeOrchestrationServiceState
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceState: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
SetUpgradeOrchestrationServiceState (removed)
Description Update the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.
Reference Link ¶

⚼ Request

POST:  /$/SetUpgradeOrchestrationServiceState
{
api-version: string ,
UpgradeOrchestrationServiceState:
{
ServiceState: string ,
}
,
timeout: integer ,
}

⚐ Response (200)

{
CurrentCodeVersion: string ,
CurrentManifestVersion: string ,
TargetCodeVersion: string ,
TargetManifestVersion: string ,
PendingUpgradeType: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ProvisionCluster (removed)
Description Validate and provision the code or configuration packages of a Service Fabric cluster.
Reference Link ¶

⚼ Request

POST:  /$/Provision
{
api-version: string ,
ProvisionFabricDescription:
{
CodeFilePath: string ,
ClusterManifestFilePath: string ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UnprovisionCluster (removed)
Description It is supported to unprovision code and configuration separately.
Reference Link ¶

⚼ Request

POST:  /$/Unprovision
{
api-version: string ,
UnprovisionFabricDescription:
{
CodeVersion: string ,
ConfigVersion: string ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RollbackClusterUpgrade (removed)
Description Roll back the code or configuration upgrade of a Service Fabric cluster.
Reference Link ¶

⚼ Request

POST:  /$/RollbackUpgrade
{
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ResumeClusterUpgrade (removed)
Description Make the cluster code or configuration upgrade move on to the next upgrade domain if appropriate.
Reference Link ¶

⚼ Request

POST:  /$/MoveToNextUpgradeDomain
{
api-version: string ,
ResumeClusterUpgradeDescription:
{
UpgradeDomain: string ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartClusterUpgrade (removed)
Description Validate the supplied upgrade parameters and start upgrading the code or configuration version of a Service Fabric cluster if the parameters are valid.
Reference Link ¶

⚼ Request

POST:  /$/Upgrade
{
api-version: string ,
StartClusterUpgradeDescription:
{
CodeVersion: string ,
ConfigVersion: string ,
UpgradeKind: enum ,
RollingUpgradeMode: enum ,
UpgradeReplicaSetCheckTimeoutInSeconds: integer ,
ForceRestart: boolean ,
MonitoringPolicy:
{
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
EnableDeltaHealthEvaluation: boolean ,
ClusterUpgradeHealthPolicy:
{
MaxPercentDeltaUnhealthyNodes: integer ,
MaxPercentUpgradeDomainDeltaUnhealthyNodes: integer ,
}
,
ApplicationHealthPolicyMap:
{
ApplicationHealthPolicyMap:
[
{
Key: string ,
Value:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartClusterConfigurationUpgrade (removed)
Description Validate the supplied configuration upgrade parameters and start upgrading the cluster configuration if the parameters are valid.
Reference Link ¶

⚼ Request

POST:  /$/StartClusterConfigurationUpgrade
{
api-version: string ,
ClusterConfigurationUpgradeDescription:
{
ClusterConfig: string ,
HealthCheckRetryTimeout: string ,
HealthCheckWaitDurationInSeconds: string ,
HealthCheckStableDurationInSeconds: string ,
UpgradeDomainTimeoutInSeconds: string ,
UpgradeTimeoutInSeconds: string ,
MaxPercentUnhealthyApplications: integer ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentDeltaUnhealthyNodes: integer ,
MaxPercentUpgradeDomainDeltaUnhealthyNodes: integer ,
ApplicationHealthPolicies:
{
ApplicationHealthPolicyMap:
[
{
Key: string ,
Value:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UpdateClusterUpgrade (removed)
Description Update the upgrade parameters used during a Service Fabric cluster upgrade.
Reference Link ¶

⚼ Request

POST:  /$/UpdateUpgrade
{
api-version: string ,
UpdateClusterUpgradeDescription:
{
UpgradeKind: enum ,
UpdateDescription:
{
RollingUpgradeMode: enum ,
ForceRestart: boolean ,
ReplicaSetCheckTimeoutInMilliseconds: integer ,
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
EnableDeltaHealthEvaluation: boolean ,
ClusterUpgradeHealthPolicy:
{
MaxPercentDeltaUnhealthyNodes: integer ,
MaxPercentUpgradeDomainDeltaUnhealthyNodes: integer ,
}
,
ApplicationHealthPolicyMap:
{
ApplicationHealthPolicyMap:
[
{
Key: string ,
Value:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetAadMetadata (removed)
Description Gets the Azure Active Directory metadata used for secured connection to cluster. This API is not supposed to be called separately. It provides information needed to set up an Azure Active Directory secured connection with a Service Fabric cluster.
Reference Link ¶

⚼ Request

GET:  /$/GetAadMetadata
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
type: string ,
metadata:
{
authority: string ,
client: string ,
cluster: string ,
login: string ,
redirect: string ,
tenant: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterVersion (removed)
Description If a cluster upgrade is happening, then this API will return the lowest (older) version of the current and target cluster runtime versions.
Reference Link ¶

⚼ Request

GET:  /$/GetClusterVersion
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
Version: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodeInfoList (removed)
Description The response includes the name, status, ID, health, uptime, and other details about the nodes.
Reference Link ¶

⚼ Request

GET:  /Nodes
{
api-version: string ,
ContinuationToken: string ,
NodeStatusFilter: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Name: string ,
IpAddressOrFQDN: string ,
Type: string ,
CodeVersion: string ,
ConfigVersion: string ,
NodeStatus: enum ,
NodeUpTimeInSeconds: string ,
HealthState: enum ,
IsSeedNode: boolean ,
UpgradeDomain: string ,
FaultDomain: string ,
Id:
{
Id: string ,
}
,
InstanceId: string ,
NodeDeactivationInfo:
{
NodeDeactivationIntent: enum ,
NodeDeactivationStatus: enum ,
NodeDeactivationTask:
[
{
NodeDeactivationTaskId:
{
Id: string ,
NodeDeactivationTaskType: enum ,
}
,
NodeDeactivationIntent: enum ,
}
,
]
,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
IsStopped: boolean ,
NodeDownTimeInSeconds: string ,
NodeUpAt: string ,
NodeDownAt: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodeInfo (removed)
Description The response includes the name, status, ID, health, uptime, and other details about the node.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}
{
api-version: string ,
nodeName: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
IpAddressOrFQDN: string ,
Type: string ,
CodeVersion: string ,
ConfigVersion: string ,
NodeStatus: enum ,
NodeUpTimeInSeconds: string ,
HealthState: enum ,
IsSeedNode: boolean ,
UpgradeDomain: string ,
FaultDomain: string ,
Id:
{
Id: string ,
}
,
InstanceId: string ,
NodeDeactivationInfo:
{
NodeDeactivationIntent: enum ,
NodeDeactivationStatus: enum ,
NodeDeactivationTask:
[
{
NodeDeactivationTaskId:
{
Id: string ,
NodeDeactivationTaskType: enum ,
}
,
NodeDeactivationIntent: enum ,
}
,
]
,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
IsStopped: boolean ,
NodeDownTimeInSeconds: string ,
NodeUpAt: string ,
NodeDownAt: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodeHealth (removed)
Description Gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. If the node that you specify by name does not exist in the health store, this returns an error.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetHealth
{
api-version: string ,
nodeName: string ,
EventsHealthStateFilter: integer ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodeHealthUsingPolicy (removed)
Description Gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicy in the POST body to override the health policies used to evaluate the health. If the node that you specify by name does not exist in the health store, this returns an error.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetHealth
{
api-version: string ,
nodeName: string ,
EventsHealthStateFilter: integer ,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportNodeHealth (removed)
Description Reports health state of the specified Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway node, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetNodeHealth and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/ReportHealth
{
api-version: string ,
nodeName: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodeLoadInfo (removed)
Description Retrieves the load information of a Service Fabric node for all the metrics that have load or capacity defined.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetLoadInformation
{
api-version: string ,
nodeName: string ,
timeout: integer ,
}

⚐ Response (200)

{
NodeName: string ,
NodeLoadMetricInformation:
[
{
Name: string ,
NodeCapacity: string ,
NodeLoad: string ,
NodeRemainingCapacity: string ,
IsCapacityViolation: boolean ,
NodeBufferedCapacity: string ,
NodeRemainingBufferedCapacity: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DisableNode (removed)
Description Deactivate a Service Fabric cluster node with the specified deactivation intent. Once the deactivation is in progress, the deactivation intent can be increased, but not decreased (for example, a node that is deactivated with the Pause intent can be deactivated further with Restart, but not the other way around. Nodes may be reactivated using the Activate a node operation any time after they are deactivated. If the deactivation is not complete, this will cancel the deactivation. A node that goes down and comes back up while deactivated will still need to be reactivated before services will be placed on that node.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/Deactivate
{
api-version: string ,
nodeName: string ,
DeactivationIntentDescription:
{
DeactivationIntent: enum ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
EnableNode (removed)
Description Activates a Service Fabric cluster node that is currently deactivated. Once activated, the node will again become a viable target for placing new replicas, and any deactivated replicas remaining on the node will be reactivated.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/Activate
{
api-version: string ,
nodeName: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RemoveNodeState (removed)
Description This implies that it is not possible to recover the persisted state of that node. This generally happens if a hard disk has been wiped clean, or if a hard disk crashes. The node has to be down for this operation to be successful. This operation lets Service Fabric know that the replicas on that node no longer exist, and that Service Fabric should stop waiting for those replicas to come back up. Do not run this cmdlet if the state on the node has not been removed and the node can come back up with its state intact.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/RemoveNodeState
{
api-version: string ,
nodeName: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RestartNode (removed)
Description Restarts a Service Fabric cluster node that is already started.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/Restart
{
api-version: string ,
nodeName: string ,
RestartNodeDescription:
{
NodeInstanceId: string ,
CreateFabricDump: enum ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationTypeInfoList (removed)
Description Returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. Each version of an application type is returned as one application type. The response includes the name, version, status, and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. For example, if there are 10 application types but a page only fits the first three application types, or if max results is set to 3, then three is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages.
Reference Link ¶

⚼ Request

GET:  /ApplicationTypes
{
api-version: string ,
ApplicationTypeDefinitionKindFilter: integer ,
ExcludeApplicationParameters: boolean ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Name: string ,
Version: string ,
DefaultParameterList:
[
{
Key: string ,
Value: string ,
}
,
]
,
Status: enum ,
StatusDetails: string ,
ApplicationTypeDefinitionKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationTypeInfoListByName (removed)
Description Returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. These results are of application types whose name match exactly the one specified as the parameter, and which comply with the given query parameters. All versions of the application type matching the application type name are returned, with each version returned as one application type. The response includes the name, version, status, and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. For example, if there are 10 application types but a page only fits the first three application types, or if max results is set to 3, then three is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages.
Reference Link ¶

⚼ Request

GET:  /ApplicationTypes/{applicationTypeName}
{
api-version: string ,
applicationTypeName: string ,
ApplicationTypeVersion: string ,
ExcludeApplicationParameters: boolean ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Name: string ,
Version: string ,
DefaultParameterList:
[
{
Key: string ,
Value: string ,
}
,
]
,
Status: enum ,
StatusDetails: string ,
ApplicationTypeDefinitionKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ProvisionApplicationType (removed)
Description Provisions a Service Fabric application type with the cluster. The provision is required before any new applications can be instantiated. The provision operation can be performed either on the application package specified by the relativePathInImageStore, or by using the URI of the external '.sfpkg'.
Reference Link ¶

⚼ Request

POST:  /ApplicationTypes/$/Provision
{
api-version: string ,
ProvisionApplicationTypeDescriptionBaseRequiredBodyParam:
{
Kind: enum ,
Async: boolean ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UnprovisionApplicationType (removed)
Description This operation can only be performed if all application instances of the application type have been deleted. Once the application type is unregistered, no new application instances can be created for this particular application type.
Reference Link ¶

⚼ Request

POST:  /ApplicationTypes/{applicationTypeName}/$/Unprovision
{
api-version: string ,
applicationTypeName: string ,
UnprovisionApplicationTypeDescriptionInfo:
{
ApplicationTypeVersion: string ,
Async: boolean ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceTypeInfoList (removed)
Description Gets the list containing the information about service types that are supported by a provisioned application type in a Service Fabric cluster. The provided application type must exist. Otherwise, a 404 status is returned.
Reference Link ¶

⚼ Request

GET:  /ApplicationTypes/{applicationTypeName}/$/GetServiceTypes
{
api-version: string ,
applicationTypeName: string ,
ApplicationTypeVersion: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceTypeDescription:
{
Kind: enum ,
IsStateful: boolean ,
ServiceTypeName: string ,
PlacementConstraints: string ,
LoadMetrics:
[
{
Name: string ,
Weight: enum ,
PrimaryDefaultLoad: integer ,
SecondaryDefaultLoad: integer ,
DefaultLoad: integer ,
}
,
]
,
ServicePlacementPolicies:
[
{
Type: enum ,
}
,
]
,
Extensions:
[
{
Key: string ,
Value: string ,
}
,
]
,
}
,
ServiceManifestName: string ,
ServiceManifestVersion: string ,
IsServiceGroup: boolean ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceTypeInfoByName (removed)
Description Gets the information about a specific service type that is supported by a provisioned application type in a Service Fabric cluster. The provided application type must exist. Otherwise, a 404 status is returned. A 204 response is returned if the specified service type is not found in the cluster.
Reference Link ¶

⚼ Request

GET:  /ApplicationTypes/{applicationTypeName}/$/GetServiceTypes/{serviceTypeName}
{
api-version: string ,
applicationTypeName: string ,
ApplicationTypeVersion: string ,
serviceTypeName: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceTypeDescription:
{
Kind: enum ,
IsStateful: boolean ,
ServiceTypeName: string ,
PlacementConstraints: string ,
LoadMetrics:
[
{
Name: string ,
Weight: enum ,
PrimaryDefaultLoad: integer ,
SecondaryDefaultLoad: integer ,
DefaultLoad: integer ,
}
,
]
,
ServicePlacementPolicies:
[
{
Type: enum ,
}
,
]
,
Extensions:
[
{
Key: string ,
Value: string ,
}
,
]
,
}
,
ServiceManifestName: string ,
ServiceManifestVersion: string ,
IsServiceGroup: boolean ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceManifest (removed)
Description Gets the manifest describing a service type. The response contains the service manifest XML as a string.
Reference Link ¶

⚼ Request

GET:  /ApplicationTypes/{applicationTypeName}/$/GetServiceManifest
{
api-version: string ,
applicationTypeName: string ,
ApplicationTypeVersion: string ,
ServiceManifestName: string ,
timeout: integer ,
}

⚐ Response (200)

{
Manifest: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServiceTypeInfoList (removed)
Description Gets the list containing the information about service types from the applications deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation ID of the service package.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServiceTypes
{
api-version: string ,
nodeName: string ,
applicationId: string ,
ServiceManifestName: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceTypeName: string ,
ServiceManifestName: string ,
CodePackageName: string ,
Status: enum ,
ServicePackageActivationId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServiceTypeInfoByName (removed)
Description Gets the list containing the information about a specific service type from the applications deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation ID of the service package. Each entry represents one activation of a service type, differentiated by the activation ID.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServiceTypes/{serviceTypeName}
{
api-version: string ,
nodeName: string ,
applicationId: string ,
serviceTypeName: string ,
ServiceManifestName: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceTypeName: string ,
ServiceManifestName: string ,
CodePackageName: string ,
Status: enum ,
ServicePackageActivationId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CreateApplication (removed)
Description Creates a Service Fabric application using the specified description.
Reference Link ¶

⚼ Request

POST:  /Applications/$/Create
{
api-version: string ,
ApplicationDescription:
{
Name: string ,
TypeName: string ,
TypeVersion: string ,
ParameterList:
[
{
Key: string ,
Value: string ,
}
,
]
,
ApplicationCapacity:
{
MinimumNodes: integer ,
MaximumNodes: integer ,
ApplicationMetrics:
[
{
Name: string ,
MaximumCapacity: integer ,
ReservationCapacity: integer ,
TotalApplicationCapacity: integer ,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (201)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteApplication (removed)
Description An application must be created before it can be deleted. Deleting an application will delete all services that are part of that application. By default, Service Fabric will try to close service replicas in a graceful manner and then delete the service. However, if a service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the application and all of its services.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/Delete
{
api-version: string ,
applicationId: string ,
ForceRemove: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationLoadInfo (removed)
Description Returns the load information about the application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, minimum nodes, maximum nodes, the number of nodes the application is occupying currently, and application load metric information about the application.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}/$/GetLoadInformation
{
api-version: string ,
applicationId: string ,
timeout: integer ,
}

⚐ Response (200)

{
Id: string ,
MinimumNodes: integer ,
MaximumNodes: integer ,
NodeCount: integer ,
ApplicationLoadMetricInformation:
[
{
Name: string ,
MaximumCapacity: integer ,
ReservationCapacity: integer ,
TotalApplicationCapacity: integer ,
}
,
]
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationInfoList (removed)
Description Gets the information about the applications that were created or in the process of being created in the Service Fabric cluster and match the specified filters. The response includes the name, type, status, parameters, and other details about the application. If the applications do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. Filters ApplicationTypeName and ApplicationDefinitionKindFilter cannot be specified at the same time.
Reference Link ¶

⚼ Request

GET:  /Applications
{
api-version: string ,
ApplicationDefinitionKindFilter: integer ,
ApplicationTypeName: string ,
ExcludeApplicationParameters: boolean ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Id: string ,
Name: string ,
TypeName: string ,
TypeVersion: string ,
Status: enum ,
Parameters:
[
{
Key: string ,
Value: string ,
}
,
]
,
HealthState: enum ,
ApplicationDefinitionKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationInfo (removed)
Description Returns the information about the application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, type, status, parameters, and other details about the application.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}
{
api-version: string ,
applicationId: string ,
ExcludeApplicationParameters: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
Id: string ,
Name: string ,
TypeName: string ,
TypeVersion: string ,
Status: enum ,
Parameters:
[
{
Key: string ,
Value: string ,
}
,
]
,
HealthState: enum ,
ApplicationDefinitionKind: enum ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationHealth (removed)
Description Returns the heath state of the service fabric application. The response reports either Ok, Error or Warning health state. If the entity is not found in the health store, it will return Error.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}/$/GetHealth
{
applicationId: string ,
api-version: string ,
EventsHealthStateFilter: integer ,
DeployedApplicationsHealthStateFilter: integer ,
ServicesHealthStateFilter: integer ,
ExcludeHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
ServiceHealthStates:
[
{
ServiceName: string ,
}
,
]
,
DeployedApplicationHealthStates:
[
{
NodeName: string ,
ApplicationName: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationHealthUsingPolicy (removed)
Description Gets the health of a Service Fabric application. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicies to override the health policies used to evaluate the health.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/GetHealth
{
applicationId: string ,
api-version: string ,
EventsHealthStateFilter: integer ,
DeployedApplicationsHealthStateFilter: integer ,
ServicesHealthStateFilter: integer ,
ExcludeHealthStatistics: boolean ,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
ServiceHealthStates:
[
{
ServiceName: string ,
}
,
]
,
DeployedApplicationHealthStates:
[
{
NodeName: string ,
ApplicationName: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportApplicationHealth (removed)
Description Reports health state of the specified Service Fabric application. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Application, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, get application health and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/ReportHealth
{
api-version: string ,
applicationId: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartApplicationUpgrade (removed)
Description Validates the supplied application upgrade parameters and starts upgrading the application if the parameters are valid.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/Upgrade
{
api-version: string ,
applicationId: string ,
ApplicationUpgradeDescription:
{
Name: string ,
TargetApplicationTypeVersion: string ,
Parameters:
[
{
Key: string ,
Value: string ,
}
,
]
,
UpgradeKind: enum ,
RollingUpgradeMode: enum ,
UpgradeReplicaSetCheckTimeoutInSeconds: integer ,
ForceRestart: boolean ,
MonitoringPolicy:
{
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationUpgrade (removed)
Description Returns information about the state of the latest application upgrade along with details to aid debugging application health issues.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}/$/GetUpgradeProgress
{
api-version: string ,
applicationId: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
TypeName: string ,
TargetApplicationTypeVersion: string ,
UpgradeDomains:
[
{
Name: string ,
State: enum ,
}
,
]
,
UpgradeState: enum ,
NextUpgradeDomain: string ,
RollingUpgradeMode: enum ,
UpgradeDescription:
{
Name: string ,
TargetApplicationTypeVersion: string ,
Parameters:
[
{
Key: string ,
Value: string ,
}
,
]
,
UpgradeKind: enum ,
RollingUpgradeMode: enum ,
UpgradeReplicaSetCheckTimeoutInSeconds: integer ,
ForceRestart: boolean ,
MonitoringPolicy:
{
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
UpgradeDurationInMilliseconds: string ,
UpgradeDomainDurationInMilliseconds: string ,
UnhealthyEvaluations:
[
{
HealthEvaluation:
{
Kind: enum ,
AggregatedHealthState: enum ,
Description: string ,
}
,
}
,
]
,
CurrentUpgradeDomainProgress:
{
DomainName: string ,
NodeUpgradeProgressList:
[
{
NodeName: string ,
UpgradePhase: enum ,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
]
,
}
,
StartTimestampUtc: string ,
FailureTimestampUtc: string ,
FailureReason: enum ,
UpgradeDomainProgressAtFailure:
{
DomainName: string ,
NodeUpgradeProgressList:
[
{
NodeName: string ,
UpgradePhase: enum ,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
]
,
}
,
UpgradeStatusDetails: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UpdateApplicationUpgrade (removed)
Description Updates the parameters of an ongoing application upgrade from the ones specified at the time of starting the application upgrade. This may be required to mitigate stuck application upgrades due to incorrect parameters or issues in the application to make progress.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/UpdateUpgrade
{
api-version: string ,
applicationId: string ,
ApplicationUpgradeUpdateDescription:
{
Name: string ,
UpgradeKind: enum ,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
UpdateDescription:
{
RollingUpgradeMode: enum ,
ForceRestart: boolean ,
ReplicaSetCheckTimeoutInMilliseconds: integer ,
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ResumeApplicationUpgrade (removed)
Description Resumes an unmonitored manual Service Fabric application upgrade. Service Fabric upgrades one upgrade domain at a time. For unmonitored manual upgrades, after Service Fabric finishes an upgrade domain, it waits for you to call this API before proceeding to the next upgrade domain.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/MoveToNextUpgradeDomain
{
api-version: string ,
applicationId: string ,
ResumeApplicationUpgradeDescription:
{
UpgradeDomainName: string ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RollbackApplicationUpgrade (removed)
Description Starts rolling back the current application upgrade to the previous version. This API can only be used to roll back the current in-progress upgrade that is rolling forward to new version. If the application is not currently being upgraded use StartApplicationUpgrade API to upgrade it to desired version, including rolling back to a previous version.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/RollbackUpgrade
{
api-version: string ,
applicationId: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedApplicationInfoList (removed)
Description Gets the list of applications deployed on a Service Fabric node. The results do not include information about deployed system applications unless explicitly queried for by ID. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications
{
api-version: string ,
nodeName: string ,
timeout: integer ,
IncludeHealthState: boolean ,
ContinuationToken: string ,
MaxResults: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Id: string ,
Name: string ,
TypeName: string ,
Status: enum ,
WorkDirectory: string ,
LogDirectory: string ,
TempDirectory: string ,
HealthState: enum ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedApplicationInfo (removed)
Description This query returns system application information if the application ID provided is for system application. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}
{
api-version: string ,
nodeName: string ,
applicationId: string ,
timeout: integer ,
IncludeHealthState: boolean ,
}

⚐ Response (200)

{
Id: string ,
Name: string ,
TypeName: string ,
Status: enum ,
WorkDirectory: string ,
LogDirectory: string ,
TempDirectory: string ,
HealthState: enum ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedApplicationHealth (removed)
Description Gets the information about health of an application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetHealth
{
api-version: string ,
nodeName: string ,
applicationId: string ,
EventsHealthStateFilter: integer ,
DeployedServicePackagesHealthStateFilter: integer ,
ExcludeHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
NodeName: string ,
DeployedServicePackageHealthStates:
[
{
NodeName: string ,
ApplicationName: string ,
ServiceManifestName: string ,
ServicePackageActivationId: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedApplicationHealthUsingPolicy (removed)
Description Gets the information about health of an application deployed on a Service Fabric node using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed application.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetHealth
{
api-version: string ,
nodeName: string ,
applicationId: string ,
EventsHealthStateFilter: integer ,
DeployedServicePackagesHealthStateFilter: integer ,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
ExcludeHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
NodeName: string ,
DeployedServicePackageHealthStates:
[
{
NodeName: string ,
ApplicationName: string ,
ServiceManifestName: string ,
ServicePackageActivationId: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportDeployedApplicationHealth (removed)
Description Reports health state of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Service, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, get deployed application health and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/ReportHealth
{
api-version: string ,
nodeName: string ,
applicationId: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationManifest (removed)
Description The response contains the application manifest XML as a string.
Reference Link ¶

⚼ Request

GET:  /ApplicationTypes/{applicationTypeName}/$/GetApplicationManifest
{
api-version: string ,
applicationTypeName: string ,
ApplicationTypeVersion: string ,
timeout: integer ,
}

⚐ Response (200)

{
Manifest: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceInfoList (removed)
Description Returns the information about all services belonging to the application specified by the application ID.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}/$/GetServices
{
applicationId: string ,
ServiceTypeName: string ,
api-version: string ,
ContinuationToken: string ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Id: string ,
ServiceKind: enum ,
Name: string ,
TypeName: string ,
ManifestVersion: string ,
HealthState: enum ,
ServiceStatus: enum ,
IsServiceGroup: boolean ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceInfo (removed)
Description Returns the information about the specified service belonging to the specified Service Fabric application.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}/$/GetServices/{serviceId}
{
applicationId: string ,
serviceId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
Id: string ,
ServiceKind: enum ,
Name: string ,
TypeName: string ,
ManifestVersion: string ,
HealthState: enum ,
ServiceStatus: enum ,
IsServiceGroup: boolean ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationNameInfo (removed)
Description Gets the name of the application for the specified service. A 404 FABRIC_E_SERVICE_DOES_NOT_EXIST error is returned if a service with the provided service ID does not exist.
Reference Link ¶

⚼ Request

GET:  /Services/{serviceId}/$/GetApplicationName
{
api-version: string ,
serviceId: string ,
timeout: integer ,
}

⚐ Response (200)

{
Id: string ,
Name: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CreateService (removed)
Description This api allows creating a new Service Fabric stateless or stateful service under a specified Service Fabric application. The description for creating the service includes partitioning information and optional properties for placement and load balancing. Some of the properties can later be modified using `UpdateService` API.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/GetServices/$/Create
{
api-version: string ,
applicationId: string ,
ServiceDescription:
{
ServiceKind: enum ,
ApplicationName: string ,
ServiceName: string ,
ServiceTypeName: string ,
InitializationData:
[
integer ,
]
,
PartitionDescription:
{
PartitionScheme: enum ,
}
,
PlacementConstraints: string ,
CorrelationScheme:
[
{
Scheme: enum ,
ServiceName: string ,
}
,
]
,
ServiceLoadMetrics:
[
{
Name: string ,
Weight: enum ,
PrimaryDefaultLoad: integer ,
SecondaryDefaultLoad: integer ,
DefaultLoad: integer ,
}
,
]
,
ServicePlacementPolicies:
[
{
Type: enum ,
}
,
]
,
DefaultMoveCost: enum ,
IsDefaultMoveCostSpecified: boolean ,
ServicePackageActivationMode: enum ,
ServiceDnsName: string ,
ScalingPolicies:
[
{
ScalingTrigger:
{
Kind: enum ,
}
,
ScalingMechanism:
{
Kind: enum ,
}
,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CreateServiceFromTemplate (removed)
Description Creates a Service Fabric service from the service template defined in the application manifest. A service template contains the properties that will be same for the service instance of the same type. The API allows overriding the properties that are usually different for different services of the same service type.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/GetServices/$/CreateFromTemplate
{
api-version: string ,
applicationId: string ,
ServiceFromTemplateDescription:
{
ApplicationName: string ,
ServiceName: string ,
ServiceTypeName: string ,
InitializationData:
[
integer ,
]
,
ServicePackageActivationMode: enum ,
ServiceDnsName: string ,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteService (removed)
Description A service must be created before it can be deleted. By default, Service Fabric will try to close service replicas in a graceful manner and then delete the service. However, if the service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the service.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/Delete
{
api-version: string ,
serviceId: string ,
ForceRemove: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UpdateService (removed)
Description This API allows updating properties of a running Service Fabric service. The set of properties that can be updated are a subset of the properties that were specified at the time of creating the service. The current set of properties can be obtained using `GetServiceDescription` API. Note that updating the properties of a running service is different than upgrading your application using `StartApplicationUpgrade` API. The upgrade is a long running background operation that involves moving the application from one version to another, one upgrade domain at a time, whereas update applies the new properties immediately to the service.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/Update
{
api-version: string ,
serviceId: string ,
ServiceUpdateDescription:
{
ServiceKind: enum ,
Flags: string ,
PlacementConstraints: string ,
CorrelationScheme:
[
{
Scheme: enum ,
ServiceName: string ,
}
,
]
,
LoadMetrics:
[
{
Name: string ,
Weight: enum ,
PrimaryDefaultLoad: integer ,
SecondaryDefaultLoad: integer ,
DefaultLoad: integer ,
}
,
]
,
ServicePlacementPolicies:
[
{
Type: enum ,
}
,
]
,
DefaultMoveCost: enum ,
ScalingPolicies:
[
{
ScalingTrigger:
{
Kind: enum ,
}
,
ScalingMechanism:
{
Kind: enum ,
}
,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceDescription (removed)
Description Gets the description of an existing Service Fabric service. A service must be created before its description can be obtained.
Reference Link ¶

⚼ Request

GET:  /Services/{serviceId}/$/GetDescription
{
api-version: string ,
serviceId: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
ApplicationName: string ,
ServiceName: string ,
ServiceTypeName: string ,
InitializationData:
[
integer ,
]
,
PartitionDescription:
{
PartitionScheme: enum ,
}
,
PlacementConstraints: string ,
CorrelationScheme:
[
{
Scheme: enum ,
ServiceName: string ,
}
,
]
,
ServiceLoadMetrics:
[
{
Name: string ,
Weight: enum ,
PrimaryDefaultLoad: integer ,
SecondaryDefaultLoad: integer ,
DefaultLoad: integer ,
}
,
]
,
ServicePlacementPolicies:
[
{
Type: enum ,
}
,
]
,
DefaultMoveCost: enum ,
IsDefaultMoveCostSpecified: boolean ,
ServicePackageActivationMode: enum ,
ServiceDnsName: string ,
ScalingPolicies:
[
{
ScalingTrigger:
{
Kind: enum ,
}
,
ScalingMechanism:
{
Kind: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceHealth (removed)
Description Gets the health information of the specified service. Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state. Use PartitionsHealthStateFilter to filter the collection of partitions returned. If you specify a service that does not exist in the health store, this request returns an error.
Reference Link ¶

⚼ Request

GET:  /Services/{serviceId}/$/GetHealth
{
api-version: string ,
serviceId: string ,
EventsHealthStateFilter: integer ,
PartitionsHealthStateFilter: integer ,
ExcludeHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
PartitionHealthStates:
[
{
PartitionId: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceHealthUsingPolicy (removed)
Description Gets the health information of the specified service. If the application health policy is specified, the health evaluation uses it to get the aggregated health state. If the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest. Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state. Use PartitionsHealthStateFilter to filter the collection of partitions returned. If you specify a service that does not exist in the health store, this request returns an error.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/GetHealth
{
api-version: string ,
serviceId: string ,
EventsHealthStateFilter: integer ,
PartitionsHealthStateFilter: integer ,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
ExcludeHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
PartitionHealthStates:
[
{
PartitionId: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportServiceHealth (removed)
Description Reports health state of the specified Service Fabric service. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Service, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetServiceHealth and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/ReportHealth
{
api-version: string ,
serviceId: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ResolveService (removed)
Description Resolve a Service Fabric service partition to get the endpoints of the service replicas.
Reference Link ¶

⚼ Request

GET:  /Services/{serviceId}/$/ResolvePartition
{
api-version: string ,
serviceId: string ,
PartitionKeyType: integer ,
PartitionKeyValue: string ,
PreviousRspVersion: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
PartitionInformation:
{
ServicePartitionKind: enum ,
Id: string ,
}
,
Endpoints:
[
{
Kind: enum ,
Address: string ,
}
,
]
,
Version: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionInfoList (removed)
Description The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.
Reference Link ¶

⚼ Request

GET:  /Services/{serviceId}/$/GetPartitions
{
api-version: string ,
serviceId: string ,
ContinuationToken: string ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
ServiceKind: enum ,
HealthState: enum ,
PartitionStatus: enum ,
PartitionInformation:
{
ServicePartitionKind: enum ,
Id: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionInfo (removed)
Description Gets the information about the specified partition. The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}
{
api-version: string ,
partitionId: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
HealthState: enum ,
PartitionStatus: enum ,
PartitionInformation:
{
ServicePartitionKind: enum ,
Id: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceNameInfo (removed)
Description Gets name of the service for the specified partition. A 404 error is returned if the partition ID does not exist in the cluster.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetServiceName
{
api-version: string ,
partitionId: string ,
timeout: integer ,
}

⚐ Response (200)

{
Id: string ,
Name: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionHealth (removed)
Description Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state. Use ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition. If you specify a partition that does not exist in the health store, this request returns an error.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetHealth
{
api-version: string ,
partitionId: string ,
EventsHealthStateFilter: integer ,
ReplicasHealthStateFilter: integer ,
ExcludeHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
PartitionId: string ,
ReplicaHealthStates:
[
{
ServiceKind: enum ,
PartitionId: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionHealthUsingPolicy (removed)
Description Gets the health information of the specified partition. If the application health policy is specified, the health evaluation uses it to get the aggregated health state. If the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest. Use EventsHealthStateFilter to filter the collection of health events reported on the partition based on the health state. Use ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition. Use ApplicationHealthPolicy in the POST body to override the health policies used to evaluate the health. If you specify a partition that does not exist in the health store, this request returns an error.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/GetHealth
{
api-version: string ,
partitionId: string ,
EventsHealthStateFilter: integer ,
ReplicasHealthStateFilter: integer ,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
ExcludeHealthStatistics: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
PartitionId: string ,
ReplicaHealthStates:
[
{
ServiceKind: enum ,
PartitionId: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportPartitionHealth (removed)
Description Reports health state of the specified Service Fabric partition. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Partition, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetPartitionHealth and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/ReportHealth
{
api-version: string ,
partitionId: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionLoadInformation (removed)
Description Returns information about the load of a specified partition. The response includes a list of load reports for a Service Fabric partition. Each report includes the load metric name, value, and last reported time in UTC.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetLoadInformation
{
api-version: string ,
partitionId: string ,
timeout: integer ,
}

⚐ Response (200)

{
PartitionId: string ,
PrimaryLoadMetricReports:
[
{
LastReportedUtc: string ,
Name: string ,
Value: string ,
CurrentValue: string ,
}
,
]
,
SecondaryLoadMetricReports:
[
{
LastReportedUtc: string ,
Name: string ,
Value: string ,
CurrentValue: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ResetPartitionLoad (removed)
Description Resets the current load of a Service Fabric partition to the default load for the service.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/ResetLoad
{
partitionId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RecoverPartition (removed)
Description This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/Recover
{
partitionId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RecoverServicePartitions (removed)
Description Indicates to the Service Fabric cluster that it should attempt to recover the specified service that is currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.
Reference Link ¶

⚼ Request

POST:  /Services/$/{serviceId}/$/GetPartitions/$/Recover
{
serviceId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RecoverSystemPartitions (removed)
Description Indicates to the Service Fabric cluster that it should attempt to recover the system services that are currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.
Reference Link ¶

⚼ Request

POST:  /$/RecoverSystemPartitions
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RecoverAllPartitions (removed)
Description This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.
Reference Link ¶

⚼ Request

POST:  /$/RecoverAllPartitions
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CreateRepairTask (removed)
Description For clusters that have the Repair Manager Service configured, this API provides a way to create repair tasks that run automatically or manually. For repair tasks that run automatically, an appropriate repair executor must be running for each repair action to run automatically. These are currently only available in specially-configured Azure Cloud Services. To create a manual repair task, provide the set of impacted node names and the expected impact. When the state of the created repair task changes to approved, you can safely perform repair actions on those nodes. This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

POST:  /$/CreateRepairTask
{
api-version: string ,
RepairTask:
{
TaskId: string ,
Version: string ,
Description: string ,
State: enum ,
Flags: integer ,
Action: string ,
Target:
{
Kind: enum ,
}
,
Executor: string ,
ExecutorData: string ,
Impact:
{
Kind: enum ,
}
,
ResultStatus: enum ,
ResultCode: integer ,
ResultDetails: string ,
History:
{
CreatedUtcTimestamp: string ,
ClaimedUtcTimestamp: string ,
PreparingUtcTimestamp: string ,
ApprovedUtcTimestamp: string ,
ExecutingUtcTimestamp: string ,
RestoringUtcTimestamp: string ,
CompletedUtcTimestamp: string ,
PreparingHealthCheckStartUtcTimestamp: string ,
PreparingHealthCheckEndUtcTimestamp: string ,
RestoringHealthCheckStartUtcTimestamp: string ,
RestoringHealthCheckEndUtcTimestamp: string ,
}
,
PreparingHealthCheckState: enum ,
RestoringHealthCheckState: enum ,
PerformPreparingHealthCheck: boolean ,
PerformRestoringHealthCheck: boolean ,
}
,
}

⚐ Response (200)

{
Version: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CancelRepairTask (removed)
Description This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

POST:  /$/CancelRepairTask
{
api-version: string ,
RepairTaskCancelDescription:
{
TaskId: string ,
Version: string ,
RequestAbort: boolean ,
}
,
}

⚐ Response (200)

{
Version: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteRepairTask (removed)
Description This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

POST:  /$/DeleteRepairTask
{
api-version: string ,
RepairTaskDeleteDescription:
{
TaskId: string ,
Version: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetRepairTaskList (removed)
Description This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

GET:  /$/GetRepairTaskList
{
api-version: string ,
TaskIdFilter: string ,
StateFilter: integer ,
ExecutorFilter: string ,
}

⚐ Response (200)

{
TaskId: string ,
Version: string ,
Description: string ,
State: enum ,
Flags: integer ,
Action: string ,
Target:
{
Kind: enum ,
}
,
Executor: string ,
ExecutorData: string ,
Impact:
{
Kind: enum ,
}
,
ResultStatus: enum ,
ResultCode: integer ,
ResultDetails: string ,
History:
{
CreatedUtcTimestamp: string ,
ClaimedUtcTimestamp: string ,
PreparingUtcTimestamp: string ,
ApprovedUtcTimestamp: string ,
ExecutingUtcTimestamp: string ,
RestoringUtcTimestamp: string ,
CompletedUtcTimestamp: string ,
PreparingHealthCheckStartUtcTimestamp: string ,
PreparingHealthCheckEndUtcTimestamp: string ,
RestoringHealthCheckStartUtcTimestamp: string ,
RestoringHealthCheckEndUtcTimestamp: string ,
}
,
PreparingHealthCheckState: enum ,
RestoringHealthCheckState: enum ,
PerformPreparingHealthCheck: boolean ,
PerformRestoringHealthCheck: boolean ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ForceApproveRepairTask (removed)
Description This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

POST:  /$/ForceApproveRepairTask
{
api-version: string ,
RepairTaskApproveDescription:
{
TaskId: string ,
Version: string ,
}
,
}

⚐ Response (200)

{
Version: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UpdateRepairTaskHealthPolicy (removed)
Description This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

POST:  /$/UpdateRepairTaskHealthPolicy
{
api-version: string ,
RepairTaskUpdateHealthPolicyDescription:
{
TaskId: string ,
Version: string ,
PerformPreparingHealthCheck: boolean ,
PerformRestoringHealthCheck: boolean ,
}
,
}

⚐ Response (200)

{
Version: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UpdateRepairExecutionState (removed)
Description This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

POST:  /$/UpdateRepairExecutionState
{
api-version: string ,
RepairTask:
{
TaskId: string ,
Version: string ,
Description: string ,
State: enum ,
Flags: integer ,
Action: string ,
Target:
{
Kind: enum ,
}
,
Executor: string ,
ExecutorData: string ,
Impact:
{
Kind: enum ,
}
,
ResultStatus: enum ,
ResultCode: integer ,
ResultDetails: string ,
History:
{
CreatedUtcTimestamp: string ,
ClaimedUtcTimestamp: string ,
PreparingUtcTimestamp: string ,
ApprovedUtcTimestamp: string ,
ExecutingUtcTimestamp: string ,
RestoringUtcTimestamp: string ,
CompletedUtcTimestamp: string ,
PreparingHealthCheckStartUtcTimestamp: string ,
PreparingHealthCheckEndUtcTimestamp: string ,
RestoringHealthCheckStartUtcTimestamp: string ,
RestoringHealthCheckEndUtcTimestamp: string ,
}
,
PreparingHealthCheckState: enum ,
RestoringHealthCheckState: enum ,
PerformPreparingHealthCheck: boolean ,
PerformRestoringHealthCheck: boolean ,
}
,
}

⚐ Response (200)

{
Version: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetReplicaInfoList (removed)
Description The GetReplicas endpoint returns information about the replicas of the specified partition. The response includes the ID, role, status, health, node name, uptime, and other details about the replica.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetReplicas
{
api-version: string ,
partitionId: string ,
ContinuationToken: string ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
ServiceKind: enum ,
ReplicaStatus: enum ,
HealthState: enum ,
NodeName: string ,
Address: string ,
LastInBuildDurationInSeconds: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetReplicaInfo (removed)
Description The response includes the ID, role, status, health, node name, uptime, and other details about the replica.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetReplicas/{replicaId}
{
api-version: string ,
partitionId: string ,
replicaId: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
ReplicaStatus: enum ,
HealthState: enum ,
NodeName: string ,
Address: string ,
LastInBuildDurationInSeconds: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetReplicaHealth (removed)
Description Gets the health of a Service Fabric replica. Use EventsHealthStateFilter to filter the collection of health events reported on the replica based on the health state.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetReplicas/{replicaId}/$/GetHealth
{
api-version: string ,
partitionId: string ,
replicaId: string ,
EventsHealthStateFilter: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
PartitionId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetReplicaHealthUsingPolicy (removed)
Description Gets the health of a Service Fabric stateful service replica or stateless service instance. Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the replica.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/GetReplicas/{replicaId}/$/GetHealth
{
api-version: string ,
partitionId: string ,
replicaId: string ,
EventsHealthStateFilter: integer ,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
PartitionId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportReplicaHealth (removed)
Description Reports health state of the specified Service Fabric replica. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Replica, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetReplicaHealth and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/GetReplicas/{replicaId}/$/ReportHealth
{
api-version: string ,
partitionId: string ,
replicaId: string ,
ReplicaHealthReportServiceKind: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServiceReplicaInfoList (removed)
Description Gets the list containing the information about replicas deployed on a Service Fabric node. The information include partition ID, replica ID, status of the replica, name of the service, name of the service type, and other information. Use PartitionId or ServiceManifestName query parameters to return information about the deployed replicas matching the specified values for those parameters.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetReplicas
{
api-version: string ,
nodeName: string ,
applicationId: string ,
PartitionId: string ,
ServiceManifestName: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
ServiceName: string ,
ServiceTypeName: string ,
ServiceManifestName: string ,
CodePackageName: string ,
PartitionId: string ,
ReplicaStatus: enum ,
Address: string ,
ServicePackageActivationId: string ,
HostProcessId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServiceReplicaDetailInfo (removed)
Description Gets the details of the replica deployed on a Service Fabric node. The information includes service kind, service name, current service operation, current service operation start date time, partition ID, replica/instance ID, reported load, and other information.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/GetDetail
{
api-version: string ,
nodeName: string ,
partitionId: string ,
replicaId: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
ServiceName: string ,
PartitionId: string ,
CurrentServiceOperation: enum ,
CurrentServiceOperationStartTimeUtc: string ,
ReportedLoad:
[
{
Name: string ,
Value: integer ,
CurrentValue: string ,
LastReportedUtc: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServiceReplicaDetailInfoByPartitionId (removed)
Description Gets the details of the replica deployed on a Service Fabric node. The information includes service kind, service name, current service operation, current service operation start date time, partition ID, replica/instance ID, reported load, and other information.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas
{
api-version: string ,
nodeName: string ,
partitionId: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceKind: enum ,
ServiceName: string ,
PartitionId: string ,
CurrentServiceOperation: enum ,
CurrentServiceOperationStartTimeUtc: string ,
ReportedLoad:
[
{
Name: string ,
Value: integer ,
CurrentValue: string ,
LastReportedUtc: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RestartReplica (removed)
Description Restarts a service replica of a persisted service running on a node. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to availability loss for stateful services.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/Restart
{
api-version: string ,
nodeName: string ,
partitionId: string ,
replicaId: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RemoveReplica (removed)
Description This API simulates a Service Fabric replica failure by removing a replica from a Service Fabric cluster. The removal closes the replica, transitions the replica to the role None, and then removes all of the state information of the replica from the cluster. This API tests the replica state removal path, and simulates the report fault permanent path through client APIs. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to data loss for stateful services. In addition, the forceRemove flag impacts all other replicas hosted in the same process.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetPartitions/{partitionId}/$/GetReplicas/{replicaId}/$/Delete
{
api-version: string ,
nodeName: string ,
partitionId: string ,
replicaId: string ,
ForceRemove: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServicePackageInfoList (removed)
Description Returns the information about the service packages deployed on a Service Fabric node for the given application.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages
{
api-version: string ,
nodeName: string ,
applicationId: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
Version: string ,
Status: enum ,
ServicePackageActivationId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServicePackageInfoListByName (removed)
Description Returns the information about the service packages deployed on a Service Fabric node for the given application. These results are of service packages whose name match exactly the service package name specified as the parameter.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}
{
api-version: string ,
nodeName: string ,
applicationId: string ,
servicePackageName: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
Version: string ,
Status: enum ,
ServicePackageActivationId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServicePackageHealth (removed)
Description Gets the information about health of a service package for a specific application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}/$/GetHealth
{
api-version: string ,
nodeName: string ,
applicationId: string ,
servicePackageName: string ,
EventsHealthStateFilter: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ApplicationName: string ,
ServiceManifestName: string ,
NodeName: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedServicePackageHealthUsingPolicy (removed)
Description Gets the information about health of a service package for a specific application deployed on a Service Fabric node. using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed service package.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}/$/GetHealth
{
api-version: string ,
nodeName: string ,
applicationId: string ,
servicePackageName: string ,
EventsHealthStateFilter: integer ,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (200)

{
ApplicationName: string ,
ServiceManifestName: string ,
NodeName: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ReportDeployedServicePackageHealth (removed)
Description Reports health state of the service package of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Service, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, get deployed service package health and check that the report appears in the HealthEvents section.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetServicePackages/{servicePackageName}/$/ReportHealth
{
api-version: string ,
nodeName: string ,
applicationId: string ,
servicePackageName: string ,
HealthInformation:
{
SourceId: string ,
Property: string ,
HealthState: enum ,
TimeToLiveInMilliSeconds: string ,
Description: string ,
SequenceNumber: string ,
RemoveWhenExpired: boolean ,
}
,
Immediate: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeployServicePackageToNode (removed)
Description This API provides a way to download code packages including the container images on a specific node outside of the normal application deployment and upgrade path. This is useful for the large code packages and container images to be present on the node before the actual application deployment and upgrade, thus significantly reducing the total time required for the deployment or upgrade.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/DeployServicePackage
{
api-version: string ,
nodeName: string ,
DeployServicePackageToNodeDescription:
{
ServiceManifestName: string ,
ApplicationTypeName: string ,
ApplicationTypeVersion: string ,
NodeName: string ,
PackageSharingPolicy:
[
{
SharedPackageName: string ,
PackageSharingScope: enum ,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDeployedCodePackageInfoList (removed)
Description Gets the list of code packages deployed on a Service Fabric node for the given application.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages
{
api-version: string ,
nodeName: string ,
applicationId: string ,
ServiceManifestName: string ,
CodePackageName: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
Version: string ,
ServiceManifestName: string ,
ServicePackageActivationId: string ,
HostType: enum ,
HostIsolationMode: enum ,
Status: enum ,
RunFrequencyInterval: string ,
SetupEntryPoint:
{
EntryPointLocation: string ,
ProcessId: string ,
RunAsUserName: string ,
CodePackageEntryPointStatistics:
{
LastExitCode: string ,
LastActivationTime: string ,
LastExitTime: string ,
LastSuccessfulActivationTime: string ,
LastSuccessfulExitTime: string ,
ActivationCount: string ,
ActivationFailureCount: string ,
ContinuousActivationFailureCount: string ,
ExitCount: string ,
ExitFailureCount: string ,
ContinuousExitFailureCount: string ,
}
,
Status: enum ,
NextActivationTime: string ,
InstanceId: string ,
}
,
MainEntryPoint:
{
EntryPointLocation: string ,
ProcessId: string ,
RunAsUserName: string ,
CodePackageEntryPointStatistics:
{
LastExitCode: string ,
LastActivationTime: string ,
LastExitTime: string ,
LastSuccessfulActivationTime: string ,
LastSuccessfulExitTime: string ,
ActivationCount: string ,
ActivationFailureCount: string ,
ContinuousActivationFailureCount: string ,
ExitCount: string ,
ExitFailureCount: string ,
ContinuousExitFailureCount: string ,
}
,
Status: enum ,
NextActivationTime: string ,
InstanceId: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RestartDeployedCodePackage (removed)
Description Restarts a code package deployed on a Service Fabric node in a cluster. This aborts the code package process, which will restart all the user service replicas hosted in that process.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/Restart
{
api-version: string ,
nodeName: string ,
applicationId: string ,
RestartDeployedCodePackageDescription:
{
ServiceManifestName: string ,
ServicePackageActivationId: string ,
CodePackageName: string ,
CodePackageInstanceId: string ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetContainerLogsDeployedOnNode (removed)
Description Gets the container logs for container deployed on a Service Fabric node for the given code package.
Reference Link ¶

⚼ Request

GET:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/ContainerLogs
{
api-version: string ,
nodeName: string ,
applicationId: string ,
ServiceManifestName: string ,
CodePackageName: string ,
Tail: string ,
Previous: boolean ,
timeout: integer ,
}

⚐ Response (200)

{
Content: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
InvokeContainerApi (removed)
Description Invoke container API on a container deployed on a Service Fabric node for the given code package.
Reference Link ¶

⚼ Request

POST:  /Nodes/{nodeName}/$/GetApplications/{applicationId}/$/GetCodePackages/$/ContainerApi
{
api-version: string ,
nodeName: string ,
applicationId: string ,
ServiceManifestName: string ,
CodePackageName: string ,
CodePackageInstanceId: string ,
timeout: integer ,
ContainerApiRequestBody:
{
HttpVerb: string ,
UriPath: string ,
Content-Type: string ,
Body: string ,
}
,
}

⚐ Response (200)

{
ContainerApiResult:
{
Status: integer ,
Content-Type: string ,
Content-Encoding: string ,
Body: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CreateComposeDeployment (removed)
Description 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.
Reference Link ¶

⚼ Request

PUT:  /ComposeDeployments/$/Create
{
api-version: string ,
CreateComposeDeploymentDescription:
{
DeploymentName: string ,
ComposeFileContent: string ,
RegistryCredential:
{
RegistryUserName: string ,
RegistryPassword: string ,
PasswordEncrypted: boolean ,
}
,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetComposeDeploymentStatus (removed)
Description Returns the status of the compose deployment that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, status, and other details about the deployment.
Reference Link ¶

⚼ Request

GET:  /ComposeDeployments/{deploymentName}
{
api-version: string ,
deploymentName: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
ApplicationName: string ,
Status: enum ,
StatusDetails: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetComposeDeploymentStatusList (removed)
Description Gets the status about the compose deployments that were created or in the process of being created in the Service Fabric cluster. The response includes the name, status, and other details about the compose deployments. If the list of deployments do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page.
Reference Link ¶

⚼ Request

GET:  /ComposeDeployments
{
api-version: string ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Name: string ,
ApplicationName: string ,
Status: enum ,
StatusDetails: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetComposeDeploymentUpgradeProgress (removed)
Description Returns the information about the state of the compose deployment upgrade along with details to aid debugging application health issues.
Reference Link ¶

⚼ Request

GET:  /ComposeDeployments/{deploymentName}/$/GetUpgradeProgress
{
api-version: string ,
deploymentName: string ,
timeout: integer ,
}

⚐ Response (200)

{
DeploymentName: string ,
ApplicationName: string ,
UpgradeState: enum ,
UpgradeStatusDetails: string ,
UpgradeKind: enum ,
RollingUpgradeMode: enum ,
ForceRestart: boolean ,
UpgradeReplicaSetCheckTimeoutInSeconds: integer ,
MonitoringPolicy:
{
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
TargetApplicationTypeVersion: string ,
UpgradeDuration: string ,
CurrentUpgradeDomainDuration: string ,
ApplicationUnhealthyEvaluations:
[
{
HealthEvaluation:
{
Kind: enum ,
AggregatedHealthState: enum ,
Description: string ,
}
,
}
,
]
,
CurrentUpgradeDomainProgress:
{
DomainName: string ,
NodeUpgradeProgressList:
[
{
NodeName: string ,
UpgradePhase: enum ,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
]
,
}
,
StartTimestampUtc: string ,
FailureTimestampUtc: string ,
FailureReason: enum ,
UpgradeDomainProgressAtFailure:
{
DomainName: string ,
NodeUpgradeProgressList:
[
{
NodeName: string ,
UpgradePhase: enum ,
PendingSafetyChecks:
[
{
SafetyCheck:
{
Kind: enum ,
}
,
}
,
]
,
}
,
]
,
}
,
ApplicationUpgradeStatusDetails: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RemoveComposeDeployment (removed)
Description Deletes an existing Service Fabric compose deployment.
Reference Link ¶

⚼ Request

POST:  /ComposeDeployments/{deploymentName}/$/Delete
{
api-version: string ,
deploymentName: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartComposeDeploymentUpgrade (removed)
Description Validates the supplied upgrade parameters and starts upgrading the deployment if the parameters are valid.
Reference Link ¶

⚼ Request

POST:  /ComposeDeployments/{deploymentName}/$/Upgrade
{
api-version: string ,
deploymentName: string ,
ComposeDeploymentUpgradeDescription:
{
DeploymentName: string ,
ComposeFileContent: string ,
RegistryCredential:
{
RegistryUserName: string ,
RegistryPassword: string ,
PasswordEncrypted: boolean ,
}
,
UpgradeKind: enum ,
RollingUpgradeMode: enum ,
UpgradeReplicaSetCheckTimeoutInSeconds: integer ,
ForceRestart: boolean ,
MonitoringPolicy:
{
FailureAction: enum ,
HealthCheckWaitDurationInMilliseconds: string ,
HealthCheckStableDurationInMilliseconds: string ,
HealthCheckRetryTimeoutInMilliseconds: string ,
UpgradeTimeoutInMilliseconds: string ,
UpgradeDomainTimeoutInMilliseconds: string ,
}
,
ApplicationHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyDeployedApplications: integer ,
DefaultServiceTypeHealthPolicy:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
ServiceTypeHealthPolicyMap:
[
{
Key: string ,
Value:
{
MaxPercentUnhealthyPartitionsPerService: integer ,
MaxPercentUnhealthyReplicasPerPartition: integer ,
MaxPercentUnhealthyServices: integer ,
}
,
}
,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartRollbackComposeDeploymentUpgrade (removed)
Description Rollback a service fabric compose deployment upgrade.
Reference Link ¶

⚼ Request

POST:  /ComposeDeployments/{deploymentName}/$/RollbackUpgrade
{
api-version: string ,
deploymentName: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetChaos (removed)
Description Get the status of Chaos indicating whether or not Chaos is running, the Chaos parameters used for running Chaos and the status of the Chaos Schedule.
Reference Link ¶

⚼ Request

GET:  /Tools/Chaos
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
ChaosParameters:
{
TimeToRunInSeconds: string ,
MaxClusterStabilizationTimeoutInSeconds: integer ,
MaxConcurrentFaults: integer ,
EnableMoveReplicaFaults: boolean ,
WaitTimeBetweenFaultsInSeconds: integer ,
WaitTimeBetweenIterationsInSeconds: integer ,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
Context:
{
Map: string ,
}
,
ChaosTargetFilter:
{
NodeTypeInclusionList:
[
string ,
]
,
ApplicationInclusionList:
[
string ,
]
,
}
,
}
,
Status: enum ,
ScheduleStatus: enum ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartChaos (removed)
Description If Chaos is not already running in the cluster, it starts Chaos with the passed in Chaos parameters. If Chaos is already running when this call is made, the call fails with the error code FABRIC_E_CHAOS_ALREADY_RUNNING. Refer to the article [Induce controlled Chaos in Service Fabric clusters](https://docs.microsoft.com/azure/service-fabric/service-fabric-controlled-chaos) for more details.
Reference Link ¶

⚼ Request

POST:  /Tools/Chaos/$/Start
{
api-version: string ,
ChaosParameters:
{
TimeToRunInSeconds: string ,
MaxClusterStabilizationTimeoutInSeconds: integer ,
MaxConcurrentFaults: integer ,
EnableMoveReplicaFaults: boolean ,
WaitTimeBetweenFaultsInSeconds: integer ,
WaitTimeBetweenIterationsInSeconds: integer ,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
Context:
{
Map: string ,
}
,
ChaosTargetFilter:
{
NodeTypeInclusionList:
[
string ,
]
,
ApplicationInclusionList:
[
string ,
]
,
}
,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StopChaos (removed)
Description Stops Chaos from executing new faults. In-flight faults will continue to execute until they are complete. The current Chaos Schedule is put into a stopped state. Once a schedule is stopped, it will stay in the stopped state and not be used to Chaos Schedule new runs of Chaos. A new Chaos Schedule must be set in order to resume scheduling.
Reference Link ¶

⚼ Request

POST:  /Tools/Chaos/$/Stop
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetChaosEvents (removed)
Description To get the next segment of the Chaos events, you can specify the ContinuationToken. To get the start of a new segment of Chaos events, you can specify the time range through StartTimeUtc and EndTimeUtc. You cannot specify both the ContinuationToken and the time range in the same call. When there are more than 100 Chaos events, the Chaos events are returned in multiple segments where a segment contains no more than 100 Chaos events and to get the next segment you make a call to this API with the continuation token.
Reference Link ¶

⚼ Request

GET:  /Tools/Chaos/Events
{
api-version: string ,
ContinuationToken: string ,
StartTimeUtc: string ,
EndTimeUtc: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
History:
[
{
ChaosEvent:
{
Kind: enum ,
TimeStampUtc: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetChaosSchedule (removed)
Description Gets the version of the Chaos Schedule in use and the Chaos Schedule that defines when and how to run Chaos.
Reference Link ¶

⚼ Request

GET:  /Tools/Chaos/Schedule
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
Version: integer ,
Schedule:
{
StartDate: string ,
ExpiryDate: string ,
ChaosParametersDictionary:
[
{
Key: string ,
Value:
{
TimeToRunInSeconds: string ,
MaxClusterStabilizationTimeoutInSeconds: integer ,
MaxConcurrentFaults: integer ,
EnableMoveReplicaFaults: boolean ,
WaitTimeBetweenFaultsInSeconds: integer ,
WaitTimeBetweenIterationsInSeconds: integer ,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
Context:
{
Map: string ,
}
,
ChaosTargetFilter:
{
NodeTypeInclusionList:
[
string ,
]
,
ApplicationInclusionList:
[
string ,
]
,
}
,
}
,
}
,
]
,
Jobs:
[
{
ChaosParameters: string ,
Days:
{
Sunday: boolean ,
Monday: boolean ,
Tuesday: boolean ,
Wednesday: boolean ,
Thursday: boolean ,
Friday: boolean ,
Saturday: boolean ,
}
,
Times:
[
{
StartTime:
{
Hour: integer ,
Minute: integer ,
}
,
EndTime:
{
Hour: integer ,
Minute: integer ,
}
,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
PostChaosSchedule (removed)
Description Chaos will automatically schedule runs based on the Chaos Schedule. The Chaos Schedule will be updated if the provided version matches the version on the server. When updating the Chaos Schedule, the version on the server is incremented by 1. The version on the server will wrap back to 0 after reaching a large number. If Chaos is running when this call is made, the call will fail.
Reference Link ¶

⚼ Request

POST:  /Tools/Chaos/Schedule
{
api-version: string ,
timeout: integer ,
ChaosSchedule:
{
Version: integer ,
Schedule:
{
StartDate: string ,
ExpiryDate: string ,
ChaosParametersDictionary:
[
{
Key: string ,
Value:
{
TimeToRunInSeconds: string ,
MaxClusterStabilizationTimeoutInSeconds: integer ,
MaxConcurrentFaults: integer ,
EnableMoveReplicaFaults: boolean ,
WaitTimeBetweenFaultsInSeconds: integer ,
WaitTimeBetweenIterationsInSeconds: integer ,
ClusterHealthPolicy:
{
ConsiderWarningAsError: boolean ,
MaxPercentUnhealthyNodes: integer ,
MaxPercentUnhealthyApplications: integer ,
ApplicationTypeHealthPolicyMap:
[
{
Key: string ,
Value: integer ,
}
,
]
,
}
,
Context:
{
Map: string ,
}
,
ChaosTargetFilter:
{
NodeTypeInclusionList:
[
string ,
]
,
ApplicationInclusionList:
[
string ,
]
,
}
,
}
,
}
,
]
,
Jobs:
[
{
ChaosParameters: string ,
Days:
{
Sunday: boolean ,
Monday: boolean ,
Tuesday: boolean ,
Wednesday: boolean ,
Thursday: boolean ,
Friday: boolean ,
Saturday: boolean ,
}
,
Times:
[
{
StartTime:
{
Hour: integer ,
Minute: integer ,
}
,
EndTime:
{
Hour: integer ,
Minute: integer ,
}
,
}
,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UploadFile (removed)
Description Uploads contents of the file to the image store. Use this API if the file is small enough to upload again if the connection fails. The file's data needs to be added to the request body. The contents will be uploaded to the specified path. Image store service uses a mark file to indicate the availability of the folder. The mark file is an empty file named "_.dir". The mark file is generated by the image store service when all files in a folder are uploaded. When using File-by-File approach to upload application package in REST, the image store service isn't aware of the file hierarchy of the application package; you need to create a mark file per folder and upload it last, to let the image store service know that the folder is complete.
Reference Link ¶

⚼ Request

PUT:  /ImageStore/{contentPath}
{
api-version: string ,
contentPath: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetImageStoreContent (removed)
Description Returns the information about the image store content at the specified contentPath. The contentPath is relative to the root of the image store.
Reference Link ¶

⚼ Request

GET:  /ImageStore/{contentPath}
{
api-version: string ,
contentPath: string ,
timeout: integer ,
}

⚐ Response (200)

{
StoreFiles:
[
{
FileSize: string ,
FileVersion:
{
VersionNumber: string ,
EpochDataLossNumber: string ,
EpochConfigurationNumber: string ,
}
,
ModifiedDate: string ,
StoreRelativePath: string ,
}
,
]
,
StoreFolders:
[
{
StoreRelativePath: string ,
FileCount: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteImageStoreContent (removed)
Description Deletes existing image store content being found within the given image store relative path. This command can be used to delete uploaded application packages once they are provisioned.
Reference Link ¶

⚼ Request

DELETE:  /ImageStore/{contentPath}
{
api-version: string ,
contentPath: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetImageStoreRootContent (removed)
Description Returns the information about the image store content at the root of the image store.
Reference Link ¶

⚼ Request

GET:  /ImageStore
{
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
StoreFiles:
[
{
FileSize: string ,
FileVersion:
{
VersionNumber: string ,
EpochDataLossNumber: string ,
EpochConfigurationNumber: string ,
}
,
ModifiedDate: string ,
StoreRelativePath: string ,
}
,
]
,
StoreFolders:
[
{
StoreRelativePath: string ,
FileCount: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CopyImageStoreContent (removed)
Description Copies the image store content from the source image store relative path to the destination image store relative path.
Reference Link ¶

⚼ Request

POST:  /ImageStore/$/Copy
{
api-version: string ,
ImageStoreCopyDescription:
{
RemoteSource: string ,
RemoteDestination: string ,
SkipFiles:
[
string ,
]
,
CheckMarkFile: boolean ,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteImageStoreUploadSession (removed)
Description The DELETE request will cause the existing upload session to expire and remove any previously uploaded file chunks.
Reference Link ¶

⚼ Request

DELETE:  /ImageStore/$/DeleteUploadSession
{
api-version: string ,
session-id: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CommitImageStoreUploadSession (removed)
Description When all file chunks have been uploaded, the upload session needs to be committed explicitly to complete the upload. Image store preserves the upload session until the expiration time, which is 30 minutes after the last chunk received.
Reference Link ¶

⚼ Request

POST:  /ImageStore/$/CommitUploadSession
{
api-version: string ,
session-id: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetImageStoreUploadSessionById (removed)
Description Gets the image store upload session identified by the given ID. User can query the upload session at any time during uploading.
Reference Link ¶

⚼ Request

GET:  /ImageStore/$/GetUploadSession
{
api-version: string ,
session-id: string ,
timeout: integer ,
}

⚐ Response (200)

{
UploadSessions:
[
{
StoreRelativePath: string ,
SessionId: string ,
ModifiedDate: string ,
FileSize: string ,
ExpectedRanges:
[
{
StartPosition: string ,
EndPosition: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetImageStoreUploadSessionByPath (removed)
Description Gets the image store upload session associated with the given image store relative path. User can query the upload session at any time during uploading.
Reference Link ¶

⚼ Request

GET:  /ImageStore/{contentPath}/$/GetUploadSession
{
api-version: string ,
contentPath: string ,
timeout: integer ,
}

⚐ Response (200)

{
UploadSessions:
[
{
StoreRelativePath: string ,
SessionId: string ,
ModifiedDate: string ,
FileSize: string ,
ExpectedRanges:
[
{
StartPosition: string ,
EndPosition: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UploadFileChunk (removed)
Description Uploads a file chunk to the image store with the specified upload session ID and image store relative path. This API allows user to resume the file upload operation. user doesn't have to restart the file upload from scratch whenever there is a network interruption. Use this option if the file size is large. To perform a resumable file upload, user need to break the file into multiple chunks and upload these chunks to the image store one-by-one. Chunks don't have to be uploaded in order. If the file represented by the image store relative path already exists, it will be overwritten when the upload session commits.
Reference Link ¶

⚼ Request

PUT:  /ImageStore/{contentPath}/$/UploadChunk
{
api-version: string ,
contentPath: string ,
session-id: string ,
Content-Range: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
InvokeInfrastructureCommand (removed)
Description For clusters that have one or more instances of the Infrastructure Service configured, this API provides a way to send infrastructure-specific commands to a particular instance of the Infrastructure Service. Available commands and their corresponding response formats vary depending upon the infrastructure on which the cluster is running. This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

POST:  /$/InvokeInfrastructureCommand
{
api-version: string ,
Command: string ,
ServiceId: string ,
timeout: integer ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
InvokeInfrastructureQuery (removed)
Description For clusters that have one or more instances of the Infrastructure Service configured, this API provides a way to send infrastructure-specific queries to a particular instance of the Infrastructure Service. Available commands and their corresponding response formats vary depending upon the infrastructure on which the cluster is running. This API supports the Service Fabric platform; it is not meant to be used directly from your code.
Reference Link ¶

⚼ Request

GET:  /$/InvokeInfrastructureQuery
{
api-version: string ,
Command: string ,
ServiceId: string ,
timeout: integer ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartDataLoss (removed)
Description This API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition. Actual data loss will depend on the specified DataLossMode. - PartialDataLoss - Only a quorum of replicas are removed and OnDataLoss is triggered for the partition but actual data loss depends on the presence of in-flight replication. - FullDataLoss - All replicas are removed hence all data is lost and OnDataLoss is triggered. This API should only be called with a stateful service as the target. Calling this API with a system service as the target is not advised. Note: Once this API has been called, it cannot be reversed. Calling CancelOperation will only stop execution and clean up internal system state. It will not restore data if the command has progressed far enough to cause data loss. Call the GetDataLossProgress API with the same OperationId to return information on the operation started with this API.
Reference Link ¶

⚼ Request

POST:  /Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartDataLoss
{
api-version: string ,
serviceId: string ,
partitionId: string ,
OperationId: string ,
DataLossMode: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetDataLossProgress (removed)
Description Gets the progress of a data loss operation started with StartDataLoss, using the OperationId.
Reference Link ¶

⚼ Request

GET:  /Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetDataLossProgress
{
api-version: string ,
serviceId: string ,
partitionId: string ,
OperationId: string ,
timeout: integer ,
}

⚐ Response (200)

{
State: enum ,
InvokeDataLossResult:
{
ErrorCode: integer ,
SelectedPartition:
{
ServiceName: string ,
PartitionId: string ,
}
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartQuorumLoss (removed)
Description This API is useful for a temporary quorum loss situation on your service. Call the GetQuorumLossProgress API with the same OperationId to return information on the operation started with this API. This can only be called on stateful persisted (HasPersistedState==true) services. Do not use this API on stateless services or stateful in-memory only services.
Reference Link ¶

⚼ Request

POST:  /Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartQuorumLoss
{
api-version: string ,
serviceId: string ,
partitionId: string ,
OperationId: string ,
QuorumLossMode: string ,
QuorumLossDuration: integer ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetQuorumLossProgress (removed)
Description Gets the progress of a quorum loss operation started with StartQuorumLoss, using the provided OperationId.
Reference Link ¶

⚼ Request

GET:  /Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetQuorumLossProgress
{
api-version: string ,
serviceId: string ,
partitionId: string ,
OperationId: string ,
timeout: integer ,
}

⚐ Response (200)

{
State: enum ,
InvokeQuorumLossResult:
{
ErrorCode: integer ,
SelectedPartition:
{
ServiceName: string ,
PartitionId: string ,
}
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartPartitionRestart (removed)
Description This API is useful for testing failover. If used to target a stateless service partition, RestartPartitionMode must be AllReplicasOrInstances. Call the GetPartitionRestartProgress API using the same OperationId to get the progress.
Reference Link ¶

⚼ Request

POST:  /Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/StartRestart
{
api-version: string ,
serviceId: string ,
partitionId: string ,
OperationId: string ,
RestartPartitionMode: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionRestartProgress (removed)
Description Gets the progress of a PartitionRestart started with StartPartitionRestart using the provided OperationId.
Reference Link ¶

⚼ Request

GET:  /Faults/Services/{serviceId}/$/GetPartitions/{partitionId}/$/GetRestartProgress
{
api-version: string ,
serviceId: string ,
partitionId: string ,
OperationId: string ,
timeout: integer ,
}

⚐ Response (200)

{
State: enum ,
RestartPartitionResult:
{
ErrorCode: integer ,
SelectedPartition:
{
ServiceName: string ,
PartitionId: string ,
}
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
StartNodeTransition (removed)
Description Starts or stops a cluster node. A cluster node is a process, not the OS instance itself. To start a node, pass in "Start" for the NodeTransitionType parameter. To stop a node, pass in "Stop" for the NodeTransitionType parameter. This API starts the operation - when the API returns the node may not have finished transitioning yet. Call GetNodeTransitionProgress with the same OperationId to get the progress of the operation.
Reference Link ¶

⚼ Request

POST:  /Faults/Nodes/{nodeName}/$/StartTransition/
{
api-version: string ,
nodeName: string ,
OperationId: string ,
NodeTransitionType: string ,
NodeInstanceId: string ,
StopDurationInSeconds: integer ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodeTransitionProgress (removed)
Description Gets the progress of an operation started with StartNodeTransition using the provided OperationId.
Reference Link ¶

⚼ Request

GET:  /Faults/Nodes/{nodeName}/$/GetTransitionProgress
{
api-version: string ,
nodeName: string ,
OperationId: string ,
timeout: integer ,
}

⚐ Response (200)

{
State: enum ,
NodeTransitionResult:
{
ErrorCode: integer ,
NodeResult:
{
NodeName: string ,
NodeInstanceId: string ,
}
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetFaultOperationList (removed)
Description Gets the list of user-induced fault operations filtered by provided input.
Reference Link ¶

⚼ Request

GET:  /Faults/
{
api-version: string ,
TypeFilter: integer ,
StateFilter: integer ,
timeout: integer ,
}

⚐ Response (200)

{
OperationId: string ,
State: enum ,
Type: enum ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CancelOperation (removed)
Description The following APIs start fault operations that may be cancelled by using CancelOperation: StartDataLoss, StartQuorumLoss, StartPartitionRestart, StartNodeTransition. If force is false, then the specified user-induced operation will be gracefully stopped and cleaned up. If force is true, the command will be aborted, and some internal state may be left behind. Specifying force as true should be used with care. Calling this API with force set to true is not allowed until this API has already been called on the same test command with force set to false first, or unless the test command already has an OperationState of OperationState.RollingBack. Clarification: OperationState.RollingBack means that the system will be/is cleaning up internal system state caused by executing the command. It will not restore data if the test command was to cause data loss. For example, if you call StartDataLoss then call this API, the system will only clean up internal state from running the command. It will not restore the target partition's data, if the command progressed far enough to cause data loss. Important note: if this API is invoked with force==true, internal state may be left behind.
Reference Link ¶

⚼ Request

POST:  /Faults/$/Cancel
{
api-version: string ,
OperationId: string ,
Force: boolean ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CreateBackupPolicy (removed)
Description Creates a backup policy which can be associated later with a Service Fabric application, service or a partition for periodic backup.
Reference Link ¶

⚼ Request

POST:  /BackupRestore/BackupPolicies/$/Create
{
BackupPolicyDescription:
{
Name: string ,
AutoRestoreOnDataLoss: boolean ,
MaxIncrementalBackups: integer ,
Schedule:
{
ScheduleKind: enum ,
}
,
Storage:
{
StorageKind: enum ,
FriendlyName: string ,
}
,
RetentionPolicy:
{
RetentionPolicyType: enum ,
}
,
}
,
api-version: string ,
timeout: integer ,
}

⚐ Response (201)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteBackupPolicy (removed)
Description Deletes an existing backup policy. A backup policy must be created before it can be deleted. A currently active backup policy, associated with any Service Fabric application, service or partition, cannot be deleted without first deleting the mapping.
Reference Link ¶

⚼ Request

POST:  /BackupRestore/BackupPolicies/{backupPolicyName}/$/Delete
{
backupPolicyName: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetBackupPolicyList (removed)
Description Get a list of all the backup policies configured.
Reference Link ¶

⚼ Request

GET:  /BackupRestore/BackupPolicies
{
api-version: string ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Name: string ,
AutoRestoreOnDataLoss: boolean ,
MaxIncrementalBackups: integer ,
Schedule:
{
ScheduleKind: enum ,
}
,
Storage:
{
StorageKind: enum ,
FriendlyName: string ,
}
,
RetentionPolicy:
{
RetentionPolicyType: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetBackupPolicyByName (removed)
Description Gets a particular backup policy identified by {backupPolicyName}
Reference Link ¶

⚼ Request

GET:  /BackupRestore/BackupPolicies/{backupPolicyName}
{
backupPolicyName: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
AutoRestoreOnDataLoss: boolean ,
MaxIncrementalBackups: integer ,
Schedule:
{
ScheduleKind: enum ,
}
,
Storage:
{
StorageKind: enum ,
FriendlyName: string ,
}
,
RetentionPolicy:
{
RetentionPolicyType: enum ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetAllEntitiesBackedUpByPolicy (removed)
Description Returns a list of Service Fabric application, service or partition which are associated with this backup policy.
Reference Link ¶

⚼ Request

GET:  /BackupRestore/BackupPolicies/{backupPolicyName}/$/GetBackupEnabledEntities
{
backupPolicyName: string ,
api-version: string ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
EntityKind: enum ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
UpdateBackupPolicy (removed)
Description Updates the backup policy identified by {backupPolicyName}
Reference Link ¶

⚼ Request

POST:  /BackupRestore/BackupPolicies/{backupPolicyName}/$/Update
{
BackupPolicyDescription:
{
Name: string ,
AutoRestoreOnDataLoss: boolean ,
MaxIncrementalBackups: integer ,
Schedule:
{
ScheduleKind: enum ,
}
,
Storage:
{
StorageKind: enum ,
FriendlyName: string ,
}
,
RetentionPolicy:
{
RetentionPolicyType: enum ,
}
,
}
,
backupPolicyName: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
EnableApplicationBackup (removed)
Description Enables periodic backup of stateful partitions which are part of this Service Fabric application. Each partition is backed up individually as per the specified backup policy description. Note only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/EnableBackup
{
applicationId: string ,
EnableBackupDescription:
{
BackupPolicyName: string ,
}
,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DisableApplicationBackup (removed)
Description Disables periodic backup of Service Fabric application which was previously enabled.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/DisableBackup
{
applicationId: string ,
api-version: string ,
timeout: integer ,
DisableBackupDescription:
{
CleanBackup: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationBackupConfigurationInfo (removed)
Description Gets the Service Fabric backup configuration information for the application and the services and partitions under this application.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}/$/GetBackupConfigurationInfo
{
applicationId: string ,
api-version: string ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Kind: enum ,
PolicyName: string ,
PolicyInheritedFrom: enum ,
SuspensionInfo:
{
IsSuspended: boolean ,
SuspensionInheritedFrom: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationBackupList (removed)
Description Returns a list of backups available for every partition in this Service Fabric application. The server enumerates all the backups available at the backup location configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for every partition.
Reference Link ¶

⚼ Request

GET:  /Applications/{applicationId}/$/GetBackups
{
applicationId: string ,
api-version: string ,
timeout: integer ,
Latest: boolean ,
StartDateTimeFilter: string ,
EndDateTimeFilter: string ,
ContinuationToken: string ,
MaxResults: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
BackupId: string ,
BackupChainId: string ,
ApplicationName: string ,
ServiceName: string ,
PartitionInformation:
{
ServicePartitionKind: enum ,
Id: string ,
}
,
BackupLocation: string ,
BackupType: enum ,
EpochOfLastBackupRecord:
{
ConfigurationVersion: string ,
DataLossVersion: string ,
}
,
LsnOfLastBackupRecord: string ,
CreationTimeUtc: string ,
ServiceManifestVersion: string ,
FailureError:
{
Code: enum ,
Message: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
SuspendApplicationBackup (removed)
Description The application which is configured to take periodic backups, is suspended for taking further backups till it is resumed again. This operation applies to the entire application's hierarchy. It means all the services and partitions under this application are now suspended for backup.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/SuspendBackup
{
applicationId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ResumeApplicationBackup (removed)
Description The previously suspended Service Fabric application resumes taking periodic backup as per the backup policy currently configured for the same.
Reference Link ¶

⚼ Request

POST:  /Applications/{applicationId}/$/ResumeBackup
{
applicationId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
EnableServiceBackup (removed)
Description Enables periodic backup of stateful partitions which are part of this Service Fabric service. Each partition is backed up individually as per the specified backup policy description. In case the application, which the service is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup for this service and its partitions (unless explicitly overridden at the partition level). Note only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/EnableBackup
{
serviceId: string ,
EnableBackupDescription:
{
BackupPolicyName: string ,
}
,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DisableServiceBackup (removed)
Description Disables periodic backup of Service Fabric service which was previously enabled. Backup must be explicitly enabled before it can be disabled. In case the backup is enabled for the Service Fabric application, which this service is part of, this service would continue to be periodically backed up as per the policy mapped at the application level.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/DisableBackup
{
serviceId: string ,
api-version: string ,
DisableBackupDescription:
{
CleanBackup: boolean ,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceBackupConfigurationInfo (removed)
Description Gets the Service Fabric backup configuration information for the service and the partitions under this service.
Reference Link ¶

⚼ Request

GET:  /Services/{serviceId}/$/GetBackupConfigurationInfo
{
serviceId: string ,
api-version: string ,
ContinuationToken: string ,
MaxResults: integer ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
Kind: enum ,
PolicyName: string ,
PolicyInheritedFrom: enum ,
SuspensionInfo:
{
IsSuspended: boolean ,
SuspensionInheritedFrom: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceBackupList (removed)
Description Returns a list of backups available for every partition in this Service Fabric service. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for every partition.
Reference Link ¶

⚼ Request

GET:  /Services/{serviceId}/$/GetBackups
{
serviceId: string ,
api-version: string ,
timeout: integer ,
Latest: boolean ,
StartDateTimeFilter: string ,
EndDateTimeFilter: string ,
ContinuationToken: string ,
MaxResults: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
BackupId: string ,
BackupChainId: string ,
ApplicationName: string ,
ServiceName: string ,
PartitionInformation:
{
ServicePartitionKind: enum ,
Id: string ,
}
,
BackupLocation: string ,
BackupType: enum ,
EpochOfLastBackupRecord:
{
ConfigurationVersion: string ,
DataLossVersion: string ,
}
,
LsnOfLastBackupRecord: string ,
CreationTimeUtc: string ,
ServiceManifestVersion: string ,
FailureError:
{
Code: enum ,
Message: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
SuspendServiceBackup (removed)
Description The service which is configured to take periodic backups, is suspended for taking further backups till it is resumed again. This operation applies to the entire service's hierarchy. It means all the partitions under this service are now suspended for backup.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/SuspendBackup
{
serviceId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ResumeServiceBackup (removed)
Description The previously suspended Service Fabric service resumes taking periodic backup as per the backup policy currently configured for the same.
Reference Link ¶

⚼ Request

POST:  /Services/{serviceId}/$/ResumeBackup
{
serviceId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
EnablePartitionBackup (removed)
Description Enables periodic backup of stateful persisted partition. Each partition is backed up as per the specified backup policy description. In case the application or service, which is partition is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup of this partition. Note only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/EnableBackup
{
partitionId: string ,
EnableBackupDescription:
{
BackupPolicyName: string ,
}
,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DisablePartitionBackup (removed)
Description Disables periodic backup of partition which was previously enabled. Backup must be explicitly enabled before it can be disabled. In case the backup is enabled for the Service Fabric application or service, which this partition is part of, this partition would continue to be periodically backed up as per the policy mapped at the higher level entity.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/DisableBackup
{
partitionId: string ,
api-version: string ,
DisableBackupDescription:
{
CleanBackup: boolean ,
}
,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionBackupConfigurationInfo (removed)
Description Gets the Service Fabric Backup configuration information for the specified partition.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetBackupConfigurationInfo
{
partitionId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
ServiceName: string ,
PartitionId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionBackupList (removed)
Description Returns a list of backups available for the specified partition. The server enumerates all the backups available in the backup store configured in the backup policy. It also allows filtering of the result based on start and end datetime or just fetching the latest available backup for the partition.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetBackups
{
partitionId: string ,
api-version: string ,
timeout: integer ,
Latest: boolean ,
StartDateTimeFilter: string ,
EndDateTimeFilter: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
BackupId: string ,
BackupChainId: string ,
ApplicationName: string ,
ServiceName: string ,
PartitionInformation:
{
ServicePartitionKind: enum ,
Id: string ,
}
,
BackupLocation: string ,
BackupType: enum ,
EpochOfLastBackupRecord:
{
ConfigurationVersion: string ,
DataLossVersion: string ,
}
,
LsnOfLastBackupRecord: string ,
CreationTimeUtc: string ,
ServiceManifestVersion: string ,
FailureError:
{
Code: enum ,
Message: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
SuspendPartitionBackup (removed)
Description The partition which is configured to take periodic backups, is suspended for taking further backups till it is resumed again.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/SuspendBackup
{
partitionId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
ResumePartitionBackup (removed)
Description The previously suspended partition resumes taking periodic backup as per the backup policy currently configured for the same.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/ResumeBackup
{
partitionId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
BackupPartition (removed)
Description Creates a backup of the stateful persisted partition's state. In case the partition is already being periodically backed up, then by default the new backup is created at the same backup storage. One can also override the same by specifying the backup storage details as part of the request body. Once the backup is initiated, its progress can be tracked using the GetBackupProgress operation. In case, the operation times out, specify a greater backup timeout value in the query parameter.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/Backup
{
partitionId: string ,
BackupPartitionDescription:
{
BackupStorage:
{
StorageKind: enum ,
FriendlyName: string ,
}
,
}
,
BackupTimeout: integer ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionBackupProgress (removed)
Description Returns information about the state of the latest backup along with details or failure reason in case of completion.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetBackupProgress
{
partitionId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
BackupState: enum ,
TimeStampUtc: string ,
BackupId: string ,
BackupLocation: string ,
EpochOfLastBackupRecord:
{
ConfigurationVersion: string ,
DataLossVersion: string ,
}
,
LsnOfLastBackupRecord: string ,
FailureError:
{
Code: enum ,
Message: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
RestorePartition (removed)
Description Restores the state of a of the stateful persisted partition using the specified backup point. In case the partition is already being periodically backed up, then by default the backup point is looked for in the storage specified in backup policy. One can also override the same by specifying the backup storage details as part of the restore partition description in body. Once the restore is initiated, its progress can be tracked using the GetRestoreProgress operation. In case, the operation times out, specify a greater restore timeout value in the query parameter.
Reference Link ¶

⚼ Request

POST:  /Partitions/{partitionId}/$/Restore
{
partitionId: string ,
RestorePartitionDescription:
{
BackupId: string ,
BackupLocation: string ,
BackupStorage:
{
StorageKind: enum ,
FriendlyName: string ,
}
,
}
,
RestoreTimeout: integer ,
api-version: string ,
timeout: integer ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionRestoreProgress (removed)
Description Returns information about the state of the latest restore operation along with details or failure reason in case of completion.
Reference Link ¶

⚼ Request

GET:  /Partitions/{partitionId}/$/GetRestoreProgress
{
partitionId: string ,
api-version: string ,
timeout: integer ,
}

⚐ Response (200)

{
RestoreState: enum ,
TimeStampUtc: string ,
RestoredEpoch:
{
ConfigurationVersion: string ,
DataLossVersion: string ,
}
,
RestoredLsn: string ,
FailureError:
{
Code: enum ,
Message: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetBackupsFromBackupLocation (removed)
Description Gets the list of backups available for the specified backed up entity (Application, Service or Partition) at the specified backup location (FileShare or Azure Blob Storage).
Reference Link ¶

⚼ Request

POST:  /BackupRestore/$/GetBackups
{
api-version: string ,
timeout: integer ,
ContinuationToken: string ,
MaxResults: integer ,
GetBackupByStorageQueryDescription:
{
StartDateTimeFilter: string ,
EndDateTimeFilter: string ,
Latest: boolean ,
Storage:
{
StorageKind: enum ,
FriendlyName: string ,
}
,
BackupEntity:
{
EntityKind: enum ,
}
,
}
,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
BackupId: string ,
BackupChainId: string ,
ApplicationName: string ,
ServiceName: string ,
PartitionInformation:
{
ServicePartitionKind: enum ,
Id: string ,
}
,
BackupLocation: string ,
BackupType: enum ,
EpochOfLastBackupRecord:
{
ConfigurationVersion: string ,
DataLossVersion: string ,
}
,
LsnOfLastBackupRecord: string ,
CreationTimeUtc: string ,
ServiceManifestVersion: string ,
FailureError:
{
Code: enum ,
Message: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
CreateName (removed)
Description Creates the specified Service Fabric name.
Reference Link ¶

⚼ Request

POST:  /Names/$/Create
{
api-version: string ,
NameDescription:
{
Name: string ,
}
,
timeout: integer ,
}

⚐ Response (201)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNameExistsInfo (removed)
Description Returns whether the specified Service Fabric name exists.
Reference Link ¶

⚼ Request

GET:  /Names/{nameId}
{
api-version: string ,
nameId: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteName (removed)
Description Deletes the specified Service Fabric name. A name must be created before it can be deleted. Deleting a name with child properties will fail.
Reference Link ¶

⚼ Request

DELETE:  /Names/{nameId}
{
api-version: string ,
nameId: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetSubNameInfoList (removed)
Description Enumerates all the Service Fabric names under a given name. If the subnames do not fit in a page, one page of results is returned as well as a continuation token, which can be used to get the next page. Querying a name that doesn't exist will fail.
Reference Link ¶

⚼ Request

GET:  /Names/{nameId}/$/GetSubNames
{
api-version: string ,
nameId: string ,
Recursive: boolean ,
ContinuationToken: string ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
IsConsistent: boolean ,
SubNames:
[
string ,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPropertyInfoList (removed)
Description A Service Fabric name can have one or more named properties that store custom information. This operation gets the information about these properties in a paged list. The information includes name, value, and metadata about each of the properties.
Reference Link ¶

⚼ Request

GET:  /Names/{nameId}/$/GetProperties
{
api-version: string ,
nameId: string ,
IncludeValues: boolean ,
ContinuationToken: string ,
timeout: integer ,
}

⚐ Response (200)

{
ContinuationToken: string ,
IsConsistent: boolean ,
Properties:
[
{
Name: string ,
Value:
{
Kind: enum ,
}
,
Metadata:
{
TypeId: enum ,
CustomTypeId: string ,
Parent: string ,
SizeInBytes: integer ,
LastModifiedUtcTimestamp: string ,
SequenceNumber: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
PutProperty (removed)
Description Creates or updates the specified Service Fabric property under a given name.
Reference Link ¶

⚼ Request

PUT:  /Names/{nameId}/$/GetProperty
{
api-version: string ,
nameId: string ,
PropertyDescription:
{
PropertyName: string ,
CustomTypeId: string ,
Value:
{
Kind: enum ,
}
,
}
,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPropertyInfo (removed)
Description Gets the specified Service Fabric property under a given name. This will always return both value and metadata.
Reference Link ¶

⚼ Request

GET:  /Names/{nameId}/$/GetProperty
{
api-version: string ,
nameId: string ,
PropertyName: string ,
timeout: integer ,
}

⚐ Response (200)

{
Name: string ,
Value:
{
Kind: enum ,
}
,
Metadata:
{
TypeId: enum ,
CustomTypeId: string ,
Parent: string ,
SizeInBytes: integer ,
LastModifiedUtcTimestamp: string ,
SequenceNumber: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
DeleteProperty (removed)
Description Deletes the specified Service Fabric property under a given name. A property must be created before it can be deleted.
Reference Link ¶

⚼ Request

DELETE:  /Names/{nameId}/$/GetProperty
{
api-version: string ,
nameId: string ,
PropertyName: string ,
timeout: integer ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
SubmitPropertyBatch (removed)
Description Submits a batch of property operations. Either all or none of the operations will be committed.
Reference Link ¶

⚼ Request

POST:  /Names/{nameId}/$/GetProperties/$/SubmitBatch
{
api-version: string ,
nameId: string ,
PropertyBatchDescriptionList:
{
Operations:
[
{
Kind: enum ,
PropertyName: string ,
}
,
]
,
}
,
timeout: integer ,
}

⚐ Response (200)

{
Properties: string ,
}

⚐ Response (409)

{
ErrorMessage: string ,
OperationIndex: integer ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetClusterEventList (removed)
Description The response is list of ClusterEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Cluster/Events
{
api-version: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetContainersEventList (removed)
Description The response is list of ContainerInstanceEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Containers/Events
{
api-version: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodeEventList (removed)
Description The response is list of NodeEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Nodes/{nodeName}/$/Events
{
api-version: string ,
nodeName: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
NodeName: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetNodesEventList (removed)
Description The response is list of NodeEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Nodes/Events
{
api-version: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
NodeName: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationEventList (removed)
Description The response is list of ApplicationEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Applications/{applicationId}/$/Events
{
api-version: string ,
applicationId: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
ApplicationId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetApplicationsEventList (removed)
Description The response is list of ApplicationEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Applications/Events
{
api-version: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
ApplicationId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServiceEventList (removed)
Description The response is list of ServiceEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Services/{serviceId}/$/Events
{
api-version: string ,
serviceId: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
ServiceId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetServicesEventList (removed)
Description The response is list of ServiceEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Services/Events
{
api-version: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
ServiceId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionEventList (removed)
Description The response is list of PartitionEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Partitions/{partitionId}/$/Events
{
api-version: string ,
partitionId: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
PartitionId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionsEventList (removed)
Description The response is list of PartitionEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Partitions/Events
{
api-version: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
PartitionId: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionReplicaEventList (removed)
Description The response is list of ReplicaEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Partitions/{partitionId}/$/Replicas/{replicaId}/$/Events
{
api-version: string ,
partitionId: string ,
replicaId: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
PartitionId: string ,
ReplicaId: integer ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetPartitionReplicasEventList (removed)
Description The response is list of ReplicaEvent objects.
Reference Link ¶

⚼ Request

GET:  /EventsStore/Partitions/{partitionId}/$/Replicas/Events
{
api-version: string ,
partitionId: string ,
timeout: integer ,
StartTimeUtc: string ,
EndTimeUtc: string ,
EventsTypesFilter: string ,
ExcludeAnalysisEvents: boolean ,
SkipCorrelationLookup: boolean ,
}

⚐ Response (200)

{
PartitionId: string ,
ReplicaId: integer ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
GetCorrelatedEventList (removed)
Description The response is list of FabricEvents.
Reference Link ¶

⚼ Request

GET:  /EventsStore/CorrelatedEvents/{eventInstanceId}/$/Events
{
api-version: string ,
eventInstanceId: string ,
timeout: integer ,
}

⚐ Response (200)

{
Kind: enum ,
EventInstanceId: string ,
Category: string ,
TimeStamp: string ,
HasCorrelatedEvents: boolean ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecret_CreateOrUpdate (removed)
Description Creates a Secret resource with the specified name, description and properties. If Secret resource with the same name exists, then it is updated with the specified description and properties. Once created, the kind and contentType of a secret resource cannot be updated.
Reference Link ¶

⚼ Request

PUT:  /Resources/Secrets/{secretResourceName}
{
api-version: string ,
secretResourceName: string ,
secretResourceDescription:
{
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
contentType: string ,
}
,
name: string ,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
contentType: string ,
}
,
name: string ,
}

⚐ Response (201)

{
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
contentType: string ,
}
,
name: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecret_Get (removed)
Description Gets the information about the Secret resource with the given name. The information include the description and other properties of the Secret.
Reference Link ¶

⚼ Request

GET:  /Resources/Secrets/{secretResourceName}
{
api-version: string ,
secretResourceName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
contentType: string ,
}
,
name: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecret_Delete (removed)
Description Deletes the specified Secret resource and all of its named values.
Reference Link ¶

⚼ Request

DELETE:  /Resources/Secrets/{secretResourceName}
{
api-version: string ,
secretResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecret_List (removed)
Description Gets the information about all secret resources in a given resource group. The information include the description and other properties of the Secret.
Reference Link ¶

⚼ Request

GET:  /Resources/Secrets
{
api-version: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
contentType: string ,
}
,
name: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecretValue_AddValue (removed)
Description Creates a new value of the specified secret resource. The name of the value is typically the version identifier. Once created the value cannot be changed.
Reference Link ¶

⚼ Request

PUT:  /Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}
{
api-version: string ,
secretResourceName: string ,
secretValueResourceName: string ,
secretValueResourceDescription:
{
name: string ,
properties: string ,
}
,
}

⚐ Response (200)

{
name: string ,
properties: string ,
}

⚐ Response (201)

{
name: string ,
properties: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecretValue_Get (removed)
Description Get the information about the specified named secret value resources. The information does not include the actual value of the secret.
Reference Link ¶

⚼ Request

GET:  /Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}
{
api-version: string ,
secretResourceName: string ,
secretValueResourceName: string ,
}

⚐ Response (200)

{
name: string ,
properties: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecretValue_Delete (removed)
Description Deletes the secret value resource identified by the name. The name of the resource is typically the version associated with that value. Deletion will fail if the specified value is in use.
Reference Link ¶

⚼ Request

DELETE:  /Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}
{
api-version: string ,
secretResourceName: string ,
secretValueResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecretValue_List (removed)
Description Gets information about all secret value resources of the specified secret resource. The information includes the names of the secret value resources, but not the actual values.
Reference Link ¶

⚼ Request

GET:  /Resources/Secrets/{secretResourceName}/values
{
api-version: string ,
secretResourceName: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
name: string ,
properties: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshSecretValue_Show (removed)
Description Lists the decrypted value of the specified named value of the secret resource. This is a privileged operation.
Reference Link ¶

⚼ Request

POST:  /Resources/Secrets/{secretResourceName}/values/{secretValueResourceName}/list_value
{
api-version: string ,
secretResourceName: string ,
secretValueResourceName: string ,
}

⚐ Response (200)

{
value: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshVolume_CreateOrUpdate (removed)
Description Creates a Volume resource with the specified name, description and properties. If Volume resource with the same name exists, then it is updated with the specified description and properties.
Reference Link ¶

⚼ Request

PUT:  /Resources/Volumes/{volumeResourceName}
{
api-version: string ,
volumeResourceName: string ,
volumeResourceDescription:
{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
provider: enum ,
azureFileParameters:
{
accountName: string ,
accountKey: string ,
shareName: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
provider: enum ,
azureFileParameters:
{
accountName: string ,
accountKey: string ,
shareName: string ,
}
,
}
,
}

⚐ Response (201)

{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
provider: enum ,
azureFileParameters:
{
accountName: string ,
accountKey: string ,
shareName: string ,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshVolume_Get (removed)
Description Gets the information about the Volume resource with the given name. The information include the description and other properties of the Volume.
Reference Link ¶

⚼ Request

GET:  /Resources/Volumes/{volumeResourceName}
{
api-version: string ,
volumeResourceName: string ,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
provider: enum ,
azureFileParameters:
{
accountName: string ,
accountKey: string ,
shareName: string ,
}
,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshVolume_Delete (removed)
Description Deletes the Volume resource identified by the name.
Reference Link ¶

⚼ Request

DELETE:  /Resources/Volumes/{volumeResourceName}
{
api-version: string ,
volumeResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshVolume_List (removed)
Description Gets the information about all volume resources in a given resource group. The information include the description and other properties of the Volume.
Reference Link ¶

⚼ Request

GET:  /Resources/Volumes
{
api-version: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
provider: enum ,
azureFileParameters:
{
accountName: string ,
accountKey: string ,
shareName: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshNetwork_CreateOrUpdate (removed)
Description Creates a Network resource with the specified name, description and properties. If Network resource with the same name exists, then it is updated with the specified description and properties. Network resource provides connectivity between application services.
Reference Link ¶

⚼ Request

PUT:  /Resources/Networks/{networkResourceName}
{
api-version: string ,
networkResourceName: string ,
networkResourceDescription:
{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
}
,
}

⚐ Response (201)

{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshNetwork_Get (removed)
Description Gets the information about the Network resource with the given name. The information include the description and other properties of the Network.
Reference Link ¶

⚼ Request

GET:  /Resources/Networks/{networkResourceName}
{
api-version: string ,
networkResourceName: string ,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshNetwork_Delete (removed)
Description Deletes the Network resource identified by the name.
Reference Link ¶

⚼ Request

DELETE:  /Resources/Networks/{networkResourceName}
{
api-version: string ,
networkResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshNetwork_List (removed)
Description Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.
Reference Link ¶

⚼ Request

GET:  /Resources/Networks
{
api-version: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
name: string ,
properties:
{
description: string ,
status: enum ,
statusDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshApplication_CreateOrUpdate (removed)
Description Creates a Application resource with the specified name, description and properties. If Application resource with the same name exists, then it is updated with the specified description and properties.
Reference Link ¶

⚼ Request

PUT:  /Resources/Applications/{applicationResourceName}
{
api-version: string ,
applicationResourceName: string ,
applicationResourceDescription:
{
name: string ,
properties:
{
description: string ,
services:
[
{
name: string ,
properties: string ,
}
,
]
,
diagnostics:
{
sinks:
[
{
kind: enum ,
name: string ,
description: string ,
}
,
]
,
enabled: boolean ,
defaultSinkRefs:
[
string ,
]
,
}
,
debugParams: string ,
serviceNames:
[
string ,
]
,
status: enum ,
statusDetails: string ,
healthState: enum ,
unhealthyEvaluation: string ,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
services:
[
{
name: string ,
properties: string ,
}
,
]
,
diagnostics:
{
sinks:
[
{
kind: enum ,
name: string ,
description: string ,
}
,
]
,
enabled: boolean ,
defaultSinkRefs:
[
string ,
]
,
}
,
debugParams: string ,
serviceNames:
[
string ,
]
,
status: enum ,
statusDetails: string ,
healthState: enum ,
unhealthyEvaluation: string ,
}
,
}

⚐ Response (201)

{
name: string ,
properties:
{
description: string ,
services:
[
{
name: string ,
properties: string ,
}
,
]
,
diagnostics:
{
sinks:
[
{
kind: enum ,
name: string ,
description: string ,
}
,
]
,
enabled: boolean ,
defaultSinkRefs:
[
string ,
]
,
}
,
debugParams: string ,
serviceNames:
[
string ,
]
,
status: enum ,
statusDetails: string ,
healthState: enum ,
unhealthyEvaluation: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshApplication_Get (removed)
Description Gets the information about the Application resource with the given name. The information include the description and other properties of the Application.
Reference Link ¶

⚼ Request

GET:  /Resources/Applications/{applicationResourceName}
{
api-version: string ,
applicationResourceName: string ,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
services:
[
{
name: string ,
properties: string ,
}
,
]
,
diagnostics:
{
sinks:
[
{
kind: enum ,
name: string ,
description: string ,
}
,
]
,
enabled: boolean ,
defaultSinkRefs:
[
string ,
]
,
}
,
debugParams: string ,
serviceNames:
[
string ,
]
,
status: enum ,
statusDetails: string ,
healthState: enum ,
unhealthyEvaluation: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshApplication_Delete (removed)
Description Deletes the Application resource identified by the name.
Reference Link ¶

⚼ Request

DELETE:  /Resources/Applications/{applicationResourceName}
{
api-version: string ,
applicationResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshApplication_List (removed)
Description Gets the information about all application resources in a given resource group. The information include the description and other properties of the Application.
Reference Link ¶

⚼ Request

GET:  /Resources/Applications
{
api-version: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
name: string ,
properties:
{
description: string ,
services:
[
{
name: string ,
properties: string ,
}
,
]
,
diagnostics:
{
sinks:
[
{
kind: enum ,
name: string ,
description: string ,
}
,
]
,
enabled: boolean ,
defaultSinkRefs:
[
string ,
]
,
}
,
debugParams: string ,
serviceNames:
[
string ,
]
,
status: enum ,
statusDetails: string ,
healthState: enum ,
unhealthyEvaluation: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshService_Get (removed)
Description Gets the information about the Service resource with the given name. The information include the description and other properties of the Service.
Reference Link ¶

⚼ Request

GET:  /Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}
{
api-version: string ,
applicationResourceName: string ,
serviceResourceName: string ,
}

⚐ Response (200)

{
name: string ,
properties: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshService_List (removed)
Description Gets the information about all services of an application resource. The information include the description and other properties of the Service.
Reference Link ¶

⚼ Request

GET:  /Resources/Applications/{applicationResourceName}/Services
{
api-version: string ,
applicationResourceName: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
name: string ,
properties: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshCodePackage_GetContainerLogs (removed)
Description Gets the logs for the container of the specified code package of the service replica.
Reference Link ¶

⚼ Request

GET:  /Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas/{replicaName}/CodePackages/{codePackageName}/Logs
{
api-version: string ,
applicationResourceName: string ,
serviceResourceName: string ,
replicaName: string ,
codePackageName: string ,
Tail: string ,
}

⚐ Response (200)

{
Content: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshServiceReplica_Get (removed)
Description Gets the information about the service replica with the given name. The information include the description and other properties of the service replica.
Reference Link ¶

⚼ Request

GET:  /Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas/{replicaName}
{
api-version: string ,
applicationResourceName: string ,
serviceResourceName: string ,
replicaName: string ,
}

⚐ Response (200)

{
replicaName: string ,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshServiceReplica_List (removed)
Description Gets the information about all replicas of a service. The information include the description and other properties of the service replica.
Reference Link ¶

⚼ Request

GET:  /Resources/Applications/{applicationResourceName}/Services/{serviceResourceName}/Replicas
{
api-version: string ,
applicationResourceName: string ,
serviceResourceName: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
replicaName: string ,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshGateway_CreateOrUpdate (removed)
Description Creates a Gateway resource with the specified name, description and properties. If Gateway resource with the same name exists, then it is updated with the specified description and properties. Use Gateway resource to provide public connectivity to application services.
Reference Link ¶

⚼ Request

PUT:  /Resources/Gateways/{gatewayResourceName}
{
api-version: string ,
gatewayResourceName: string ,
gatewayResourceDescription:
{
name: string ,
properties:
{
description: string ,
sourceNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
destinationNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
tcp:
[
{
name: string ,
port: integer ,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
http:
[
{
name: string ,
port: integer ,
hosts:
[
{
name: string ,
routes:
[
{
name: string ,
match:
{
path:
{
value: string ,
rewrite: string ,
type: enum ,
}
,
headers:
[
{
name: string ,
value: string ,
type: enum ,
}
,
]
,
}
,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
}
,
]
,
}
,
]
,
status: enum ,
statusDetails: string ,
ipAddress: string ,
}
,
}
,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
sourceNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
destinationNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
tcp:
[
{
name: string ,
port: integer ,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
http:
[
{
name: string ,
port: integer ,
hosts:
[
{
name: string ,
routes:
[
{
name: string ,
match:
{
path:
{
value: string ,
rewrite: string ,
type: enum ,
}
,
headers:
[
{
name: string ,
value: string ,
type: enum ,
}
,
]
,
}
,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
}
,
]
,
}
,
]
,
status: enum ,
statusDetails: string ,
ipAddress: string ,
}
,
}

⚐ Response (201)

{
name: string ,
properties:
{
description: string ,
sourceNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
destinationNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
tcp:
[
{
name: string ,
port: integer ,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
http:
[
{
name: string ,
port: integer ,
hosts:
[
{
name: string ,
routes:
[
{
name: string ,
match:
{
path:
{
value: string ,
rewrite: string ,
type: enum ,
}
,
headers:
[
{
name: string ,
value: string ,
type: enum ,
}
,
]
,
}
,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
}
,
]
,
}
,
]
,
status: enum ,
statusDetails: string ,
ipAddress: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshGateway_Get (removed)
Description Gets the information about the Gateway resource with the given name. The information include the description and other properties of the Gateway.
Reference Link ¶

⚼ Request

GET:  /Resources/Gateways/{gatewayResourceName}
{
api-version: string ,
gatewayResourceName: string ,
}

⚐ Response (200)

{
name: string ,
properties:
{
description: string ,
sourceNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
destinationNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
tcp:
[
{
name: string ,
port: integer ,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
http:
[
{
name: string ,
port: integer ,
hosts:
[
{
name: string ,
routes:
[
{
name: string ,
match:
{
path:
{
value: string ,
rewrite: string ,
type: enum ,
}
,
headers:
[
{
name: string ,
value: string ,
type: enum ,
}
,
]
,
}
,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
}
,
]
,
}
,
]
,
status: enum ,
statusDetails: string ,
ipAddress: string ,
}
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshGateway_Delete (removed)
Description Deletes the Gateway resource identified by the name.
Reference Link ¶

⚼ Request

DELETE:  /Resources/Gateways/{gatewayResourceName}
{
api-version: string ,
gatewayResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}
MeshGateway_List (removed)
Description Gets the information about all gateway resources in a given resource group. The information include the description and other properties of the Gateway.
Reference Link ¶

⚼ Request

GET:  /Resources/Gateways
{
api-version: string ,
}

⚐ Response (200)

{
ContinuationToken: string ,
Items:
[
{
name: string ,
properties:
{
description: string ,
sourceNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
destinationNetwork:
{
name: string ,
endpointRefs:
[
{
name: string ,
}
,
]
,
}
,
tcp:
[
{
name: string ,
port: integer ,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
http:
[
{
name: string ,
port: integer ,
hosts:
[
{
name: string ,
routes:
[
{
name: string ,
match:
{
path:
{
value: string ,
rewrite: string ,
type: enum ,
}
,
headers:
[
{
name: string ,
value: string ,
type: enum ,
}
,
]
,
}
,
destination:
{
applicationName: string ,
serviceName: string ,
endpointName: string ,
}
,
}
,
]
,
}
,
]
,
}
,
]
,
status: enum ,
statusDetails: string ,
ipAddress: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
Error:
{
Code: enum ,
Message: string ,
}
,
}