Esempio n. 1
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(DiskEncryptionSetType encryptionType = default(DiskEncryptionSetType), KeyVaultAndKeyReference activeKey = default(KeyVaultAndKeyReference), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     EncryptionType = encryptionType;
     ActiveKey      = activeKey;
     Tags           = tags;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DiskEncryptionSetInner class.
 /// </summary>
 /// <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 DiskEncryptionSetInner(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), DiskEncryptionSetType encryptionType = default(DiskEncryptionSetType), KeyVaultAndKeyReference activeKey = default(KeyVaultAndKeyReference), IList <KeyVaultAndKeyReference> previousKeys = default(IList <KeyVaultAndKeyReference>), string provisioningState = default(string))
     : base(location, id, name, type, tags)
 {
     Identity          = identity;
     EncryptionType    = encryptionType;
     ActiveKey         = activeKey;
     PreviousKeys      = previousKeys;
     ProvisioningState = provisioningState;
     CustomInit();
 }