Show / Hide Table of Contents

Struct DataflowEndpointKafkaPartitionStrategy

DataflowEndpoint Kafka Partition Strategy properties.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.IotOperations.dll
Syntax
public struct DataflowEndpointKafkaPartitionStrategy : IEquatable<Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy>

Constructors

DataflowEndpointKafkaPartitionStrategy(String)

Initializes a new instance of DataflowEndpointKafkaPartitionStrategy.

Declaration
public DataflowEndpointKafkaPartitionStrategy (string value);
Parameters
System.String value

Exceptions
System.ArgumentNullException

value is null.

Properties

Default

Default: Assigns messages to random partitions, using a round-robin algorithm.

Declaration
public static Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy Default { get; }
Property Value
DataflowEndpointKafkaPartitionStrategy

Property

PROPERTY Option.

Declaration
public static Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy Property { get; }
Property Value
DataflowEndpointKafkaPartitionStrategy

Static

Static: Assigns messages to a fixed partition number that's derived from the instance ID of the dataflow.

Declaration
public static Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy Static { get; }
Property Value
DataflowEndpointKafkaPartitionStrategy

Topic

TOPIC Option.

Declaration
public static Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy Topic { get; }
Property Value
DataflowEndpointKafkaPartitionStrategy

Methods

Equals(DataflowEndpointKafkaPartitionStrategy)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals (Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy other);
Parameters
DataflowEndpointKafkaPartitionStrategy other

An object to compare with this object.

Returns
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The object to compare with the current instance.

Returns
System.Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString ();
Returns
System.String

The fully qualified type name.

Operators

Equality(DataflowEndpointKafkaPartitionStrategy, DataflowEndpointKafkaPartitionStrategy)

Determines if two DataflowEndpointKafkaPartitionStrategy values are the same.

Declaration
public static bool operator == (Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy left, Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy right);
Parameters
DataflowEndpointKafkaPartitionStrategy left

DataflowEndpointKafkaPartitionStrategy right

Returns
System.Boolean

Implicit(String to DataflowEndpointKafkaPartitionStrategy)

Converts a System.String to a DataflowEndpointKafkaPartitionStrategy.

Declaration
public static implicit operator Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy (string value);
Parameters
System.String value

Returns
DataflowEndpointKafkaPartitionStrategy

Inequality(DataflowEndpointKafkaPartitionStrategy, DataflowEndpointKafkaPartitionStrategy)

Determines if two DataflowEndpointKafkaPartitionStrategy values are not the same.

Declaration
public static bool operator != (Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy left, Azure.ResourceManager.IotOperations.Models.DataflowEndpointKafkaPartitionStrategy right);
Parameters
DataflowEndpointKafkaPartitionStrategy left

DataflowEndpointKafkaPartitionStrategy right

Returns
System.Boolean

Back to top Azure SDK for .NET