ManagedServiceProperties(String, ManagedServicePartitionScheme) Constructor

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.

Initializes a new instance of ManagedServiceProperties.

C#
public ManagedServiceProperties(string serviceTypeName, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme partitionDescription);

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

Product Versions
Azure SDK for .NET Latest, Preview