/// <summary> /// Initializes a new instance of the StorageDomain class. /// </summary> /// <param name="storageAccountCredentialIds">The storage account /// credentials.</param> /// <param name="encryptionStatus">The encryption status "Enabled | /// Disabled". Possible values include: 'Enabled', 'Disabled'</param> /// <param name="id">The identifier.</param> /// <param name="name">The name.</param> /// <param name="type">The type.</param> /// <param name="encryptionKey">The encryption key used to encrypt the /// data. This is a user secret.</param> public StorageDomain(IList <string> storageAccountCredentialIds, EncryptionStatus encryptionStatus, string id = default(string), string name = default(string), string type = default(string), AsymmetricEncryptedSecret encryptionKey = default(AsymmetricEncryptedSecret)) : base(id, name, type) { StorageAccountCredentialIds = storageAccountCredentialIds; EncryptionKey = encryptionKey; EncryptionStatus = encryptionStatus; CustomInit(); }
/// <summary> /// Initializes a new instance of the StorageAccountCredential class. /// </summary> /// <param name="cloudType">The cloud service provider. Possible values /// include: 'Azure', 'S3', 'S3_RRS', 'OpenStack', 'HP'</param> /// <param name="endPoint">The storage endpoint</param> /// <param name="login">The storage account login</param> /// <param name="enableSSL">SSL needs to be enabled or not. Possible /// values include: 'Enabled', 'Disabled'</param> /// <param name="id">The identifier.</param> /// <param name="name">The name.</param> /// <param name="type">The type.</param> /// <param name="location">The storage account's geo location</param> /// <param name="accessKey">The details of the storage account /// password</param> public StorageAccountCredential(CloudType cloudType, string endPoint, string login, SslStatus enableSSL, string id = default(string), string name = default(string), string type = default(string), string location = default(string), AsymmetricEncryptedSecret accessKey = default(AsymmetricEncryptedSecret)) : base(id, name, type) { CloudType = cloudType; EndPoint = endPoint; Login = login; Location = location; EnableSSL = enableSSL; AccessKey = accessKey; CustomInit(); }
/// <summary> /// Initializes a new instance of the ChapSettings class. /// </summary> /// <param name="password">The chap password.</param> /// <param name="id">The identifier.</param> /// <param name="name">The name.</param> /// <param name="type">The type.</param> public ChapSettings(AsymmetricEncryptedSecret password, string id = default(string), string name = default(string), string type = default(string)) : base(id, name, type) { Password = password; CustomInit(); }
/// <summary> /// Initializes a new instance of the SecuritySettings class. /// </summary> /// <param name="deviceAdminPassword">Device administrator password as /// an encrypted string (encrypted using RSA PKCS #1) is used to log /// into the local web UI of the device. Actual password could have at /// least 8 characters that are a combination of uppercase, lowercase, /// numeric, and special characters</param> /// <param name="id">The identifier.</param> /// <param name="name">The name.</param> /// <param name="type">The type.</param> public SecuritySettings(AsymmetricEncryptedSecret deviceAdminPassword, string id = default(string), string name = default(string), string type = default(string)) : base(id, name, type) { DeviceAdminPassword = deviceAdminPassword; CustomInit(); }