Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the AccountEncryption class.
 /// </summary>
 /// <param name="type">The type of key used to encrypt the Account Key.
 /// Possible values include: 'SystemKey', 'CustomerKey'</param>
 /// <param name="keyVaultProperties">The properties of the key used to
 /// encrypt the account.</param>
 /// <param name="identity">The Key Vault identity.</param>
 /// <param name="status">The current status of the Key Vault
 /// mapping.</param>
 public AccountEncryption(AccountEncryptionKeyType type, KeyVaultProperties keyVaultProperties = default(KeyVaultProperties), ResourceIdentity identity = default(ResourceIdentity), string status = default(string))
 {
     Type = type;
     KeyVaultProperties = keyVaultProperties;
     Identity           = identity;
     Status             = status;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the AccountEncryption class.
 /// </summary>
 /// <param name="type">The type of key used to encrypt the Account Key.
 /// Possible values include: 'SystemKey', 'CustomerKey'</param>
 /// <param name="keyVaultProperties">The properties of the key used to
 /// encrypt the account.</param>
 public AccountEncryption(AccountEncryptionKeyType type, KeyVaultProperties keyVaultProperties = default(KeyVaultProperties))
 {
     Type = type;
     KeyVaultProperties = keyVaultProperties;
     CustomInit();
 }