ProvisionApplicationTypeDescription.ApplicationPackageCleanupPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the policy indicating the application package cleanup policy
public System.Fabric.Description.ApplicationPackageCleanupPolicy ApplicationPackageCleanupPolicy { get; set; }
member this.ApplicationPackageCleanupPolicy : System.Fabric.Description.ApplicationPackageCleanupPolicy with get, set
Public Property ApplicationPackageCleanupPolicy As ApplicationPackageCleanupPolicy
Property Value
The policy indicating whether or not the cleanup of the application package is determined by service fabric runtime or determined by the cluster wide setting (CleanupApplicationPackageOnProvisionSuccess). By default the value is to use cluster wide setting.
Remarks
If the value is Automatic, then the service fabric runtime determines when to perform the application package cleanup.By default, cleanup is done after a successful provision. If the value is Manual, then user has to explictly clean up the application package by using RemoveApplicationPackage(String, String). If the value is Default, then cluster configuration setting "CleanupApplicationPackageOnProvisionSuccess" determines how application package cleanup should occur. The application package that is referred to was previously uploaded to the incoming location using CopyApplicationPackage(String, String, String, TimeSpan).
Applies to
Azure SDK for .NET