Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service fabric api version 2019-11-01-preview adding missing properties #8944

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1998,6 +1998,10 @@
}
]
}
},
"serviceDnsName": {
"type": "string",
"description": "Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name."
}
}
},
Expand Down Expand Up @@ -2161,6 +2165,10 @@
"type": "integer",
"minimum": -1,
"description": "The instance count."
},
"instanceCloseDelayDuration": {
"type": "string",
"description": "Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
}
}
},
Expand All @@ -2177,6 +2185,10 @@
"type": "integer",
"minimum": -1,
"description": "The instance count."
},
"instanceCloseDelayDuration": {
"type": "string",
"description": "Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,18 @@
"ResourceMonitorService"
]
},
"ApplicationTypeVersionsCleanupPolicy": {
"required": [
"maxUnusedVersionsToKeep"
],
"properties": {
"maxUnusedVersionsToKeep": {
"type": "integer",
"minimum": 0,
"description": "Number of unused versions per application type to keep."
}
}
},
"ApplicationDeltaHealthPolicy": {
"type": "object",
"description": "Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster.\n",
Expand Down Expand Up @@ -882,6 +894,10 @@
"$ref": "#/definitions/UpgradeMode",
"description": "The upgrade mode of the cluster when new Service Fabric runtime version is available.\n\n - Automatic - The cluster will be automatically upgraded to the latest Service Fabric runtime version as soon as it is available.\n - Manual - The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource.\n"
},
"applicationTypeVersionsCleanupPolicy": {
"$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy",
"description": "The policy used to clean up unused versions."
},
"vmImage": {
"type": "string",
"description": "The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used."
Expand Down Expand Up @@ -957,6 +973,10 @@
"upgradeMode": {
"$ref": "#/definitions/UpgradeMode",
"description": "The upgrade mode of the cluster when new Service Fabric runtime version is available.\n\n - Automatic - The cluster will be automatically upgraded to the latest Service Fabric runtime version as soon as it is available.\n - Manual - The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource.\n"
},
"applicationTypeVersionsCleanupPolicy": {
"$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy",
"description": "The policy used to clean up unused versions."
}
},
"description": "Describes the cluster resource properties that can be updated during PATCH operation."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@
"BackupRestoreService",
"ResourceMonitorService"
],
"eventStoreServiceEnabled": true
"eventStoreServiceEnabled": true,
"applicationTypeVersionsCleanupPolicy": {
"maxUnusedVersionsToKeep": 2
}
}
}
},
Expand Down Expand Up @@ -286,7 +289,10 @@
"BackupRestoreService",
"ResourceMonitorService"
],
"eventStoreServiceEnabled": true
"eventStoreServiceEnabled": true,
"applicationTypeVersionsCleanupPolicy": {
"maxUnusedVersionsToKeep": 2
}
}
}
},
Expand Down Expand Up @@ -439,7 +445,10 @@
"BackupRestoreService",
"ResourceMonitorService"
],
"eventStoreServiceEnabled": true
"eventStoreServiceEnabled": true,
"applicationTypeVersionsCleanupPolicy": {
"maxUnusedVersionsToKeep": 2
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"servicePlacementPolicies": [],
"defaultMoveCost": "Medium",
"instanceCount": 5,
"servicePackageActivationMode": "SharedProcess"
"instanceCloseDelayDuration": "00:00:30",
"servicePackageActivationMode": "SharedProcess",
"serviceDnsName": "my.service.dns"
}
}
},
Expand Down Expand Up @@ -63,7 +65,9 @@
"servicePlacementPolicies": [],
"defaultMoveCost": "Medium",
"instanceCount": 5,
"servicePackageActivationMode": "SharedProcess"
"instanceCloseDelayDuration": "00:00:30",
"servicePackageActivationMode": "SharedProcess",
"serviceDnsName": "my.service.dns"
}
}
}
Expand Down