ManagedServiceProperties 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.
The service resource properties. Please note ManagedServiceProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include StatefulServiceProperties and StatelessServiceProperties.
public class ManagedServiceProperties : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceBaseProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties>
type ManagedServiceProperties = class
inherit ManagedServiceBaseProperties
interface IJsonModel<ManagedServiceProperties>
interface IPersistableModel<ManagedServiceProperties>
Public Class ManagedServiceProperties
Inherits ManagedServiceBaseProperties
Implements IJsonModel(Of ManagedServiceProperties), IPersistableModel(Of ManagedServiceProperties)
- Inheritance
- Derived
- Implements
Constructors
ManagedServiceProperties(String, ManagedServicePartitionScheme) |
Initializes a new instance of ManagedServiceProperties. |
Properties
CorrelationScheme |
A list that describes the correlation of the service with other services. (Inherited from ManagedServiceBaseProperties) |
DefaultMoveCost |
Specifies the move cost for the service. (Inherited from ManagedServiceBaseProperties) |
PartitionDescription |
Describes how the service is partitioned. Please note ManagedServicePartitionScheme is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include NamedPartitionScheme, SingletonPartitionScheme and UniformInt64RangePartitionScheme. |
PlacementConstraints |
The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". (Inherited from ManagedServiceBaseProperties) |
ProvisioningState |
The current deployment or provisioning state, which only appears in the response. |
ScalingPolicies |
Scaling policies for this service. (Inherited from ManagedServiceBaseProperties) |
ServiceDnsName |
Dns name used for the service. If this is specified, then the DNS name can be used to return the IP addresses of service endpoints for application layer protocols (e.g., HTTP). When updating serviceDnsName, old name may be temporarily resolvable. However, rely on new name. When removing serviceDnsName, removed name may temporarily be resolvable. Do not rely on the name being unresolvable. |
ServiceLoadMetrics |
The service load metrics is given as an array of ServiceLoadMetric objects. (Inherited from ManagedServiceBaseProperties) |
ServicePackageActivationMode |
The activation Mode of the service package. |
ServicePlacementPolicies |
A list that describes the correlation of the service with other services. Please note ManagedServicePlacementPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ServicePlacementInvalidDomainPolicy, ServicePlacementNonPartiallyPlaceServicePolicy, ServicePlacementPreferPrimaryDomainPolicy, ServicePlacementRequiredDomainPolicy and ServicePlacementRequireDomainDistributionPolicy. (Inherited from ManagedServiceBaseProperties) |
ServiceTypeName |
The name of the service type. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ManagedServiceBaseProperties) |
Explicit Interface Implementations
Applies to
Azure SDK for .NET