ServiceDescription Class
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.
A ServiceDescription contains all of the information necessary to create a service.
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatelessServiceDescription))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatefulServiceDescription))]
public abstract class ServiceDescription
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatelessServiceDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatefulServiceDescription))>]
type ServiceDescription = class
Public MustInherit Class ServiceDescription
- Inheritance
-
ServiceDescription
- Derived
- Attributes
Constructors
ServiceDescription(ServiceDescription) |
Instantiates a ServiceDescription class with parameters from another ServiceDescription object. |
ServiceDescription(ServiceDescriptionKind) |
Initialize an instance of ServiceDescription with service kind. |
Properties
ApplicationName |
Gets or sets the URI of the application. |
Correlations |
Gets the list of ServiceCorrelationDescriptions that describe the correlations of this service with other services. |
DefaultMoveCost |
Gets or sets the default MoveCost value for the service. |
InitializationData |
Gets or sets the initialization data that will be passed to service instances or replicas when they are created. |
IsDefaultMoveCostSpecified |
Gets whether a default MoveCost is specified for the service. |
Kind |
Gets the service kind (for example, Stateful or Stateless) of this service. |
Metrics |
Gets or sets the keyed collection of ServiceLoadMetricDescriptions that describe the load metrics defined for this service. |
PartitionSchemeDescription |
Gets or sets the partition scheme description to be used for this service. |
PlacementConstraints |
Gets or sets the placement constraints for this service. |
PlacementPolicies |
Gets the list of ServicePlacementPolicyDescriptions that describe the placement policies for this service. |
ScalingPolicies |
Gets or sets the list of ScalingPolicyDescription for this service. |
ServiceDnsName |
Gets or sets the service DNS name. If this is specified, then the service can be accessed via its DNS name instead of ServiceName. |
ServiceName |
Gets or sets the URI of this service. |
ServicePackageActivationMode |
Gets or sets the ServicePackageActivationMode of a service. |
ServiceTags |
Gets or sets the list of tags that will influence service placement and running. |
ServiceTypeName |
Gets or sets the service type name. |