ServiceResourceProperties Class

Definition

The service resource properties. Please note this is the abstract base class. The derived classes available for instantiation are: StatefulServiceProperties and StatelessServiceProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabric.Models.UnknownServiceResourceProperties))]
public abstract class ServiceResourceProperties : Azure.ResourceManager.ServiceFabric.Models.ServiceResourcePropertiesBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ServiceResourceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ServiceResourceProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabric.Models.UnknownServiceResourceProperties))>]
type ServiceResourceProperties = class
    inherit ServiceResourcePropertiesBase
    interface IJsonModel<ServiceResourceProperties>
    interface IPersistableModel<ServiceResourceProperties>
Public MustInherit Class ServiceResourceProperties
Inherits ServiceResourcePropertiesBase
Implements IJsonModel(Of ServiceResourceProperties), IPersistableModel(Of ServiceResourceProperties)
Inheritance
ServiceResourceProperties
Derived
Attributes
Implements

Properties

Name Description
CorrelationScheme

A list that describes the correlation of the service with other services.

(Inherited from ServiceResourcePropertiesBase)
DefaultMoveCost

Specifies the move cost for the service.

(Inherited from ServiceResourcePropertiesBase)
PartitionDescription

Describes how the service is partitioned.

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 ServiceResourcePropertiesBase)
ProvisioningState

The current deployment or provisioning state, which only appears in the response.

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 ServiceLoadMetricDescription objects.

(Inherited from ServiceResourcePropertiesBase)
ServicePackageActivationMode

The activation Mode of the service package.

ServicePlacementPolicies

A list that describes the correlation of the service with other services.

(Inherited from ServiceResourcePropertiesBase)
ServiceTypeName

The name of the service type.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ServiceResourceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ServiceResourceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<ServiceResourcePropertiesBase>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IJsonModel<ServiceResourcePropertiesBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourceProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ServiceResourceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ServiceResourceProperties>.Write(ModelReaderWriterOptions)
IPersistableModel<ServiceResourcePropertiesBase>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourcePropertiesBase>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourcePropertiesBase>.Write(ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)

Applies to