Dela via


ServiceFabricServicePatch Class

Definition

The service resource for patch operations.

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

Constructors

ServiceFabricServicePatch(AzureLocation)

Initializes a new instance of ServiceFabricServicePatch.

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

ResourceType

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

(Inherited from ResourceData)
ServiceLoadMetrics

The service load metrics is given as an array of ServiceLoadMetricDescription objects.

ServicePlacementPolicies

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

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<ServiceFabricServicePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceFabricServicePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceFabricServicePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceFabricServicePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceFabricServicePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to