Dela via


ManagedServiceProperties(String, ManagedServicePartitionScheme) Constructor

Definition

Initializes a new instance of ManagedServiceProperties.

public ManagedServiceProperties (string serviceTypeName, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme partitionDescription);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties : string * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties
Public Sub New (serviceTypeName As String, partitionDescription As ManagedServicePartitionScheme)

Parameters

serviceTypeName
String

The name of the service type.

partitionDescription
ManagedServicePartitionScheme

Describes how the service is partitioned. Please note ManagedServicePartitionScheme 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 NamedPartitionScheme, SingletonPartitionScheme and UniformInt64RangePartitionScheme.

Exceptions

serviceTypeName or partitionDescription is null.

Applies to