/// <summary>
 /// Initializes a new instance of the EncryptionConfig class.
 /// </summary>
 /// <param name="type">The type of encryption configuration being used.
 /// Currently the only supported types are 'UserManaged' and
 /// 'ServiceManaged'. Possible values include: 'UserManaged',
 /// 'ServiceManaged'</param>
 /// <param name="keyVaultMetaInfo">The Key Vault information for
 /// connecting to user managed encryption keys.</param>
 public EncryptionConfig(EncryptionConfigType type, KeyVaultMetaInfo keyVaultMetaInfo = default(KeyVaultMetaInfo))
 {
     Type             = type;
     KeyVaultMetaInfo = keyVaultMetaInfo;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the EncryptionConfig class.
 /// </summary>
 /// <param name="type">The type of encryption configuration being
 /// used. Currently the only supported types are 'UserManaged' and
 /// 'ServiceManaged'. Possible values include: 'UserManaged',
 /// 'ServiceManaged'</param>
 /// <param name="keyVaultMetaInfo">The Key vault information for
 /// connecting to user managed encryption keys.</param>
 public EncryptionConfig(EncryptionConfigType?type = default(EncryptionConfigType?), KeyVaultMetaInfo keyVaultMetaInfo = default(KeyVaultMetaInfo))
 {
     Type             = type;
     KeyVaultMetaInfo = keyVaultMetaInfo;
 }