Delen via


ServiceFabricServiceData Class

Definition

A class representing the ServiceFabricService data model. The service resource.

public class ServiceFabricServiceData : Azure.ResourceManager.Models.TrackedResourceData
public class ServiceFabricServiceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceData>
type ServiceFabricServiceData = class
    inherit TrackedResourceData
type ServiceFabricServiceData = class
    inherit TrackedResourceData
    interface IJsonModel<ServiceFabricServiceData>
    interface IPersistableModel<ServiceFabricServiceData>
Public Class ServiceFabricServiceData
Inherits TrackedResourceData
Public Class ServiceFabricServiceData
Inherits TrackedResourceData
Implements IJsonModel(Of ServiceFabricServiceData), IPersistableModel(Of ServiceFabricServiceData)
Inheritance
ServiceFabricServiceData
Implements

Constructors

ServiceFabricServiceData(AzureLocation)

Initializes a new instance of ServiceFabricServiceData.

Properties

CorrelationScheme

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

DefaultMoveCost

Specifies the move cost for the service.

ETag

Azure resource etag.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
PartitionDescription

Describes how the service is partitioned. Please note PartitionSchemeDescription 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 NamedPartitionSchemeDescription, SingletonPartitionSchemeDescription and UniformInt64RangePartitionSchemeDescription.

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)".

ProvisioningState

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

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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.

ServicePackageActivationMode

The activation Mode of the service package.

ServicePlacementPolicies

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

ServiceTypeName

The name of the service type.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ServiceFabricServiceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ServiceFabricServiceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceFabricServiceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceFabricServiceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ServiceFabricServiceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to