Show / Hide Table of Contents

Struct PrivateKeyRotationPolicy

Private key rotation policy.

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

Constructors

PrivateKeyRotationPolicy(String)

Initializes a new instance of PrivateKeyRotationPolicy.

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

Exceptions
System.ArgumentNullException

value is null.

Properties

Always

Rotation Policy - Always.

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

Never

Rotation Policy - Never.

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

Methods

Equals(PrivateKeyRotationPolicy)

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

Declaration
public bool Equals (Azure.ResourceManager.IotOperations.Models.PrivateKeyRotationPolicy other);
Parameters
PrivateKeyRotationPolicy 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(PrivateKeyRotationPolicy, PrivateKeyRotationPolicy)

Determines if two PrivateKeyRotationPolicy values are the same.

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

PrivateKeyRotationPolicy right

Returns
System.Boolean

Implicit(String to PrivateKeyRotationPolicy)

Converts a System.String to a PrivateKeyRotationPolicy.

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

Returns
PrivateKeyRotationPolicy

Inequality(PrivateKeyRotationPolicy, PrivateKeyRotationPolicy)

Determines if two PrivateKeyRotationPolicy values are not the same.

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

PrivateKeyRotationPolicy right

Returns
System.Boolean

Back to top Azure SDK for .NET