{
"opencollection": "1.0.0",
"info": {
"name": "Microsoft Azure AccessControlClient AccessConnector Partition API",
"version": "2020-08-01-preview"
},
"items": [
{
"info": {
"name": "Partition",
"type": "folder"
},
"items": [
{
"info": {
"name": "Microsoft Azure Gets Ordered List Of Partitions",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/$/GetLoadedPartitionInfoList",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '8.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "MetricName",
"value": "",
"type": "query",
"description": "Name of the metric based on which to get ordered list of partitions."
},
{
"name": "ServiceName",
"value": "",
"type": "query",
"description": "The name of a service."
},
{
"name": "Ordering",
"value": "",
"type": "query",
"description": "Ordering of partitions' load."
},
{
"name": "MaxResults",
"value": "",
"type": "query",
"description": "The maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged query includes as many results as possible that fit in the return message."
},
{
"name": "ContinuationToken",
"value": "",
"type": "query",
"description": "The continuation token parameter is used to obtain next set of results. A continuation token with a non-empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token does not contain a value. The value of this parameter should not be URL encoded."
}
]
},
"docs": "Retrieves partitions which are most/least loaded according to specified metric."
},
{
"info": {
"name": "Microsoft Azure Gets The List Of Partitions Of A Service Fabric Service",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/Services/:serviceId/$/GetPartitions",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.4'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "serviceId",
"value": "",
"type": "path",
"description": "The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the service name is \"fabric:/myapp/app1/svc1\", the service identity would be \"myapp~app1~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
},
{
"name": "ContinuationToken",
"value": "",
"type": "query",
"description": "The continuation token parameter is used to obtain next set of results. A continuation token with a non-empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token does not contain a value. The value of this parameter should not be URL encoded."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "The response includes the partition ID, partitioning scheme information, keys supported by the partition, status, health, and other details about the partition."
},
{
"info": {
"name": "Microsoft Azure Gets The Information About A Service Fabric Partition",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/Partitions/:partitionId",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "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."
},
{
"info": {
"name": "Microsoft Azure Gets The Name Of The Service Fabric Service For A Partition",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/Partitions/:partitionId/$/GetServiceName",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "Gets name of the service for the specified partition. A 404 error is returned if the partition ID does not exist in the cluster."
},
{
"info": {
"name": "Microsoft Azure Gets The Health Of The Specified Service Fabric Partition",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/Partitions/:partitionId/$/GetHealth",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "EventsHealthStateFilter",
"value": "",
"type": "query",
"description": "Allows filtering the collection of HealthEvent objects returned based on health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly events that match the filter are returned. All events are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these values, obtained using the bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
},
{
"name": "ReplicasHealthStateFilter",
"value": "",
"type": "query",
"description": "Allows filtering the collection of ReplicaHealthState objects on the partition. The value can be obtained from members or bitwise operations on members of HealthStateFilter. Only replicas that match the filter will be returned. All replicas will be used to evaluate the aggregated health state. If not specified, all entries will be returned.The state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) will be returned. The possible values for this parameter include integer value of one of the following health states.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
},
{
"name": "ExcludeHealthStatistics",
"value": "",
"type": "query",
"description": "Indicates whether the health statistics should be returned as part of the query result. False by default.\nThe statistics show the number of children entities in health state Ok, Warning, and Error."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "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."
},
{
"info": {
"name": "Microsoft Azure Gets The Health Of The Specified Service Fabric Partition, By Using The Specified Health Policy",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Partitions/:partitionId/$/GetHealth",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "EventsHealthStateFilter",
"value": "",
"type": "query",
"description": "Allows filtering the collection of HealthEvent objects returned based on health state.\nThe possible values for this parameter include integer value of one of the following health states.\nOnly events that match the filter are returned. All events are used to evaluate the aggregated health state.\nIf not specified, all entries are returned. The state values are flag-based enumeration, so the value could be a combination of these values, obtained using the bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
},
{
"name": "ReplicasHealthStateFilter",
"value": "",
"type": "query",
"description": "Allows filtering the collection of ReplicaHealthState objects on the partition. The value can be obtained from members or bitwise operations on members of HealthStateFilter. Only replicas that match the filter will be returned. All replicas will be used to evaluate the aggregated health state. If not specified, all entries will be returned.The state values are flag-based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) will be returned. The possible values for this parameter include integer value of one of the following health states.\n\n- Default - Default value. Matches any HealthState. The value is zero.\n- None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.\n- Ok - Filter that matches input with HealthState value Ok. The value is 2.\n- Warning - Filter that matches input with HealthState value Warning. The value is 4.\n- Error - Filter that matches input with HealthState value Error. The value is 8.\n- All - Filter that matches input with any HealthState value. The value is 65535."
},
{
"name": "ExcludeHealthStatistics",
"value": "",
"type": "query",
"description": "Indicates whether the health statistics should be returned as part of the query result. False by default.\nThe statistics show the number of children entities in health state Ok, Warning, and Error."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "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.
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.
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."
},
{
"info": {
"name": "Microsoft Azure Resets The Current Load Of A Service Fabric Partition",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Partitions/:partitionId/$/ResetLoad",
"params": [
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "Resets the current load of a Service Fabric partition to the default load for the service."
},
{
"info": {
"name": "Microsoft Azure Indicates To The Service Fabric Cluster That It Should Attempt To Recover A Specific Partition That Is Currently Stuck In Quorum Loss",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Partitions/:partitionId/$/Recover",
"params": [
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "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."
},
{
"info": {
"name": "Microsoft Azure Indicates To The Service Fabric Cluster That It Should Attempt To Recover The Specified Service That Is Currently Stuck In Quorum Loss",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Services/$/:serviceId/$/GetPartitions/$/Recover",
"params": [
{
"name": "serviceId",
"value": "",
"type": "path",
"description": "The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the service name is \"fabric:/myapp/app1/svc1\", the service identity would be \"myapp~app1~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
},
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "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."
},
{
"info": {
"name": "Microsoft Azure Indicates To The Service Fabric Cluster That It Should Attempt To Recover The System Services That Are Currently Stuck In Quorum Loss",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/$/RecoverSystemPartitions",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "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."
},
{
"info": {
"name": "Microsoft Azure Indicates To The Service Fabric Cluster That It Should Attempt To Recover Any Services Including System Services Which Are Currently Stuck In Quorum Loss",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/$/RecoverAllPartitions",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accept any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0, but if the runtime is 6.1, in order to make it easier to write the clients, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "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."
},
{
"info": {
"name": "Microsoft Azure Moves The Primary Replica Of A Partition Of A Stateful Service",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Partitions/:partitionId/$/MovePrimaryReplica",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.5'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "NodeName",
"value": "",
"type": "query",
"description": "The name of the node."
},
{
"name": "IgnoreConstraints",
"value": "",
"type": "query",
"description": "Ignore constraints when moving a replica or instance. If this parameter is not specified, all constraints are honored."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "This command moves the primary replica of a partition of a stateful service, respecting all constraints.
If NodeName parameter is specified, primary will be moved to the specified node (if constraints allow it).
If NodeName parameter is not specified, primary replica will be moved to a random node in the cluster.
If IgnoreConstraints parameter is specified and set to true, then primary will be moved regardless of the constraints."
},
{
"info": {
"name": "Microsoft Azure Moves The Secondary Replica Of A Partition Of A Stateful Service",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Partitions/:partitionId/$/MoveSecondaryReplica",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '6.5'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "CurrentNodeName",
"value": "",
"type": "query",
"description": "The name of the source node for secondary replica move."
},
{
"name": "NewNodeName",
"value": "",
"type": "query",
"description": "The name of the target node for secondary replica or instance move. If not specified, replica or instance is moved to a random node."
},
{
"name": "IgnoreConstraints",
"value": "",
"type": "query",
"description": "Ignore constraints when moving a replica or instance. If this parameter is not specified, all constraints are honored."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "This command moves the secondary replica of a partition of a stateful service, respecting all constraints.
CurrentNodeName parameter must be specified to identify the replica that is moved.
Source node name must be specified, but new node name can be omitted, and in that case replica is moved to a random node.
If IgnoreConstraints parameter is specified and set to true, then secondary will be moved regardless of the constraints."
},
{
"info": {
"name": "Microsoft Azure Update The Loads Of Provided Partitions For Specific Metrics",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/$/UpdatePartitionLoad",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '7.2'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "ContinuationToken",
"value": "",
"type": "query",
"description": "The continuation token parameter is used to obtain next set of results. A continuation token with a non-empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token does not contain a value. The value of this parameter should not be URL encoded."
},
{
"name": "MaxResults",
"value": "",
"type": "query",
"description": "The maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged query includes as many results as possible that fit in the return message."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "Updates the load value and predicted load value for all the partitions provided for specified metrics."
},
{
"info": {
"name": "Microsoft Azure Moves The Instance Of A Partition Of A Stateless Service",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Services/:serviceId/$/GetPartitions/:partitionId/$/MoveInstance",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '8.0'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "serviceId",
"value": "",
"type": "path",
"description": "The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the service name is \"fabric:/myapp/app1/svc1\", the service identity would be \"myapp~app1~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "CurrentNodeName",
"value": "",
"type": "query",
"description": "The name of the source node for instance move. If not specified, instance is moved from a random node."
},
{
"name": "NewNodeName",
"value": "",
"type": "query",
"description": "The name of the target node for secondary replica or instance move. If not specified, replica or instance is moved to a random node."
},
{
"name": "IgnoreConstraints",
"value": "",
"type": "query",
"description": "Ignore constraints when moving a replica or instance. If this parameter is not specified, all constraints are honored."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "This command moves the instance of a partition of a stateless service, respecting all constraints.
Partition id and service name must be specified to be able to move the instance.
CurrentNodeName when specified identifies the instance that is moved. If not specified, random instance will be moved
New node name can be omitted, and in that case instance is moved to a random node.
If IgnoreConstraints parameter is specified and set to true, then instance will be moved regardless of the"
},
{
"info": {
"name": "Microsoft Azure Moves The Auxiliary Replica Of A Partition Of A Stateful Service",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/Services/:serviceId/$/GetPartitions/:partitionId/$/MoveAuxiliaryReplica",
"params": [
{
"name": "api-version",
"value": "",
"type": "query",
"description": "The version of the API. This parameter is required and its value must be '8.1'.\n\nService Fabric REST API version is based on the runtime version in which the API was introduced or was changed. Service Fabric runtime supports more than one version of the API. This version is the latest supported version of the API. If a lower API version is passed, the returned response may be different from the one documented in this specification.\n\nAdditionally the runtime accepts any version that is higher than the latest supported version up to the current version of the runtime. So if the latest API version is 6.0 and the runtime is 6.1, the runtime will accept version 6.1 for that API. However the behavior of the API will be as per the documented 6.0 version."
},
{
"name": "serviceId",
"value": "",
"type": "path",
"description": "The identity of the service. This ID is typically the full name of the service without the 'fabric:' URI scheme.\nStarting from version 6.0, hierarchical names are delimited with the \"~\" character.\nFor example, if the service name is \"fabric:/myapp/app1/svc1\", the service identity would be \"myapp~app1~svc1\" in 6.0+ and \"myapp/app1/svc1\" in previous versions."
},
{
"name": "partitionId",
"value": "",
"type": "path",
"description": "The identity of the partition."
},
{
"name": "CurrentNodeName",
"value": "",
"type": "query",
"description": "The name of the source node for instance move. If not specified, instance is moved from a random node."
},
{
"name": "NewNodeName",
"value": "",
"type": "query",
"description": "The name of the target node for secondary replica or instance move. If not specified, replica or instance is moved to a random node."
},
{
"name": "IgnoreConstraints",
"value": "",
"type": "query",
"description": "Ignore constraints when moving a replica or instance. If this parameter is not specified, all constraints are honored."
},
{
"name": "timeout",
"value": "",
"type": "query",
"description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds."
}
]
},
"docs": "This command moves the auxiliary replica of a partition of a stateful service, respecting all constraints.
CurrentNodeName can be omitted, and in that case a random auxiliary replica is chosen.
NewNodeName can be omitted, and in that case the auxiliary replica is moved to a random node.
If IgnoreConstraints parameter is specified and set to true, then auxiliary will be moved regardless of the constraints."
}
]
}
],
"bundled": true
}