ProvisionApplicationTypeDescription

Describes the operation to register or provision an application type using an application package uploaded to the Service Fabric image store.

Properties

Name Type Required
Async boolean Yes
ApplicationTypeBuildPath string Yes
ApplicationPackageCleanupPolicy string (enum) No

Async

Type: boolean
Required: Yes

Indicates whether or not provisioning should occur asynchronously. When set to true, the provision operation returns when the request is accepted by the system, and the provision operation continues without any timeout limit. The default value is false. For large application packages, we recommend setting the value to true.


ApplicationTypeBuildPath

Type: string
Required: Yes

The relative path for the application package in the image store specified during the prior upload operation.


ApplicationPackageCleanupPolicy

Type: string (enum)
Required: No

The kind of action that needs to be taken for cleaning up the application package after successful provision.

Possible values are:

  • Invalid - Indicates that the application package cleanup policy is invalid. This value is default. The value is zero.
  • Default - Indicates that the cleanup policy of application packages is based on the cluster setting "CleanupApplicationPackageOnProvisionSuccess." The value is 1.
  • Automatic - Indicates that the service fabric runtime determines when to do the application package cleanup. By default, cleanup is done on successful provision. The value is 2.
  • Manual - Indicates that the user has to explicitly clean up the application package. The value is 3.