/// <summary> /// Initializes a new instance of the ApplicationProperties class. /// </summary> /// <param name="description">User readable description of the application.</param> /// <param name="services">Describes the services in the application. This property is used to create or modify /// services of the application. On get only the name of the service is returned. The service description can be /// obtained by querying for the service resource.</param> /// <param name="diagnostics">Describes the diagnostics definition and usage for an application resource.</param> /// <param name="debugParams">Internal - used by Visual Studio to setup the debugging session on the local development /// environment.</param> public ApplicationProperties( string description = default(string), IEnumerable <ServiceResourceDescription> services = default(IEnumerable <ServiceResourceDescription>), DiagnosticsDescription diagnostics = default(DiagnosticsDescription), string debugParams = default(string)) { this.Description = description; this.Services = services; this.Diagnostics = diagnostics; this.DebugParams = debugParams; }
/// <summary> /// Initializes a new instance of the ApplicationProperties class. /// </summary> /// <param name="description">User readable description of the application.</param> /// <param name="debugParams">Internal use.</param> /// <param name="services">describes the services in the application.</param> /// <param name="healthState">Describes the health state of an application resource. Possible values include: /// 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' /// /// The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. /// </param> /// <param name="unhealthyEvaluation">When the application's health state is not 'Ok', this additional details from /// service fabric Health Manager for the user to know why the application is marked unhealthy.</param> /// <param name="status">Status of the application resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', /// 'Creating', 'Deleting', 'Failed'</param> /// <param name="statusDetails">Gives additional information about the current status of the application /// deployment.</param> /// <param name="serviceNames">Names of the services in the application.</param> /// <param name="diagnostics">Describes the diagnostics definition and usage for an application resource.</param> public ApplicationProperties( string description = default(string), string debugParams = default(string), IEnumerable <ServiceResourceDescription> services = default(IEnumerable <ServiceResourceDescription>), HealthState?healthState = default(HealthState?), string unhealthyEvaluation = default(string), ApplicationResourceStatus?status = default(ApplicationResourceStatus?), string statusDetails = default(string), IEnumerable <string> serviceNames = default(IEnumerable <string>), DiagnosticsDescription diagnostics = default(DiagnosticsDescription)) { this.Description = description; this.DebugParams = debugParams; this.Services = services; this.HealthState = healthState; this.UnhealthyEvaluation = unhealthyEvaluation; this.Status = status; this.StatusDetails = statusDetails; this.ServiceNames = serviceNames; this.Diagnostics = diagnostics; }