Esempio n. 1
0
 /// <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>
 /// <param name="serviceNames">Names of the services in the
 /// application.</param>
 /// <param name="status">Status of the application. Possible values
 /// include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
 /// 'Failed'</param>
 /// <param name="statusDetails">Gives additional information about the
 /// current status of the application.</param>
 /// <param name="healthState">Describes the health state of an
 /// application resource. Possible values include: 'Invalid', 'Ok',
 /// 'Warning', 'Error', 'Unknown'</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>
 public ApplicationProperties(string description = default(string), IList <ServiceResourceDescription> services = default(IList <ServiceResourceDescription>), DiagnosticsDescription diagnostics = default(DiagnosticsDescription), string debugParams = default(string), IList <string> serviceNames = default(IList <string>), string status = default(string), string statusDetails = default(string), string healthState = default(string), string unhealthyEvaluation = default(string))
 {
     Description         = description;
     Services            = services;
     Diagnostics         = diagnostics;
     DebugParams         = debugParams;
     ServiceNames        = serviceNames;
     Status              = status;
     StatusDetails       = statusDetails;
     HealthState         = healthState;
     UnhealthyEvaluation = unhealthyEvaluation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ApplicationResourceDescription
 /// class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="id">Fully qualified identifier for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="provisioningState">State of the resource.</param>
 /// <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>
 /// <param name="serviceNames">Names of the services in the
 /// application.</param>
 /// <param name="status">Status of the application. Possible values
 /// include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
 /// 'Failed'</param>
 /// <param name="statusDetails">Gives additional information about the
 /// current status of the application.</param>
 /// <param name="healthState">Describes the health state of an
 /// application resource. Possible values include: 'Invalid', 'Ok',
 /// 'Warning', 'Error', 'Unknown'</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>
 public ApplicationResourceDescription(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), string description = default(string), IList <ServiceResourceDescription> services = default(IList <ServiceResourceDescription>), DiagnosticsDescription diagnostics = default(DiagnosticsDescription), string debugParams = default(string), IList <string> serviceNames = default(IList <string>), string status = default(string), string statusDetails = default(string), string healthState = default(string), string unhealthyEvaluation = default(string))
     : base(location, id, name, type, tags)
 {
     ProvisioningState   = provisioningState;
     Description         = description;
     Services            = services;
     Diagnostics         = diagnostics;
     DebugParams         = debugParams;
     ServiceNames        = serviceNames;
     Status              = status;
     StatusDetails       = statusDetails;
     HealthState         = healthState;
     UnhealthyEvaluation = unhealthyEvaluation;
     CustomInit();
 }