internal AzureRmSqlManagedInstanceKeyVaultKeyModel AddAzureRmSqlManagedInstanceKeyVaultKey(AzureRmSqlManagedInstanceKeyVaultKeyModel azureRmSqlManagedInstanceKeyVaultKeyModel)
        {
            ManagedInstanceKey managedInstanceKey = new ManagedInstanceKey()
            {
                ServerKeyType = ServerKeyType.AzureKeyVault,
                Uri           = azureRmSqlManagedInstanceKeyVaultKeyModel.KeyId
            };

            string resourceGroupName   = azureRmSqlManagedInstanceKeyVaultKeyModel.ResourceGroupName;
            string managedInstanceName = azureRmSqlManagedInstanceKeyVaultKeyModel.ManagedInstanceName;

            ManagedInstanceKey response = Communicator.AddAzureRmSqlManagedInstanceKeyVaultKey(
                resourceGroupName: resourceGroupName,
                managedInstanceName: managedInstanceName,
                keyName: azureRmSqlManagedInstanceKeyVaultKeyModel.ManagedInstanceKeyName,
                managedInstanceKeyParameters: managedInstanceKey);

            return(AzureRmSqlManagedInstanceKeyVaultKeyModel.FromManagedInstanceKey(
                       managedInstanceKey: response,
                       resourceGroupName: resourceGroupName,
                       managedInstanceName: managedInstanceName));
        }