pub struct ApplicationUpdateDescription {
pub flags: Option<String>,
pub remove_application_capacity: Option<bool>,
pub minimum_nodes: Option<i64>,
pub maximum_nodes: Option<i64>,
pub application_metrics: Option<Vec<ApplicationMetricDescription>>,
}Expand description
ApplicationUpdateDescription : Describes the parameters for updating an application instance.
Fields§
§flags: Option<String>Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified. If flags are not specified for a certain property, the property will not be updated even if the new value is provided. This property can be a combination of those flags obtained using bitwise ‘OR’ operator. Exception is RemoveApplicationCapacity which cannot be specified along with other parameters. For example, if the provided value is 3 then the flags for MinimumNodes (1) and MaximumNodes (2) are set. - None - Does not indicate any other properties are set. The value is 0. - MinimumNodes - Indicates whether the MinimumNodes property is set. The value is 1. - MaximumNodes - Indicates whether the MinimumNodes property is set. The value is 2. - ApplicationMetrics - Indicates whether the ApplicationMetrics property is set. The value is 4.
remove_application_capacity: Option<bool>Used to clear all parameters related to Application Capacity for this application. | It is not possible to specify this parameter together with other Application Capacity parameters.
minimum_nodes: Option<i64>The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property.
maximum_nodes: Option<i64>The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node.
application_metrics: Option<Vec<ApplicationMetricDescription>>List of application capacity metric description.
Implementations§
Source§impl ApplicationUpdateDescription
impl ApplicationUpdateDescription
Sourcepub fn new() -> ApplicationUpdateDescription
pub fn new() -> ApplicationUpdateDescription
Describes the parameters for updating an application instance.