コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the ChapSettings class.
 /// </summary>
 /// <param name="initiatorUser">The CHAP initiator user.</param>
 /// <param name="initiatorSecret">The CHAP initiator secret.</param>
 /// <param name="targetUser">The CHAP target user.</param>
 /// <param name="targetSecret">The target secret.</param>
 public ChapSettings(string initiatorUser = default(string), AsymmetricEncryptedSecret initiatorSecret = default(AsymmetricEncryptedSecret), string targetUser = default(string), AsymmetricEncryptedSecret targetSecret = default(AsymmetricEncryptedSecret))
 {
     InitiatorUser   = initiatorUser;
     InitiatorSecret = initiatorSecret;
     TargetUser      = targetUser;
     TargetSecret    = targetSecret;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the SecuritySettingsPatch class.
 /// </summary>
 /// <param name="remoteManagementSettings">The remote management
 /// settings.</param>
 /// <param name="deviceAdminPassword">The device administrator
 /// password.</param>
 /// <param name="snapshotPassword">The snapshot manager
 /// password.</param>
 /// <param name="chapSettings">The device CHAP and reverse-CHAP
 /// settings.</param>
 /// <param name="cloudApplianceSettings">The cloud appliance
 /// settings.</param>
 public SecuritySettingsPatch(RemoteManagementSettingsPatch remoteManagementSettings = default(RemoteManagementSettingsPatch), AsymmetricEncryptedSecret deviceAdminPassword = default(AsymmetricEncryptedSecret), AsymmetricEncryptedSecret snapshotPassword = default(AsymmetricEncryptedSecret), ChapSettings chapSettings = default(ChapSettings), CloudApplianceSettings cloudApplianceSettings = default(CloudApplianceSettings))
 {
     RemoteManagementSettings = remoteManagementSettings;
     DeviceAdminPassword      = deviceAdminPassword;
     SnapshotPassword         = snapshotPassword;
     ChapSettings             = chapSettings;
     CloudApplianceSettings   = cloudApplianceSettings;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the StorageAccountCredential class.
 /// </summary>
 /// <param name="endPoint">The storage endpoint</param>
 /// <param name="sslStatus">Signifies whether SSL needs to be enabled
 /// or not. Possible values include: 'Enabled', 'Disabled'</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>
 /// <param name="accessKey">The details of the storage account
 /// password.</param>
 /// <param name="volumesCount">The count of volumes using this storage
 /// account credential.</param>
 public StorageAccountCredential(string endPoint, SslStatus sslStatus, string id = default(string), string name = default(string), string type = default(string), Kind?kind = default(Kind?), AsymmetricEncryptedSecret accessKey = default(AsymmetricEncryptedSecret), int?volumesCount = default(int?))
     : base(id, name, type, kind)
 {
     EndPoint     = endPoint;
     SslStatus    = sslStatus;
     AccessKey    = accessKey;
     VolumesCount = volumesCount;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the VolumeContainer class.
 /// </summary>
 /// <param name="storageAccountCredentialId">The path ID of storage
 /// account associated with the volume container.</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>
 /// <param name="encryptionKey">The key used to encrypt data in the
 /// volume container. It is required when property 'EncryptionStatus'
 /// is "Enabled".</param>
 /// <param name="encryptionStatus">The flag to denote whether
 /// encryption is enabled or not. Possible values include: 'Enabled',
 /// 'Disabled'</param>
 /// <param name="volumeCount">The number of volumes in the volume
 /// Container.</param>
 /// <param name="ownerShipStatus">The owner ship status of the volume
 /// container. Only when the status is "NotOwned", the delete operation
 /// on the volume container is permitted. Possible values include:
 /// 'Owned', 'NotOwned'</param>
 /// <param name="bandWidthRateInMbps">The bandwidth-rate set on the
 /// volume container.</param>
 /// <param name="bandwidthSettingId">The ID of the bandwidth setting
 /// associated with the volume container.</param>
 /// <param name="totalCloudStorageUsageInBytes">The total cloud storage
 /// for the volume container.</param>
 public VolumeContainer(string storageAccountCredentialId, string id = default(string), string name = default(string), string type = default(string), Kind?kind = default(Kind?), AsymmetricEncryptedSecret encryptionKey = default(AsymmetricEncryptedSecret), EncryptionStatus?encryptionStatus = default(EncryptionStatus?), int?volumeCount = default(int?), OwnerShipStatus?ownerShipStatus = default(OwnerShipStatus?), int?bandWidthRateInMbps = default(int?), string bandwidthSettingId = default(string), long?totalCloudStorageUsageInBytes = default(long?))
     : base(id, name, type, kind)
 {
     EncryptionKey                 = encryptionKey;
     EncryptionStatus              = encryptionStatus;
     VolumeCount                   = volumeCount;
     StorageAccountCredentialId    = storageAccountCredentialId;
     OwnerShipStatus               = ownerShipStatus;
     BandWidthRateInMbps           = bandWidthRateInMbps;
     BandwidthSettingId            = bandwidthSettingId;
     TotalCloudStorageUsageInBytes = totalCloudStorageUsageInBytes;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the CloudApplianceSettings class.
 /// </summary>
 /// <param name="serviceDataEncryptionKey">The service data encryption
 /// key (encrypted with DAK).</param>
 /// <param name="channelIntegrityKey">The channel integrity key
 /// (encrypted with DAK).</param>
 public CloudApplianceSettings(AsymmetricEncryptedSecret serviceDataEncryptionKey = default(AsymmetricEncryptedSecret), AsymmetricEncryptedSecret channelIntegrityKey = default(AsymmetricEncryptedSecret))
 {
     ServiceDataEncryptionKey = serviceDataEncryptionKey;
     ChannelIntegrityKey      = channelIntegrityKey;
 }