Пример #1
0
 public DiskEncryptionSetUpdate(string encryptionType, KeyForDiskEncryptionSet activeKey, IDictionary <string, string> tags)
 {
     EncryptionType = encryptionType;
     ActiveKey      = activeKey;
     Tags           = tags;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the DiskEncryptionSetUpdate class.
 /// </summary>
 /// <param name="encryptionType">Possible values include:
 /// 'EncryptionAtRestWithCustomerKey',
 /// 'EncryptionAtRestWithPlatformAndCustomerKeys'</param>
 /// <param name="tags">Resource tags</param>
 public DiskEncryptionSetUpdate(string encryptionType = default(string), KeyForDiskEncryptionSet activeKey = default(KeyForDiskEncryptionSet), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     EncryptionType = encryptionType;
     ActiveKey      = activeKey;
     Tags           = tags;
     CustomInit();
 }
Пример #3
0
 public DiskEncryptionSetUpdate(string encryptionType = default(string), KeyForDiskEncryptionSet activeKey = default(KeyForDiskEncryptionSet), bool?rotationToLatestKeyVersionEnabled = default(bool?), IDictionary <string, string> tags = default(IDictionary <string, string>), EncryptionSetIdentity identity = default(EncryptionSetIdentity))
 {
     EncryptionType = encryptionType;
     ActiveKey      = activeKey;
     RotationToLatestKeyVersionEnabled = rotationToLatestKeyVersionEnabled;
     Tags     = tags;
     Identity = identity;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DiskEncryptionSet class.
 /// </summary>
 /// <param name="location">Resource location</param>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="encryptionType">Possible values include:
 /// 'EncryptionAtRestWithCustomerKey',
 /// 'EncryptionAtRestWithPlatformAndCustomerKeys'</param>
 /// <param name="activeKey">The key vault key which is currently used
 /// by this disk encryption set.</param>
 /// <param name="previousKeys">A readonly collection of key vault keys
 /// previously used by this disk encryption set while a key rotation is
 /// in progress. It will be empty if there is no ongoing key
 /// rotation.</param>
 /// <param name="provisioningState">The disk encryption set
 /// provisioning state.</param>
 public DiskEncryptionSet(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), EncryptionSetIdentity identity = default(EncryptionSetIdentity), string encryptionType = default(string), KeyForDiskEncryptionSet activeKey = default(KeyForDiskEncryptionSet), IList <KeyForDiskEncryptionSet> previousKeys = default(IList <KeyForDiskEncryptionSet>), string provisioningState = default(string))
     : base(location, id, name, type, tags)
 {
     Identity          = identity;
     EncryptionType    = encryptionType;
     ActiveKey         = activeKey;
     PreviousKeys      = previousKeys;
     ProvisioningState = provisioningState;
     CustomInit();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the DiskEncryptionSet class.
 /// </summary>
 /// <param name="location">Resource location</param>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="encryptionType">Possible values include:
 /// 'EncryptionAtRestWithCustomerKey',
 /// 'EncryptionAtRestWithPlatformAndCustomerKeys'</param>
 /// <param name="activeKey">The key vault key which is currently used
 /// by this disk encryption set.</param>
 /// <param name="previousKeys">A readonly collection of key vault keys
 /// previously used by this disk encryption set while a key rotation is
 /// in progress. It will be empty if there is no ongoing key
 /// rotation.</param>
 /// <param name="provisioningState">The disk encryption set
 /// provisioning state.</param>
 /// <param name="rotationToLatestKeyVersionEnabled">Set this flag to
 /// true to enable auto-updating of this disk encryption set to the
 /// latest key version.</param>
 /// <param name="lastKeyRotationTimestamp">The time when the active key
 /// of this disk encryption set was updated.</param>
 public DiskEncryptionSet(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), EncryptionSetIdentity identity = default(EncryptionSetIdentity), string encryptionType = default(string), KeyForDiskEncryptionSet activeKey = default(KeyForDiskEncryptionSet), IList <KeyForDiskEncryptionSet> previousKeys = default(IList <KeyForDiskEncryptionSet>), string provisioningState = default(string), bool?rotationToLatestKeyVersionEnabled = default(bool?), System.DateTime?lastKeyRotationTimestamp = default(System.DateTime?))
     : base(location, id, name, type, tags)
 {
     Identity          = identity;
     EncryptionType    = encryptionType;
     ActiveKey         = activeKey;
     PreviousKeys      = previousKeys;
     ProvisioningState = provisioningState;
     RotationToLatestKeyVersionEnabled = rotationToLatestKeyVersionEnabled;
     LastKeyRotationTimestamp          = lastKeyRotationTimestamp;
     CustomInit();
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the DiskEncryptionSetUpdate class.
 /// </summary>
 /// <param name="encryptionType">Possible values include:
 /// 'EncryptionAtRestWithCustomerKey',
 /// 'EncryptionAtRestWithPlatformAndCustomerKeys'</param>
 /// <param name="activeKey">Active Key of the encryption</param>
 public DiskEncryptionSetUpdate(string encryptionType, KeyForDiskEncryptionSet activeKey)
 {
     EncryptionType = encryptionType;
     ActiveKey      = activeKey;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DiskEncryptionSetUpdate class.
 /// </summary>
 /// <param name="encryptionType">Possible values include:
 /// 'EncryptionAtRestWithCustomerKey',
 /// 'EncryptionAtRestWithPlatformAndCustomerKeys'</param>
 /// <param name="activeKey">Active Key of the encryption</param>
 public DiskEncryptionSetUpdate(string encryptionType = default(string), KeyForDiskEncryptionSet activeKey = default(KeyForDiskEncryptionSet))
 {
     EncryptionType = encryptionType;
     ActiveKey      = activeKey;
     CustomInit();
 }