다음을 통해 공유


ServiceCorrelationScheme Struct

Definition

The service correlation scheme.

public readonly struct ServiceCorrelationScheme : IEquatable<Azure.ResourceManager.ServiceFabric.Models.ServiceCorrelationScheme>
type ServiceCorrelationScheme = struct
Public Structure ServiceCorrelationScheme
Implements IEquatable(Of ServiceCorrelationScheme)
Inheritance
ServiceCorrelationScheme
Implements

Constructors

ServiceCorrelationScheme(String)

Initializes a new instance of ServiceCorrelationScheme.

Properties

Affinity

Indicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options. The value is 1.

AlignedAffinity

Aligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 2.

Invalid

An invalid correlation scheme. Cannot be used. The value is zero.

NonAlignedAffinity

Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 3.

Methods

Equals(ServiceCorrelationScheme)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ServiceCorrelationScheme, ServiceCorrelationScheme)

Determines if two ServiceCorrelationScheme values are the same.

Implicit(String to ServiceCorrelationScheme)

Converts a string to a ServiceCorrelationScheme.

Inequality(ServiceCorrelationScheme, ServiceCorrelationScheme)

Determines if two ServiceCorrelationScheme values are not the same.

Applies to