Udostępnij za pośrednictwem


IotHubReplicaRoleType Struct

Definition

The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to.

public readonly struct IotHubReplicaRoleType : IEquatable<Azure.ResourceManager.IotHub.Models.IotHubReplicaRoleType>
type IotHubReplicaRoleType = struct
Public Structure IotHubReplicaRoleType
Implements IEquatable(Of IotHubReplicaRoleType)
Inheritance
IotHubReplicaRoleType
Implements

Constructors

IotHubReplicaRoleType(String)

Initializes a new instance of IotHubReplicaRoleType.

Properties

Primary

primary.

Secondary

secondary.

Methods

Equals(IotHubReplicaRoleType)

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

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(IotHubReplicaRoleType, IotHubReplicaRoleType)

Determines if two IotHubReplicaRoleType values are the same.

Implicit(String to IotHubReplicaRoleType)

Converts a string to a IotHubReplicaRoleType.

Inequality(IotHubReplicaRoleType, IotHubReplicaRoleType)

Determines if two IotHubReplicaRoleType values are not the same.

Applies to