Megosztás a következőn keresztül:


ServiceResource Class

Definition

The service resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ServiceResource : Microsoft.Azure.Management.ServiceFabric.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ServiceResource = class
    inherit ProxyResource
Public Class ServiceResource
Inherits ProxyResource
Inheritance
ServiceResource
Attributes

Constructors

ServiceResource()

Initializes a new instance of the ServiceResource class.

ServiceResource(String, String, String, String, IDictionary<String, String>, String, String, IList<ServiceCorrelationDescription>, IList<ServiceLoadMetricDescription>, IList<ServicePlacementPolicyDescription>, String, String, String, PartitionSchemeDescription, String, String)

Initializes a new instance of the ServiceResource class.

Properties

CorrelationScheme

Gets or sets a list that describes the correlation of the service with other services.

DefaultMoveCost

Gets or sets specifies the move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High'

Etag

Gets azure resource etag.

(Inherited from ProxyResource)
Id

Gets azure resource identifier.

(Inherited from ProxyResource)
Location

Gets or sets it will be deprecated in New API, resource location depends on the parent resource.

(Inherited from ProxyResource)
Name

Gets azure resource name.

(Inherited from ProxyResource)
PartitionDescription

Gets or sets describes how the service is partitioned.

PlacementConstraints

Gets or sets 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

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

ServiceDnsName

Gets or sets dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.

ServiceLoadMetrics

Gets or sets the service load metrics is given as an array of ServiceLoadMetricDescription objects.

ServicePackageActivationMode

Gets or sets the activation Mode of the service package. Possible values include: 'SharedProcess', 'ExclusiveProcess'

ServicePlacementPolicies

Gets or sets a list that describes the correlation of the service with other services.

ServiceTypeName

Gets or sets the name of the service type

Tags

Gets or sets azure resource tags.

(Inherited from ProxyResource)
Type

Gets azure resource type.

(Inherited from ProxyResource)

Applies to