/// <summary> /// Initializes a new instance of the EncryptionSettings class. /// </summary> /// <param name="encryptionStatus">The encryption status which /// indicates if encryption is enabled or not. Possible values include: /// 'Enabled', 'Disabled'</param> /// <param name="keyRolloverStatus">The key rollover status which /// indicates if key rollover is required or not. If secrets encryption /// has been upgraded, then it requires key rollover. Possible values /// include: 'Required', 'NotRequired'</param> /// <param name="id">The identifier.</param> /// <param name="name">The name.</param> /// <param name="type">The type.</param> public EncryptionSettings(EncryptionStatus encryptionStatus, KeyRolloverStatus keyRolloverStatus, string id = default(string), string name = default(string), string type = default(string)) : base(id, name, type) { EncryptionStatus = encryptionStatus; KeyRolloverStatus = keyRolloverStatus; CustomInit(); }
/// <summary> /// Initializes a new instance of the EncryptionSettingsInner class. /// </summary> /// <param name="encryptionStatus">The encryption status to indicates /// if encryption is enabled or not. Possible values include: /// 'Enabled', 'Disabled'</param> /// <param name="keyRolloverStatus">The key rollover status to /// indicates if key rollover is required or not. If secret's /// encryption has been upgraded, then it requires key rollover. /// Possible values include: 'Required', 'NotRequired'</param> /// <param name="id">The path ID that uniquely identifies the /// object.</param> /// <param name="name">The name of the object.</param> /// <param name="type">The hierarchical type of the object.</param> /// <param name="kind">The Kind of the object. Currently only /// Series8000 is supported. Possible values include: /// 'Series8000'</param> public EncryptionSettingsInner(EncryptionStatus encryptionStatus, KeyRolloverStatus keyRolloverStatus, string id = default(string), string name = default(string), string type = default(string), Kind?kind = default(Kind?)) : base(id, name, type, kind) { EncryptionStatus = encryptionStatus; KeyRolloverStatus = keyRolloverStatus; CustomInit(); }
internal static string ToSerializedValue(this KeyRolloverStatus value) { switch (value) { case KeyRolloverStatus.Required: return("Required"); case KeyRolloverStatus.NotRequired: return("NotRequired"); } return(null); }