你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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