ServiceResourceProperties 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
ServiceResourceProperties() |
Initializes a new instance of the ServiceResourceProperties class. |
ServiceResourceProperties(String, Partition, String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>, String, String) |
Initializes a new instance of the ServiceResourceProperties class. |
ServiceResourceProperties()
Initializes a new instance of the ServiceResourceProperties class.
public ServiceResourceProperties ();
Public Sub New ()
Applies to
ServiceResourceProperties(String, Partition, String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>, String, String)
Initializes a new instance of the ServiceResourceProperties class.
public ServiceResourceProperties (string serviceTypeName, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.Partition partitionDescription, string placementConstraints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceCorrelation> correlationScheme = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric> serviceLoadMetrics = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServicePlacementPolicy> servicePlacementPolicies = default, string defaultMoveCost = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ScalingPolicy> scalingPolicies = default, string provisioningState = default, string servicePackageActivationMode = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResourceProperties : string * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.Partition * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceCorrelation> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServicePlacementPolicy> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ScalingPolicy> * string * string -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResourceProperties
Public Sub New (serviceTypeName As String, partitionDescription As Partition, Optional placementConstraints As String = Nothing, Optional correlationScheme As IList(Of ServiceCorrelation) = Nothing, Optional serviceLoadMetrics As IList(Of ServiceLoadMetric) = Nothing, Optional servicePlacementPolicies As IList(Of ServicePlacementPolicy) = Nothing, Optional defaultMoveCost As String = Nothing, Optional scalingPolicies As IList(Of ScalingPolicy) = Nothing, Optional provisioningState As String = Nothing, Optional servicePackageActivationMode As String = Nothing)
Parameters
- serviceTypeName
- String
The name of the service type
- partitionDescription
- Partition
- 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<ServiceCorrelation>
- serviceLoadMetrics
- IList<ServiceLoadMetric>
- servicePlacementPolicies
- IList<ServicePlacementPolicy>
- defaultMoveCost
- String
Possible values include: 'Zero', 'Low', 'Medium', 'High'
- scalingPolicies
- IList<ScalingPolicy>
- provisioningState
- String
The current deployment or provisioning state, which only appears in the response
- servicePackageActivationMode
- String
The activation Mode of the service package. Possible values include: 'SharedProcess', 'ExclusiveProcess'
Applies to
Azure SDK for .NET