ServiceResourceUpdate Constructors
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.
Overloads
ServiceResourceUpdate() |
Initializes a new instance of the ServiceResourceUpdate class. |
ServiceResourceUpdate(String, String, String, String, IDictionary<String, String>, String, String, IList<ServiceCorrelationDescription>, IList<ServiceLoadMetricDescription>, IList<ServicePlacementPolicyDescription>, String) |
Initializes a new instance of the ServiceResourceUpdate class. |
ServiceResourceUpdate()
Initializes a new instance of the ServiceResourceUpdate class.
public ServiceResourceUpdate ();
Public Sub New ()
Applies to
ServiceResourceUpdate(String, String, String, String, IDictionary<String, String>, String, String, IList<ServiceCorrelationDescription>, IList<ServiceLoadMetricDescription>, IList<ServicePlacementPolicyDescription>, String)
Initializes a new instance of the ServiceResourceUpdate class.
public ServiceResourceUpdate (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default, string placementConstraints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceCorrelationDescription> correlationScheme = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceLoadMetricDescription> serviceLoadMetrics = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServicePlacementPolicyDescription> servicePlacementPolicies = default, string defaultMoveCost = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ServiceResourceUpdate : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceCorrelationDescription> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceLoadMetricDescription> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServicePlacementPolicyDescription> * string -> Microsoft.Azure.Management.ServiceFabric.Models.ServiceResourceUpdate
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing, Optional placementConstraints As String = Nothing, Optional correlationScheme As IList(Of ServiceCorrelationDescription) = Nothing, Optional serviceLoadMetrics As IList(Of ServiceLoadMetricDescription) = Nothing, Optional servicePlacementPolicies As IList(Of ServicePlacementPolicyDescription) = Nothing, Optional defaultMoveCost As String = Nothing)
Parameters
- id
- String
Azure resource identifier.
- name
- String
Azure resource name.
- type
- String
Azure resource type.
- location
- String
It will be deprecated in New API, resource location depends on the parent resource.
- tags
- IDictionary<String,String>
Azure resource tags.
- etag
- String
Azure resource etag.
- placementConstraints
- String
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)".
- correlationScheme
- IList<ServiceCorrelationDescription>
A list that describes the correlation of the service with other services.
- serviceLoadMetrics
- IList<ServiceLoadMetricDescription>
The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- servicePlacementPolicies
- IList<ServicePlacementPolicyDescription>
A list that describes the correlation of the service with other services.
- defaultMoveCost
- String
Specifies the move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High'
Applies to
Azure SDK for .NET