Description | : List Retention Policies |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "RetentionPolicies_ListByScheduler", "$responses": { "200": { "$properties": { "value": { "$properties": { "properties": [ { "retentionPolicies": { "$properties": [ { "#name": "orchestrationState", "Enum": { "new": [ [ "Completed", "The orchestration is completed" ], [ "Failed", "The orchestration is failed" ], [ "Terminated", "The orchestration is terminated" ], [ "Canceled", "The orchestration is canceled" ] ], "old": [ [ "Completed", "The orchestration is completed" ], [ "Failed", "The orchestration is failed" ], [ "Terminated", "The orchestration is terminated" ], [ "Canceled", "The orchestration is terminated" ] ] } } ] } } ] } } } } } }
⚼ Request
GET:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/retentionPolicies
{
api-version:
string
,
subscriptionId:
string
,
resourceGroupName:
string
,
schedulerName:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
properties:
}
{
,
provisioningState:
enum
,
retentionPolicies:
}
[
]
,
{
,
retentionPeriodInDays:
integer
,
orchestrationState:
enum
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}